Hello community,
here is the log from the commit of package libapr-util1
checked in at Fri Jul 11 21:12:59 CEST 2008.
--------
--- libapr-util1/libapr-util1.changes 2008-06-09 17:17:36.000000000 +0200
+++ libapr-util1/libapr-util1.changes 2008-06-17 07:27:04.000000000 +0200
@@ -1,0 +2,105 @@
+Tue Jun 17 00:38:50 CEST 2008 - poeml@suse.de
+
+- pg_config is evil. Make sure it is not used to find PostgreSQL
+ header files. Fixing build of of the PostgreSQL DBD adapter
+ onopenSUSE 11.0.
+
+-------------------------------------------------------------------
+Sun Jun 15 17:27:46 CEST 2008 - poeml@suse.de
+
+- update to 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 , 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 ]
+ *) 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 MacCarthaigh]
+ *) APR_FIND_APU macro no longer checks /usr/local/apache2/
+ [Colm MacCarthaigh]
+ *) Add apr_dbd_oracle driver [Nick Kew and Chris Darroch]
+- remove obsolete patches:
+ apr-util-1.2.12-ac_configure_args.patch
+ apr-util-1.2.12-no_linkage.patch
+ apr-util-1.2.12-dso.patch
+ apr-util-1.2.12-link.patch
+ apr-util-1.2.8-r521327.patch
+ DSO build is now handled by the build system and it is also the
+ default now.
+- remove manual run of the testsuite, this has also been fixed
+ upstreams.
+- the DBD dsos now live in /usr/lib*/apr-util-1.
+
+-------------------------------------------------------------------
Old:
----
apr-util-1.2.12-ac_configure_args.patch
apr-util-1.2.12-dso.patch
apr-util-1.2.12-link.patch
apr-util-1.2.12-no_linkage.patch
apr-util-1.2.12.tar.bz2
apr-util-1.2.8-r521327.patch
New:
----
apr-util-1.3.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libapr-util1.spec ++++++
--- /var/tmp/diff_new_pack.d23673/_old 2008-07-11 21:12:22.000000000 +0200
+++ /var/tmp/diff_new_pack.d23673/_new 2008-07-11 21:12:22.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libapr-util1 (Version 1.2.12)
+# spec file for package libapr-util1 (Version 1.3.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -15,10 +15,13 @@
%define with_sqlite2 0
%define with_sqlite3 0
%define with_mysql 0
+%if 0%{?suse_version} > 910
+# see previous versions of this package for a workaround how to build the mysql driver on SLES9.
+%define with_mysql 1
+%endif
%define with_pgsql 0
%if 0%{?suse_version} >= 910
%define with_sqlite2 1
- %define with_mysql 1
%define with_pgsql 1
%endif
%if 0%{?suse_version} >= 930
@@ -26,6 +29,7 @@
%define with_sqlite3 1
%endif
#
+%define dso_libdir %{_libdir}/apr-util-1
#
BuildRequires: db-devel libapr1-devel
#
@@ -69,17 +73,10 @@
License: Other uncritical OpenSource License; The Apache Software License
Group: Development/Libraries/Other
AutoReqProv: on
-Version: 1.2.12
-Release: 48
+Version: 1.3.0
+Release: 1
Summary: Apache Portable Runtime (APR) Library
Source: http://www.apache.org/dist/apr/apr-util-%{version}.tar.bz2
-## http://people.apache.org/~niq/dbd.html
-#Source1: http://apache.webthing.com/svn/apache/apr/apr_dbd_mysql.c
-Patch: apr-util-1.2.12-ac_configure_args.patch
-Patch10: apr-util-1.2.12-no_linkage.patch
-Patch11: apr-util-1.2.12-dso.patch
-Patch12: apr-util-1.2.12-link.patch
-Patch13: apr-util-1.2.8-r521327.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define apuver 1
%define includedir %{_includedir}/apr-%{apuver}
@@ -178,21 +175,18 @@
%prep
%setup -q -n apr-util-%{version}
-%patch
-%patch10 -p0
-%patch11 -p0
-%patch12 -p0
-%patch13 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
-%if 0%{?opensuse_bs}
-CFLAGS="$CFLAGS -g"
-%endif
+# pg_config is evil
+# poeml, Tue Jun 17 00:02:31 CEST 2008
+%{__sed} -i -e '/pg_config/d' build/dbd.m4
rm -rf aclocal.m4 autom4te*.cache
autoheader --force
autoconf --force
%{__sed} -i -e '/OBJECTS_all/s, dbd/apr_dbd_[^ ]*\.lo,,g' build-outputs.mk
+export CPPFLAGS='-I /usr/include/pgsql'
+# all DBD driveres are built by default, nowadays -- except mysql.
%configure \
--includedir=%{includedir} \
--with-apr=/usr/bin/apr-1-config \
@@ -202,65 +196,21 @@
%if %{with_mysql}
--with-mysql \
%endif
-%if %{with_sqlite2} || %{with_sqlite3}
- --with-sqlite \
-%endif
-%if %{with_pgsql}
- --with-pgsql \
-%endif
--without-gdbm \
--disable-static \
--with-pic
#
-make %{?jobs:-j%jobs}
+make %{?jobs:-j%jobs} CPPFLAGS='-I /usr/include/pgsql'
+#
%if %{?suse_version:1}0
make dox
%endif
-%define helpdir ""
-%if %{with_mysql}
-%if 0%{?suse_version} == 910
- # libmysqlclient_r was missing the .so link at SLES9 time (any easy workaround??)
- mkdir helpdir
- cp /usr/%_lib/libmysqlclient_r.so.12* helpdir/
- ln -s libmysqlclient_r.so.12.0.0 helpdir/libmysqlclient_r.so
- %define helpdir -Lhelpdir
-%endif
-%endif
-%if %{with_mysql}
-%{__make} dbd/apr_dbd_mysql.lo
-libtool --mode=link --tag=CC %{__cc} -rpath %{_libdir} -avoid-version -module dbd/apr_dbd_mysql.lo %{helpdir} -lmysqlclient_r -o dbd/apr_dbd_mysql.la
-%endif
-%if %{with_pgsql}
-%{__make} dbd/apr_dbd_pgsql.lo
-libtool --mode=link --tag=CC %{__cc} -rpath %{_libdir} -avoid-version -module dbd/apr_dbd_pgsql.lo -lpq -o dbd/apr_dbd_pgsql.la
-%endif
-%if %{with_sqlite2}
-%{__make} dbd/apr_dbd_sqlite2.lo
-libtool --mode=link --tag=CC %{__cc} -rpath %{_libdir} -avoid-version -module dbd/apr_dbd_sqlite2.lo -lsqlite -o dbd/apr_dbd_sqlite2.la
-%endif
-%if %{with_sqlite3}
-%{__make} dbd/apr_dbd_sqlite3.lo
-libtool --mode=link --tag=CC %{__cc} -rpath %{_libdir} -avoid-version -module dbd/apr_dbd_sqlite3.lo -lsqlite3 -o dbd/apr_dbd_sqlite3.la
-%endif
%install
make install DESTDIR=$RPM_BUILD_ROOT
%if %{?suse_version:1}0
mv docs/dox/html html
%endif
-install -d $RPM_BUILD_ROOT%{_libdir}
-%if %{with_mysql}
-libtool --mode=install %{_bindir}/install -c -m 755 dbd/apr_dbd_mysql.la %{buildroot}%{_libdir}
-%endif
-%if %{with_pgsql}
-libtool --mode=install %{_bindir}/install -c -m 755 dbd/apr_dbd_pgsql.la %{buildroot}%{_libdir}
-%endif
-%if %{with_sqlite2}
-libtool --mode=install %{_bindir}/install -c -m 755 dbd/apr_dbd_sqlite2.la %{buildroot}%{_libdir}
-%endif
-%if %{with_sqlite3}
-libtool --mode=install %{_bindir}/install -c -m 755 dbd/apr_dbd_sqlite3.la %{buildroot}%{_libdir}
-%endif
# multiacrh anti-borker
perl -pi -e "s|^LDFLAGS=.*|LDFLAGS=\"\"|g" %{buildroot}%{_bindir}/apu-%{apuver}-config
# includes anti-borker
@@ -268,36 +218,14 @@
# unpackaged files
rm -f $RPM_BUILD_ROOT/%{_libdir}/aprutil.exp
# don't package these static libraries for now
-rm -f $RPM_BUILD_ROOT/%_libdir/apr_dbd_*.a
+rm -f $RPM_BUILD_ROOT/%{dso_libdir}/apr_dbd_*.a
+rm -f $RPM_BUILD_ROOT/%{dso_libdir}/apr_ldap_*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/libaprutil-%{apuver}.a
%check
-%if %{with_mysql}
- %if 0%{?suse_version} == 910
- %define helpdir -L../helpdir
- %else
- %define helpdir ""
- %endif
- export LDFLAGS="$LDFLAGS %{helpdir} -lmysqlclient_r"
-%endif
-%if %{with_sqlite3}
- export LDFLAGS="$LDFLAGS -lsqlite3"
-%endif
-make LDFLAGS="$LDFLAGS" check
-# make check doesn't notice that testdbd segfaults, so run it explicitely
-pushd test
-mkdir libs
-for i in ../dbd/.libs/*.so
- do ln -sv ../$i libs/
-done
-make testall
-LD_LIBRARY_PATH=`pwd`/libs ./testall -v || exit 1
-popd
%clean
-if ! test -f /.buildenv; then
- rm -rf $RPM_BUILD_ROOT
-fi
+rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
@@ -309,29 +237,30 @@
%doc LICENSE
%doc NOTICE
%{_libdir}/libaprutil-%{apuver}.so.*
+%attr(755,root,root) %{dso_libdir}/apr_ldap*
%if %{with_mysql}
%files dbd-mysql
%defattr(-,root,root,-)
-%attr(755,root,root) %{_libdir}/apr_dbd_mysql.so
+%attr(755,root,root) %{dso_libdir}/apr_dbd_mysql*
%endif
%if %{with_pgsql}
%files dbd-pgsql
%defattr(-,root,root,-)
-%attr(755,root,root) %{_libdir}/apr_dbd_pgsql.so
+%attr(755,root,root) %{dso_libdir}/apr_dbd_pgsql*
%endif
%if %{with_sqlite2}
%files dbd-sqlite2
%defattr(-,root,root,-)
-%attr(755,root,root) %{_libdir}/apr_dbd_sqlite2.so
+%attr(755,root,root) %{dso_libdir}/apr_dbd_sqlite2*
%endif
%if %{with_sqlite3}
%files dbd-sqlite3
%defattr(-,root,root,-)
-%attr(755,root,root) %{_libdir}/apr_dbd_sqlite3.so
+%attr(755,root,root) %{dso_libdir}/apr_dbd_sqlite3*
%endif
%files devel
@@ -347,6 +276,105 @@
%exclude %{_libdir}/*.la
%changelog
+* Tue Jun 17 2008 poeml@suse.de
+- pg_config is evil. Make sure it is not used to find PostgreSQL
+ header files. Fixing build of of the PostgreSQL DBD adapter
+ onopenSUSE 11.0.
+* Sun Jun 15 2008 poeml@suse.de
+- update to 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 , 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 ]
+ *) 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 MacCarthaigh]
+ *) APR_FIND_APU macro no longer checks /usr/local/apache2/
+ [Colm MacCarthaigh]
+ *) Add apr_dbd_oracle driver [Nick Kew and Chris Darroch]
+- remove obsolete patches:
+ apr-util-1.2.12-ac_configure_args.patch
+ apr-util-1.2.12-no_linkage.patch
+ apr-util-1.2.12-dso.patch
+ apr-util-1.2.12-link.patch
+ apr-util-1.2.8-r521327.patch
+ DSO build is now handled by the build system and it is also the
+ default now.
+- remove manual run of the testsuite, this has also been fixed
+ upstreams.
+- the DBD dsos now live in /usr/lib*/apr-util-1.
* Mon Jun 09 2008 poeml@suse.de
- build service supports the debuginfo flag in metadata now; remove
debug_package macro from the specfile therefore.
++++++ apr-util-1.2.12.tar.bz2 -> apr-util-1.3.0.tar.bz2 ++++++
++++ 28689 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org