sudo: use INSTALL script to chmod 0440 /etc/sudoers, bumprev.

--HG--
extra : convert_revision : 2e030bb7b1c308f32f5cb173c6827a3eb2371666
This commit is contained in:
Juan RP 2010-01-16 05:43:05 +01:00
parent 29c9870e55
commit 07833e3e63
2 changed files with 12 additions and 1 deletions

11
srcpkgs/sudo/INSTALL Normal file
View File

@ -0,0 +1,11 @@
#
# This script sets up correct perms for /etc/sudoers.
#
case "${ACTION}" in
post)
if [ -f etc/sudoers ]; then
echo "Setting up permissions to /etc/sudoers..."
chmod 0440 etc/sudoers
fi
;;
esac

View File

@ -1,7 +1,7 @@
# Template build file for 'sudo'.
pkgname=sudo
version=1.7.2p2
revision=1
revision=2
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