- build with sendmail installed

- added /usr/local/bin to secure-path
This commit is contained in:
Daniel Kopeček 2009-01-13 17:09:02 +00:00
parent 83eef97412
commit eca3e72bb0

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.6.9p17 Version: 1.6.9p17
Release: 2%{?dist} Release: 3%{?dist}
License: BSD License: BSD
Group: Applications/System Group: Applications/System
URL: http://www.courtesan.com/sudo/ URL: http://www.courtesan.com/sudo/
@ -18,6 +18,7 @@ BuildRequires: bison
BuildRequires: automake autoconf libtool BuildRequires: automake autoconf libtool
BuildRequires: audit-libs-devel libcap-devel BuildRequires: audit-libs-devel libcap-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: sendmail
# don't strip # don't strip
Patch1: sudo-1.6.7p5-strip.patch Patch1: sudo-1.6.7p5-strip.patch
@ -74,7 +75,7 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie"
--with-ldap \ --with-ldap \
--with-selinux \ --with-selinux \
--with-passprompt="[sudo] password for %p: " \ --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-kerb5 \
# --without-kerb4 # --without-kerb4
make make
@ -132,6 +133,10 @@ rm -rf $RPM_BUILD_ROOT
/bin/chmod 0440 /etc/sudoers || : /bin/chmod 0440 /etc/sudoers || :
%changelog %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 * Tue Sep 02 2008 Peter Vrabec <pvrabec@redhat.com> 1.6.9p17-2
- adjust audit patch, do not scream when kernel is - adjust audit patch, do not scream when kernel is
compiled without audit netlink support (#401201) compiled without audit netlink support (#401201)