sudo: set up perms to sudo{,edit} via INSTALL, bumprev.
--HG-- extra : convert_revision : e88c0fa69b612a83c4bca51debf48aadd3445910
This commit is contained in:
parent
7a4878c414
commit
38c91a38ca
|
@ -7,5 +7,6 @@ post)
|
|||
echo "Setting up permissions to /etc/sudoers..."
|
||||
chmod 0440 etc/sudoers
|
||||
fi
|
||||
chmod 4111 bin/sudo bin/sudoedit
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
--- install-sh.orig 2010-04-22 13:32:13.000776102 +0200
|
||||
+++ install-sh 2010-04-22 13:35:55.804781474 +0200
|
||||
@@ -88,7 +88,6 @@ while ${MORETODO} ; do
|
||||
X-G)
|
||||
GROUP="$2"
|
||||
shift
|
||||
- ${ROOT} && CHGROUPIT=true
|
||||
;;
|
||||
X-G*)
|
||||
if ${ROOT} ; then
|
||||
@@ -107,12 +106,10 @@ while ${MORETODO} ; do
|
||||
;;
|
||||
X-M)
|
||||
MODE="$2"
|
||||
- ${ROOT} && CHMODIT=true
|
||||
shift
|
||||
;;
|
||||
X-M*)
|
||||
MODE=`expr "$1" : '-m\(.*\)'`
|
||||
- ${ROOT} && CHMODIT=true
|
||||
;;
|
||||
X-n)
|
||||
TOUCHIT=false
|
||||
@@ -129,7 +126,6 @@ while ${MORETODO} ; do
|
||||
X-O)
|
||||
OWNER="$2"
|
||||
shift
|
||||
- ${ROOT} && CHOWNIT=true
|
||||
;;
|
||||
X-O*)
|
||||
if ${ROOT} ; then
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'sudo'.
|
||||
pkgname=sudo
|
||||
version=1.7.2p6
|
||||
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
|
||||
|
@ -23,6 +23,13 @@ nostrip=yes
|
|||
Add_dependency run glibc
|
||||
Add_dependency run pam
|
||||
Add_dependency build pam-devel
|
||||
Add_dependency build diffutils
|
||||
|
||||
pre_install()
|
||||
{
|
||||
# Use cmp from diffutils.
|
||||
export PATH="/usr/bin:$PATH"
|
||||
}
|
||||
|
||||
post_install()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue