sudo: upgrade to v1.8.1p2
Upgrading to the latest stable release of sudo. This version of sudo has reorganized its source code layout, hence the LIC_FILES_CHKSUM related changes. Also, some of the individual .c files we checksummed (nonunix.h, vasgroups.c) are no longer shipped with the sources. Finally, an embedded copy of zlib is now included in these sources, so Zlib is included as one of the licenses. I could not find any evidence of MIT-licensed sources, so that license has been removed. (From OE-Core rev: 10694e6037b16813e99e2204dbbe5c169f34667c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3b97ea13c8
commit
7c6f47b13c
|
@ -4,14 +4,12 @@ HOMEPAGE = "http://www.sudo.ws"
|
||||||
BUGTRACKER = "http://www.sudo.ws/bugs/"
|
BUGTRACKER = "http://www.sudo.ws/bugs/"
|
||||||
PRIORITY = "optional"
|
PRIORITY = "optional"
|
||||||
SECTION = "admin"
|
SECTION = "admin"
|
||||||
LICENSE = "ISC & UCB & MIT"
|
LICENSE = "ISC & UCB & Zlib"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=0b07397b2fca3fb8b71f08cd85c6eb3f \
|
LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=54f1b46c2459ecec3d892618eab44302 \
|
||||||
file://nonunix.h;beginline=4;endline=28;md5=af7d361f47ae60769cac77e4fca0dbb0 \
|
file://compat/fnmatch.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
|
||||||
file://vasgroups.c;beginline=4;endline=28;md5=af7d361f47ae60769cac77e4fca0dbb0 \
|
file://compat/getcwd.c;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
|
||||||
file://fnmatch.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
|
file://compat/glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
|
||||||
file://getcwd.c;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
|
file://compat/snprintf.c;beginline=6;endline=31;md5=c98b24f02967c095d7a70ae2e4d4d4ea"
|
||||||
file://glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
|
|
||||||
file://snprintf.c;beginline=6;endline=31;md5=c98b24f02967c095d7a70ae2e4d4d4ea"
|
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
|
@ -23,17 +21,14 @@ do_configure_prepend () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# The script "mkinstalldirs" from package "sudo" will create directory
|
# Explicitly create ${localstatedir}/lib before do_install to ensure
|
||||||
# "/var/lib/sudo" by recursion with mode "0700" during installing files.
|
# the directory is accessible by all users. Otherwise the mkinstalldirs
|
||||||
# That is to say, "var", "var/lib" and "var/lib/sudo" will possess access authority
|
# script (from sudo) will recursively create ${localstatedir}/lib/sudo
|
||||||
# with mode "0700". It cause that directory "var" and "var/lib"
|
# and then chmod each directory with 0700 permissions, which isn't what
|
||||||
# can't be accessed by common user. Creating directory "/var/lib" before
|
# we want (i.e, users would not be able to access /var/lib).
|
||||||
# installing files can resolve this problem.
|
|
||||||
|
|
||||||
do_install_prepend (){
|
do_install_prepend (){
|
||||||
mkdir -p ${D}/${localstatedir}/lib
|
mkdir -p ${D}/${localstatedir}/lib
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pkg_postinst_${PN} () {
|
pkg_postinst_${PN} () {
|
||||||
if [ "x$D" != "x" ]; then
|
if [ "x$D" != "x" ]; then
|
||||||
|
|
|
@ -5,7 +5,7 @@ PR = "r0"
|
||||||
SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
|
SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
|
||||||
file://libtool.patch"
|
file://libtool.patch"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "1ae12d3d22e7ffedbf2db26f957676f0"
|
SRC_URI[md5sum] = "e8330f0e63b0ecb2e12b5c76922818cc"
|
||||||
SRC_URI[sha256sum] = "20091ef71018698c674c779f4b57178b2ecb4275fa34909b06219d2688ad14d5"
|
SRC_URI[sha256sum] = "281f90c80547cf22132e351e7f61c25ba4ba9cf393438468f318f9a7884026fb"
|
||||||
|
|
||||||
EXTRA_OECONF += " --with-pam=no"
|
EXTRA_OECONF += " --with-pam=no"
|
Loading…
Reference in New Issue