Hello community,
here is the log from the commit of package libapr1
checked in at Fri Jul 11 21:12:01 CEST 2008.
--------
--- libapr1/libapr1.changes 2008-06-09 17:15:30.000000000 +0200
+++ libapr1/libapr1.changes 2008-06-15 17:34:11.000000000 +0200
@@ -1,0 +2,110 @@
+Sun Jun 15 16:52:51 CEST 2008 - poeml@suse.de
+
+- update to 1.3.0. Changes, with non-Linux relevant portions
+ omitted (see http://www.apache.org/dist/apr/CHANGES-APR-1.3 for
+ complete list):
+ *) apr_getservbyname(): Use proper method for converting port
+ to host byte order. PR 44903.
+ [Chris Taylor <ctaylor wadeford.plus.com>]
+ *) Use /dev/urandom in preference to /dev/random as entropy source
+ for apr_generate_random_bytes. PR 44881. [Bojan Smojver]
+ *) Introduce apr_pool_pre_cleanup_register() for registering
+ a cleanup that is called before any subpool is destroyed
+ within apr_pool_clear or apr_pool_destroy.
+ This allows to register a cleanup that will notify subpools
+ about its inevitable destruction.
+ [Mladen Turk]
+ *) Introduce apr_pool_create_core_ex() for creation of standalone
+ pools without parent. This function should be used for short
+ living pools, usually ones that are created and destroyed
+ either in a loop or inside function call. Since the pools
+ created with this function doesn't have a parent they must
+ be explicitly destroyed when done.
+ [Mladen Turk]
+ *) Fix return value when apr_pollset_poll interrupted.
+ PR 42580 [Basant Kumar Kukreja ]
+ *) Fix the make test target in the spec file. [Graham Leggett]
+ *) Introduce apr_file_pipe_create_ex() to portably permit one pipe
+ end or another to be entirely blocking for non-APR applications
+ (e.g. stdio streams) and the other (or both ends) non blocking,
+ with a timeout of 0 by default.
+ [William Rowe]
+ *) Introduce APR_NO_FILE as an option to apr_procattr_io_set() for any
+ of the three stdio streams to cause the corresponding streams to be
+ closed to the child process. This becomes effective in 1.3.0 across
+ platforms (equivilant to APR_NO_PIPE in 1.2.x except on Win32.)
+ [William Rowe]
+ *) Add table cloning (deep copy) convenience function.
+ [Davi Arnaut]
+ *) Stop invoking the testshm* helpers upon 'make test' invocation.
+ [Kurt Miller <kurt intricatesoftware.com>]
+ *) Register a cleanup only if APR_FILE_NOCLEANUP was not flagged in
+ apr_file_mktemp. [Brian J. France <list firehawksystems.com>]
+ *) Discard file buffers when running cleanups for exec.
+ PR 41119. [Davi Arnaut <davi haxent.com.br>, Bojan Smojver]
+ *) Improve thread safety of assorted file_io functions.
+ PR 42400. [Davi Arnaut <davi haxent.com.br>]
+ *) Add the apr_pollcb API as an alternative more efficient method
+ of polling sockets, compared to apr_pollset. [Paul Querna]
+ *) Fix possible crash in apr_pool_initialize() when built with
+ verbose pool debugging. PR 41063.
+ [Peter Steiner ]
+ *) Fix --disable-ipv6 build on platforms with getifaddrs().
+ PR 39199. [Joe Orton]
+ *) Portably check for EEXIST in mktemp code. PR 40818
+ [Kenneth Golomb <KGolomb TradeCard.com>]
+ *) Fix apr_socket_recvfrom() to ensure the peer's address is returned
+ through the "from" parameter. [Joe Orton]
+ *) Fix error checking in kqueue, epoll and event port versions of
+ apr_pollset_create. PR 40660, 40661, 40662
+ [Larry Cipriani <lvc lucent.com>]
+ *) Add some documentation on the format matched by apr_fnmatch.
+ [David Glasser <glasser mit.edu>]
+ *) Add apr_hash_clear. [Daniel L. Rall <dlr apache.org>]
+ *) Don't try to build apr_app.c on MinGW.
+ [Matthias Miller <Blog outofhanwell.com>]
+ *) Fix the timeout converstion in apr_pollset with the KQueue
+ backend. [Marco Molteni <mmolteni cisco.com>]
+ *) Support MinGW. [John Vandenberg, Justin Erenkrantz]
+ *) Implement apr_thread_yield on Unix in terms of pthread_yield or
+ sched_yield. [Keisuke Nishida ]
+ *) Make apr_socket_recvfrom initialize the port field in the from
+ sockaddr. PR 39325 [Anthony Minessale <anthmct yahoo.com>]
+ *) NetBSD: Avoid leaving zombie process when using apr_signal()
+ to ignore SIGCHLD. PR 36750. [Todd Vierling <tv pobox.com>]
+ *) Implement support for apr_proc_mutex_trylock() on Unix platforms.
+ PR 38785. [Chris Darroch <chrisd pearsoncmg.com>]
+ *) APR_FIND_APR macro now supports customisable detailed checks on
+ each installed apr. [Justin Erenkrantz, Colm MacCarthaigh]
+ *) APR_FIND_APR macro no longer checks /usr/local/apache2/
+ [Colm MacCarthaigh]
+ *) Add APR_POLLSET_NOCOPY option to apr_pollset API to eliminate
+ O(n)-time lookup in apr_pollset_remove() (currently implemented
+ only for epoll). [Brian Pane]
+ *) Add apr_file_buffer_set() and apr_file_buffer_size_get() functions
+ to support variable buffer sizes with APR file handles.
+ [Colm MacCarthaigh]
+ *) Add apr_file_open_flags_std[err|out|in]() functions.
+ [Colm MacCarthaigh]
+ *) stdio: apr_file_open_std[err|out|in]() functions now set the APR_WRITE
+ or APR_READ flag as appropriate. [Colm MacCarthaigh]
+ *) multicast: apr_mcast_*() no longer return APR_ENOTIMPL when invoked
+ for non-UDP/RAW sockets. The caller is expected to ensure that the
+ socket-type is suitable for multicast. [Colm MacCarthaigh]
+ *) Add apr_sockaddr_ip_getbuf() function. [Joe Orton]
+ *) Fix handling of %pI in apr_psprintf. [Joe Orton]
+ *) Provide APR_VERSION_AT_LEAST() macro for applications which
+ want to enable features based on a required level of APR.
+ [Jeff Trawick]
+ *) jlibtool: Teach to use static libraries with -static.
+ [Justin Erenkrantz]
+ *) Fix checks for alloca() support in configure. PR 13037.
+ [Noah Misch <noah cs.caltech.edu>]
+ *) Add %pm support to apr_snprintf() for printing the error string
+ corresponding to an apr_status_t value. [Joe Orton]
+ *) Add APR_ARRAY_IDX() and APR_ARRAY_PUSH() convenience macros to
+ apr_tables.h. [Garrett Rooney]
+- fix testshm testcase
+- remove manual addition of -g, since the OBS takes care of it now.
+
+-------------------------------------------------------------------
Old:
----
apr-1.2.12.tar.bz2
apr-1.2.7.diff
New:
----
apr-1.3.0.tar.bz2
apr-1.3.0-testshm-apr_shm_remove.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libapr1.spec ++++++
--- /var/tmp/diff_new_pack.l19847/_old 2008-07-11 21:10:39.000000000 +0200
+++ /var/tmp/diff_new_pack.l19847/_new 2008-07-11 21:10:39.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package libapr1 (Version 1.2.12)
+# spec file for package libapr1 (Version 1.3.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -18,13 +18,14 @@
License: Other uncritical OpenSource License; The Apache Software License
Group: Development/Libraries/Other
AutoReqProv: on
-Version: 1.2.12
-Release: 29
+Version: 1.3.0
+Release: 1
Summary: Apache Portable Runtime (APR) Library
Source: http://www.apache.org/dist/apr/apr-%{version}.tar.bz2
-Patch: apr-1.2.7.diff
+#Patch: apr-1.2.7.diff
Patch1: string-compare.diff
Patch2: apr-1.2.8-pool-cleanups.patch
+Patch3: apr-1.3.0-testshm-apr_shm_remove.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define aprver 1
%define installbuilddir %{_libdir}/apr-%{aprver}/build
@@ -77,17 +78,15 @@
%prep
%setup -n apr-%{version}
-%patch
+#%patch
%patch1
%if %{?build_with_memory_pool_debug:1}0
#patch2 -p1
%endif
+%patch3 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fPIC"
-%if 0%{?opensuse_bs}
-CFLAGS="$CFLAGS -g"
-%endif
#
rm -rf aclocal.m4 autom4te*.cache
autoheader
@@ -161,6 +160,113 @@
%{_libdir}/apr-%{aprver}
%changelog
+* Sun Jun 15 2008 poeml@suse.de
+- update to 1.3.0. Changes, with non-Linux relevant portions
+ omitted (see http://www.apache.org/dist/apr/CHANGES-APR-1.3 for
+ complete list):
+ *) apr_getservbyname(): Use proper method for converting port
+ to host byte order. PR 44903.
+ [Chris Taylor <ctaylor wadeford.plus.com>]
+ *) Use /dev/urandom in preference to /dev/random as entropy source
+ for apr_generate_random_bytes. PR 44881. [Bojan Smojver]
+ *) Introduce apr_pool_pre_cleanup_register() for registering
+ a cleanup that is called before any subpool is destroyed
+ within apr_pool_clear or apr_pool_destroy.
+ This allows to register a cleanup that will notify subpools
+ about its inevitable destruction.
+ [Mladen Turk]
+ *) Introduce apr_pool_create_core_ex() for creation of standalone
+ pools without parent. This function should be used for short
+ living pools, usually ones that are created and destroyed
+ either in a loop or inside function call. Since the pools
+ created with this function doesn't have a parent they must
+ be explicitly destroyed when done.
+ [Mladen Turk]
+ *) Fix return value when apr_pollset_poll interrupted.
+ PR 42580 [Basant Kumar Kukreja ]
+ *) Fix the make test target in the spec file. [Graham Leggett]
+ *) Introduce apr_file_pipe_create_ex() to portably permit one pipe
+ end or another to be entirely blocking for non-APR applications
+ (e.g. stdio streams) and the other (or both ends) non blocking,
+ with a timeout of 0 by default.
+ [William Rowe]
+ *) Introduce APR_NO_FILE as an option to apr_procattr_io_set() for any
+ of the three stdio streams to cause the corresponding streams to be
+ closed to the child process. This becomes effective in 1.3.0 across
+ platforms (equivilant to APR_NO_PIPE in 1.2.x except on Win32.)
+ [William Rowe]
+ *) Add table cloning (deep copy) convenience function.
+ [Davi Arnaut]
+ *) Stop invoking the testshm* helpers upon 'make test' invocation.
+ [Kurt Miller <kurt intricatesoftware.com>]
+ *) Register a cleanup only if APR_FILE_NOCLEANUP was not flagged in
+ apr_file_mktemp. [Brian J. France <list firehawksystems.com>]
+ *) Discard file buffers when running cleanups for exec.
+ PR 41119. [Davi Arnaut <davi haxent.com.br>, Bojan Smojver]
+ *) Improve thread safety of assorted file_io functions.
+ PR 42400. [Davi Arnaut <davi haxent.com.br>]
+ *) Add the apr_pollcb API as an alternative more efficient method
+ of polling sockets, compared to apr_pollset. [Paul Querna]
+ *) Fix possible crash in apr_pool_initialize() when built with
+ verbose pool debugging. PR 41063.
+ [Peter Steiner ]
+ *) Fix --disable-ipv6 build on platforms with getifaddrs().
+ PR 39199. [Joe Orton]
+ *) Portably check for EEXIST in mktemp code. PR 40818
+ [Kenneth Golomb <KGolomb TradeCard.com>]
+ *) Fix apr_socket_recvfrom() to ensure the peer's address is returned
+ through the "from" parameter. [Joe Orton]
+ *) Fix error checking in kqueue, epoll and event port versions of
+ apr_pollset_create. PR 40660, 40661, 40662
+ [Larry Cipriani <lvc lucent.com>]
+ *) Add some documentation on the format matched by apr_fnmatch.
+ [David Glasser <glasser mit.edu>]
+ *) Add apr_hash_clear. [Daniel L. Rall <dlr apache.org>]
+ *) Don't try to build apr_app.c on MinGW.
+ [Matthias Miller <Blog outofhanwell.com>]
+ *) Fix the timeout converstion in apr_pollset with the KQueue
+ backend. [Marco Molteni <mmolteni cisco.com>]
+ *) Support MinGW. [John Vandenberg, Justin Erenkrantz]
+ *) Implement apr_thread_yield on Unix in terms of pthread_yield or
+ sched_yield. [Keisuke Nishida ]
+ *) Make apr_socket_recvfrom initialize the port field in the from
+ sockaddr. PR 39325 [Anthony Minessale <anthmct yahoo.com>]
+ *) NetBSD: Avoid leaving zombie process when using apr_signal()
+ to ignore SIGCHLD. PR 36750. [Todd Vierling <tv pobox.com>]
+ *) Implement support for apr_proc_mutex_trylock() on Unix platforms.
+ PR 38785. [Chris Darroch <chrisd pearsoncmg.com>]
+ *) APR_FIND_APR macro now supports customisable detailed checks on
+ each installed apr. [Justin Erenkrantz, Colm MacCarthaigh]
+ *) APR_FIND_APR macro no longer checks /usr/local/apache2/
+ [Colm MacCarthaigh]
+ *) Add APR_POLLSET_NOCOPY option to apr_pollset API to eliminate
+ O(n)-time lookup in apr_pollset_remove() (currently implemented
+ only for epoll). [Brian Pane]
+ *) Add apr_file_buffer_set() and apr_file_buffer_size_get() functions
+ to support variable buffer sizes with APR file handles.
+ [Colm MacCarthaigh]
+ *) Add apr_file_open_flags_std[err|out|in]() functions.
+ [Colm MacCarthaigh]
+ *) stdio: apr_file_open_std[err|out|in]() functions now set the APR_WRITE
+ or APR_READ flag as appropriate. [Colm MacCarthaigh]
+ *) multicast: apr_mcast_*() no longer return APR_ENOTIMPL when invoked
+ for non-UDP/RAW sockets. The caller is expected to ensure that the
+ socket-type is suitable for multicast. [Colm MacCarthaigh]
+ *) Add apr_sockaddr_ip_getbuf() function. [Joe Orton]
+ *) Fix handling of %%pI in apr_psprintf. [Joe Orton]
+ *) Provide APR_VERSION_AT_LEAST() macro for applications which
+ want to enable features based on a required level of APR.
+ [Jeff Trawick]
+ *) jlibtool: Teach to use static libraries with -static.
+ [Justin Erenkrantz]
+ *) Fix checks for alloca() support in configure. PR 13037.
+ [Noah Misch <noah cs.caltech.edu>]
+ *) Add %%pm support to apr_snprintf() for printing the error string
+ corresponding to an apr_status_t value. [Joe Orton]
+ *) Add APR_ARRAY_IDX() and APR_ARRAY_PUSH() convenience macros to
+ apr_tables.h. [Garrett Rooney]
+- fix testshm testcase
+- remove manual addition of -g, since the OBS takes care of it now.
* 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-1.2.12.tar.bz2 -> apr-1.3.0.tar.bz2 ++++++
++++ 22342 lines of diff (skipped)
++++++ apr-1.3.0-testshm-apr_shm_remove.patch ++++++
work around failure in testshm which seems to be logic error in the test program
see also here:
http://www.mail-archive.com/dev@apr.apache.org/msg20224.html
poeml, Sun Jun 15 17:02:32 CEST 2008
Index: apr-1.3.0/test/testshm.c
===================================================================
--- apr-1.3.0.orig/test/testshm.c 2007-11-06 04:58:22.000000000 +0100
+++ apr-1.3.0/test/testshm.c 2008-06-15 15:30:24.066001000 +0200
@@ -250,8 +250,9 @@ static void test_named_remove(abts_case
APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv);
}
- rv = apr_shm_destroy(shm);
- APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv);
+ /* this fails, because it _is_ already removed (see above). Skip this step. */
+ /* rv = apr_shm_destroy(shm); */
+ /* APR_ASSERT_SUCCESS(tc, "Error destroying shared memory block", rv); */
/* Now ensure no named resource remains which we may attach to */
rv = apr_shm_attach(&shm, SHARED_FILENAME, p);
++++++ string-compare.diff ++++++
--- /var/tmp/diff_new_pack.l19847/_old 2008-07-11 21:10:43.000000000 +0200
+++ /var/tmp/diff_new_pack.l19847/_new 2008-07-11 21:10:43.000000000 +0200
@@ -1,6 +1,8 @@
---- strings/apr_snprintf.c
-+++ strings/apr_snprintf.c
-@@ -1258,7 +1258,7 @@ APR_DECLARE(int) apr_vformatter(int (*fl
+Index: strings/apr_snprintf.c
+===================================================================
+--- strings/apr_snprintf.c.orig 2008-05-27 06:49:54.000000000 +0200
++++ strings/apr_snprintf.c 2008-06-15 15:09:15.465863000 +0200
+@@ -1291,7 +1291,7 @@ APR_DECLARE(int) apr_vformatter(int (*fl
break;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org