From c8f9b9c1db0defddea3a3b07f228b1aaa6e20ef9 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 6 Apr 2016 22:48:12 -0400 Subject: adduser: update to 3.114 Signed-off-by: Derek Straka Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- .../recipes-perl/adduser/adduser_3.113+nmu3.bb | 53 --------------------- meta-perl/recipes-perl/adduser/adduser_3.114.bb | 55 ++++++++++++++++++++++ 2 files changed, 55 insertions(+), 53 deletions(-) delete mode 100644 meta-perl/recipes-perl/adduser/adduser_3.113+nmu3.bb create mode 100644 meta-perl/recipes-perl/adduser/adduser_3.114.bb (limited to 'meta-perl') diff --git a/meta-perl/recipes-perl/adduser/adduser_3.113+nmu3.bb b/meta-perl/recipes-perl/adduser/adduser_3.113+nmu3.bb deleted file mode 100644 index 969a739d49..0000000000 --- a/meta-perl/recipes-perl/adduser/adduser_3.113+nmu3.bb +++ /dev/null @@ -1,53 +0,0 @@ -SUMMARY = "a utility to add users/groups to the system" -DESCRIPTION = "adduser, addgroup - add a user or group to the system" -HOMEPAGE = "http://alioth.debian.org/projects/adduser/" -SECTION = "base/utils" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://debian/copyright;md5=caed49ab166f22ef31bf1127f558d0ef" - -SRC_URI = "http://ftp.de.debian.org/debian/pool/main/a/${BPN}/${BPN}_${PV}.tar.gz \ - file://adduser-add-M-option-for-useradd-when-no-create-home.patch \ -" - -SRC_URI[md5sum] = "ccb5864bde56683182c89c44474e7182" -SRC_URI[sha256sum] = "02682be3f51f3e732121f20a3e4922bb8bef15cfacb8767fc250a01d09502122" - -inherit cpan-base update-alternatives - -do_install() { - install -d ${D}${sbindir} - install -m 0755 ${S}/adduser ${D}${sbindir} - install -m 0755 ${S}/deluser ${D}${sbindir} - - install -d ${D}${libdir}/perl/${PERLVERSION}/Debian - install -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl/${PERLVERSION}/Debian - sed -i -e "s/VERSION/${PV}/" ${D}${sbindir}/* - - install -d ${D}/${sysconfdir} - install -m 0644 ${S}/*.conf ${D}/${sysconfdir} - - install -d ${D}${mandir}/man5 - install -m 0644 ${S}/doc/*.conf.5 ${D}${mandir}/man5 - install -d ${D}${mandir}/man8 - install -m 0644 ${S}/doc/*.8 ${D}${mandir}/man8 - install -d ${D}${docdir}/${BPN} - cp -rf ${S}/examples ${D}${docdir}/${BPN} -} - -RDEPENDS_${PN} += "\ - shadow \ - perl-module-getopt-long \ - perl-module-overloading \ - perl-module-file-find \ - perl-module-file-temp \ -" - -ALTERNATIVE_${PN} = "adduser deluser addgroup delgroup" -ALTERNATIVE_PRIORITY = "60" -ALTERNATIVE_LINK_NAME[adduser] = "${sbindir}/adduser" -ALTERNATIVE_LINK_NAME[deluser] = "${sbindir}/deluser" -ALTERNATIVE_LINK_NAME[addgroup] = "${sbindir}/addgroup" -ALTERNATIVE_LINK_NAME[delgroup] = "${sbindir}/delgroup" -ALTERNATIVE_TARGET[addgroup] = "${sbindir}/adduser.${BPN}" -ALTERNATIVE_TARGET[delgroup] = "${sbindir}/deluser.${BPN}" diff --git a/meta-perl/recipes-perl/adduser/adduser_3.114.bb b/meta-perl/recipes-perl/adduser/adduser_3.114.bb new file mode 100644 index 0000000000..fb4c0c4557 --- /dev/null +++ b/meta-perl/recipes-perl/adduser/adduser_3.114.bb @@ -0,0 +1,55 @@ +SUMMARY = "a utility to add users/groups to the system" +DESCRIPTION = "adduser, addgroup - add a user or group to the system" +HOMEPAGE = "http://alioth.debian.org/projects/adduser/" +SECTION = "base/utils" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=caed49ab166f22ef31bf1127f558d0ef" + +SRC_URI = "http://ftp.de.debian.org/debian/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \ + file://adduser-add-M-option-for-useradd-when-no-create-home.patch \ +" + +SRC_URI[md5sum] = "3a079dd4e41d5a1fbaccaab03aacd881" +SRC_URI[sha256sum] = "693b45bb0d27938fff2ecee5442ea2ac1b8804472ff0bb8faffd39616e58211f" + +inherit cpan-base update-alternatives + +S = "${WORKDIR}/${BPN}-3.113+nmu4" + +do_install() { + install -d ${D}${sbindir} + install -m 0755 ${S}/adduser ${D}${sbindir} + install -m 0755 ${S}/deluser ${D}${sbindir} + + install -d ${D}${libdir}/perl/${PERLVERSION}/Debian + install -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl/${PERLVERSION}/Debian + sed -i -e "s/VERSION/${PV}/" ${D}${sbindir}/* + + install -d ${D}/${sysconfdir} + install -m 0644 ${S}/*.conf ${D}/${sysconfdir} + + install -d ${D}${mandir}/man5 + install -m 0644 ${S}/doc/*.conf.5 ${D}${mandir}/man5 + install -d ${D}${mandir}/man8 + install -m 0644 ${S}/doc/*.8 ${D}${mandir}/man8 + install -d ${D}${docdir}/${BPN} + cp -rf ${S}/examples ${D}${docdir}/${BPN} +} + +RDEPENDS_${PN} += "\ + shadow \ + perl-module-getopt-long \ + perl-module-overloading \ + perl-module-file-find \ + perl-module-file-temp \ +" + +ALTERNATIVE_${PN} = "adduser deluser addgroup delgroup" +ALTERNATIVE_PRIORITY = "60" +ALTERNATIVE_LINK_NAME[adduser] = "${sbindir}/adduser" +ALTERNATIVE_LINK_NAME[deluser] = "${sbindir}/deluser" +ALTERNATIVE_LINK_NAME[addgroup] = "${sbindir}/addgroup" +ALTERNATIVE_LINK_NAME[delgroup] = "${sbindir}/delgroup" +ALTERNATIVE_TARGET[addgroup] = "${sbindir}/adduser.${BPN}" +ALTERNATIVE_TARGET[delgroup] = "${sbindir}/deluser.${BPN}" -- cgit 1.2.3-korg