|
|
@ -3,26 +3,33 @@
|
|
|
|
# Arches on which the multilib apr.h hack is needed:
|
|
|
|
# Arches on which the multilib apr.h hack is needed:
|
|
|
|
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64
|
|
|
|
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Similar issue to https://bugzilla.redhat.com/show_bug.cgi?id=2043092
|
|
|
|
|
|
|
|
%undefine _package_note_flags
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disable .la file removal since the .la file is exported via apr-config.
|
|
|
|
|
|
|
|
%global __brp_remove_la_files %nil
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Apache Portable Runtime library
|
|
|
|
Summary: Apache Portable Runtime library
|
|
|
|
Name: apr
|
|
|
|
Name: apr
|
|
|
|
Version: 1.7.0
|
|
|
|
Version: 1.7.5
|
|
|
|
Release: 12%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
# ASL 2.0: everything
|
|
|
|
# Apache-2.0: everything
|
|
|
|
# ISC: network_io/apr-1.4.6/network_io/unix/inet_?to?.c
|
|
|
|
# ISC: network_io/apr-1.4.6/network_io/unix/inet_?to?.c
|
|
|
|
# BSD with advertising: strings/apr_snprintf.c, strings/apr_fnmatch.c,
|
|
|
|
# BSD-4-Clause-UC: strings/apr_snprintf.c, strings/apr_fnmatch.c,
|
|
|
|
# include/apr_fnmatch.h, misc/unix/getopt.c,
|
|
|
|
# include/apr_fnmatch.h, misc/unix/getopt.c,
|
|
|
|
# file_io/unix/mktemp.c, strings/apr_strings.c
|
|
|
|
# file_io/unix/mktemp.c, strings/apr_strings.c
|
|
|
|
# BSD (3-clause): strings/apr_strnatcmp.c, include/apr_strings.h
|
|
|
|
# Zlib: strings/apr_strnatcmp.c, include/apr_strings.h
|
|
|
|
License: ASL 2.0 and BSD with advertising and ISC and BSD
|
|
|
|
# Caldera-no-preamble: strings/apr_snprintf.c
|
|
|
|
|
|
|
|
License: Apache-2.0 AND (BSD-4-Clause-UC AND ISC AND Zlib AND Caldera-no-preamble)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
URL: https://apr.apache.org/
|
|
|
|
URL: https://apr.apache.org/
|
|
|
|
Source0: https://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
|
|
|
|
Source0: https://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: apr-wrapper.h
|
|
|
|
Source1: apr-wrapper.h
|
|
|
|
Patch1: apr-1.2.2-libdir.patch
|
|
|
|
Patch1: apr-1.7.2-libdir.patch
|
|
|
|
Patch2: apr-1.2.7-pkgconf.patch
|
|
|
|
Patch2: apr-1.2.7-pkgconf.patch
|
|
|
|
Patch3: apr-1.7.0-deepbind.patch
|
|
|
|
Patch3: apr-1.7.0-deepbind.patch
|
|
|
|
Patch4: apr-1.7.0-r1891269+.patch
|
|
|
|
Patch4: apr-1.7.2-autoconf.patch
|
|
|
|
Patch5: apr-1.7.0-r1894167.patch
|
|
|
|
|
|
|
|
Patch6: apr-1.7.0-encoding.patch
|
|
|
|
|
|
|
|
BuildRequires: gcc, autoconf, libtool, libuuid-devel, python3
|
|
|
|
BuildRequires: gcc, autoconf, libtool, libuuid-devel, python3
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
@ -44,22 +51,12 @@ Apache Portable Runtime (APR) is to provide a free library of
|
|
|
|
C data structures and routines.
|
|
|
|
C data structures and routines.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%autosetup -p1
|
|
|
|
%patch1 -p1 -b .libdir
|
|
|
|
|
|
|
|
%patch2 -p1 -b .pkgconf
|
|
|
|
|
|
|
|
%patch3 -p1 -b .deepbind
|
|
|
|
|
|
|
|
%patch4 -p1 -b .r1891269+
|
|
|
|
|
|
|
|
%patch5 -p1 -b .r1894167
|
|
|
|
|
|
|
|
%patch6 -p1 -b .encoding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# regenerate configure script etc.
|
|
|
|
# regenerate configure script etc.
|
|
|
|
./buildconf
|
|
|
|
./buildconf
|
|
|
|
|
|
|
|
|
|
|
|
# Forcibly prevent detection of shm_open (which then picks up but
|
|
|
|
|
|
|
|
# does not use -lrt).
|
|
|
|
|
|
|
|
export ac_cv_search_shm_open=no
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--includedir=%{_includedir}/apr-%{aprver} \
|
|
|
|
--includedir=%{_includedir}/apr-%{aprver} \
|
|
|
|
--with-installbuilddir=%{_libdir}/apr-%{aprver}/build \
|
|
|
|
--with-installbuilddir=%{_libdir}/apr-%{aprver}/build \
|
|
|
@ -127,7 +124,7 @@ popd
|
|
|
|
%doc docs/APRDesign.html docs/canonical_filenames.html
|
|
|
|
%doc docs/APRDesign.html docs/canonical_filenames.html
|
|
|
|
%doc docs/incomplete_types docs/non_apr_programs
|
|
|
|
%doc docs/incomplete_types docs/non_apr_programs
|
|
|
|
%{_bindir}/apr-%{aprver}-config
|
|
|
|
%{_bindir}/apr-%{aprver}-config
|
|
|
|
%{_libdir}/libapr-%{aprver}.*a
|
|
|
|
%{_libdir}/libapr-%{aprver}.la
|
|
|
|
%{_libdir}/libapr-%{aprver}.so
|
|
|
|
%{_libdir}/libapr-%{aprver}.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%dir %{_libdir}/apr-%{aprver}
|
|
|
|
%dir %{_libdir}/apr-%{aprver}
|
|
|
@ -138,34 +135,91 @@ popd
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Dec 7 2023 Joe Orton <jorton@redhat.com> - 1.7.0-12
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.7.5-2
|
|
|
|
- fix integer bounds checking in apr_encode_*
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-17123
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.7.5-1
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 02 2024 Luboš Uhliarik <luhliari@redhat.com> - 1.7.5-1
|
|
|
|
|
|
|
|
- new version 1.7.5
|
|
|
|
|
|
|
|
- Resolves: RHEL-56637 - apr: Lax permissions in Apache Portable Runtime shared
|
|
|
|
|
|
|
|
memory (CVE-2023-49582)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.7.3-10
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 8 2024 Joe Orton <jorton@redhat.com> - 1.7.3-8
|
|
|
|
|
|
|
|
- use autosetup
|
|
|
|
|
|
|
|
- always disable SCTP support at build time
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 29 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 24 2023 Luboš Uhliarik <luhliari@redhat.com> - 1.7.3-4
|
|
|
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Luboš Uhliarik <luhliari@redhat.com> - 1.7.3-3
|
|
|
|
|
|
|
|
- SPDX migration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 11 2023 Luboš Uhliarik <luhliari@redhat.com> - 1.7.3-1
|
|
|
|
|
|
|
|
- new version 1.7.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2023 Luboš Uhliarik <luhliari@redhat.com> - 1.7.2-2
|
|
|
|
|
|
|
|
- enable apr_atomic test again
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 02 2023 Luboš Uhliarik <luhliari@redhat.com> - 1.7.2-1
|
|
|
|
|
|
|
|
- new version 1.7.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-21
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 16 2023 Florian Weimer <fweimer@redhat.com> - 1.7.0-20
|
|
|
|
|
|
|
|
- Port configure script to C99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 19 2022 Joe Orton <jorton@redhat.com> - 1.7.0-19
|
|
|
|
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-18
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 13 2022 Joe Orton <jorton@redhat.com> - 1.7.0-17
|
|
|
|
|
|
|
|
- ship apr_common.m4 in -devel as well
|
|
|
|
|
|
|
|
- disable .la file removal
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 6 2021 Joe Orton <jorton@redhat.com> - 1.7.0-11
|
|
|
|
* Fri Jan 28 2022 Joe Orton <jorton@redhat.com> - 1.7.0-16
|
|
|
|
- always disable SCTP support at build time (#1997107)
|
|
|
|
- disable package notes
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.0-10.5
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-15
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 6 2021 Florian Weimer <fweimer@redhat.com> - 1.7.0-9.5
|
|
|
|
* Tue Aug 24 2021 Luboš Uhliarik <luhliari@redhat.com> - 1.7.0-14
|
|
|
|
- Rebuild to pick up new build flags from redhat-rpm-config (#1984652)
|
|
|
|
- Resolves: #1996685 - add various Coverity/Clang cleanups
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 4 2021 Joe Orton <jorton@redhat.com> - 1.7.0-9.4
|
|
|
|
* Wed Aug 04 2021 Luboš Uhliarik <luhliari@redhat.com> - 1.7.0-13
|
|
|
|
- add apr_common.m4 to -devel as well (#1986937)
|
|
|
|
- disable sctp protocol support by default
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 7 2021 Joe Orton <jorton@redhat.com> - 1.7.0-9.3
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-12
|
|
|
|
- add various Coverity/Clang cleanups (#1977418)
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 18 2021 Joe Orton <jorton@redhat.com> - 1.7.0-9.2
|
|
|
|
* Fri Jun 18 2021 Joe Orton <jorton@redhat.com> - 1.7.0-11
|
|
|
|
- package additional build/* files in apr-devel (#1945078)
|
|
|
|
- package additional build/* files in apr-devel (#1945078)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 18 2021 Joe Orton <jorton@redhat.com> - 1.7.0-9.1
|
|
|
|
* Fri Jun 18 2021 Joe Orton <jorton@redhat.com> - 1.7.0-10
|
|
|
|
- document APR_DEEPBIND and use secure_getenv() (thanks to mturk)
|
|
|
|
- document APR_DEEPBIND and use secure_getenv() (thanks to mturk)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.0-9
|
|
|
|
* Mon Apr 12 2021 Lubos Uhliarik <luhliari@redhat.com> - 1.7.0-9
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Resolves: #1942985 - apr: FTBFS with upcoming autoconf-2.71
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-8
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|