From 58151b7e7ce651619e09fd8129f252332a342521 Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Mon, 25 Nov 2013 15:50:58 +0200 Subject: tar: upgrade to 1.27.1 Signed-off-by: Laurentiu Palcu Signed-off-by: Richard Purdie --- .../tar/tar-1.27/remove-gets.patch | 22 ---------------------- .../tar/tar-replacement-native_1.27.1.bb | 6 ++++++ .../tar/tar-replacement-native_1.27.bb | 6 ------ meta/recipes-extended/tar/tar/remove-gets.patch | 22 ++++++++++++++++++++++ meta/recipes-extended/tar/tar_1.27.1.bb | 10 ++++++++++ meta/recipes-extended/tar/tar_1.27.bb | 10 ---------- 6 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta/recipes-extended/tar/tar-1.27/remove-gets.patch create mode 100644 meta/recipes-extended/tar/tar-replacement-native_1.27.1.bb delete mode 100644 meta/recipes-extended/tar/tar-replacement-native_1.27.bb create mode 100644 meta/recipes-extended/tar/tar/remove-gets.patch create mode 100644 meta/recipes-extended/tar/tar_1.27.1.bb delete mode 100644 meta/recipes-extended/tar/tar_1.27.bb (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/tar/tar-1.27/remove-gets.patch b/meta/recipes-extended/tar/tar-1.27/remove-gets.patch deleted file mode 100644 index 0b8be39eed..0000000000 --- a/meta/recipes-extended/tar/tar-1.27/remove-gets.patch +++ /dev/null @@ -1,22 +0,0 @@ -ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it - -Signed-off-by: Khem Raj - -Upstream-Status: Pending -Index: tar-1.27/gnu/stdio.in.h -=================================================================== ---- tar-1.27.orig/gnu/stdio.in.h 2013-06-29 08:54:26.000000000 +0300 -+++ tar-1.27/gnu/stdio.in.h 2013-10-16 15:22:46.977204737 +0300 -@@ -710,10 +710,12 @@ - /* It is very rare that the developer ever has full control of stdin, - so any use of gets warrants an unconditional warning; besides, C11 - removed it. */ -+#if defined gets - #undef gets - #if HAVE_RAW_DECL_GETS - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); - #endif -+#endif - - - #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ diff --git a/meta/recipes-extended/tar/tar-replacement-native_1.27.1.bb b/meta/recipes-extended/tar/tar-replacement-native_1.27.1.bb new file mode 100644 index 0000000000..071ede765b --- /dev/null +++ b/meta/recipes-extended/tar/tar-replacement-native_1.27.1.bb @@ -0,0 +1,6 @@ +require tar_${PV}.bb + +inherit native + +BPN = "tar" +EXTRAINSTALL = "" diff --git a/meta/recipes-extended/tar/tar-replacement-native_1.27.bb b/meta/recipes-extended/tar/tar-replacement-native_1.27.bb deleted file mode 100644 index 071ede765b..0000000000 --- a/meta/recipes-extended/tar/tar-replacement-native_1.27.bb +++ /dev/null @@ -1,6 +0,0 @@ -require tar_${PV}.bb - -inherit native - -BPN = "tar" -EXTRAINSTALL = "" diff --git a/meta/recipes-extended/tar/tar/remove-gets.patch b/meta/recipes-extended/tar/tar/remove-gets.patch new file mode 100644 index 0000000000..0b8be39eed --- /dev/null +++ b/meta/recipes-extended/tar/tar/remove-gets.patch @@ -0,0 +1,22 @@ +ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it + +Signed-off-by: Khem Raj + +Upstream-Status: Pending +Index: tar-1.27/gnu/stdio.in.h +=================================================================== +--- tar-1.27.orig/gnu/stdio.in.h 2013-06-29 08:54:26.000000000 +0300 ++++ tar-1.27/gnu/stdio.in.h 2013-10-16 15:22:46.977204737 +0300 +@@ -710,10 +710,12 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning; besides, C11 + removed it. */ ++#if defined gets + #undef gets + #if HAVE_RAW_DECL_GETS + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif ++#endif + + + #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ diff --git a/meta/recipes-extended/tar/tar_1.27.1.bb b/meta/recipes-extended/tar/tar_1.27.1.bb new file mode 100644 index 0000000000..439bb500b9 --- /dev/null +++ b/meta/recipes-extended/tar/tar_1.27.1.bb @@ -0,0 +1,10 @@ +require tar.inc + +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRC_URI += "file://remove-gets.patch \ + " + +SRC_URI[md5sum] = "490e074dd7e71f553df8357a7ef9bdcf" +SRC_URI[sha256sum] = "9b0fb3ce8512059337add0da5f8f0f7d7647f2201f5ece24581d620ea60337c6" diff --git a/meta/recipes-extended/tar/tar_1.27.bb b/meta/recipes-extended/tar/tar_1.27.bb deleted file mode 100644 index 6cf6f708f9..0000000000 --- a/meta/recipes-extended/tar/tar_1.27.bb +++ /dev/null @@ -1,10 +0,0 @@ -require tar.inc - -LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" - -SRC_URI += "file://remove-gets.patch \ - " - -SRC_URI[md5sum] = "74f51434bfb7756bd571a0f718b171ae" -SRC_URI[sha256sum] = "2238c5c63c7ecaccc962f10482d76875b45cedfed69138ed852a88e344af3c7b" -- cgit v1.2.3