- build with sendmail installed
- added /usr/local/bin to secure-path
This commit is contained in:
parent
83eef97412
commit
eca3e72bb0
@ -1,7 +1,7 @@
|
||||
Summary: Allows restricted root access for specified users
|
||||
Name: sudo
|
||||
Version: 1.6.9p17
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/System
|
||||
URL: http://www.courtesan.com/sudo/
|
||||
@ -18,6 +18,7 @@ BuildRequires: bison
|
||||
BuildRequires: automake autoconf libtool
|
||||
BuildRequires: audit-libs-devel libcap-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: sendmail
|
||||
|
||||
# don't strip
|
||||
Patch1: sudo-1.6.7p5-strip.patch
|
||||
@ -74,7 +75,7 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie"
|
||||
--with-ldap \
|
||||
--with-selinux \
|
||||
--with-passprompt="[sudo] password for %p: " \
|
||||
--with-secure-path="/sbin:/bin:/usr/sbin:/usr/bin"
|
||||
--with-secure-path="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin"
|
||||
# --without-kerb5 \
|
||||
# --without-kerb4
|
||||
make
|
||||
@ -132,6 +133,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/bin/chmod 0440 /etc/sudoers || :
|
||||
|
||||
%changelog
|
||||
* Tue Jan 13 2009 Daniel Kopecek <dkopecek@redhat.com> 1.6.9p17-3
|
||||
- build with sendmail installed
|
||||
- Added /usr/local/bin to secure-path
|
||||
|
||||
* Tue Sep 02 2008 Peter Vrabec <pvrabec@redhat.com> 1.6.9p17-2
|
||||
- adjust audit patch, do not scream when kernel is
|
||||
compiled without audit netlink support (#401201)
|
||||
|
Loading…
Reference in New Issue
Block a user