cpio: update to 2.12.

This commit is contained in:
Juan RP 2015-09-13 07:04:21 +02:00
parent c851de98bd
commit 8a3a5f318f
2 changed files with 4 additions and 23 deletions

View File

@ -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@

View File

@ -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 <xtraeme@voidlinux.eu>"
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