sudo: update to 1.7.2p6.

--HG--
extra : convert_revision : 635b40bf225f938ac3c5d0cce4875e5a687f6de7
This commit is contained in:
Juan RP 2010-04-16 12:05:38 +02:00
parent ed08b2811e
commit 8ed0074bd1
2 changed files with 9 additions and 12 deletions

View File

@ -0,0 +1,6 @@
auth required pam_unix.so
account required pam_unix.so
session optional pam_mail.so dir=/var/mail standard
session optional pam_xauth.so
session required pam_env.so
session required pam_unix.so

View File

@ -1,6 +1,6 @@
# Template build file for 'sudo'.
pkgname=sudo
version=1.7.2p5
version=1.7.2p6
distfiles="http://www.courtesan.com/sudo/dist/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--with-ignore-dot -with-all-insults --with-env-editor
@ -9,7 +9,7 @@ configure_args="--with-ignore-dot -with-all-insults --with-env-editor
--disable-root-mailer --disable-setresuid"
short_desc="Allow others to run commands as root"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=69981fefeaedd47319d700db4aa335f3e8b30c7805d7aa4b9e8e08d4b989d806
checksum=8104c5e0130f100bbdbfbc0318fea3024027929adaafd2018f1c96c94f771161
long_desc="
Sudo is a program designed to allow a sysadmin to give limited root
privileges to users and log root activity. The basic philosophy is to
@ -25,14 +25,5 @@ Add_dependency build pam-devel
post_install()
{
install -d $DESTDIR/etc/pam.d
cat > $DESTDIR/etc/pam.d/sudo <<_EOF
auth required pam_unix.so
account required pam_unix.so
session optional pam_mail.so dir=/var/mail standard
session optional pam_xauth.so
session required pam_env.so
session required pam_unix.so
_EOF
chmod 644 $DESTDIR/etc/pam.d/sudo
install -D -m644 ${FILESDIR}/sudo.pam ${DESTDIR}/etc/pam/sudo
}