disable sctp protocol support by default

This commit is contained in:
Luboš Uhliarik 2021-08-05 12:34:07 +02:00
parent 047b5f6c0b
commit 3197b2f7c7

View File

@ -6,7 +6,7 @@
Summary: Apache Portable Runtime library Summary: Apache Portable Runtime library
Name: apr Name: apr
Version: 1.7.0 Version: 1.7.0
Release: 12%{?dist} Release: 13%{?dist}
# ASL 2.0: everything # ASL 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 with advertising: strings/apr_snprintf.c, strings/apr_fnmatch.c,
@ -22,8 +22,6 @@ 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-autoconf.patch Patch4: apr-1.7.0-autoconf.patch
BuildRequires: gcc, autoconf, libtool, libuuid-devel, python3 BuildRequires: gcc, autoconf, libtool, libuuid-devel, python3
# To enable SCTP support
BuildRequires: lksctp-tools-devel
BuildRequires: make BuildRequires: make
%description %description
@ -58,6 +56,9 @@ C data structures and routines.
# does not use -lrt). # does not use -lrt).
export ac_cv_search_shm_open=no export ac_cv_search_shm_open=no
# Forcibly disable sctp protocol support
export apr_cv_sctp=no
%configure \ %configure \
--includedir=%{_includedir}/apr-%{aprver} \ --includedir=%{_includedir}/apr-%{aprver} \
--with-installbuilddir=%{_libdir}/apr-%{aprver}/build \ --with-installbuilddir=%{_libdir}/apr-%{aprver}/build \
@ -133,6 +134,9 @@ popd
%{_datadir}/aclocal/*.m4 %{_datadir}/aclocal/*.m4
%changelog %changelog
* Wed Aug 04 2021 Luboš Uhliarik <luhliari@redhat.com> - 1.7.0-13
- disable sctp protocol support by default
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-12 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild