]> code.ossystems Code Review - openembedded-core.git/commitdiff
mktemp: remove
authorRoss Burton <ross.burton@intel.com>
Mon, 18 Jun 2018 15:48:33 +0000 (16:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jun 2018 23:16:49 +0000 (00:16 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/distro_alias.inc
meta/conf/distro/include/maintainers.inc
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb
meta/recipes-extended/mktemp/files/disable-strip.patch [deleted file]
meta/recipes-extended/mktemp/files/fix-parallel-make.patch [deleted file]
meta/recipes-extended/mktemp/mktemp_1.7.bb [deleted file]
meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb

index 536605d1d099a824f50d10f5e0e19189060581ff..27533fbae4d2564209da1369ade998136c658d4f 100644 (file)
@@ -244,7 +244,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"
index 4eadb2bec0e00b0b15004273e9398b061b9bfc41..4b0eeeaedd95870c341f8a6f2f4112b5a23b39c7 100644 (file)
@@ -494,7 +494,6 @@ RECIPE_MAINTAINER_pn-mkelfimage = "Alexander Kanavin <alex.kanavin@gmail.com>"
 RECIPE_MAINTAINER_pn-mkfontdir = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-mkfontscale = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-mklibs-native = "Robert Yang <liezhi.yang@windriver.com>"
-RECIPE_MAINTAINER_pn-mktemp = "Robert Yang <liezhi.yang@windriver.com>"
 RECIPE_MAINTAINER_pn-mmc-utils = "Maxin B. John <maxin.john@intel.com>"
 RECIPE_MAINTAINER_pn-mobile-broadband-provider-info = "Alexander Kanavin <alex.kanavin@gmail.com>"
 RECIPE_MAINTAINER_pn-modutils-initscripts = "Yi Zhao <yi.zhao@windriver.com>"
index 28f06d9c5aa90b4d77627b966af588544a0d9cc0..9a6721ce03196c93be24de14eb7b0eeca6127806 100644 (file)
@@ -80,7 +80,6 @@ RDEPENDS_packagegroup-self-hosted-sdk = "\
     libstdc++-dev \
     libtool \
     make \
-    mktemp \
     perl-module-re \
     perl-module-text-wrap \
     pkgconfig \
diff --git a/meta/recipes-extended/mktemp/files/disable-strip.patch b/meta/recipes-extended/mktemp/files/disable-strip.patch
deleted file mode 100644 (file)
index e06869e..0000000
+++ /dev/null
@@ -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) \
diff --git a/meta/recipes-extended/mktemp/files/fix-parallel-make.patch b/meta/recipes-extended/mktemp/files/fix-parallel-make.patch
deleted file mode 100644 (file)
index f3b6dcc..0000000
+++ /dev/null
@@ -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 <sgw@linux.intel.com>
-
-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
diff --git a/meta/recipes-extended/mktemp/mktemp_1.7.bb b/meta/recipes-extended/mktemp/mktemp_1.7.bb
deleted file mode 100644 (file)
index e8ae5c6..0000000
+++ /dev/null
@@ -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"
index 92881e9f322e8d123a9c710b44b3f522078dd373..22b3f6782fede625dd0c9ecf87cd566ba79ceaed 100644 (file)
@@ -86,7 +86,6 @@ RDEPENDS_packagegroup-core-full-cmdline-utils = "\
     mc-fish \
     mc-helpers \
     mc-helpers-perl \
-    mktemp \
     ncurses \
     net-tools \
     popt \
index 53d100ce740937f29bcc30dad34fa0c15e6bdb82..ef6347c712005d587ee283c9f8f7eb35a76bf682 100644 (file)
@@ -158,7 +158,6 @@ RDEPENDS_packagegroup-core-lsb-core = "\
     make \
     man \
     man-pages \
-    mktemp \
     msmtp \
     patch \
     procps \