2010-11-23 05:01:34 +00:00
SUMMARY = " Provide limited super user privileges to specific users "
2010-06-22 03:33:06 +00:00
DESCRIPTION = " Sudo (superuser do) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root while logging all commands and arguments. "
2010-11-23 05:01:34 +00:00
HOMEPAGE = " http://www.sudo.ws "
2010-06-22 03:33:06 +00:00
BUGTRACKER = " http://www.sudo.ws/bugs/ "
2009-05-27 10:10:06 +00:00
SECTION = " admin "
2011-06-14 16:49:18 +00:00
LICENSE = " ISC & UCB & Zlib "
LIC_FILES_CHKSUM = " file://doc/LICENSE;md5=54f1b46c2459ecec3d892618eab44302 \
file :// compat / fnmatch . c ; beginline = 6 ; endline = 31 ; md5 = 5872733146 b9eb0deb79e1f664815b85 \
file :// compat / getcwd . c ; beginline = 5 ; endline = 27 ; md5 = 449 af4cc57fc7d46f42090608ba3e681 \
file :// compat / glob . c ; beginline = 6 ; endline = 31 ; md5 = 5872733146 b9eb0deb79e1f664815b85 \
file :// compat / snprintf . c ; beginline = 6 ; endline = 31 ; md5 = c98b24f02967c095d7a70ae2e4d4d4ea "
2009-05-27 10:10:06 +00:00
inherit autotools
EXTRA_OECONF = " --with-editor=/bin/vi --with-env-editor "
do_configure_prepend () {
if [ ! - e acinclude . m4 ]; then
cat aclocal . m4 > acinclude . m4
fi
}
2011-06-14 16:49:18 +00:00
# Explicitly create ${localstatedir}/lib before do_install to ensure
# the directory is accessible by all users. Otherwise the mkinstalldirs
# script (from sudo) will recursively create ${localstatedir}/lib/sudo
# and then chmod each directory with 0700 permissions, which isn't what
# we want (i.e, users would not be able to access /var/lib).
2011-05-30 11:27:45 +00:00
do_install_prepend (){
mkdir - p $ { D } / $ { localstatedir } / lib
}