added SSSD support
This commit is contained in:
parent
2c51203bb4
commit
d415988861
1288
sudo-1.8.3p1-sssd-support.patch
Normal file
1288
sudo-1.8.3p1-sssd-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
12
sudo.spec
12
sudo.spec
@ -1,7 +1,7 @@
|
||||
Summary: Allows restricted root access for specified users
|
||||
Name: sudo
|
||||
Version: 1.8.3p1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: ISC
|
||||
Group: Applications/System
|
||||
URL: http://www.courtesan.com/sudo/
|
||||
@ -20,6 +20,7 @@ BuildRequires: audit-libs-devel libcap-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: sendmail
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libsss_sudo-devel
|
||||
|
||||
# don't strip
|
||||
Patch1: sudo-1.6.7p5-strip.patch
|
||||
@ -31,6 +32,8 @@ Patch3: sudo-1.7.4p3-m4path.patch
|
||||
Patch4: sudo-1.8.3-pipelist.patch
|
||||
# CVE-2012-0809
|
||||
Patch5: sudo-1.8.3p1-CVE-2012-0809.patch
|
||||
# SSSD support
|
||||
Patch6: sudo-1.8.3p1-sssd-support.patch
|
||||
|
||||
%description
|
||||
Sudo (superuser do) allows a system administrator to give certain
|
||||
@ -60,6 +63,7 @@ plugins that use %{name}.
|
||||
%patch3 -p1 -b .m4path
|
||||
%patch4 -p1 -b .pipelist
|
||||
%patch5 -p1 -b .CVE-2012-0809
|
||||
%patch6 -p1 -b .sssd-support
|
||||
|
||||
# Remove execute permission on this script so we don't pull in perl deps
|
||||
chmod -x plugins/sudoers/sudoers2ldif
|
||||
@ -91,7 +95,8 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
||||
--with-ldap \
|
||||
--with-selinux \
|
||||
--with-passprompt="[sudo] password for %p: " \
|
||||
--with-linux-audit
|
||||
--with-linux-audit \
|
||||
--with-sssd
|
||||
# --without-kerb5 \
|
||||
# --without-kerb4
|
||||
make
|
||||
@ -170,6 +175,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man8/sudo_plugin.8*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 7 2012 Daniel Kopecek <dkopecek@redhat.com> - 1.8.3p1-4
|
||||
- added SSSD support
|
||||
|
||||
* Thu Jan 26 2012 Daniel Kopecek <dkopecek@redhat.com> - 1.8.3p1-3
|
||||
- added patch for CVE-2012-0809
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user