diff --git a/srcpkgs/sudo/INSTALL b/srcpkgs/sudo/INSTALL new file mode 100644 index 0000000000..5dab60a679 --- /dev/null +++ b/srcpkgs/sudo/INSTALL @@ -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 diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template index 2131513947..001ca274f9 100644 --- a/srcpkgs/sudo/template +++ b/srcpkgs/sudo/template @@ -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