1 DESCRIPTION = "Provide limited super user privileges to specific users"
3 HOMEPAGE = "http://www.sudo.ws/sudo/"
7 inherit autotools debian-vampyre
9 SRC_URI += "file://install-binaries.patch;patch=1 \
10 file://autofoo.patch;patch=1 \
11 file://noexec-link.patch;patch=1"
13 EXTRA_OECONF = "--with-editor=/bin/vi \
16 --libexecdir=${libdir}/sudo \
17 --with-secure-path='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin'"
19 do_configure_prepend () {
21 if [ ! -e acinclude.m4 ]; then
22 cat aclocal.m4 > acinclude.m4
26 python __anonymous () {
27 bb.data.setVarFlag("do_install", "fakeroot", 1, d)
31 # fakeroot fucks this one up
32 chmod 0400 ${D}${sysconfdir}/sudoers