parent
46f9cc0170
commit
29d1d66232
15
apr-util-1.6.1-r1894933.patch
Normal file
15
apr-util-1.6.1-r1894933.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# ./pullrev.sh 1894933
|
||||||
|
http://svn.apache.org/viewvc?view=revision&revision=1894933
|
||||||
|
|
||||||
|
--- apr-1.6.1/xml/apr_xml.c
|
||||||
|
+++ apr-1.6.1/xml/apr_xml.c
|
||||||
|
@@ -457,8 +457,7 @@
|
||||||
|
APU_DECLARE(apr_status_t) apr_xml_parser_done(apr_xml_parser *parser,
|
||||||
|
apr_xml_doc **pdoc)
|
||||||
|
{
|
||||||
|
- char end;
|
||||||
|
- apr_status_t status = do_parse(parser, &end, 0, 1 /* is_final */);
|
||||||
|
+ apr_status_t status = do_parse(parser, "", 0, 1 /* is_final */);
|
||||||
|
|
||||||
|
/* get rid of the parser */
|
||||||
|
(void) apr_pool_cleanup_run(parser->p, parser, cleanup_parser);
|
@ -11,16 +11,23 @@
|
|||||||
%global with_nss 0
|
%global with_nss 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} < 36 && 0%{?rhel} <= 9
|
||||||
|
%global ldaplib ldap_r
|
||||||
|
%else
|
||||||
|
%global ldaplib ldap
|
||||||
|
%endif
|
||||||
|
|
||||||
%define apuver 1
|
%define apuver 1
|
||||||
|
|
||||||
Summary: Apache Portable Runtime Utility library
|
Summary: Apache Portable Runtime Utility library
|
||||||
Name: apr-util
|
Name: apr-util
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 19%{?dist}
|
Release: 20%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
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
|
||||||
Patch1: apr-util-1.2.7-pkgconf.patch
|
Patch1: apr-util-1.2.7-pkgconf.patch
|
||||||
|
Patch2: apr-util-1.6.1-r1894933.patch
|
||||||
Patch4: apr-util-1.4.1-private.patch
|
Patch4: apr-util-1.4.1-private.patch
|
||||||
Patch5: apr-util-mariadb-upstream.patch
|
Patch5: apr-util-mariadb-upstream.patch
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -124,9 +131,12 @@ This package provides the NSS crypto support for the apr-util.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .pkgconf
|
%patch1 -p1 -b .pkgconf
|
||||||
|
%patch2 -p1 -b .r1894933
|
||||||
%patch4 -p1 -b .private
|
%patch4 -p1 -b .private
|
||||||
%patch5 -p1 -b .maria
|
%patch5 -p1 -b .maria
|
||||||
|
|
||||||
|
: Configured for LDAP library: %{ldaplib}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoheader && autoconf
|
autoheader && autoconf
|
||||||
# A fragile autoconf test which fails if the code trips
|
# A fragile autoconf test which fails if the code trips
|
||||||
@ -134,16 +144,17 @@ autoheader && autoconf
|
|||||||
export ac_cv_ldap_set_rebind_proc_style=three
|
export ac_cv_ldap_set_rebind_proc_style=three
|
||||||
%configure --with-apr=%{_prefix} \
|
%configure --with-apr=%{_prefix} \
|
||||||
--includedir=%{_includedir}/apr-%{apuver} \
|
--includedir=%{_includedir}/apr-%{apuver} \
|
||||||
--with-ldap=ldap_r --without-gdbm \
|
--with-ldap=%{ldaplib} --without-gdbm \
|
||||||
--with-sqlite3 --with-pgsql --with-mysql --with-odbc \
|
--with-sqlite3 --with-pgsql --with-mysql --with-odbc \
|
||||||
--with-dbm=db5 --with-berkeley-db \
|
--with-dbm=db5 --with-berkeley-db \
|
||||||
--without-sqlite2 \
|
--without-sqlite2 \
|
||||||
--with-crypto --with-openssl \
|
--with-crypto --with-openssl \
|
||||||
%if %{with_nss}
|
%if %{with_nss}
|
||||||
--with-nss
|
--with-nss \
|
||||||
%else
|
%else
|
||||||
--without-nss
|
--without-nss \
|
||||||
%endif
|
%endif
|
||||||
|
|| { cat config.log; exit 1; }
|
||||||
%{make_build}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -220,6 +231,9 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}/apr-util-%{apuver}
|
|||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 28 2022 Joe Orton <jorton@redhat.com> - 1.6.1-20
|
||||||
|
- fix build with OpenLDAP 2.6 (#2032706)
|
||||||
|
|
||||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-19
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-19
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user