Changelog for libapr1-1.6.5-38.1.x86_64.rpm :
Fri Feb 8 13:00:00 2019 Petr Gajdos
- increase timeout to fix random failure of testsuite
+ apr-test-sendfile-timeout.patch
- fix build for SLE11 again

Thu Feb 7 13:00:00 2019 Petr Gajdos
- linux version is now checked correctly, drop
- apr-1.4.5-linux3.patch
(see change log from Sun Aug 7 01:21:44 UTC 2011)

Wed Jan 16 13:00:00 2019 Tomáš Chvátal
- Update keyring to match current release maintainer

Thu Oct 18 14:00:00 2018 Manu Maier
- Version 1.6.5

* Fix Win32 build breakage in apr_os_exp_time_put() in 1.6.4. [Rainer Jung]
- Version 1.6.4

* configure: Fix detection of on OpenBSD.
PR 61976. [David Carlier , Yann Ylavic]

* Fix apr_parse_addr_port() regression in scope_id parsing introduced
in 1.6.3. [Rainer Jung]

* Fix Win32 file buffer locking behavior for single threaded file streams.
[Evgeny Kotkov, Mladen Turk, Jean-Frederic Clere]

* Numerous corrections to APR poll behavior. [Yann Ylavic]
- Drop patch gcc8-integer-overflow.patch merged upstream

Thu May 10 14:00:00 2018
- Version 1.6.3:

* apr_file_trunc: Truncating a buffered file could add unexpected
data after the truncate position. PR 51017.

* apr_file_trunc: Fix an issue where reading from a buffered file
after truncate could return stale data from the buffer.

* apr_ipsubnet_create() now fails for an empty input string.
- fixes [bsc#1092981]

Wed Apr 18 14:00:00 2018
- Add gcc8-integer-overflow.patch to handle an undefined
behavior (boo#1090085).

Tue Jan 23 13:00:00 2018
- ignore PowerPC transient test failures

Tue Nov 7 13:00:00 2017
- Do not require python for building - its not needed anyways

Mon Oct 16 14:00:00 2017
- We need to obsolete same version of package (bsc#1063305)

Mon Jul 10 14:00:00 2017
- Replace vision statement in %description with feature list.
Fix RPM groups.
- Drop --with-pic which is only useful for static libs.

Thu Jun 22 14:00:00 2017
- Rename package

Mon Jun 19 14:00:00 2017
- apr 1.6.2

* apr_allocator: Provide apr_allocator_align()

* apr_file_io: Add apr_file_pipe_create_pools()

* Add APR_SO_FREEBIND option for apr_socket_opt_set.

* apr_skiplist: Add apr_skiplist_addne

* Added Unix domain socket support.

* See for
a full list of changes.
- Drop patches from upstream:

* 0017-Merge-r1733694-r1733708-from-trunk.patch

* 0018-apr_proc_mutex-unix-backport-r1733775-from-trunk-par.patch

Wed Jun 14 14:00:00 2017
- define READDIR_IS_THREAD_SAFE, because it is. Avoid
using obsolete and potentially dangerous readdir_r.

Wed May 4 14:00:00 2016
- 0017-Merge-r1733694-r1733708-from-trunk.patch and
Refcount shared mutexes usage to avoid
destruction while still is use by some processes, this fixes
apache graceful-restart sometimes leaving processes in
\"Gracefully finishing\" state forever.
- apr-proc-mutex-map-anon.patch use MAP_ANON instead of mmap\'ing

Tue Sep 29 14:00:00 2015
- Add gpg signature

Sun May 3 14:00:00 2015
- remove baselibs.conf that osc rejects now with message:
ERROR: \'arch\' referenced in baselibs.conf is not being built
ERROR: \'ppc\' referenced in baselibs.conf is not being built
ERROR: \'package\' referenced in baselibs.conf is not being built
ERROR: \'arch\' referenced in baselibs.conf is not being built
ERROR: \'ppc\' referenced in baselibs.conf is not being built
ERROR: \'package\' referenced in baselibs.conf is not being built

Sun May 3 14:00:00 2015
- apr 1.5.2

* apr_escape: Correctly calculate the size of the returned string in
apr_escape_path and set the correct return value in case we actually
escape the string

* apr_poll(cb): fix error paths returned values and leaks.

* apr_skiplist: Optimize the number of allocations by reusing pooled or
malloc()ed nodes for the lifetime of the skiplist.

* apr_skiplist: Fix possible multiple-free() on the same value in
(obsoletes 0007-backport-r1604596-1604598-from-trunk.patch)

* apr_global_mutex/apr_proc_mutex: Resolve failures with the
POSIX sem implementation in environments which receive signals.
(obsoletes 0009-Merge-r1610854-from-trunk.patch)

* drop already included or no longer needed patches:

Sun Mar 8 13:00:00 2015
- No longer use --enable-allocator-uses-mmap but the default
which is using malloc, this feature exists to reduce
fragmentation but this is currently at the expense of:

* Loosing all malloc sanity checks.

* mmap and munmap are expensive operations when using
at lot of threads (like in apache worker,event)

* It will waste memory, even more on archs that have big
page sizes.
- If there are fragmentation or performance problems in glibc
malloc, the library has to be fixed instead.

Sat Mar 7 13:00:00 2015
- apr-use-getrandom.patch: Update, if getrandom blocks, fallback
to the old codepath, restoring old always non-blocking behaviour
in practice it blocks only at boottime when the entropy pool
has not been fully initialized, this delays the startup
of apache for example.

* Use SYS_getrandom constant instead of the \"internal\"

Sun Oct 19 14:00:00 2014
- apr-use-getrandom.patch Use the new getrandom() system call
in apr_generate_random_bytes() if the system call number
is defined and if the call is sucessful, fallback if otherwise.

Tue Aug 19 14:00:00 2014
- 0004-Backport-r1593600-from-1.6.patch memory leak apr_pvsprintf()
- 0005-Backport-r1593612-from-1.6.patch Missing error codes in apr_error_string()
- 0007-backport-r1604596-1604598-from-trunk.patch memory corruption in apr_skiplist
- 0009-Merge-r1610854-from-trunk.patch posix semaphore must handle EINTR.

Mon Jun 23 14:00:00 2014
- Single thread for tests.

Mon Jun 23 14:00:00 2014
- Move plain .so file from devel package to fix tomcat intercation.

Fri Jun 20 14:00:00 2014
- Remove sparc mentions from baselibs

Fri Jun 20 14:00:00 2014
- Cleanup with spec-cleaner
- Remove support for sle9 and friends.
- Fix date and time usage to avoid the completely needless rebuilds
- Run the tests in multiple threads

Fri Apr 18 14:00:00 2014
- apr 1.5.1

* avoid segfault on apr_os_proc_mutex_get() with cross-
process pthread mutexes

* Fix POSIX shared memory (shm_open) use for named shared memory.
(reenabled in package as well)

Fri Apr 18 14:00:00 2014
- remove apr-1.3.0-testshm-apr_shm_remove.patch, no longer needed

Thu Nov 21 13:00:00 2013
- Update to version 1.5.0. required for upcoming apache 2.4.x

* Add apr_sockaddr_is_wildcard()

* Add the apr_escape interface.

* Add apr_skiplist family.

* Add the apr_table_getm() call

* Add apr_hash_this_key(), apr_hash_this_key_len(), and

* many other changes irrelevant to

Tue Sep 24 14:00:00 2013
- correct condition for avoiding make check is qemu_user_build,
not armv7l

Wed Aug 28 14:00:00 2013
- Use compiler symbol visibility

Mon Jul 22 14:00:00 2013
- Update to apr 1.4.8

* Fix amd64 assembler version of apr_atomic_xchgptr()

* many other bugfixes, see

Tue Jul 16 14:00:00 2013
- get rid of --parents in doc section

Mon Oct 15 14:00:00 2012
- buildrequire explicitly netcfg for the test suite

Fri Aug 17 14:00:00 2012
- Merge some build improvements/fixes from Fedora

Sat Feb 18 13:00:00 2012
- updated to 1.4.6

* ) Flush write buffer before truncate call on a file.

* ) Security: oCERT-2011-003
Randomise hashes by providing a seed.

* ) apr_random: Prevent segfault if pool used to initialize apr_random is
destroyed before forking.

* ) testrand: Improve child randomness test case.

* ) apr_proc_fork, apr_random_after_fork: disambiguate what happens to the
proc structure passed in, and ensure that the pid is set correctly in
a newly created child; note that merely mixing a PID into the random
seed of a new child doesn\'t markedly increase entropy.

* ) apr_file_open: Avoid fcntl() calls if support for O_CLOEXEC works.
PR 48557.

* ) apr_dir_make_recursive: Fix race condition that could lead to EEXIST
being returned. PR 51254.

* ) configure: Fix APR_RESTORE_THE_ENVIRONMENT if the original variable was
a single space. PR 50334.

* ) apr_proc_create: Don\'t close any of the new stdin/stdout/stderr in the
child if it already has the correct FD. PR 51995.

* ) Fix flag character \'#\' in combination with format character \'x\' in
apr snprintf implementations.

* ) Improve platform detection by updating config.guess and config.sub.

* ) Add libtool2 files to extraclean make target.

* ) Don\'t overwrite our config.guess and config.sub
when running buildconf.

* ) Silence autoconf 2.68 warnings.

Tue Jan 24 13:00:00 2012
- license update: Apache-2.0
Fix the license to a single SPDX compatible string

Fri Jan 20 13:00:00 2012
- add Group tag to subpackages

Tue Dec 20 13:00:00 2011
- add autoconf as buildrequire to avoid implicit dependency

Sun Aug 7 14:00:00 2011
- Fix broken linux 3 version test in configure,make the configure
script assume linux 2.6.0

Sat Jul 16 14:00:00 2011
- remove -fno-strict-aliasing and LDAP_DEPRECATED from CFLAGS
no longer needed.

Thu May 26 14:00:00 2011
- Update to APR 1.4.5

* Security: CVE-2011-1928
apr_fnmatch(): Fix high CPU loop. [William Rowe]

* Fix top_builddir in installed [Bojan Smojver]

Fri May 20 14:00:00 2011
- Update to APR 1.4.4

* Security: CVE-2011-0419

* Fix address handling when accepting an AF_INET socket from a socket
bound as AF_INET6.

* Add configure option --enable-allocator-uses-mmap to reduce memory

* Avoid a redundant fcntl() call in apr_file_open() where O_CLOEXEC
is supported.

Mon Sep 6 14:00:00 2010
- fix build on CentOS5 (see below)

Mon Sep 6 14:00:00 2010
- fix build on SLE10
- don\'t run testatomic.c testcase, which fails only in the OBS, as it seems.
Run manually, it works. Must be either Xen- or ulimit-related. (It doesn\'t
seem to be possible to increase ulimit -v in the OBS, unfortunately.)
- don\'t run autoconf
- fix build on SLES9
- remove build dep on non-existing pkg-config
- don\'t run autoconf

Wed Jul 28 14:00:00 2010
- Update to 1.4.2:
Changes for APR 1.4.2

* ) Undo a crash-bug introduced in 1.3.9 affecting some applications of
the apr hash and table structures, reported to affect Subversion
by Bert Huijben . [Graham Leggett]
Changes for APR 1.4.1

* ) Win32: Properly handle the ERROR_DIRECTORY system error code.
[Brane Čibej]
Changes for APR 1.4.0

* ) Add apr_global_mutex_lockfile() for retrieving the file, if any,
associated with the mutex. Add apr_global_mutex_name() for retrieving
the name of the lock mechanism used by the underlying proc mutex.
[Jeff Trawick]

* ) Add apr_socket_atreadeof to determine whether the receive part of the
socket has been closed by the peer.
[Ruediger Pluem, Mladen Turk, Joe Orton]

* ) Make apr_pollset and apr_pollcb implementations using providers.
Added apr_pollset_create_ex and apr_pollcb_create_ex that allows
choosing non-default providers.
[Mladen Turk]

* ) apr_temp_dir_get() now checks the TMPDIR environment variable first,
instead of third. [Jim Jagielski]

* ) Add apr_file_sync() and apr_file_datasync() calls. [Bojan Smojver]

* ) apr_pollset_wakeup() on Windows: Fix core caused by closing the
file_socket_pipe with standard file_close.
[Arsen Chaloyan, Mladen Turk]

* ) Introduce apr_hash_do() for iterating over a hash table. [Mladen Turk]

* ) Make sure WIN32 behaves the same as posix for file-backed shared memory
by removing the file on cleanup/remove. [Mladen Turk]

* ) Introduce apr_pollset_wakeup() for interrupting the blocking
apr_pollset_poll() call. [Mladen Turk]

* ) Add apr_file_link() function. PR 44841. [Mark Heily ]
Changes for APR 1.3.12

* ) Fix detection of some Linux variants when configure is built with
recent GNU tools. [Eric Covener]
Changes for APR 1.3.11

* ) Fix bad autoconf version number in messages from
(called from buildconf). [Jeff Trawick]
Changes for APR 1.3.10

* ) Avoid a redundant fcntl() call in apr_file_open() where O_CLOEXEC
is supported. PR 46297. [Joe Orton]

* ) Solaris 10 and later: Change the default cross-mutex mechanism from
fcntl to pthread to resolve EDEADLK failures with some multi-threaded,
multi-process applications (e.g., httpd\'s worker MPM with certain
plug-in modules). [Jeff Trawick]

* ) Solaris pollcb support: Fix a hang in apr_pollcb_poll().
[Jeff Trawick]

* ) Solaris pollset support: Fix a 1.3.9 regression in apr_pollset_poll()
which could result in a crash when the call was interrupted by a
signal. PR 48030. [Jeff Trawick]

* ) Solaris pollset support: Fix a 1.3.9 regression in apr_pollset_poll()
which resulted in invalid return codes from the APR function. A work-
around was needed for bad return codes from 32-bit port_getn() on
Solaris 10 x86. PR 48029. [Jeff Trawick]
Changes for APR 1.3.9

* ) Posix semaphores can now be named and used as named semaphores.
[Jim Jagielski]

* ) Better handling of APR_OFF_T_FMT for Darwin 10 depending on -arch
setting of compiler. [Jim Jagielski]

* ) Add comments describing the thread-safety properties of apr_pool_t.
[Neil Conway nrc]

* ) Pass default environment to testsock, testshm and testproc children, so
that tests run when APR is compiled with Intel C Compiler.
[Bojan Smojver]

* ) Fix error handling in the Solaris pollset support (Event Port backend).
PR 47645. [Jeff Trawick]

* ) Add the remainder of this fix from trunk:
Fix Solaris poll failure. PR 43000
[Henry Jen ]

Sat Jun 12 14:00:00 2010
- remove test testatomic on hppa to fix build

Sat Apr 24 14:00:00 2010
- buildrequire pkg-config to fix provides

Tue Dec 15 13:00:00 2009
- add baselibs.conf as a source
- package baselibs for SPARC

Mon Aug 10 14:00:00 2009
- update to 1.3.8

* ) SECURITY: CVE-2009-2412 (
Fix overflow in pools and rmm, where size alignment was taking place.

* ) Make sure that \"make check\" is used in the RPM spec file, consistent
with apr-util.

* ) Pass default environment to testflock, testoc and testpipe children,
so that tests run when APR is compiled with Intel C Compiler.

Wed Jul 29 14:00:00 2009
- obsolete patch apr-1.2.8-pool-cleanups.patch removed.
This patch was applied only when build_with_memory_pool_debug was
defined during the build, which is true for the Apache:APR_Pool_Debug project,
but it was disabled even there.
It was not clear whether the patch was really useful, I seemed to
have more success testing with the pool debug builds with this
patch. But that was two years ago and we don\'t seem to miss it.

Mon Jul 27 14:00:00 2009
- update to 1.3.7

* ) More elaborate detection for dup3(), accept4() and epoll_create1().

Wed Jul 8 14:00:00 2009
- update to 1.3.6

* ) On Linux/hppa flock() returns EAGAIN instead of EWOULDBLOCK. This
causes proc mutex failures.

* ) Set CLOEXEC flags where appropriate. Either use new O_CLOEXEC flag and
associated functions, such as dup3(), accept4(), epoll_create1() etc.,
or simply set CLOEXEC flag using fcntl(). PR 46425.

Mon Jun 8 14:00:00 2009
- update to 1.3.5

* ) Dropped kqueue and apr_poll detection from Mac OS/X 10.5/Darwin 9
due to various reported problems.

* ) apr_strerror() on OS/2: Fix problem with calculating buffer size.

* ) Prefer glibtool1/glibtoolize1.

* ) Fix buildconf with libtool 2.2.

* ) Fix a bug with the APR_DELONCLOSE flag. Child processes were (also)
unlinking the file.

* ) Fix compilation error on systems that do not have IPV6.

* ) apr_socket_sendfile() on Solaris: Fix handling of files truncated
after the sender determines the length. (This fixes a busy loop in
httpd when a file being served is truncated.)

* ) Fix documentation for apr_temp_dir_get().


* ) Reset errno to zero in apr_strtoi64 to prevent returning an errno not
equal zero in cases where the operation worked fine. [Ruediger Pluem]

* ) Win32: Do not error out on apr_pollset_poll() when there are no sockets.

* ) Fix apr_tokenize_to_argv parsing.