svn commit: r251876 - in vendor/apr-util: . dist dist/buckets dist/crypto dist/dbd dist/dbm dist/dbm/sdbm dist/docs dist/encoding dist/hooks dist/include dist/include/private dist/ldap dist/memcach...
Peter Wemm
peter at FreeBSD.org
Tue Jun 18 01:59:56 UTC 2013
Author: peter
Date: Tue Jun 18 01:59:55 2013
New Revision: 251876
URL: http://svnweb.freebsd.org/changeset/base/251876
Log:
Import apache apr-util 1.4.1
Added:
vendor/apr-util/
vendor/apr-util/dist/
vendor/apr-util/dist/CHANGES
vendor/apr-util/dist/LICENSE
vendor/apr-util/dist/Makefile.in (contents, props changed)
vendor/apr-util/dist/Makefile.win (contents, props changed)
vendor/apr-util/dist/NOTICE
vendor/apr-util/dist/NWGNUmakefile
vendor/apr-util/dist/README
vendor/apr-util/dist/apr-util.pc.in (contents, props changed)
vendor/apr-util/dist/apr-util.spec
vendor/apr-util/dist/aprutil.dsp
vendor/apr-util/dist/aprutil.dsw
vendor/apr-util/dist/apu-config.in (contents, props changed)
vendor/apr-util/dist/buckets/
vendor/apr-util/dist/buckets/apr_brigade.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_alloc.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_eos.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_file.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_flush.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_heap.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_mmap.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_pipe.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_pool.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_refcount.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_simple.c (contents, props changed)
vendor/apr-util/dist/buckets/apr_buckets_socket.c (contents, props changed)
vendor/apr-util/dist/build-outputs.mk
vendor/apr-util/dist/build.conf (contents, props changed)
vendor/apr-util/dist/buildconf (contents, props changed)
vendor/apr-util/dist/config.layout
vendor/apr-util/dist/configure (contents, props changed)
vendor/apr-util/dist/configure.in (contents, props changed)
vendor/apr-util/dist/crypto/
vendor/apr-util/dist/crypto/apr_crypto.c (contents, props changed)
vendor/apr-util/dist/crypto/apr_crypto_nss.c (contents, props changed)
vendor/apr-util/dist/crypto/apr_crypto_nss.dsp
vendor/apr-util/dist/crypto/apr_crypto_openssl.c (contents, props changed)
vendor/apr-util/dist/crypto/apr_crypto_openssl.dsp
vendor/apr-util/dist/crypto/apr_md4.c (contents, props changed)
vendor/apr-util/dist/crypto/apr_md5.c (contents, props changed)
vendor/apr-util/dist/crypto/apr_sha1.c (contents, props changed)
vendor/apr-util/dist/crypto/getuuid.c (contents, props changed)
vendor/apr-util/dist/crypto/uuid.c (contents, props changed)
vendor/apr-util/dist/dbd/
vendor/apr-util/dist/dbd/NWGNUdbdfreetds
vendor/apr-util/dist/dbd/NWGNUdbdmysql
vendor/apr-util/dist/dbd/NWGNUdbdpgsql
vendor/apr-util/dist/dbd/NWGNUdbdsqli2
vendor/apr-util/dist/dbd/NWGNUdbdsqli3
vendor/apr-util/dist/dbd/NWGNUmakefile
vendor/apr-util/dist/dbd/apr_dbd.c (contents, props changed)
vendor/apr-util/dist/dbd/apr_dbd_freetds.c (contents, props changed)
vendor/apr-util/dist/dbd/apr_dbd_freetds.dsp
vendor/apr-util/dist/dbd/apr_dbd_mysql.c (contents, props changed)
vendor/apr-util/dist/dbd/apr_dbd_mysql.dsp
vendor/apr-util/dist/dbd/apr_dbd_odbc.c (contents, props changed)
vendor/apr-util/dist/dbd/apr_dbd_odbc.dsp
vendor/apr-util/dist/dbd/apr_dbd_oracle.c (contents, props changed)
vendor/apr-util/dist/dbd/apr_dbd_oracle.dsp
vendor/apr-util/dist/dbd/apr_dbd_pgsql.c (contents, props changed)
vendor/apr-util/dist/dbd/apr_dbd_pgsql.dsp
vendor/apr-util/dist/dbd/apr_dbd_sqlite2.c (contents, props changed)
vendor/apr-util/dist/dbd/apr_dbd_sqlite2.dsp
vendor/apr-util/dist/dbd/apr_dbd_sqlite3.c (contents, props changed)
vendor/apr-util/dist/dbd/apr_dbd_sqlite3.dsp
vendor/apr-util/dist/dbm/
vendor/apr-util/dist/dbm/NWGNUdbmdb
vendor/apr-util/dist/dbm/NWGNUdbmgdbm
vendor/apr-util/dist/dbm/NWGNUmakefile
vendor/apr-util/dist/dbm/apr_dbm.c (contents, props changed)
vendor/apr-util/dist/dbm/apr_dbm_berkeleydb.c (contents, props changed)
vendor/apr-util/dist/dbm/apr_dbm_db.dsp
vendor/apr-util/dist/dbm/apr_dbm_gdbm.c (contents, props changed)
vendor/apr-util/dist/dbm/apr_dbm_gdbm.dsp
vendor/apr-util/dist/dbm/apr_dbm_ndbm.c (contents, props changed)
vendor/apr-util/dist/dbm/apr_dbm_sdbm.c (contents, props changed)
vendor/apr-util/dist/dbm/sdbm/
vendor/apr-util/dist/dbm/sdbm/sdbm.c (contents, props changed)
vendor/apr-util/dist/dbm/sdbm/sdbm_hash.c (contents, props changed)
vendor/apr-util/dist/dbm/sdbm/sdbm_lock.c (contents, props changed)
vendor/apr-util/dist/dbm/sdbm/sdbm_pair.c (contents, props changed)
vendor/apr-util/dist/dbm/sdbm/sdbm_pair.h (contents, props changed)
vendor/apr-util/dist/dbm/sdbm/sdbm_private.h (contents, props changed)
vendor/apr-util/dist/dbm/sdbm/sdbm_tune.h (contents, props changed)
vendor/apr-util/dist/docs/
vendor/apr-util/dist/docs/doxygen.conf (contents, props changed)
vendor/apr-util/dist/encoding/
vendor/apr-util/dist/encoding/apr_base64.c (contents, props changed)
vendor/apr-util/dist/export_vars.sh.in (contents, props changed)
vendor/apr-util/dist/hooks/
vendor/apr-util/dist/hooks/apr_hooks.c (contents, props changed)
vendor/apr-util/dist/include/
vendor/apr-util/dist/include/apr_anylock.h (contents, props changed)
vendor/apr-util/dist/include/apr_base64.h (contents, props changed)
vendor/apr-util/dist/include/apr_buckets.h (contents, props changed)
vendor/apr-util/dist/include/apr_crypto.h (contents, props changed)
vendor/apr-util/dist/include/apr_date.h (contents, props changed)
vendor/apr-util/dist/include/apr_dbd.h (contents, props changed)
vendor/apr-util/dist/include/apr_dbm.h (contents, props changed)
vendor/apr-util/dist/include/apr_hooks.h (contents, props changed)
vendor/apr-util/dist/include/apr_ldap.h.in (contents, props changed)
vendor/apr-util/dist/include/apr_ldap.hnw
vendor/apr-util/dist/include/apr_ldap.hw
vendor/apr-util/dist/include/apr_ldap_init.h (contents, props changed)
vendor/apr-util/dist/include/apr_ldap_option.h (contents, props changed)
vendor/apr-util/dist/include/apr_ldap_rebind.h (contents, props changed)
vendor/apr-util/dist/include/apr_ldap_url.h (contents, props changed)
vendor/apr-util/dist/include/apr_md4.h (contents, props changed)
vendor/apr-util/dist/include/apr_md5.h (contents, props changed)
vendor/apr-util/dist/include/apr_memcache.h (contents, props changed)
vendor/apr-util/dist/include/apr_optional.h (contents, props changed)
vendor/apr-util/dist/include/apr_optional_hooks.h (contents, props changed)
vendor/apr-util/dist/include/apr_queue.h (contents, props changed)
vendor/apr-util/dist/include/apr_reslist.h (contents, props changed)
vendor/apr-util/dist/include/apr_rmm.h (contents, props changed)
vendor/apr-util/dist/include/apr_sdbm.h (contents, props changed)
vendor/apr-util/dist/include/apr_sha1.h (contents, props changed)
vendor/apr-util/dist/include/apr_strmatch.h (contents, props changed)
vendor/apr-util/dist/include/apr_thread_pool.h (contents, props changed)
vendor/apr-util/dist/include/apr_uri.h (contents, props changed)
vendor/apr-util/dist/include/apr_uuid.h (contents, props changed)
vendor/apr-util/dist/include/apr_xlate.h (contents, props changed)
vendor/apr-util/dist/include/apr_xml.h (contents, props changed)
vendor/apr-util/dist/include/apu.h.in (contents, props changed)
vendor/apr-util/dist/include/apu.hnw
vendor/apr-util/dist/include/apu.hw
vendor/apr-util/dist/include/apu_errno.h (contents, props changed)
vendor/apr-util/dist/include/apu_version.h (contents, props changed)
vendor/apr-util/dist/include/apu_want.h.in (contents, props changed)
vendor/apr-util/dist/include/apu_want.hnw
vendor/apr-util/dist/include/apu_want.hw
vendor/apr-util/dist/include/private/
vendor/apr-util/dist/include/private/apr_crypto_internal.h (contents, props changed)
vendor/apr-util/dist/include/private/apr_dbd_internal.h (contents, props changed)
vendor/apr-util/dist/include/private/apr_dbd_odbc_v2.h (contents, props changed)
vendor/apr-util/dist/include/private/apr_dbm_private.h (contents, props changed)
vendor/apr-util/dist/include/private/apu_config.h.in (contents, props changed)
vendor/apr-util/dist/include/private/apu_config.hnw
vendor/apr-util/dist/include/private/apu_config.hw
vendor/apr-util/dist/include/private/apu_internal.h (contents, props changed)
vendor/apr-util/dist/include/private/apu_select_dbm.h.in (contents, props changed)
vendor/apr-util/dist/include/private/apu_select_dbm.hw
vendor/apr-util/dist/ldap/
vendor/apr-util/dist/ldap/NWGNUmakefile
vendor/apr-util/dist/ldap/apr_ldap.dsp
vendor/apr-util/dist/ldap/apr_ldap_init.c (contents, props changed)
vendor/apr-util/dist/ldap/apr_ldap_option.c (contents, props changed)
vendor/apr-util/dist/ldap/apr_ldap_rebind.c (contents, props changed)
vendor/apr-util/dist/ldap/apr_ldap_stub.c (contents, props changed)
vendor/apr-util/dist/ldap/apr_ldap_url.c (contents, props changed)
vendor/apr-util/dist/libaprutil.dsp
vendor/apr-util/dist/libaprutil.rc
vendor/apr-util/dist/memcache/
vendor/apr-util/dist/memcache/apr_memcache.c (contents, props changed)
vendor/apr-util/dist/misc/
vendor/apr-util/dist/misc/apr_date.c (contents, props changed)
vendor/apr-util/dist/misc/apr_queue.c (contents, props changed)
vendor/apr-util/dist/misc/apr_reslist.c (contents, props changed)
vendor/apr-util/dist/misc/apr_rmm.c (contents, props changed)
vendor/apr-util/dist/misc/apr_thread_pool.c (contents, props changed)
vendor/apr-util/dist/misc/apu_dso.c (contents, props changed)
vendor/apr-util/dist/misc/apu_version.c (contents, props changed)
vendor/apr-util/dist/renames_pending
vendor/apr-util/dist/strmatch/
vendor/apr-util/dist/strmatch/apr_strmatch.c (contents, props changed)
vendor/apr-util/dist/test/
vendor/apr-util/dist/test/Makefile.in (contents, props changed)
vendor/apr-util/dist/test/Makefile.win (contents, props changed)
vendor/apr-util/dist/test/NWGNUaputest
vendor/apr-util/dist/test/NWGNUmakefile
vendor/apr-util/dist/test/abts.c (contents, props changed)
vendor/apr-util/dist/test/abts.h (contents, props changed)
vendor/apr-util/dist/test/abts_tests.h (contents, props changed)
vendor/apr-util/dist/test/data/
vendor/apr-util/dist/test/data/billion-laughs.xml (contents, props changed)
vendor/apr-util/dist/test/dbd.c (contents, props changed)
vendor/apr-util/dist/test/nw_misc.c (contents, props changed)
vendor/apr-util/dist/test/test_apu.h (contents, props changed)
vendor/apr-util/dist/test/testall.dsw
vendor/apr-util/dist/test/testbuckets.c (contents, props changed)
vendor/apr-util/dist/test/testcrypto.c (contents, props changed)
vendor/apr-util/dist/test/testdate.c (contents, props changed)
vendor/apr-util/dist/test/testdbd.c (contents, props changed)
vendor/apr-util/dist/test/testdbm.c (contents, props changed)
vendor/apr-util/dist/test/testldap.c (contents, props changed)
vendor/apr-util/dist/test/testmd4.c (contents, props changed)
vendor/apr-util/dist/test/testmd5.c (contents, props changed)
vendor/apr-util/dist/test/testmemcache.c (contents, props changed)
vendor/apr-util/dist/test/testpass.c (contents, props changed)
vendor/apr-util/dist/test/testqueue.c (contents, props changed)
vendor/apr-util/dist/test/testreslist.c (contents, props changed)
vendor/apr-util/dist/test/testrmm.c (contents, props changed)
vendor/apr-util/dist/test/testssl.c (contents, props changed)
vendor/apr-util/dist/test/teststrmatch.c (contents, props changed)
vendor/apr-util/dist/test/testuri.c (contents, props changed)
vendor/apr-util/dist/test/testutil.c (contents, props changed)
vendor/apr-util/dist/test/testutil.h (contents, props changed)
vendor/apr-util/dist/test/testutildll.dsp
vendor/apr-util/dist/test/testutillib.dsp
vendor/apr-util/dist/test/testuuid.c (contents, props changed)
vendor/apr-util/dist/test/testxlate.c (contents, props changed)
vendor/apr-util/dist/test/testxml.c (contents, props changed)
vendor/apr-util/dist/uri/
vendor/apr-util/dist/uri/apr_uri.c (contents, props changed)
vendor/apr-util/dist/xlate/
vendor/apr-util/dist/xlate/xlate.c (contents, props changed)
vendor/apr-util/dist/xml/
vendor/apr-util/dist/xml/NWGNUmakefile
vendor/apr-util/dist/xml/apr_xml.c (contents, props changed)
Added: vendor/apr-util/dist/CHANGES
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/apr-util/dist/CHANGES Tue Jun 18 01:59:55 2013 (r251876)
@@ -0,0 +1,62 @@
+ -*- coding: utf-8 -*-
+Changes with APR-Util 1.4.1
+
+ *) Apply Windows build fixes for the apr_crypto API. [Mladen Turk]
+
+Changes with APR-util 1.4.0
+
+ *) apr_ldap_init: Pass secure=1 to ldapssl_init() with Solaris LDAP SDK.
+ PR: 42682 [Stefan Fritsch]
+
+ *) apr_memcache_server_create: Fix possible segfault. PR 51064.
+ [Michajlo Matijkiw <michajlo_matijkiw comcast com>]
+
+ *) apr_thread_pool: Fix thread unsafe pool usage. [Stefan Fritsch]
+
+ *) Do not include apr.h and apr_errno.h from system search path in
+ apu_errno.h. PR 46487 [Rainer Jung]
+
+ *) Add optional dbm, openssl and nss subpackages to the RPM spec file.
+ [Graham Leggett]
+
+ *) apr_dbd_freetds: The sybdb.h header file might be freetds/sybdb.h
+ or sybdb.h. [Graham Leggett]
+
+ *) Add apr_crypto implementations for OpenSSL and Mozilla NSS. Add a unit
+ test to verify the interoperability of the two modules. Builds default
+ to disabled unless explicitly enabled.
+ [Graham Leggett]
+
+ *) Add the apr_crypto interface, a rewrite of the earlier apr_ssl code,
+ based on the modular dso interface used for dbd and ldap. Initially,
+ the interface supports symmetrical encryption and decryption. The
+ purpose of the interface is to offer portable and interoperable
+ access to basic crypto using the native crypto libraries present on
+ each platform. [Graham Leggett]
+
+ *) Add trace probes to hooks, making it easier to inspect APR Hook based
+ applications with DTrace or other such mechanisms.
+ [Theo Schlossnagle <jesus omniti.com>, generalized by Jeff Trawick]
+
+ *) Implement resource list when threads are unavailable. PR 24325
+ [Bojan Smojver]
+
+Changes for APR-util 1.3.x and later:
+
+ *) http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/CHANGES?view=markup
+
+Changes for APR-util 1.2.x and later:
+
+ *) http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/CHANGES?view=markup
+
+Changes for APR-util 1.1.x and later:
+
+ *) http://svn.apache.org/viewvc/apr/apr-util/branches/1.1.x/CHANGES?view=markup
+
+Changes for APR-util 1.0.x and later:
+
+ *) http://svn.apache.org/viewvc/apr/apr-util/branches/1.0.x/CHANGES?view=markup
+
+Changes for APR-util 0.9.x and later/earlier:
+
+ *) http://svn.apache.org/viewvc/apr/apr-util/branches/0.9.x/CHANGES?view=markup
Added: vendor/apr-util/dist/LICENSE
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/apr-util/dist/LICENSE Tue Jun 18 01:59:55 2013 (r251876)
@@ -0,0 +1,443 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+
+APACHE PORTABLE RUNTIME SUBCOMPONENTS:
+
+The Apache Portable Runtime includes a number of subcomponents with
+separate copyright notices and license terms. Your use of the source
+code for the these subcomponents is subject to the terms and
+conditions of the following licenses.
+
+For the include\apr_md5.h component:
+/*
+ * This is work is derived from material Copyright RSA Data Security, Inc.
+ *
+ * The RSA copyright statement and Licence for that original material is
+ * included below. This is followed by the Apache copyright statement and
+ * licence for the modifications made to that material.
+ */
+
+/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+ rights reserved.
+
+ License to copy and use this software is granted provided that it
+ is identified as the "RSA Data Security, Inc. MD5 Message-Digest
+ Algorithm" in all material mentioning or referencing this software
+ or this function.
+
+ License is also granted to make and use derivative works provided
+ that such works are identified as "derived from the RSA Data
+ Security, Inc. MD5 Message-Digest Algorithm" in all material
+ mentioning or referencing the derived work.
+
+ RSA Data Security, Inc. makes no representations concerning either
+ the merchantability of this software or the suitability of this
+ software for any particular purpose. It is provided "as is"
+ without express or implied warranty of any kind.
+
+ These notices must be retained in any copies of any part of this
+ documentation and/or software.
+ */
+
+For the passwd\apr_md5.c component:
+
+/*
+ * This is work is derived from material Copyright RSA Data Security, Inc.
+ *
+ * The RSA copyright statement and Licence for that original material is
+ * included below. This is followed by the Apache copyright statement and
+ * licence for the modifications made to that material.
+ */
+
+/* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
+ */
+
+/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+ rights reserved.
+
+ License to copy and use this software is granted provided that it
+ is identified as the "RSA Data Security, Inc. MD5 Message-Digest
+ Algorithm" in all material mentioning or referencing this software
+ or this function.
+
+ License is also granted to make and use derivative works provided
+ that such works are identified as "derived from the RSA Data
+ Security, Inc. MD5 Message-Digest Algorithm" in all material
+ mentioning or referencing the derived work.
+
+ RSA Data Security, Inc. makes no representations concerning either
+ the merchantability of this software or the suitability of this
+ software for any particular purpose. It is provided "as is"
+ without express or implied warranty of any kind.
+
+ These notices must be retained in any copies of any part of this
+ documentation and/or software.
+ */
+/*
+ * The apr_md5_encode() routine uses much code obtained from the FreeBSD 3.0
+ * MD5 crypt() function, which is licenced as follows:
+ * ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42):
+ * <phk at login.dknet.dk> wrote this file. As long as you retain this notice you
+ * can do whatever you want with this stuff. If we meet some day, and you think
+ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
+ * ----------------------------------------------------------------------------
+ */
+
+For the crypto\apr_md4.c component:
+
+ * This is derived from material copyright RSA Data Security, Inc.
+ * Their notice is reproduced below in its entirety.
+ *
+ * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+ * rights reserved.
+ *
+ * License to copy and use this software is granted provided that it
+ * is identified as the "RSA Data Security, Inc. MD4 Message-Digest
+ * Algorithm" in all material mentioning or referencing this software
+ * or this function.
+ *
+ * License is also granted to make and use derivative works provided
+ * that such works are identified as "derived from the RSA Data
+ * Security, Inc. MD4 Message-Digest Algorithm" in all material
+ * mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning either
+ * the merchantability of this software or the suitability of this
+ * software for any particular purpose. It is provided "as is"
+ * without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
+For the include\apr_md4.h component:
+
+ *
+ * This is derived from material copyright RSA Data Security, Inc.
+ * Their notice is reproduced below in its entirety.
+ *
+ * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+ * rights reserved.
+ *
+ * License to copy and use this software is granted provided that it
+ * is identified as the "RSA Data Security, Inc. MD4 Message-Digest
+ * Algorithm" in all material mentioning or referencing this software
+ * or this function.
+ *
+ * License is also granted to make and use derivative works provided
+ * that such works are identified as "derived from the RSA Data
+ * Security, Inc. MD4 Message-Digest Algorithm" in all material
+ * mentioning or referencing the derived work.
+ *
+ * RSA Data Security, Inc. makes no representations concerning either
+ * the merchantability of this software or the suitability of this
+ * software for any particular purpose. It is provided "as is"
+ * without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
+For the test\testmd4.c component:
+
+ *
+ * This is derived from material copyright RSA Data Security, Inc.
+ * Their notice is reproduced below in its entirety.
+ *
+ * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
+ * rights reserved.
+ *
+ * RSA Data Security, Inc. makes no representations concerning either
+ * the merchantability of this software or the suitability of this
+ * software for any particular purpose. It is provided "as is"
+ * without express or implied warranty of any kind.
+ *
+ * These notices must be retained in any copies of any part of this
+ * documentation and/or software.
+ */
+
+For the xml\expat\conftools\install-sh component:
+
+#
+# install - install a program, script, or datafile
+# This comes from X11R5 (mit/util/scripts/install.sh).
+#
+# Copyright 1991 by the Massachusetts Institute of Technology
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of M.I.T. not be used in advertising or
+# publicity pertaining to distribution of the software without specific,
+# written prior permission. M.I.T. makes no representations about the
+# suitability of this software for any purpose. It is provided "as is"
+# without express or implied warranty.
+#
+
+For the expat xml parser component:
+
+Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
+ and Clark Cooper
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+====================================================================
+
+For the ldap/apr_ldap_url.c component:
+
+/* Portions Copyright 1998-2002 The OpenLDAP Foundation
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License. A copy of this license is available at
+ * http://www.OpenLDAP.org/license.html or in file LICENSE in the
+ * top-level directory of the distribution.
+ *
+ * OpenLDAP is a registered trademark of the OpenLDAP Foundation.
+ *
+ * Individual files and/or contributed packages may be copyright by
+ * other parties and subject to additional restrictions.
+ *
+ * This work is derived from the University of Michigan LDAP v3.3
+ * distribution. Information concerning this software is available
+ * at: http://www.umich.edu/~dirsvcs/ldap/
+ *
+ * This work also contains materials derived from public sources.
+ *
+ * Additional information about OpenLDAP can be obtained at:
+ * http://www.openldap.org/
+ */
+
+/*
+ * Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that this notice is preserved and that due credit is given
+ * to the University of Michigan at Ann Arbor. The name of the University
+ * may not be used to endorse or promote products derived from this
+ * software without specific prior written permission. This software
+ * is provided ``as is'' without express or implied warranty.
+ */
+
Added: vendor/apr-util/dist/Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/apr-util/dist/Makefile.in Tue Jun 18 01:59:55 2013 (r251876)
@@ -0,0 +1,123 @@
+#
+# Top-level Makefile for APRUTIL
+#
+CPP = @CPP@
+
+# gets substituted into some targets
+APRUTIL_MAJOR_VERSION=@APRUTIL_MAJOR_VERSION@
+APRUTIL_DOTTED_VERSION=@APRUTIL_DOTTED_VERSION@
+
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+INCLUDES = @APRUTIL_PRIV_INCLUDES@ @APR_INCLUDES@ @APRUTIL_INCLUDES@
+APRUTIL_LDFLAGS = @APRUTIL_LDFLAGS@
+APRUTIL_LIBS = @APRUTIL_LIBS@
+
+TARGET_LIB = lib at APRUTIL_LIBNAME@.la
+INSTALL_SUBDIRS = @APR_ICONV_DIR@ @APR_XML_DIR@
+EXTRA_SOURCE_DIRS = @APR_ICONV_DIR@ @APR_XML_DIR@
+APRUTIL_PCFILE = apr-util-$(APRUTIL_MAJOR_VERSION).pc
+APU_CONFIG = apu-$(APRUTIL_MAJOR_VERSION)-config
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
+APU_MODULES = @APU_MODULES@
+LINK_MODULE = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(ALL_CFLAGS) $(ALL_LDFLAGS) $(APRUTIL_LDFLAGS) -release $(APRUTIL_MAJOR_VERSION) -module -rpath $(APU_DSO_LIBDIR)
+APU_DSO_LIBDIR = @APU_DSO_LIBDIR@
+
+LT_VERSION = @APU_LTVERSION@
+
+EXTRA_OBJECTS = @EXTRA_OBJECTS@
+
+LDADD_dbd_pgsql = @LDADD_dbd_pgsql@
+LDADD_dbd_oracle = @LDADD_dbd_oracle@
+LDADD_dbd_sqlite2 = @LDADD_dbd_sqlite2@
+LDADD_dbd_sqlite3 = @LDADD_dbd_sqlite3@
+LDADD_dbd_mysql = @LDADD_dbd_mysql@
+LDADD_dbd_freetds = @LDADD_dbd_freetds@
+LDADD_dbd_odbc = @LDADD_dbd_odbc@
+LDADD_dbm_db = @LDADD_dbm_db@
+LDADD_dbm_gdbm = @LDADD_dbm_gdbm@
+LDADD_dbm_ndbm = @LDADD_dbm_ndbm@
+LDADD_ldap = @LDADD_ldap@
+LDADD_crypto_openssl = @LDADD_crypto_openssl@
+LDADD_crypto_nss = @LDADD_crypto_nss@
+
+TARGETS = $(TARGET_LIB) aprutil.exp apu-config.out $(APU_MODULES)
+
+# bring in rules.mk for standard functionality
+ at INCLUDE_RULES@
+ at INCLUDE_OUTPUTS@
+
+CLEAN_SUBDIRS = test @APR_ICONV_DIR@ @APR_XML_DIR@
+
+CLEAN_TARGETS = exports.c export_vars.c aprutil.exp .make.dirs apu-config.out
+DISTCLEAN_TARGETS = config.cache config.log config.status libtool \
+ include/private/apu_config.h include/private/apu_private.h \
+ include/private/apu_select_dbm.h include/apr_ldap.h include/apu.h \
+ export_vars.sh $(APU_CONFIG) build/rules.mk include/apu_want.h \
+ apr-util.pc build/pkg/pkginfo
+EXTRACLEAN_TARGETS = configure aclocal.m4 include/private/apu_config.h.in \
+ exports.c build-outputs.mk \
+ build/apr_common.m4 build/find_apr.m4 build/install.sh \
+ build/config.guess build/config.sub
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+bindir=@bindir@
+libdir=@libdir@
+includedir=@includedir@
+top_srcdir=@abs_srcdir@
+top_blddir=@abs_builddir@
+
+# Create apu-config script suitable for the install tree
+apu-config.out: $(APU_CONFIG)
+ sed 's,^\(location=\).*$$,\1installed,' < $(APU_CONFIG) > $@
+
+install: $(TARGETS) install-modules
+ $(APR_MKDIR) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir)/pkgconfig \
+ $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
+ for f in $(top_srcdir)/include/*.h $(top_blddir)/include/*.h; do \
+ $(INSTALL_DATA) $${f} $(DESTDIR)$(includedir); \
+ done
+ $(INSTALL_DATA) apr-util.pc $(DESTDIR)$(libdir)/pkgconfig/$(APRUTIL_PCFILE)
+ list='$(INSTALL_SUBDIRS)'; for i in $$list; do \
+ ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
+ done
+ $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir)
+ $(INSTALL_DATA) aprutil.exp $(DESTDIR)$(libdir)
+ $(INSTALL) -m 755 apu-config.out $(DESTDIR)$(bindir)/$(APU_CONFIG)
+
+$(TARGET_LIB): $(OBJECTS) $(EXTRA_OBJECTS)
+ $(LINK) @lib_target@ $(EXTRA_OBJECTS) $(ALL_LIBS) $(APRUTIL_LDFLAGS) $(APRUTIL_LIBS)
+
+install-modules: install-modules- at APU_HAVE_MODULES@
+
+install-modules-no:
+
+install-modules-yes: $(APU_MODULES)
+ $(APR_MKDIR) $(DESTDIR)$(APU_DSO_LIBDIR)
+ @for m in $(APU_MODULES); do $(LIBTOOL) $(LT_LTFLAGS) $(LTFLAGS) --mode=install $(INSTALL) -m 755 $$m $(DESTDIR)$(APU_DSO_LIBDIR); done
+
+exports.c: $(HEADERS)
+ $(APR_MKEXPORT) $(HEADERS) > $@
+
+export_vars.c: $(HEADERS)
+ $(APR_MKVAREXPORT) $(HEADERS) > $@
+
+aprutil.exp: exports.c export_vars.c
+ @echo "#! lib at APRUTIL_LIBNAME@.so" > $@
+ @echo "* This file was AUTOGENERATED at build time." >> $@
+ @echo "* Please do not edit by hand." >> $@
+ $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$$/\1/' >> $@
+ $(CPP) $(ALL_CPPFLAGS) $(ALL_INCLUDES) export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$$/d' >> $@
+
+dox:
+ doxygen $(top_srcdir)/docs/doxygen.conf
+
+test: check
+check: $(TARGET_LIB)
+ cd test && $(MAKE) all check
+
+.PHONY: install-modules install-modules-yes install-modules-no dox test check
Added: vendor/apr-util/dist/Makefile.win
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/apr-util/dist/Makefile.win Tue Jun 18 01:59:55 2013 (r251876)
@@ -0,0 +1,365 @@
+# Makefile.win for Win32 APR + APR-iconv + APR-util
+#
+# Targets are:
+#
+# buildall - compile everything
+# checkall - run APR + APR-util regression tests
+# install - compile everything
+# clean - mop up everything
+#
+# You can override the build mechansim, choose only one;
+#
+# USEMAK=1 - compile from exported make files
+# USEDSW=1 - compile from .dsw / .dsp VC6 projects
+# USESLN=1 - compile from converted .sln / .vcproj VC7+ files
+#
+# Define ARCH to your desired preference (your PATH must point
+# to the correct compiler tools!) Choose only one;
+#
+# ARCH="Win32 Release"
+# ARCH="Win32 Debug"
+# ARCH="Win32 Release9x"
+# ARCH="Win32 Debug9x"
+# ARCH="x64 Release"
+# ARCH="x64 Debug"
+#
+# Provide the APR_PATH, API_PATH and APU_PATH entirely relative
+# to one another! At this time, building the libraries themselves
+# is only expected to work if the defaults (../apr, ../apr-iconv
+# and ../apr-util) are used, or if they are built with USEMAK=1.
+#
+# APR_PATH=..\apr-1.3.0
+# API_PATH=..\apr-iconv-1.3.0
+# APU_PATH=..\apr-util-1.3.0
+#
+# Provide a DBD_LIST argument after configuring LIB and INCLUDE with
+# the SDK paths of the corresponding client support libraries.
+# ODBC is always built on Windows, so it does not get included in DBD_LIST
+# Note that at this time, none of these are supported on win32, per say.
+#
+# DBD_LIST="sqlite3 pgsql oracle mysql freetds"
+#
+# Provide a DBM_LIST argument after configuring LIB and INCLUDE with
+# the SDK paths of the corresponding database support libraries. Right
+# now only db has been configured, gdbm and ndbm require additional study.
+# Note that at this time, none of these are supported on win32, per say.
+#
+# DBM_LIST="db gdbm"
+#
+# Provide a CRYPTO_LIST argument after configuring LIB and INCLUDE with
+# the SDK paths of the corresponding cryptographic support libraries.
+#
+# CRYPTO_LIST="nss openssl"
+#
+# For example;
+#
+# nmake -f Makefile.win PREFIX=C:\APR buildall checkall installall clean
+#
+
+!IF EXIST("aprutil.sln") && ([devenv /help > NUL 2>&1] == 0) \
+ && !defined(USEMAK) && !defined(USEDSW)
+USESLN=1
+USEMAK=0
+USEDSW=0
+!ELSEIF EXIST("aprutil.mak") && !defined(USEDSW)
+USESLN=0
+USEMAK=1
+USEDSW=0
+!ELSE
+USESLN=0
+USEMAK=0
+USEDSW=1
+!ENDIF
+
+PREFIX=..\apr-dist
+
+!IF [$(COMSPEC) /c cl /nologo /? \
+ | $(SystemRoot)\System32\find.exe "x64" >NUL ] == 0
+ARCH=x64 Release
+!ELSE
+ARCH=Win32 Release
+!ENDIF
+
+APR_PATH=..\apr
+API_PATH=..\apr-iconv
+APU_PATH=..\apr-util
+
+!MESSAGE ARCH = $(ARCH)
+!MESSAGE APR_PATH = $(APR_PATH)
+!MESSAGE API_PATH = $(API_PATH) (apr-iconv)
+!MESSAGE APU_PATH = $(APU_PATH) (apr-util)
+!MESSAGE PREFIX = $(PREFIX) (install path)
+!MESSAGE DBD_LIST = $(DBD_LIST)
+!MESSAGE DBM_LIST = $(DBM_LIST)
+!MESSAGE CRYPTO_LIST = $(CRYPTO_LIST)
+
+# Utility and Translation things, nothing here for the user
+#
+!IF "$(ARCH)" == "Win32 Release"
+SLNARCH=Release|Win32
+ARCHPATH=Release
+LIBSPATH=LibR
+ARCHOSPATH=Release
+LIBSOSPATH=LibR
+!ELSEIF "$(ARCH)" == "Win32 Debug"
+SLNARCH=Debug|Win32
+ARCHPATH=Debug
+LIBSPATH=LibD
+ARCHOSPATH=Debug
+LIBSOSPATH=LibD
+!ELSEIF "$(ARCH)" == "Win32 Release9x"
+SLNARCH=Release9x|Win32
+ARCHPATH=Release
+LIBSPATH=LibR
+ARCHOSPATH=9x\Release
+LIBSOSPATH=9x\LibR
+!ELSEIF "$(ARCH)" == "Win32 Debug9x"
+SLNARCH=Debug9x|Win32
+ARCHPATH=Debug
+LIBSPATH=LibD
+ARCHOSPATH=9x\Debug
+LIBSOSPATH=9x\LibD
+!ELSEIF "$(ARCH)" == "x64 Release"
+SLNARCH=Release|x64
+ARCHPATH=x64\Release
+LIBSPATH=x64\LibR
+ARCHOSPATH=x64\Release
+LIBSOSPATH=x64\LibR
+!ELSEIF "$(ARCH)" == "x64 Debug"
+SLNARCH=Debug|x64
+ARCHPATH=x64\Debug
+LIBSPATH=x64\LibD
+ARCHOSPATH=x64\Debug
+LIBSOSPATH=x64\LibD
+!ENDIF
+
+!IFNDEF MAKEOPT
+# Only default the behavior if MAKEOPT= is omitted
+!IFDEF _NMAKE_VER
+# Microsoft NMake options
+MAKEOPT=-nologo
+!ELSEIF "$(MAKE)" == "make"
+# Borland make options? Not really supported (yet)
+MAKEOPT=-s -N
+!ENDIF
+!ENDIF
+
+
+# Sanity Checks
+#
+!IF !EXIST("$(APR_PATH)\apr.dsp") || !EXIST("$(API_PATH)\apriconv.dsp") \
+ || !EXIST("$(APU_PATH)\aprutil.dsp")
+!MESSAGE Please check out or download and unpack the Apache Portability Runtime
+!MESSAGE sources (apr, apr-iconv and apr-util) under a single parent dir,
+!MESSAGE or provide APR_PATH, API_PATH and APU_PATH (all relative to each other,
+!MESSAGE or all absolute paths).
+!MESSAGE Apache cannot build without these libraries!
+!MESSAGE
+!ERROR Need apr and apr-iconv alongside apr-util to build!
+!ENDIF
+
+
+all: buildall checkall
+
+# To help win32 pick up the locations where they don't fall in the usual
+# path locations. This may not be completely effective for USESLN/USEDSP
+# oriented builds, just yet
+#
+LIB=$(APR_PATH)\$(ARCHOSPATH);$(APR_PATH)\$(LIBSOSPATH);$(API_PATH)\$(ARCHPATH);$(API_PATH)\$(LIBSPATH);$(APU_PATH)\$(ARCHPATH);$(APU_PATH)\$(LIBSPATH);$(LIB)
+INCLUDE=$(APR_PATH)\include;$(API_PATH)\include;$(INCLUDE)
+
+!IF $(USEMAK) == 1
+
+clean:
+ $(MAKE) $(MAKEOPT) -f Makefile.win ARCH="$(ARCH)" \
+ CTARGET=CLEAN buildall
+
+buildall:
+ cd $(APR_PATH)
+ $(MAKE) $(MAKEOPT) -f apr.mak CFG="apr - $(ARCH)" RECURSE=0 $(CTARGET)
+ $(MAKE) $(MAKEOPT) -f libapr.mak CFG="libapr - $(ARCH)" RECURSE=0 $(CTARGET)
+ cd build
+ $(MAKE) $(MAKEOPT) -f aprapp.mak CFG="aprapp - $(ARCH)" RECURSE=0 $(CTARGET)
+ $(MAKE) $(MAKEOPT) -f libaprapp.mak CFG="libaprapp - $(ARCH)" RECURSE=0 $(CTARGET)
+ cd ..
+ cd $(API_PATH)
+ $(MAKE) $(MAKEOPT) -f apriconv.mak CFG="apriconv - $(ARCH)" RECURSE=0 $(CTARGET)
+ $(MAKE) $(MAKEOPT) -f libapriconv.mak CFG="libapriconv - $(ARCH)" RECURSE=0 $(CTARGET)
+!IF "$(CTARGET)" == "CLEAN"
+ $(MAKE) $(MAKEOPT) -f build\modules.mk.win clean \
+ BUILD_MODE="$(ARCH)" BIND_MODE=shared API_SOURCE=.
+!ELSE
+ cd ccs
+ $(MAKE) $(MAKEOPT) -f Makefile.win all \
+ BUILD_MODE="$(ARCH)" BIND_MODE=shared
+ cd ..\ces
+ $(MAKE) $(MAKEOPT) -f Makefile.win all \
+ BUILD_MODE="$(ARCH)" BIND_MODE=shared
+ cd ..
+!ENDIF
+ cd $(APU_PATH)\xml\expat\lib
+ $(MAKE) $(MAKEOPT) -f xml.mak CFG="xml - $(ARCH)" RECURSE=0 $(CTARGET)
+ cd ..\..\..
+ $(MAKE) $(MAKEOPT) -f aprutil.mak CFG="aprutil - $(ARCH)" RECURSE=0 $(CTARGET)
+ $(MAKE) $(MAKEOPT) -f libaprutil.mak CFG="libaprutil - $(ARCH)" RECURSE=0 $(CTARGET)
+ cd ldap
+ $(MAKE) $(MAKEOPT) -f apr_ldap.mak CFG="apr_ldap - $(ARCH)" RECURSE=0 $(CTARGET)
+ cd ..
+ cd dbd
+ for %d in (odbc $(DBD_LIST)) do \
+ $(MAKE) $(MAKEOPT) -f apr_dbd_%d.mak CFG="apr_dbd_%d - $(ARCH)" RECURSE=0 $(CTARGET)
+ cd ..
+ cd dbm
+ for %d in ($(DBM_LIST) x) do if not %d == x \
+ $(MAKE) $(MAKEOPT) -f apr_dbm_%d.mak CFG="apr_dbm_%d - $(ARCH)" RECURSE=0 $(CTARGET)
+ cd ..
+ cd crypto
+ for %d in ($(CRYPTO_LIST) x) do if not %d == x \
+ $(MAKE) $(MAKEOPT) -f apr_crypto_%d.mak CFG="apr_crypto_%d - $(ARCH)" RECURSE=0 $(CTARGET)
+ cd ..
+
+!ELSEIF $(USESLN) == 1
+
+clean:
+ -for %d in (odbc $(DBD_LIST)) do \
+ devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project apr_dbd_%d
+ -for %d in ($(DBM_LIST) x) do if not %d == x \
+ devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project apr_dbm_%d
+ -for %d in ($(CRYPTO_LIST) x) do if not %d == x \
+ devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project apr_crypto_%d
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project apr_ldap
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project libaprutil
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project aprutil
+ cd $(API_PATH)
+ -$(MAKE) $(MAKEOPT) -f build\modules.mk.win clean \
+ BUILD_MODE="$(ARCH)" BIND_MODE=shared API_SOURCE=.
+ cd $(APU_PATH)
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project libapriconv
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project apriconv
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project libaprapp
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project aprapp
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project libapr
+ -devenv aprutil.sln /useenv /clean "$(SLNARCH)" /project apr
+
+buildall:
+ devenv aprutil.sln /useenv /build "$(SLNARCH)" /project aprapp
+ devenv aprutil.sln /useenv /build "$(SLNARCH)" /project libaprapp
+ devenv aprutil.sln /useenv /build "$(SLNARCH)" /project aprutil
+ devenv aprutil.sln /useenv /build "$(SLNARCH)" /project libaprutil
+ devenv aprutil.sln /useenv /build "$(SLNARCH)" /project apr_ldap
+ for %d in (odbc $(DBD_LIST)) do \
+ devenv aprutil.sln /useenv /build "$(SLNARCH)" /project apr_dbd_%d
+ for %d in ($(DBM_LIST) x) do if not %d == x \
+ devenv aprutil.sln /useenv /build "$(SLNARCH)" /project apr_dbm_%d
+ for %d in ($(CRYPTO_LIST) x) do if not %d == x \
+ devenv aprutil.sln /useenv /build "$(SLNARCH)" /project apr_crypto_%d
+
+!ELSE
+# $(USEDSP) == 1
+
+clean:
+ -for %d in (odbc $(DBD_LIST)) do \
+ msdev aprutil.dsw /USEENV /MAKE "apr_dbd_%d - $(ARCH)" /CLEAN
+ -for %d in ($(DBM_LIST) x) do if not %d == x \
+ msdev aprutil.dsw /USEENV /MAKE "apr_dbm_%d - $(ARCH)" /CLEAN
+ -for %d in ($(CRYPTO_LIST) x) do if not %d == x \
+ msdev aprutil.dsw /USEENV /MAKE "apr_crypto_%d - $(ARCH)" /CLEAN
+ -msdev aprutil.dsw /USEENV /MAKE "apr_ldap - $(ARCH)" /CLEAN
+ -msdev aprutil.dsw /USEENV /MAKE "libaprutil - $(ARCH)" /CLEAN
+ -msdev aprutil.dsw /USEENV /MAKE "aprutil - $(ARCH)" /CLEAN
+ cd $(API_PATH)
+ $(MAKE) $(MAKEOPT) -f build\modules.mk.win clean \
+ BUILD_MODE="$(ARCH)" BIND_MODE=shared API_SOURCE=.
+ cd $(APU_PATH)
+ -msdev aprutil.dsw /USEENV /MAKE "libapriconv - $(ARCH)" /CLEAN
+ -msdev aprutil.dsw /USEENV /MAKE "apriconv - $(ARCH)" /CLEAN
+ -msdev aprutil.dsw /USEENV /MAKE "libaprapp - $(ARCH)" /CLEAN
+ -msdev aprutil.dsw /USEENV /MAKE "aprapp - $(ARCH)" /CLEAN
+ -msdev aprutil.dsw /USEENV /MAKE "libapr - $(ARCH)" /CLEAN
+ -msdev aprutil.dsw /USEENV /MAKE "apr - $(ARCH)" /CLEAN
+
+buildall:
+ @msdev aprutil.dsw /USEENV /MAKE "aprapp - $(ARCH)"
+ @msdev aprutil.dsw /USEENV /MAKE "aprutil - $(ARCH)"
+ @msdev aprutil.dsw /USEENV /MAKE "libaprapp - $(ARCH)"
+ @msdev aprutil.dsw /USEENV /MAKE "libaprutil - $(ARCH)"
+ @msdev aprutil.dsw /USEENV /MAKE "apr_ldap - $(ARCH)"
+ @for %d in (odbc $(DBD_LIST)) do \
+ msdev aprutil.dsw /USEENV /MAKE "apr_dbd_%d - $(ARCH)"
+ @for %d in ($(DBM_LIST) x) do if not %d == x \
+ msdev aprutil.dsw /USEENV /MAKE "apr_dbm_%d - $(ARCH)"
+ @for %d in ($(CRYPTO_LIST) x) do if not %d == x \
+ msdev aprutil.dsw /USEENV /MAKE "apr_crypto_%d - $(ARCH)"
+
+!ENDIF
+
+
+checkapr:
+ cd $(APR_PATH)\test
+ $(MAKE) $(MAKEOPT) -f Makefile.win MODEL=static \
+ OUTDIR=$(LIBSOSPATH) check
+ $(MAKE) $(MAKEOPT) -f Makefile.win MODEL=dynamic \
+ OUTDIR=$(ARCHOSPATH) check
+ cd ..
+ cd $(APU_PATH)
+
+checkapu:
+ cd $(APU_PATH)
+ cd test
+ $(MAKE) $(MAKEOPT) -f Makefile.win MODEL=static \
+ OUTDIR=$(LIBSPATH) APROUTDIR=$(LIBSOSPATH) \
+ APR_PATH=..\$(APR_PATH) API_PATH=..\$(API_PATH) check
+ $(MAKE) $(MAKEOPT) -f Makefile.win MODEL=dynamic \
+ OUTDIR=$(ARCHPATH) APROUTDIR=$(ARCHOSPATH) \
+ APR_PATH=..\$(APR_PATH) API_PATH=..\$(API_PATH) check
+ cd ..
+
+checkall: checkapr checkapu
+
+
+install:
+ echo Y >.y
+ echo A >.A
+ @if NOT EXIST "$(PREFIX)\." mkdir "$(PREFIX)"
+ @if NOT EXIST "$(PREFIX)\bin\." mkdir "$(PREFIX)\bin"
+ @if NOT EXIST "$(PREFIX)\bin\iconv\." mkdir "$(PREFIX)\bin\iconv"
+ @if NOT EXIST "$(PREFIX)\include\." mkdir "$(PREFIX)\include"
+ @if NOT EXIST "$(PREFIX)\lib\." mkdir "$(PREFIX)\lib"
+ copy CHANGES "$(PREFIX)\CHANGES.txt" <.y
+ copy LICENSE "$(PREFIX)\LICENSE.txt" <.y
+ copy NOTICE "$(PREFIX)\NOTICE.txt" <.y
+ xcopy $(APR_PATH)\include\*.h "$(PREFIX)\include\" /d < .a
+ xcopy $(APU_PATH)\include\*.h "$(PREFIX)\include\" /d < .a
+ copy $(APR_PATH)\$(LIBSOSPATH)\apr-1.lib "$(PREFIX)\lib\" <.y
+ copy $(APR_PATH)\$(LIBSOSPATH)\apr-1.pdb "$(PREFIX)\lib\" <.y
+ copy $(APU_PATH)\$(LIBSPATH)\aprutil-1.lib "$(PREFIX)\lib\" <.y
+ copy $(APU_PATH)\$(LIBSPATH)\aprutil-1.pdb "$(PREFIX)\lib\" <.y
+ copy $(APR_PATH)\$(ARCHOSPATH)\libapr-1.lib "$(PREFIX)\lib\" <.y
+ copy $(APR_PATH)\$(ARCHOSPATH)\libapr-1.exp "$(PREFIX)\lib\" <.y
+ copy $(APU_PATH)\$(ARCHPATH)\libaprutil-1.lib "$(PREFIX)\lib\" <.y
+ copy $(APU_PATH)\$(ARCHPATH)\libaprutil-1.exp "$(PREFIX)\lib\" <.y
+ copy $(APR_PATH)\$(ARCHOSPATH)\libapr-1.dll "$(PREFIX)\bin\" <.y
+ copy $(APR_PATH)\$(ARCHOSPATH)\libapr-1.pdb "$(PREFIX)\bin\" <.y
+ copy $(API_PATH)\$(ARCHPATH)\libapriconv-1.dll "$(PREFIX)\bin\" <.y
+ copy $(API_PATH)\$(ARCHPATH)\libapriconv-1.pdb "$(PREFIX)\bin\" <.y
+ copy $(APU_PATH)\$(ARCHPATH)\libaprutil-1.dll "$(PREFIX)\bin\" <.y
+ copy $(APU_PATH)\$(ARCHPATH)\libaprutil-1.pdb "$(PREFIX)\bin\" <.y
+ copy $(APU_PATH)\ldap\$(ARCHPATH)\apr_ldap-1.dll "$(PREFIX)\bin\" <.y
+ copy $(APU_PATH)\ldap\$(ARCHPATH)\apr_ldap-1.pdb "$(PREFIX)\bin\" <.y
+ for %d in (odbc $(DBD_LIST)) do ( \
+ copy $(APU_PATH)\dbd\$(ARCHPATH)\apr_dbd_%d-1.dll "$(PREFIX)\bin\" <.y && \
+ copy $(APU_PATH)\dbd\$(ARCHPATH)\apr_dbd_%d-1.pdb "$(PREFIX)\bin\" <.y \
+ )
+ for %d in ($(DBM_LIST) x) do if not %d == x ( \
+ copy $(APU_PATH)\dbm\$(ARCHPATH)\apr_dbm_%d-1.dll "$(PREFIX)\bin\" <.y && \
+ copy $(APU_PATH)\dbm\$(ARCHPATH)\apr_dbm_%d-1.pdb "$(PREFIX)\bin\" <.y \
+ )
+ for %d in ($(CRYPTO_LIST) x) do if not %d == x ( \
+ copy $(APU_PATH)\crypto\$(ARCHPATH)\apr_crypto_%d-1.dll "$(PREFIX)\bin\" <.y && \
+ copy $(APU_PATH)\crypto\$(ARCHPATH)\apr_crypto_%d-1.pdb "$(PREFIX)\bin\" <.y \
+ )
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-vendor
mailing list