Commit graph

24 commits

Author SHA1 Message Date
tron
4b40f77994 Update "apr-util" package to version 1.3.9. Changes since 1.3.8:
- SECURITY: CVE-2009-2412 (cve.mitre.org)
  Fix overflow in rmm, where size alignment was taking place.
  [Matt Lewis <mattlewis@google.com>, Sander Striker]
- Make sure that "make check" is used in the RPM spec file, so that
  the crypto, dbd and dbm tests pass. [Graham Leggett]
- Make sure the mysql version of dbd_mysql_get_entry() respects the
  rule that if the column number exceeds the number of columns, we
  return NULL. [Graham Leggett]
- Ensure the dbm module is packaged up correctly in the RPM.
  [Graham Leggett]
- Clarify the error messages within the dbd tests. [Graham Leggett]
2009-08-07 10:39:23 +00:00
tonnerre
100a4f1e35 Upgrade apr-util to version 1.3.8, which, unlike 1.3.7, is still downloadable.
Changes since 1.3.7:
 - Use locally scoped variables in PostgreSQL driver to avoid stomping
   on return codes.
 - Fix race conditions in initialisation of DBD, DBM and DSO.
 - Expose DBM libs in apu-1-config by default. To avoid that, use
   apu-1-config --avoid-dbm --libs. To get just DBM libs, use
   apu-1-config --dbm-libs.
 - Make sure --without-ldap works.
2009-08-04 10:13:04 +00:00
schmonz
12b4a28e17 Configure --without-sqlite2 in case it's unavoidably on the include path. 2009-07-24 13:09:32 +00:00
joerg
7fdde28ea5 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:48:07 +00:00
seb
5514a10073 DSO handling of the db, gdbm and ndbm drivers was introduced to
apr-util in version 1.3.5: handle the files
${PREFIX}lib/apr-util-1/apr_dbm_db*, installed by this package when
the package option 'db4' is selected,  via another PLIST_VAR, 'db4'.
2009-06-10 15:58:29 +00:00
tron
c5b97825e4 Set the license type to "apache-2.0". 2009-06-08 13:24:57 +00:00
tron
dc2e7e87fb Update "apr-util" package to version 1.3.7. Changes since version 1.3.4:
- SECURITY:
  Fix a denial of service attack against the apr_xml_* interface
  using the "billion laughs" entity expansion technique.
- SECURITY: CVE-2009-0023 (cve.mitre.org)
  Fix underflow in apr_strmatch_precompile.
- Minor build and bug fixes.
- SECURITY: CVE-2009-0023 (cve.mitre.org)
  Fix underflow in apr_strmatch_precompile.
- Fix off by one overflow in apr_brigade_vprintf.
- APR_LDAP_SIZELIMIT should prefer LDAP_DEFAULT_LIMIT/-1 when the
  SDK supports it, but in the absence of LDAP_DEFAULT_LIMIT (and
  LDAP_NO_LIMIT/0) it is not safe to use a literal -1.
  Bug 23356
- Clean up ODBC types. Warnings seen when compiling packages for
  Fedora 11.
- Use of my_init() requires my_global.h and my_sys.h.
- Fix apr_memcache_multgetp memory corruption and incorrect error
  handling. Bug 46588
- Fix memcache memory leak with persistent connections.
  Bug 46482
- Add Oracle 11 support.
- apr_dbd_freetds: Avoid segfault when process is NULL.
  Do no print diagnostics to stderr. Never allow driver to exit
  process.
- apr_dbd_freetds: The sybdb.h header file might be freetds/sybdb.h
  or sybdb.h.
- LDAP detection improvements: --with-ldap now supports library names
  containing non-alphanumeric characters, such as libldap-2.4.so.  New
  option --with-lber can be used to override the default liblber name.
  Fix a problem reporting the lber library from apu-N-config.
- Suppress pgsql column-out-of-range warning.
- Fix a buffer overrun and password matching for SHA passwords.
- Introduce DSO handling of the db, gdbm and ndbm drivers, so these are
  loaded as .so's on first demand, unless --disable-util-dso is configured.
- Fix a segfault in the DBD testcase when the DBD modules were not present.
2009-06-08 13:19:20 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
cube
c3d6636abf Don't let the build's LDFLAGS be polluted by what provides apr, because apr
doesn't know about all dependencies of apr-util.  Otherwise the final binary
wouldn't have the proper RPATHs.

Bump PKGREVISION.
2008-11-02 15:05:11 +00:00
minskim
555af005f4 The current version of apr-utils does not build with apr-1.2.x because
it uses APR_SIZE_MAX, which is defined in apr-1.3.x.

Add apr>=1.3.0 to BUILDLINK_API_DEPENDS.apr.
2008-09-21 02:39:28 +00:00
adrianp
374363adb9 If sqlite is installed but not selected by PKG_OPTIONS then don't
automagically comple in support for it.  This fixes PLIST errors on install.
2008-09-18 21:30:52 +00:00
adam
281f25dfe1 Remove --without-sqlite3 from Makefile 2008-09-08 10:04:46 +00:00
adam
36ef945fe0 PLIST fix for LDAP; Added options for pgsql, mysql, sqlite3 2008-09-08 09:58:43 +00:00
wiz
03b53774ba Recursive PKGREVISION/ABI-depends bump for db4 4.6->4.7 update (shlib
name change).
2008-09-06 20:54:31 +00:00
wiz
1f65c48686 Update to 1.3.4:
Changes with APR-util 1.3.4

  *) Fix a memory leak introduced in r683756 and a free call to a non malloced
     pointer in the case that the platform has no threads.
     [Jeff Trawick, Ruediger Pluem]

Changes with APR-util 1.3.3

  *) Add Berkeley DB 4.7 support.
     [Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com>]

  *) PostgreSQL rows (internally) start from zero, not one. Account for it in
     row fetching function. [Bojan Smojver]

  *) Detection of PostgreSQL may fail if LIBS contains all libs returned by
     pg_config. Use it only as the last resort. [Bojan Smojver]

  *) When searching for DSOs, look in apr-util-APU_MAJOR_VERSION subdirectory
     of each component of APR_DSOPATH. PR 45327
     [Joe Orton, William Rowe, Bojan Smojver]

  *) Give MySQL DBD driver reconnect option. PR 45407
     [Bojan Smojver]

Changes with APR-util 1.3.2

  *) Fix parameter parsing error in ODBC DBD driver.  [Tom Donovan]

  *) Older OpenLDAP implementations may have ldap_set_rebind_proc() with two
     args. Provide detection code and alternative implementation.
     [Ruediger Pluem]

  *) Use pool memory when setting DBD driver name into the hash.
     [Bojan Smojver]

Changes with APR-util 1.3.1

  *) Add ODBC DBD Driver.  [Tom Donovan]

  *) Fix build of the FreeTDS and MySQL drivers.  [Bojan Smojver]

  *) Fix build failure for no modules (--disable-dso).  [Jean-Frederic Clere]

  *) Fix win32 build failure for no modules (empty DBD_LIST).  [William Rowe]

Changes with APR-util 1.3.0

  *) apr_reslist: destroy all resources in apr_cleanup (don't give up on error).
     PR 45086 [Nick Kew]

  *) Add apr_brigade_split_ex for reusing existing brigades in situation where
     brigades need to be split often during the lifetime of a pool.
     [Ruediger Pluem]

  *) Amend apr_reslist to expire resources whose idle time exceeds ttl.
     PR 42841 [Tom Donovan, Nick Kew, Ruediger Pluem]

  *) Modularize ldap's stub with the dbd dso modular structure, and teach
     the apu dso's to respect the system specific shared lib path var.
     To link to an application without ldap libs, query
     `apu-1-config --avoid-ldap --libs` (in addition to the usual linker
     queries for compiling and linking).  [William Rowe]

  *) Support building DBD drivers as DSOs by default; use --disable-util-dso
     flag to configure to use static link.  [Joe Orton, Bojan Smojver]

  *) All DBD drivers now count rows from 1, which affects PostgreSQL and MySQL
     drivers in particular. Using row number zero is an error.
     [Bojan Smojver]

  *) Add support for OpenLDAP's ability to support a directory of
     certificate authorities. [Eric Covener]

  *) Better error detection for bucket allocation failures.
     [Jim Jagielski]

  *) Ensure that the LDAP code can compile cleanly on platforms that do
     not define the LDAP_OPT_REFHOPLIMIT symbol, most specifically Windows.
     [Victor <victorjss@gmail.com>, Graham Leggett]

  *) Fix the setting of LDAP_OPT_SSL on Win2k, which expects a pointer to
     the value LDAP_OPT_ON, and not the value itself. XP works with both.
     [Victor <victorjss@gmail.com>]

  *) Fix a regression in apr_brigade_partition that causes integer overflows
     on systems where apr_off_t > apr_size_t.  [Ruediger Pluem]

  *) Ensure that apr_uri_unparse does not add scheme to URI if
     APR_URI_UNP_OMITSITEPART flag is set. PR 44044
     [Michael Clark <michael metaparadigm.com>]

  *) Add an LDAP rebind implementation so that authentication can be
     carried through referrals. [Paul J. Reder]

  *) Fix the make test target in the spec file. [Graham Leggett]

  *) Introduce apr_dbd_open_ex() [Bojan Smojver]

  *) Make md5 hash files portable between EBCDIC and ASCII platforms
     [David Jones]

  *) Add limited apr_dbd_freetds driver (MSSQL and Sybase) [Nick Kew]

  *) Commit relicensed apr_dbd_mysql driver to /trunk/  [Nick Kew]

  *) Support BerkeleyDB 4.6.  [Arfrever Frehtes Taifersar Arahesis]

  *) Support Tivoli ITDS LDAP client library.  [Paul Reder]

  *) Portably implement testdate's long-time constants to solve
     compilation faults where #LL isn't valid.  [Curt Arnold]

  *) Use buffered I/O with SDBM.  [Joe Schaefer]

  *) Unify parsing of prepared statements and add binary argument functions
     to DBD [Bojan Smojver with help from many on the APR list]

  *) Rewrite detection of expat in configure to fix build on e.g. biarch
     Linux platforms.  PR 28205.  [Joe Orton]

  *) Add apr_thread_pool implementation.  [Henry Jen <henryjen ztune.net>]

  *) Add support for Berkeley DB 4.5 to the configure scripts.
     [Garrett Rooney]

  *) Allow apr_queue.h to be included before other APR headers.
     PR 40891 [Henry Jen <henryjen ztune.net>]

  *) Fix precedence problem in error checking for sdbm dbm back end.
     PR 40659 [Larry Cipriani <lvc lucent.com>]

  *) Add an apr_reslist_acquired_count, for determining how many outstanding
     resources there are in a reslist.  [Ryan Phillips <ryan trolocsis.com>]

  *) Provide folding in autogenerated .manifest files for Win32 builders
     using VisualStudio 2005  [William Rowe]

  *) Implement DBD transaction modes
     [Bojan Smojver with help from many on the APR list]

  *) Implement prepared statement support in SQLite3 DBD driver
     [Bojan Smojver]

  *) Add get (column) name to apr_dbd API
     [Bojan Smojver <bojan rexursive.com>] and
     [Chris Darroch <chrisd pearsoncmg com>]

  *) Make the DBD autoconf-glue use LDFLAGS instead of LIBS in several
     places, fixing some configure issues on Solaris.
     [Henry Jen <henryjen ztune.net>]

  *) Make apr_dbd.h work as a stand alone header, without needing other
     files to be included before it. [Henry Jen <henryjen ztune.net>]

  *) On platforms that use autoconf stop automatically linking against
     apr-iconv when an apr-iconv source dir is found in ../apr-iconv.
     Instead, add a --with-apr-iconv option to configure that lets you
     specify the relative path to your apr-iconv source directory.
     [Garrett Rooney]

  *) APR_FIND_APU macro now supports customisable detailed checks on
     each installed apr-util. [Justin Erenkrantz, Colm MacCárthaigh]

  *) APR_FIND_APU macro no longer checks /usr/local/apache2/
     [Colm MacCárthaigh]

  *) Add apr_dbd_oracle driver [Nick Kew and Chris Darroch]
2008-09-06 16:39:58 +00:00
adam
707dd64033 db4 update related revision bump 2008-01-12 11:36:28 +00:00
tron
2322d26fab Update "apr-util" package to version 1.2.10. Changes since version 1.2.8:
- Support BerkeleyDB 4.6.
- Test improvements to validate testmd4 and testdbm, unattended.
Changes with APR-util 1.2.9
- Ensure that an apr_reslist shrinks back to SMAX via the TTL by
  reorganising the resource list from a queue to a stack.
  Apache Bug 40348.
- Fix Solaris 2.8+ fdatasync() detection. The fdatasync() function
  is marked as part of the Realtime library functions.
  Apache Bug 37343.
- Change configure's expat detection to use standard linker-based
  tests, fixing build on e.g. biarch Linux systems.
  Apache Bug 28205.
- Portably implement testdate's long-time constants to solve
  compilation faults where #LL isn't valid.
- APR_FIND_APU macro no longer checks /usr/local/apache2/.
  Apache Bug 42089.
- Fix handling of attribute namespaces in apr_xml_to_text() when
  a namespace map is provided.  Apache Bug 41908.
2007-10-11 09:12:25 +00:00
joerg
0826bb4cf5 Make live easier for Apache 2.2 modules and provide apr-config and
apu-config in .buildlink/bin.
2007-06-30 15:04:55 +00:00
wiz
5d4498b5fc PKGREVISION bump for db4 shlib name change. 2007-06-08 12:24:59 +00:00
tron
b1c1f56394 Add missing ".endif". 2007-05-31 10:26:52 +00:00
rillig
7f125459d8 Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
2007-05-30 08:54:28 +00:00
xtraeme
9ac67a4418 I don't have time to maintain packages that might be affected by
security vulnerabilities.
2007-05-22 10:53:20 +00:00
minskim
161f96552f Use libtool in the wrapper directory instead of the one installed by
apr.  Otherwise, dependency_libs in libaprutil-1.la is set incorrectly.

Bump PKGREVISION.
2007-04-28 06:23:04 +00:00
epg
0e02f9a14d Import apr-util-1.2.8.
The Apache Portable Run-time mission is to provide a library of
routines that allows programmers to write a program once and be
able to compile it anywhere.
2007-01-24 19:37:20 +00:00