* [PATCH 0/2] sudo upgrade
@ 2011-06-14 17:19 Scott Garman
2011-06-14 17:19 ` [PATCH 1/2] sudo: upgrade to v1.8.1p2 Scott Garman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Scott Garman @ 2011-06-14 17:19 UTC (permalink / raw)
To: openembedded-core; +Cc: Scott Garman
Hello,
Here's a recipe upgrade I squeezed in between some other things this
morning.
The following changes since commit 7aa7673459376aff911cef820c9417c998d1aa96:
meta-yocto/linux-yocto: update to match the renamed linux-yocto recipes (2011-06-14 09:21:32 -0700)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/sudo-upgrade
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/sudo-upgrade
Scott Garman (2):
sudo: upgrade to v1.8.1p2
distro_tracking: update sudo tracking info
.../conf/distro/include/distro_tracking_fields.inc | 8 +++---
meta/recipes-extended/sudo/sudo.inc | 27 ++++++++-----------
.../sudo/{sudo_1.7.4p6.bb => sudo_1.8.1p2.bb} | 4 +-
3 files changed, 17 insertions(+), 22 deletions(-)
rename meta/recipes-extended/sudo/{sudo_1.7.4p6.bb => sudo_1.8.1p2.bb} (52%)
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/2] sudo: upgrade to v1.8.1p2 2011-06-14 17:19 [PATCH 0/2] sudo upgrade Scott Garman @ 2011-06-14 17:19 ` Scott Garman 2011-06-14 17:19 ` [PATCH 2/2] distro_tracking: update sudo tracking info Scott Garman 2011-06-30 3:42 ` [PATCH 0/2] sudo upgrade Saul Wold 2 siblings, 0 replies; 4+ messages in thread From: Scott Garman @ 2011-06-14 17:19 UTC (permalink / raw) To: openembedded-core; +Cc: Scott Garman 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. Signed-off-by: Scott Garman <scott.a.garman@intel.com> --- meta/recipes-extended/sudo/sudo.inc | 27 ++++++++----------- .../sudo/{sudo_1.7.4p6.bb => sudo_1.8.1p2.bb} | 4 +- 2 files changed, 13 insertions(+), 18 deletions(-) rename meta/recipes-extended/sudo/{sudo_1.7.4p6.bb => sudo_1.8.1p2.bb} (52%) diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index fd68057..0d9f35e 100644 --- a/meta/recipes-extended/sudo/sudo.inc +++ b/meta/recipes-extended/sudo/sudo.inc @@ -4,14 +4,12 @@ HOMEPAGE = "http://www.sudo.ws" BUGTRACKER = "http://www.sudo.ws/bugs/" PRIORITY = "optional" SECTION = "admin" -LICENSE = "ISC & UCB & MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0b07397b2fca3fb8b71f08cd85c6eb3f \ - file://nonunix.h;beginline=4;endline=28;md5=af7d361f47ae60769cac77e4fca0dbb0 \ - file://vasgroups.c;beginline=4;endline=28;md5=af7d361f47ae60769cac77e4fca0dbb0 \ - file://fnmatch.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \ - file://getcwd.c;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \ - file://glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \ - file://snprintf.c;beginline=6;endline=31;md5=c98b24f02967c095d7a70ae2e4d4d4ea" +LICENSE = "ISC & UCB & Zlib" +LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=54f1b46c2459ecec3d892618eab44302 \ + file://compat/fnmatch.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \ + 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 @@ -23,17 +21,14 @@ do_configure_prepend () { fi } -# The script "mkinstalldirs" from package "sudo" will create directory -# "/var/lib/sudo" by recursion with mode "0700" during installing files. -# That is to say, "var", "var/lib" and "var/lib/sudo" will possess access authority -# with mode "0700". It cause that directory "var" and "var/lib" -# can't be accessed by common user. Creating directory "/var/lib" before -# installing files can resolve this problem. - +# 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 } - pkg_postinst_${PN} () { if [ "x$D" != "x" ]; then diff --git a/meta/recipes-extended/sudo/sudo_1.7.4p6.bb b/meta/recipes-extended/sudo/sudo_1.8.1p2.bb similarity index 52% rename from meta/recipes-extended/sudo/sudo_1.7.4p6.bb rename to meta/recipes-extended/sudo/sudo_1.8.1p2.bb index edc9a0e..7eba307 100644 --- a/meta/recipes-extended/sudo/sudo_1.7.4p6.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.1p2.bb @@ -5,7 +5,7 @@ PR = "r0" SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ file://libtool.patch" -SRC_URI[md5sum] = "1ae12d3d22e7ffedbf2db26f957676f0" -SRC_URI[sha256sum] = "20091ef71018698c674c779f4b57178b2ecb4275fa34909b06219d2688ad14d5" +SRC_URI[md5sum] = "e8330f0e63b0ecb2e12b5c76922818cc" +SRC_URI[sha256sum] = "281f90c80547cf22132e351e7f61c25ba4ba9cf393438468f318f9a7884026fb" EXTRA_OECONF += " --with-pam=no" -- 1.7.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] distro_tracking: update sudo tracking info 2011-06-14 17:19 [PATCH 0/2] sudo upgrade Scott Garman 2011-06-14 17:19 ` [PATCH 1/2] sudo: upgrade to v1.8.1p2 Scott Garman @ 2011-06-14 17:19 ` Scott Garman 2011-06-30 3:42 ` [PATCH 0/2] sudo upgrade Saul Wold 2 siblings, 0 replies; 4+ messages in thread From: Scott Garman @ 2011-06-14 17:19 UTC (permalink / raw) To: openembedded-core; +Cc: Scott Garman Signed-off-by: Scott Garman <scott.a.garman@intel.com> --- .../conf/distro/include/distro_tracking_fields.inc | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc index f4aa1ea..d70d746 100644 --- a/meta/conf/distro/include/distro_tracking_fields.inc +++ b/meta/conf/distro/include/distro_tracking_fields.inc @@ -802,12 +802,12 @@ RECIPE_MAINTAINER_pn-pax-utils = "Scott Garman <scott.a.garman@intel.com>" RECIPE_STATUS_pn-sudo = "green" RECIPE_DEPENDENCY_CHECK_pn-sudo = "not done" -RECIPE_LATEST_VERSION_pn-sudo = "1.7.4p6" +RECIPE_LATEST_VERSION_pn-sudo = "1.8.1p2" RECIPE_INTEL_SECTION_pn-sudo = "base utils" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sudo = "1 week" -RECIPE_LATEST_RELEASE_DATE_pn-sudo = "2011/01/19" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sudo = "1 month" +RECIPE_LATEST_RELEASE_DATE_pn-sudo = "2011/05/16" RECIPE_COMMENTS_pn-sudo = "" -RECIPE_LAST_UPDATE_pn-sudo = "Jan 23, 2011" +RECIPE_LAST_UPDATE_pn-sudo = "Jun 14, 2011" RECIPE_MAINTAINER_pn-sudo = "Scott Garman <scott.a.garman@intel.com>" RECIPE_STATUS_pn-blktool = "green" -- 1.7.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] sudo upgrade 2011-06-14 17:19 [PATCH 0/2] sudo upgrade Scott Garman 2011-06-14 17:19 ` [PATCH 1/2] sudo: upgrade to v1.8.1p2 Scott Garman 2011-06-14 17:19 ` [PATCH 2/2] distro_tracking: update sudo tracking info Scott Garman @ 2011-06-30 3:42 ` Saul Wold 2 siblings, 0 replies; 4+ messages in thread From: Saul Wold @ 2011-06-30 3:42 UTC (permalink / raw) To: Patches and discussions about the oe-core layer; +Cc: Scott Garman On 06/14/2011 10:19 AM, Scott Garman wrote: > Hello, > > Here's a recipe upgrade I squeezed in between some other things this > morning. > > The following changes since commit 7aa7673459376aff911cef820c9417c998d1aa96: > > meta-yocto/linux-yocto: update to match the renamed linux-yocto recipes (2011-06-14 09:21:32 -0700) > > are available in the git repository at: > git://git.pokylinux.org/poky-contrib sgarman/sudo-upgrade > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/sudo-upgrade > > Scott Garman (2): > sudo: upgrade to v1.8.1p2 > distro_tracking: update sudo tracking info > > .../conf/distro/include/distro_tracking_fields.inc | 8 +++--- > meta/recipes-extended/sudo/sudo.inc | 27 ++++++++----------- > .../sudo/{sudo_1.7.4p6.bb => sudo_1.8.1p2.bb} | 4 +- > 3 files changed, 17 insertions(+), 22 deletions(-) > rename meta/recipes-extended/sudo/{sudo_1.7.4p6.bb => sudo_1.8.1p2.bb} (52%) > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > Merged into OE-Core Thanks Sau! ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-30 3:46 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-06-14 17:19 [PATCH 0/2] sudo upgrade Scott Garman 2011-06-14 17:19 ` [PATCH 1/2] sudo: upgrade to v1.8.1p2 Scott Garman 2011-06-14 17:19 ` [PATCH 2/2] distro_tracking: update sudo tracking info Scott Garman 2011-06-30 3:42 ` [PATCH 0/2] sudo upgrade Saul Wold
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox