From 8a3a5f318f93c6058c232ce1563f4011afe93221 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 13 Sep 2015 07:04:21 +0200 Subject: [PATCH] cpio: update to 2.12. --- srcpkgs/cpio/patches/cpio-2.11-stdio.in.patch | 12 ------------ srcpkgs/cpio/template | 15 ++++----------- 2 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 srcpkgs/cpio/patches/cpio-2.11-stdio.in.patch diff --git a/srcpkgs/cpio/patches/cpio-2.11-stdio.in.patch b/srcpkgs/cpio/patches/cpio-2.11-stdio.in.patch deleted file mode 100644 index bc85860ac32..00000000000 --- a/srcpkgs/cpio/patches/cpio-2.11-stdio.in.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- gnu/stdio.in.h 2010-03-10 10:27:03.000000000 +0100 -+++ gnu/stdio.in.h 2012-06-04 10:23:23.804471185 +0200 -@@ -139,7 +139,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets -+#if HAVE_RAW_DECL_GETS - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@ diff --git a/srcpkgs/cpio/template b/srcpkgs/cpio/template index 0eacb9284d6..c0ad1a475dd 100644 --- a/srcpkgs/cpio/template +++ b/srcpkgs/cpio/template @@ -1,20 +1,13 @@ # Template file for 'cpio' pkgname=cpio -version=2.11 -revision=8 +version=2.12 +revision=1 build_pie=yes build_style=gnu-configure -configure_args="gl_cv_func_stat_file_slash=yes gl_cv_func_malloc_posix=yes - gl_cv_func_unlink_works=yes gl_cv_func_unsetenv_work=yes ac_cv_func_unlinkat=yes - ac_cv_func_unsetenv=yes gt_cv_func_unsetenv_ret='int' gl_cv_func_setenv_works=yes" +configure_args="--with-rmt=/usr/bin/rmt" short_desc="GNU copy-in/out (cpio) with remote magnetic tape (rmt) support" maintainer="Juan RP " homepage="http://www.gnu.org/software/cpio/" license="GPL-3" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.bz2" -checksum=bb820bfd96e74fc6ce43104f06fe733178517e7f5d1cdee553773e8eff7d5bbd - -post_install() { - # Remove rmt that conflicts with the one from tar. - rm -rf ${DESTDIR}/usr/libexec -} +checksum=70998c5816ace8407c8b101c9ba1ffd3ebbecba1f5031046893307580ec1296e