mktemp: remove
PATCH 1/1 mktemp: remove
Both busybox and coreutils provide mktemp, and the only difference between those (and standalone mktemp) is that coreutils supports --suffix.
Also mktemp.org has disappeared, so it's fair to assume that the standalone mktemp (last released in 2010) is dead.
--- meta/conf/distro/include/distro_alias.inc | 1 - meta/conf/distro/include/maintainers.inc | 1 - .../packagegroups/packagegroup-self-hosted.bb | 1 - .../mktemp/files/disable-strip.patch | 15 --------- .../mktemp/files/fix-parallel-make.patch | 24 --------------- meta/recipes-extended/mktemp/mktemp_1.7.bb | 36 ---------------------- .../packagegroup-core-full-cmdline.bb | 1 - .../packagegroups/packagegroup-core-lsb.bb | 1 - 8 files changed, 80 deletions(-) delete mode 100644 meta/recipes-extended/mktemp/files/disable-strip.patch delete mode 100644 meta/recipes-extended/mktemp/files/fix-parallel-make.patch delete mode 100644 meta/recipes-extended/mktemp/mktemp_1.7.bb
meta/conf/distro/include/distro_alias.inc +0 -1
@@ -242,7 +242,6 @@ DISTRO_PN_ALIAS_pn-mini-x-session = "OSPDT" DISTRO_PN_ALIAS_pn-mkelfimage = "Ubuntu=mkelfimage Fedora=mkelfimage" DISTRO_PN_ALIAS_pn-mkfontdir = "Mandriva=mkfontdir Ubuntu=xfonts-utils Fedora=xorg-x11-font-utils" DISTRO_PN_ALIAS_pn-mkfontscale = "Mandriva=mkfontscale Ubuntu=xfonts-utils Fedora=xorg-x11-font-utils" -DISTRO_PN_ALIAS_pn-mktemp = "Mandriva=mktemp Fedora=mktemp" DISTRO_PN_ALIAS_pn-mmc-utils = "OE-Core" DISTRO_PN_ALIAS_pn-modutils-initscripts = "OE-Core" DISTRO_PN_ALIAS_pn-mtd-utils = "Debian=mtd-utils Ubuntu=mtd-utils"
meta/conf/distro/include/maintainers.inc +0 -1
@@ -492,7 +492,6 @@ RECIPE_MAINTAINER_pn-mkelfimage = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER_pn-mkfontdir = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-mkfontscale = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-mklibs-native = "Robert Yang <[email protected]>" -RECIPE_MAINTAINER_pn-mktemp = "Robert Yang <[email protected]>" RECIPE_MAINTAINER_pn-mmc-utils = "Maxin B. John <[email protected]>" RECIPE_MAINTAINER_pn-mobile-broadband-provider-info = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER_pn-modutils-initscripts = "Yi Zhao <[email protected]>"
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +0 -1
@@ -80,7 +80,6 @@ RDEPENDS_packagegroup-self-hosted-sdk = "\ libstdc++-dev \ libtool \ make \ - mktemp \ perl-module-re \ perl-module-text-wrap \ pkgconfig \
meta/recipes-extended/mktemp/files/disable-strip.patch deleted +0 -15
@@ -1,15 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -diff --git a/Makefile.in b/Makefile.in -index 37b3cc9..f1026f3 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -95,7 +95,7 @@ install-dirs: - $(DESTDIR)$(mandir)/man1 - - install-binaries: $(PROG) -- $(INSTALL) -m 0555 -s $(PROG) $(DESTDIR)$(bindir)/$(PROG) -+ $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG) - - install-man: - $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \
meta/recipes-extended/mktemp/files/fix-parallel-make.patch deleted +0 -24
@@ -1,24 +0,0 @@ -This fixes the parallel make install failure - -Upstream-Status: Accepted -http://www.gratisoft.us/bugzilla/show_bug.cgi?id=528 - -Signed-off-by: Saul Wold <[email protected]> - -Index: mktemp-1.7/Makefile.in -=================================================================== ---- mktemp-1.7.orig/Makefile.in -+++ mktemp-1.7/Makefile.in -@@ -94,10 +94,10 @@ install-dirs: - $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \ - $(DESTDIR)$(mandir)/man1 - --install-binaries: $(PROG) -+install-binaries: install-dirs $(PROG) - $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG) - --install-man: -+install-man: install-dirs - $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \ - $(DESTDIR)$(mandir)/man1/mktemp.1 -
meta/recipes-extended/mktemp/mktemp_1.7.bb deleted +0 -36
@@ -1,36 +0,0 @@ -SUMMARY = "Enables safe temporary file creation from shell scripts" -HOMEPAGE = "http://www.mktemp.org/" -BUGTRACKER = "http://www.mktemp.org/bugs" -SECTION = "console/utils" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4" - -PR = "r3" - -SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${BPN}-${PV}.tar.gz \ - file://disable-strip.patch \ - file://fix-parallel-make.patch \ - " - -SRC_URI[md5sum] = "787bbed9fa2ee8e7645733c0e8e65172" -SRC_URI[sha256sum] = "8e94b9e1edf866b2609545da65b627996ac5d158fda071e492bddb2f4a482675" - -inherit autotools update-alternatives - -EXTRA_OECONF = "--with-libc" - -do_install_append () { - if [ "${base_bindir}" != "${bindir}" ] ; then - install -d ${D}${base_bindir} - mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp - rmdir ${D}${bindir} - fi -} - -ALTERNATIVE_${PN} = "mktemp" -ALTERNATIVE_LINK_NAME[mktemp] = "${base_bindir}/mktemp" -ALTERNATIVE_PRIORITY = "60" - -ALTERNATIVE_${PN}-doc = "mktemp.1" -ALTERNATIVE_PRIORITY_${PN}-doc = "300" -ALTERNATIVE_LINK_NAME[mktemp.1] = "${mandir}/man1/mktemp.1"
meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb +0 -1
@@ -86,7 +86,6 @@ RDEPENDS_packagegroup-core-full-cmdline-utils = "\ mc-fish \ mc-helpers \ mc-helpers-perl \ - mktemp \ ncurses \ net-tools \ popt \
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +0 -1
@@ -158,7 +158,6 @@ RDEPENDS_packagegroup-core-lsb-core = "\ make \ man \ man-pages \ - mktemp \ msmtp \ patch \ procps \
Signature · 1 line
2.11.0
Quoted 2 lines · Ross Burton
Both busybox and coreutils provide mktemp, and the only difference between those (and standalone mktemp) is that coreutils supports --suffix.
I've got no objections to this.. but I do have a question/comment.
Is mktemp packaged by itself in coreutils or do you need the larger coreutils to get it. (I'm not actually sure it matters, but in the past there were some cases where you might not want all of coreutils, but wanted mktemp...)
If there is no standalone mktemp any longer, I think we just need to be prepared for someone to come and say they have a use-case... but at this point, I wouldn't actively change any of the exiting implementations (busybox/coreutils).
--Mark
Quoted 172 lines
Also mktemp.org has disappeared, so it's fair to assume that the standalone mktemp (last released in 2010) is dead.
Signed-off-by Ross Burton <[email protected]>--- meta/conf/distro/include/distro_alias.inc | 1 - meta/conf/distro/include/maintainers.inc | 1 - .../packagegroups/packagegroup-self-hosted.bb | 1 - .../mktemp/files/disable-strip.patch | 15 --------- .../mktemp/files/fix-parallel-make.patch | 24 --------------- meta/recipes-extended/mktemp/mktemp_1.7.bb | 36 ---------------------- .../packagegroup-core-full-cmdline.bb | 1 - .../packagegroups/packagegroup-core-lsb.bb | 1 - 8 files changed, 80 deletions(-) delete mode 100644 meta/recipes-extended/mktemp/files/disable-strip.patch delete mode 100644 meta/recipes-extended/mktemp/files/fix-parallel-make.patch delete mode 100644 meta/recipes-extended/mktemp/mktemp_1.7.bbmeta/conf/distro/include/distro_alias.inc +0
-1@@ -242,7 +242,6 @@ DISTRO_PN_ALIAS_pn-mini-x-session = "OSPDT" DISTRO_PN_ALIAS_pn-mkelfimage = "Ubuntu=mkelfimage Fedora=mkelfimage" DISTRO_PN_ALIAS_pn-mkfontdir = "Mandriva=mkfontdir Ubuntu=xfonts-utils Fedora=xorg-x11-font-utils" DISTRO_PN_ALIAS_pn-mkfontscale = "Mandriva=mkfontscale Ubuntu=xfonts-utils Fedora=xorg-x11-font-utils" -DISTRO_PN_ALIAS_pn-mktemp = "Mandriva=mktemp Fedora=mktemp" DISTRO_PN_ALIAS_pn-mmc-utils = "OE-Core" DISTRO_PN_ALIAS_pn-modutils-initscripts = "OE-Core" DISTRO_PN_ALIAS_pn-mtd-utils = "Debian=mtd-utils Ubuntu=mtd-utils"meta/conf/distro/include/maintainers.inc +0
-1@@ -492,7 +492,6 @@ RECIPE_MAINTAINER_pn-mkelfimage = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER_pn-mkfontdir = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-mkfontscale = "Armin Kuster <[email protected]>" RECIPE_MAINTAINER_pn-mklibs-native = "Robert Yang <[email protected]>" -RECIPE_MAINTAINER_pn-mktemp = "Robert Yang <[email protected]>" RECIPE_MAINTAINER_pn-mmc-utils = "Maxin B. John <[email protected]>" RECIPE_MAINTAINER_pn-mobile-broadband-provider-info = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER_pn-modutils-initscripts = "Yi Zhao <[email protected]>"meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +0
-1@@ -80,7 +80,6 @@ RDEPENDS_packagegroup-self-hosted-sdk = "\ libstdc++-dev \ libtool \ make \ - mktemp \ perl-module-re \ perl-module-text-wrap \ pkgconfig \meta/recipes-extended/mktemp/files/disable-strip.patch deleted +0
-15@@ -1,15 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -diff --git a/Makefile.in b/Makefile.in -index 37b3cc9..f1026f3 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -95,7 +95,7 @@ install-dirs: - $(DESTDIR)$(mandir)/man1 - - install-binaries: $(PROG) -- $(INSTALL) -m 0555 -s $(PROG) $(DESTDIR)$(bindir)/$(PROG) -+ $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG) - - install-man: - $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \meta/recipes-extended/mktemp/files/fix-parallel-make.patch deleted +0
-24@@ -1,24 +0,0 @@ -This fixes the parallel make install failure - -Upstream-Status: Accepted -http://www.gratisoft.us/bugzilla/show_bug.cgi?id=528 - -Signed-off-by: Saul Wold <[email protected]> - -Index: mktemp-1.7/Makefile.in -=================================================================== ---- mktemp-1.7.orig/Makefile.in -+++ mktemp-1.7/Makefile.in -@@ -94,10 +94,10 @@ install-dirs: - $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \ - $(DESTDIR)$(mandir)/man1 - --install-binaries: $(PROG) -+install-binaries: install-dirs $(PROG) - $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG) - --install-man: -+install-man: install-dirs - $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \ - $(DESTDIR)$(mandir)/man1/mktemp.1 -meta/recipes-extended/mktemp/mktemp_1.7.bb deleted +0
-36@@ -1,36 +0,0 @@ -SUMMARY = "Enables safe temporary file creation from shell scripts" -HOMEPAGE = "http://www.mktemp.org/" -BUGTRACKER = "http://www.mktemp.org/bugs" -SECTION = "console/utils" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4" - -PR = "r3" - -SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${BPN}-${PV}.tar.gz \ - file://disable-strip.patch \ - file://fix-parallel-make.patch \ - " - -SRC_URI[md5sum] = "787bbed9fa2ee8e7645733c0e8e65172" -SRC_URI[sha256sum] = "8e94b9e1edf866b2609545da65b627996ac5d158fda071e492bddb2f4a482675" - -inherit autotools update-alternatives - -EXTRA_OECONF = "--with-libc" - -do_install_append () { - if [ "${base_bindir}" != "${bindir}" ] ; then - install -d ${D}${base_bindir} - mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp - rmdir ${D}${bindir} - fi -} - -ALTERNATIVE_${PN} = "mktemp" -ALTERNATIVE_LINK_NAME[mktemp] = "${base_bindir}/mktemp" -ALTERNATIVE_PRIORITY = "60" - -ALTERNATIVE_${PN}-doc = "mktemp.1" -ALTERNATIVE_PRIORITY_${PN}-doc = "300" -ALTERNATIVE_LINK_NAME[mktemp.1] = "${mandir}/man1/mktemp.1"meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb +0
-1@@ -86,7 +86,6 @@ RDEPENDS_packagegroup-core-full-cmdline-utils = "\ mc-fish \ mc-helpers \ mc-helpers-perl \ - mktemp \ ncurses \ net-tools \ popt \meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +0
-1@@ -158,7 +158,6 @@ RDEPENDS_packagegroup-core-lsb-core = "\ make \ man \ man-pages \ - mktemp \ msmtp \ patch \ procps \
Quoted 9 lines · Mark Hatle
Quoted 2 lines · Ross Burton
Both busybox and coreutils provide mktemp, and the only difference between those (and standalone mktemp) is that coreutils supports --suffix.
I've got no objections to this.. but I do have a question/comment.
Is mktemp packaged by itself in coreutils or do you need the larger coreutils to get it. (I'm not actually sure it matters, but in the past there were some cases where you might not want all of coreutils, but wanted mktemp...)
We don't have a small or large coreutils. Maybe that's a WR-ism?
Ross
Quoted 5 lines · Ross
Quoted 4 lines · Mark Hatle
Quoted 2 lines · Ross Burton
Both busybox and coreutils provide mktemp, and the only difference between those (and standalone mktemp) is that coreutils supports --suffix.
Quoted 7 lines
Quoted 5 lines
I've got no objections to this.. but I do have a question/comment.
Is mktemp packaged by itself in coreutils or do you need the larger coreutils to get it. (I'm not actually sure it matters, but in the past there were some cases where you might not want all of coreutils, but wanted mktemp...)
We don't have a small or large coreutils. Maybe that's a WR-ism?
No, I'm referring to system sizes.. there have been systems developed in the past that use a number of alternative command line tooling.
I thought coreutils was broken into various packages already. It may have been in the past and is no longer broken up as well -- or maybe the busybox version was lacking some argument mktemp (coreutils mktemp) supports.
The point is there was a reason for it in smaller systems, and that reason may not exist any longer -- but just be aware it might come back up as a problem.
--Mark
Quoted 2 lines
Ross
Quoted 18 lines · Mark Hatle
Quoted 5 lines · Ross
Quoted 4 lines · Mark Hatle
Quoted 2 lines · Ross Burton
Both busybox and coreutils provide mktemp, and the only difference between those (and standalone mktemp) is that coreutils supports --suffix.
Quoted 7 lines
Quoted 5 lines
I've got no objections to this.. but I do have a question/comment.
Is mktemp packaged by itself in coreutils or do you need the larger coreutils to get it. (I'm not actually sure it matters, but in the past there were some cases where you might not want all of coreutils, but wanted mktemp...)
We don't have a small or large coreutils. Maybe that's a WR-ism?
No, I'm referring to system sizes.. there have been systems developed in the past that use a number of alternative command line tooling.
Quoted 6 lines
I thought coreutils was broken into various packages already. It may have been in the past and is no longer broken up as well -- or maybe the busybox version was lacking some argument mktemp (coreutils mktemp) supports.
The point is there was a reason for it in smaller systems, and that reason may not exist any longer -- but just be aware it might come back up as a problem.
The affected case is where busybox one is not used and coreutils is not used but mktemp is used. I think its in best interest for this usecase to move on to accept a maintained version of utility, be it from coreutils or busybox.