Recipe upgrades - sudo, at, base-passwd
cover Recipe upgrades - sudo, at, base-passwd
Hello,
Here are some recipe upgrades for sudo, at, and base-passwd.
These recipes have been build tested on all 5 of our qemu architectures. I have also done a visual inspection of the image and package output between the previous and new versions of each recipe to check for potential errors.
The following changes since commit d4f1ef6b8297826230a68e535098709d07de1f48:
qt4: package static libraries correctly to fix warnings (2012-03-15 13:33:37 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/recipe-upgrades2-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/recipe-upgrades2-oesgarman/recipe-upgrades2-oe
Scott Garman (4):
sudo: upgrade to 1.8.4p4
at: upgrade to 3.1.13
base-passwd: upgrade to 3.5.24
distro_tracking: update sudo, at, base-passwd
.../conf/distro/include/distro_tracking_fields.inc | 24 +++++++++---------
.../nobash.patch | 0
.../root-home.patch | 0
...base-passwd_3.5.22.bb => base-passwd_3.5.24.bb} | 16 ++++++------
.../at/{at_3.1.12.bb => at_3.1.13.bb} | 13 ++++-----
.../configure-add-enable-pam.patch | 0
.../at/{at-3.1.12 => files}/configure.patch | 0
.../fix_parallel_build_error.patch | 0
.../at/files/nonstripbinaries.patch | 26 --------------------
.../at/{at-3.1.12 => files}/pam.conf.patch | 0
meta/recipes-extended/at/files/use-ldflags.patch | 5 ++-
.../sudo/{sudo_1.8.4.bb => sudo_1.8.4p4.bb} | 6 ++--
12 files changed, 32 insertions(+), 58 deletions(-)
rename meta/recipes-core/base-passwd/{base-passwd-3.5.22 => base-passwd-3.5.24}/nobash.patch (100%)
rename meta/recipes-core/base-passwd/{base-passwd-3.5.22 => base-passwd-3.5.24}/root-home.patch (100%)
rename meta/recipes-core/base-passwd/{base-passwd_3.5.22.bb => base-passwd_3.5.24.bb} (95%)
rename meta/recipes-extended/at/{at_3.1.12.bb => at_3.1.13.bb} (88%)
rename meta/recipes-extended/at/{at-3.1.12 => files}/configure-add-enable-pam.patch (100%)
rename meta/recipes-extended/at/{at-3.1.12 => files}/configure.patch (100%)
rename meta/recipes-extended/at/{at-3.1.12 => files}/fix_parallel_build_error.patch (100%)
delete mode 100644 meta/recipes-extended/at/files/nonstripbinaries.patch
rename meta/recipes-extended/at/{at-3.1.12 => files}/pam.conf.patch (100%)
rename meta/recipes-extended/sudo/{sudo_1.8.4.bb => sudo_1.8.4p4.bb} (83%)Signature · 1 line
1.7.5.4
PATCH 1/4 sudo: upgrade to 1.8.4p4
---
.../sudo/{sudo_1.8.4.bb => sudo_1.8.4p4.bb} | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-extended/sudo/{sudo_1.8.4.bb => sudo_1.8.4p4.bb} (83%)meta/recipes-extended/sudo/sudo_1.8.4p4.bb renamed from meta/recipes-extended/sudo/sudo_1.8.4.bb +3 -3
@@ -1,6 +1,6 @@ require sudo.inc -PR = "r1" +PR = "r0" SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ file://libtool.patch \
@@ -8,8 +8,8 @@ SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ PAM_SRC_URI = "file://sudo.pam" -SRC_URI[md5sum] = "5a54dde137618bbc1dd46bb0ef725d7d" -SRC_URI[sha256sum] = "17a91da1857954aa73445197e6f73d5d50cc8c48719f6db457723bb8badc32a5" +SRC_URI[md5sum] = "b9be6df7ecefedff2263052ed9fc5e93" +SRC_URI[sha256sum] = "bf965b09bde9b0cf7fd2355c53a81884d02d522af2d539cf40218436e9a5051e" DEPENDS += " ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" RDEPENDS_${PN} += " ${@base_contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}"
Signature · 1 line
1.7.5.4
PATCH 2/4 at: upgrade to 3.1.13
In reply to Scott GarmanMoved patches into a common directory.
Added SOB to use-ldflags.patch.
Removed nonstripbinaries patch which was included in this release. Minor formatting cleanups.
---
.../at/{at_3.1.12.bb => at_3.1.13.bb} | 13 ++++-----
.../configure-add-enable-pam.patch | 0
.../at/{at-3.1.12 => files}/configure.patch | 0
.../fix_parallel_build_error.patch | 0
.../at/files/nonstripbinaries.patch | 26 --------------------
.../at/{at-3.1.12 => files}/pam.conf.patch | 0
meta/recipes-extended/at/files/use-ldflags.patch | 5 ++-
7 files changed, 9 insertions(+), 35 deletions(-)
rename meta/recipes-extended/at/{at_3.1.12.bb => at_3.1.13.bb} (88%)
rename meta/recipes-extended/at/{at-3.1.12 => files}/configure-add-enable-pam.patch (100%)
rename meta/recipes-extended/at/{at-3.1.12 => files}/configure.patch (100%)
rename meta/recipes-extended/at/{at-3.1.12 => files}/fix_parallel_build_error.patch (100%)
delete mode 100644 meta/recipes-extended/at/files/nonstripbinaries.patch
rename meta/recipes-extended/at/{at-3.1.12 => files}/pam.conf.patch (100%)meta/recipes-extended/at/at_3.1.13.bb renamed from meta/recipes-extended/at/at_3.1.12.bb +6 -7
@@ -11,12 +11,11 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits" RCONFLICTS_${PN} = "atd" RREPLACES_${PN} = "atd" -PR = "r7" +PR = "r0" SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ file://configure.patch \ file://use-ldflags.patch \ - file://nonstripbinaries.patch \ file://fix_parallel_build_error.patch \ file://posixtm.c \ file://posixtm.h \
@@ -27,8 +26,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ PAM_SRC_URI = "file://pam.conf.patch \ file://configure-add-enable-pam.patch" -SRC_URI[md5sum] = "1e67991776148fb319fd77a2e599a765" -SRC_URI[sha256sum] = "7c55c6ab4fbe8add9e68f31b2b0ebf3fe805c9a4e7cfb2623a3d8a4789cc18f3" +SRC_URI[md5sum] = "1da61af6c29e323abaaf13ee1a8dad79" +SRC_URI[sha256sum] = "3a8b90868d615d21a92f4986ea9a823886329af8fae8dd7ab4eed9b273bca072" EXTRA_OECONF += "ac_cv_path_SENDMAIL=/bin/true \ --with-daemon_username=root \
@@ -39,6 +38,8 @@ EXTRA_OECONF += "ac_cv_path_SENDMAIL=/bin/true \ inherit autotools +PARALLEL_MAKE = "" + do_compile_prepend () { cp -f ${WORKDIR}/posixtm.[ch] ${S} }
@@ -49,7 +50,7 @@ do_install () { install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/rcS.d install -m 0755 ${WORKDIR}/S99at ${D}${sysconfdir}/init.d/atd - ln -sf ../init.d/atd ${D}${sysconfdir}/rcS.d/S99at + ln -sf ../init.d/atd ${D}${sysconfdir}/rcS.d/S99at cp -r ${D}/usr/doc/at ${D}${docdir}/ rm -rf ${D}/usr/doc
@@ -60,5 +61,3 @@ do_install () { fi done } - -PARALLEL_MAKE = ""
meta/recipes-extended/at/files/configure-add-enable-pam.patch renamed from meta/recipes-extended/at/at-3.1.12/configure-add-enable-pam.patch +0 -0
meta/recipes-extended/at/files/configure.patch renamed from meta/recipes-extended/at/at-3.1.12/configure.patch +0 -0
meta/recipes-extended/at/files/fix_parallel_build_error.patch renamed from meta/recipes-extended/at/at-3.1.12/fix_parallel_build_error.patch +0 -0
meta/recipes-extended/at/files/nonstripbinaries.patch deleted +0 -26
@@ -1,26 +0,0 @@ -Upstream-Status: Pending -#Because remove nonrootinstall patch, the stripping of the binaries can not -#be handled. -#This patch is to handle the stripping of the binaries. -#Mei Lei<[email protected]> make this change -diff --git at-3.1.12.orig/Makefile.in at-3.1.12/Makefile.in -index dae6b7d..71a5d89 100644 ---- at-3.1.12.orig/Makefile.in -+++ at-3.1.12/Makefile.in -@@ -97,14 +97,14 @@ install: all - chmod 600 $(IROOT)$(LFILE) - chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE) - test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/ -- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(IROOT)$(bindir) -+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(IROOT)$(bindir) - $(LN_S) -f at $(IROOT)$(bindir)/atq - $(LN_S) -f at $(IROOT)$(bindir)/atrm - $(INSTALL) -g root -o root -m 755 batch $(IROOT)$(bindir) - $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man1dir) - $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man5dir) - $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man8dir) -- $(INSTALL) -g root -o root -m 755 -s atd $(IROOT)$(sbindir) -+ $(INSTALL) -g root -o root -m 755 atd $(IROOT)$(sbindir) - $(INSTALL) -g root -o root -m 755 atrun $(IROOT)$(sbindir) - $(INSTALL) -g root -o root -m 644 at.1 $(IROOT)$(man1dir)/ - cd $(IROOT)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1
meta/recipes-extended/at/files/pam.conf.patch renamed from meta/recipes-extended/at/at-3.1.12/pam.conf.patch +0 -0
meta/recipes-extended/at/files/use-ldflags.patch +3 -2
@@ -1,8 +1,9 @@ Upstream-Status: Pending -# Ensure use of $LDFLAGS during build -# Derived from an OE patch for at-3.1.8 +Ensure use of $LDFLAGS during build +Derived from an OE patch for at-3.1.8 +Signed-off-by: Scott Garman <[email protected]> --- at-3.1.12.orig/Makefile.in 2009-11-23 07:11:52.000000000 -0800 +++ at-3.1.12/Makefile.in 2010-07-20 16:28:04.000000000 -0700 @@ -65,13 +65,13 @@
Signature · 1 line
1.7.5.4
PATCH 3/4 base-passwd: upgrade to 3.5.24
In reply to Scott GarmanIncludes minor formatting cleanups.
---
.../nobash.patch | 0
.../root-home.patch | 0
...base-passwd_3.5.22.bb => base-passwd_3.5.24.bb} | 16 ++++++++--------
3 files changed, 8 insertions(+), 8 deletions(-)
rename meta/recipes-core/base-passwd/{base-passwd-3.5.22 => base-passwd-3.5.24}/nobash.patch (100%)
rename meta/recipes-core/base-passwd/{base-passwd-3.5.22 => base-passwd-3.5.24}/root-home.patch (100%)
rename meta/recipes-core/base-passwd/{base-passwd_3.5.22.bb => base-passwd_3.5.24.bb} (95%)meta/recipes-core/base-passwd/base-passwd-3.5.24/nobash.patch renamed from meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch +0 -0
meta/recipes-core/base-passwd/base-passwd-3.5.24/root-home.patch renamed from meta/recipes-core/base-passwd/base-passwd-3.5.22/root-home.patch +0 -0
meta/recipes-core/base-passwd/base-passwd_3.5.24.bb renamed from meta/recipes-core/base-passwd/base-passwd_3.5.22.bb +8 -8
@@ -1,7 +1,7 @@ SUMMARY = "Base system master password/group files." DESCRIPTION = "The master copies of the user database files (/etc/passwd and /etc/group). The update-passwd tool is also provided to keep the system databases synchronized with these master files." SECTION = "base" -PR = "r9" +PR = "r0" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
@@ -9,18 +9,13 @@ SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \ file://nobash.patch \ file://root-home.patch" -SRC_URI[md5sum] = "47f22ab6b572d0133409ff6ad1fab402" -SRC_URI[sha256sum] = "d34acb35a9f9f221e7e4f642b9ef4b22083dd77bb2fc7216756f445316d842fc" +SRC_URI[md5sum] = "8f6b9420c50e90edaff41eb2fb7e9e16" +SRC_URI[sha256sum] = "196083d6f675190d4e2cede0a5fa6b3c91088705c5386f76292fec8e74b6369e" S = "${WORKDIR}/base-passwd" inherit autotools -PACKAGES =+ "${PN}-update" -FILES_${PN}-update = "${sbindir}/* ${datadir}/${PN}" - -ALLOW_EMPTY_${PN} = "1" - SSTATEPOSTINSTFUNCS += "base_passwd_sstate_postinst" do_install () {
@@ -85,6 +80,11 @@ fi addtask do_package after do_populate_sysroot +ALLOW_EMPTY_${PN} = "1" + +PACKAGES =+ "${PN}-update" +FILES_${PN}-update = "${sbindir}/* ${datadir}/${PN}" + pkg_postinst_${PN}-update () { #!/bin/sh if [ -n "$D" ]; then
Signature · 1 line
1.7.5.4
PATCH 4/4 distro_tracking: update sudo, at, base-passwd
In reply to Scott Garman--- .../conf/distro/include/distro_tracking_fields.inc | 24 ++++++++++---------- 1 files changed, 12 insertions(+), 12 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +12 -12
@@ -864,12 +864,12 @@ RECIPE_MAINTAINER_pn-pax-utils = "Scott Garman <[email protected]>" RECIPE_STATUS_pn-sudo = "green" RECIPE_DEPENDENCY_CHECK_pn-sudo = "not done" -RECIPE_LATEST_VERSION_pn-sudo = "1.8.3" +RECIPE_LATEST_VERSION_pn-sudo = "1.8.4p4" RECIPE_INTEL_SECTION_pn-sudo = "base utils" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sudo = "2 months" -RECIPE_LATEST_RELEASE_DATE_pn-sudo = "Oct 21, 2011" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sudo = "1 month" +RECIPE_LATEST_RELEASE_DATE_pn-sudo = "Mar 12, 2012" RECIPE_COMMENTS_pn-sudo = "" -RECIPE_LAST_UPDATE_pn-sudo = "Oct 25, 2011" +RECIPE_LAST_UPDATE_pn-sudo = "Mar 15, 2012" RECIPE_MAINTAINER_pn-sudo = "Scott Garman <[email protected]>" RECIPE_STATUS_pn-blktool = "green"
@@ -952,14 +952,14 @@ RECIPE_MAINTAINER_pn-base-files = "Saul Wold <[email protected]>" RECIPE_STATUS_pn-base-passwd = "green" RECIPE_DEPENDENCY_CHECK_pn-base-passwd = "not done" -RECIPE_LATEST_VERSION_pn-base-passwd = "3.5.22" +RECIPE_LATEST_VERSION_pn-base-passwd = "3.5.24" RECIPE_PATCH_pn-base-passwd+nobash = "change /bin/bash to /bin/sh in passwd.master; another specific poky tweak" RECIPE_PATCH_pn-base-passwd+root-home = "change home for root user in passwd.master; perhaps a poky specific tweak; oe even has other root-home patch for different configurations" RECIPE_INTEL_SECTION_pn-base-passwd = "base utils" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-base-passwd = "1 year" -RECIPE_LATEST_RELEASE_DATE_pn-base-passwd = "Sep 01, 2009" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-base-passwd = "unknown" +RECIPE_LATEST_RELEASE_DATE_pn-base-passwd = "unknown" RECIPE_COMMENTS_pn-base-passwd = "" -RECIPE_LAST_UPDATE_pn-base-passwd = "Jul 6, 2010" +RECIPE_LAST_UPDATE_pn-base-passwd = "Mar 15, 2012" RECIPE_MAINTAINER_pn-base-passwd = "Scott Garman <[email protected]>" RECIPE_STATUS_pn-apmd = "green"
@@ -2102,13 +2102,13 @@ RECIPE_MAINTAINER_pn-qemu-helper-nativesdk = "Scott Garman <scott.a.garman@intel RECIPE_STATUS_pn-at = "green" RECIPE_DEPENDENCY_CHECK_pn-at = "not done" -RECIPE_LATEST_VERSION_pn-at = "3.1.12" +RECIPE_LATEST_VERSION_pn-at = "3.1.13" RECIPE_INTEL_SECTION_pn-at = "base" RECIPE_NO_OF_PATCHES_pn-at = "3" RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-at = "13 months" -RECIPE_LATEST_RELEASE_DATE_pn-at = "Nov 01, 2009" -RECIPE_LAST_UPDATE_pn-at = "Jun 4, 2011" -RECIPE_MANUAL_CHECK_DATE_pn-at = "Jul 12, 2011" +RECIPE_LATEST_RELEASE_DATE_pn-at = "unknown" +RECIPE_LAST_UPDATE_pn-at = "Mar 15, 2012" +RECIPE_MANUAL_CHECK_DATE_pn-at = "Mar 15, 2012" RECIPE_MAINTAINER_pn-at = "Scott Garman <[email protected]>" RECIPE_STATUS_pn-cpio = "green"
Signature · 1 line
1.7.5.4
Saul Wold
AppliedQuoted 43 lines · Scott Garman
Hello,
Here are some recipe upgrades for sudo, at, and base-passwd.
These recipes have been build tested on all 5 of our qemu architectures. I have also done a visual inspection of the image and package output between the previous and new versions of each recipe to check for potential errors.
The following changes since commit
d4f1ef6b8297826230a68e535098709d07de1f48:qt4: package static libraries correctly to fix warnings (2012-03-15 13:33:37 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contribsgarman/recipe-upgrades2-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/recipe-upgrades2-oesgarman/recipe-upgrades2-oeScott Garman (4):
sudo: upgrade to 1.8.4p4 at: upgrade to 3.1.13 base-passwd: upgrade to 3.5.24 distro_tracking: update sudo, at, base-passwd.../conf/distro/include/distro_tracking_fields.inc | 24 +++++++++--------- .../nobash.patch | 0 .../root-home.patch | 0 ...base-passwd_3.5.22.bb => base-passwd_3.5.24.bb} | 16 ++++++------ .../at/{at_3.1.12.bb => at_3.1.13.bb} | 13 ++++----- .../configure-add-enable-pam.patch | 0 .../at/{at-3.1.12 => files}/configure.patch | 0 .../fix_parallel_build_error.patch | 0 .../at/files/nonstripbinaries.patch | 26 -------------------- .../at/{at-3.1.12 => files}/pam.conf.patch | 0 meta/recipes-extended/at/files/use-ldflags.patch | 5 ++- .../sudo/{sudo_1.8.4.bb => sudo_1.8.4p4.bb} | 6 ++-- 12 files changed, 32 insertions(+), 58 deletions(-) rename meta/recipes-core/base-passwd/{base-passwd-3.5.22 => base-passwd-3.5.24}/nobash.patch (100%) rename meta/recipes-core/base-passwd/{base-passwd-3.5.22 => base-passwd-3.5.24}/root-home.patch (100%) rename meta/recipes-core/base-passwd/{base-passwd_3.5.22.bb => base-passwd_3.5.24.bb} (95%) rename meta/recipes-extended/at/{at_3.1.12.bb => at_3.1.13.bb} (88%) rename meta/recipes-extended/at/{at-3.1.12 => files}/configure-add-enable-pam.patch (100%) rename meta/recipes-extended/at/{at-3.1.12 => files}/configure.patch (100%) rename meta/recipes-extended/at/{at-3.1.12 => files}/fix_parallel_build_error.patch (100%)
Quoted 4 lines
delete mode 100644
meta/recipes-extended/at/files/nonstripbinaries.patchrename meta/recipes-extended/at/{at-3.1.12 =>files}/pam.conf.patch(100%) rename meta/recipes-extended/sudo/{sudo_1.8.4.bb => sudo_1.8.4p4.bb} (83%)
Merged into OE-Core
Thanks
Sau!