mirror of
https://git.yoctoproject.org/poky
synced 2026-02-28 12:29:40 +01:00
During the upgrade to 1.8.4, the UCB-licensed fnmatch.c was replaced with a non-recursive BSD-licensed version, hence the removal of UCB and addition of BSD in the LICENSE field. This led to checksum changes in the doc/LICENSE file, and we now additionally track the comment headers in redblack.c. These changes were confirmed on the sudo mailing list: http://www.sudo.ws/pipermail/sudo-workers/2012-February/000736.html This upgrade also fixes CVE-2012-0809. (From OE-Core rev: 7147a569758414467c9d022e4c11fbc303e050aa) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.5 KiB
PHP
33 lines
1.5 KiB
PHP
SUMMARY = "Provide limited super user privileges to specific users"
|
|
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."
|
|
HOMEPAGE = "http://www.sudo.ws"
|
|
BUGTRACKER = "http://www.sudo.ws/bugs/"
|
|
SECTION = "admin"
|
|
LICENSE = "ISC & BSD & Zlib"
|
|
LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=19f95c610f585c26a836975654807669 \
|
|
file://plugins/sudoers/redblack.c;beginline=1;endline=41;md5=fba1c1dca0951819964dfdc618e81724 \
|
|
file://compat/fnmatch.c;beginline=3;endline=27;md5=67f83ee9bd456557397082f8f1be0efd \
|
|
file://compat/getcwd.c;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
|
|
file://compat/glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
|
|
file://compat/snprintf.c;beginline=6;endline=31;md5=c98b24f02967c095d7a70ae2e4d4d4ea"
|
|
|
|
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
|
|
}
|
|
|
|
# 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).
|
|
do_install_prepend (){
|
|
mkdir -p ${D}/${localstatedir}/lib
|
|
}
|
|
|