- update to 1.9.7p2

- follow up path change in strip patch
- added --enable-zlib=system configure parameter, so sudo uses system zlib,
  autoconf is no more needed

Signed-off-by: Peter Czanik <peter@czanik.hu>
This commit is contained in:
Peter Czanik 2021-08-05 08:25:56 +02:00
parent e9983f0902
commit d8c0683b91
2 changed files with 14 additions and 6 deletions

View File

@ -1,5 +1,5 @@
--- sudo-1.6.7p5/install-sh.strip 2005-07-21 14:28:25.000000000 +0200 --- sudo-1.6.7p5/scripts/install-sh.strip 2005-07-21 14:28:25.000000000 +0200
+++ sudo-1.6.7p5/install-sh 2005-07-21 14:29:18.000000000 +0200 +++ sudo-1.6.7p5/scripts/install-sh 2005-07-21 14:29:18.000000000 +0200
@@ -138,7 +138,7 @@ @@ -138,7 +138,7 @@
fi fi
;; ;;

View File

@ -1,7 +1,7 @@
Summary: Allows restricted root access for specified users Summary: Allows restricted root access for specified users
Name: sudo Name: sudo
Version: 1.9.5p2 Version: 1.9.7p2
Release: 3%{?dist} Release: 1%{?dist}
License: ISC License: ISC
URL: https://www.sudo.ws URL: https://www.sudo.ws
Source0: %{url}/dist/%{name}-%{version}.tar.gz Source0: %{url}/dist/%{name}-%{version}.tar.gz
@ -17,7 +17,8 @@ BuildRequires: groff
BuildRequires: openldap-devel BuildRequires: openldap-devel
BuildRequires: flex BuildRequires: flex
BuildRequires: bison BuildRequires: bison
BuildRequires: automake autoconf libtool # BuildRequires: automake autoconf libtool
BuildRequires: libtool
BuildRequires: audit-libs-devel libcap-devel BuildRequires: audit-libs-devel libcap-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: sendmail BuildRequires: sendmail
@ -74,7 +75,7 @@ BuildRequires: python3-devel
%build %build
# Remove bundled copy of zlib # Remove bundled copy of zlib
rm -rf zlib/ rm -rf zlib/
autoreconf -I m4 -fv --install #autoreconf -I m4 -fv --install
%ifarch s390 s390x sparc64 %ifarch s390 s390x sparc64
F_PIE=-fPIE F_PIE=-fPIE
@ -103,6 +104,7 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
--with-selinux \ --with-selinux \
--with-passprompt="[sudo] password for %p: " \ --with-passprompt="[sudo] password for %p: " \
--enable-python \ --enable-python \
--enable-zlib=system \
--with-linux-audit \ --with-linux-audit \
--with-sssd --with-sssd
# --without-kerb5 \ # --without-kerb5 \
@ -230,6 +232,12 @@ EOF
%attr(0644,root,root) %{_libexecdir}/sudo/python_plugin.so %attr(0644,root,root) %{_libexecdir}/sudo/python_plugin.so
%changelog %changelog
* Fri Jul 30 2021 Peter Czanik <peter@czanik.hu> - 1.9.7p2-1
- update to 1.9.7p2
- follow up path change in strip patch
- added --enable-zlib=system configure parameter, so sudo uses system zlib,
autoconf is no more needed
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5p2-3 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5p2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild