summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mktemp
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-06-18 16:48:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-21 09:34:40 +0100
commit674cd5111bad32fa5f45aa4bdcc3b8c5ca27bfc2 (patch)
tree64b509a6c6a7db719bb89545a5438d78b54286ea /meta/recipes-extended/mktemp
parent2e42ded224eaf68fcf165f5d9763e426ec6630e8 (diff)
downloadpoky-674cd5111bad32fa5f45aa4bdcc3b8c5ca27bfc2.tar.gz
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. (From OE-Core rev: 59a825ca1e08a7e47fcbc807606103d463280e6c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mktemp')
-rw-r--r--meta/recipes-extended/mktemp/files/disable-strip.patch15
-rw-r--r--meta/recipes-extended/mktemp/files/fix-parallel-make.patch24
-rw-r--r--meta/recipes-extended/mktemp/mktemp_1.7.bb36
3 files changed, 0 insertions, 75 deletions
diff --git a/meta/recipes-extended/mktemp/files/disable-strip.patch b/meta/recipes-extended/mktemp/files/disable-strip.patch
deleted file mode 100644
index e06869e3ad..0000000000
--- a/meta/recipes-extended/mktemp/files/disable-strip.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3diff --git a/Makefile.in b/Makefile.in
4index 37b3cc9..f1026f3 100644
5--- a/Makefile.in
6+++ b/Makefile.in
7@@ -95,7 +95,7 @@ install-dirs:
8 $(DESTDIR)$(mandir)/man1
9
10 install-binaries: $(PROG)
11- $(INSTALL) -m 0555 -s $(PROG) $(DESTDIR)$(bindir)/$(PROG)
12+ $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG)
13
14 install-man:
15 $(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
index f3b6dcc34a..0000000000
--- a/meta/recipes-extended/mktemp/files/fix-parallel-make.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1This fixes the parallel make install failure
2
3Upstream-Status: Accepted
4http://www.gratisoft.us/bugzilla/show_bug.cgi?id=528
5
6Signed-off-by: Saul Wold <sgw@linux.intel.com>
7
8Index: mktemp-1.7/Makefile.in
9===================================================================
10--- mktemp-1.7.orig/Makefile.in
11+++ mktemp-1.7/Makefile.in
12@@ -94,10 +94,10 @@ install-dirs:
13 $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \
14 $(DESTDIR)$(mandir)/man1
15
16-install-binaries: $(PROG)
17+install-binaries: install-dirs $(PROG)
18 $(INSTALL) -m 0555 $(PROG) $(DESTDIR)$(bindir)/$(PROG)
19
20-install-man:
21+install-man: install-dirs
22 $(INSTALL) -m 0444 $(srcdir)/mktemp.$(mantype) \
23 $(DESTDIR)$(mandir)/man1/mktemp.1
24
diff --git a/meta/recipes-extended/mktemp/mktemp_1.7.bb b/meta/recipes-extended/mktemp/mktemp_1.7.bb
deleted file mode 100644
index e8ae5c6b72..0000000000
--- a/meta/recipes-extended/mktemp/mktemp_1.7.bb
+++ /dev/null
@@ -1,36 +0,0 @@
1SUMMARY = "Enables safe temporary file creation from shell scripts"
2HOMEPAGE = "http://www.mktemp.org/"
3BUGTRACKER = "http://www.mktemp.org/bugs"
4SECTION = "console/utils"
5LICENSE = "ISC"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=430680f6322a1eb87199b5e01a82c0d4"
7
8PR = "r3"
9
10SRC_URI = "ftp://ftp.mktemp.org/pub/mktemp/${BPN}-${PV}.tar.gz \
11 file://disable-strip.patch \
12 file://fix-parallel-make.patch \
13 "
14
15SRC_URI[md5sum] = "787bbed9fa2ee8e7645733c0e8e65172"
16SRC_URI[sha256sum] = "8e94b9e1edf866b2609545da65b627996ac5d158fda071e492bddb2f4a482675"
17
18inherit autotools update-alternatives
19
20EXTRA_OECONF = "--with-libc"
21
22do_install_append () {
23 if [ "${base_bindir}" != "${bindir}" ] ; then
24 install -d ${D}${base_bindir}
25 mv ${D}${bindir}/mktemp ${D}${base_bindir}/mktemp
26 rmdir ${D}${bindir}
27 fi
28}
29
30ALTERNATIVE_${PN} = "mktemp"
31ALTERNATIVE_LINK_NAME[mktemp] = "${base_bindir}/mktemp"
32ALTERNATIVE_PRIORITY = "60"
33
34ALTERNATIVE_${PN}-doc = "mktemp.1"
35ALTERNATIVE_PRIORITY_${PN}-doc = "300"
36ALTERNATIVE_LINK_NAME[mktemp.1] = "${mandir}/man1/mktemp.1"