Update to 1.29, which adds some new options:

--verbatim-files-from, --no-verbatim-files-from
--owner-map=FILE, --group-map=FILE
--clamp-mtime
This commit is contained in:
naddy 2016-06-03 14:53:32 +00:00
parent e8a7cec376
commit 916985b208
4 changed files with 42 additions and 13 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.77 2016/04/06 21:14:13 naddy Exp $
# $OpenBSD: Makefile,v 1.78 2016/06/03 14:53:32 naddy Exp $
COMMENT= GNU version of the traditional tape archiver
DISTNAME= tar-1.28
REVISION= 2
DISTNAME= tar-1.29
PKGNAME= g${DISTNAME}
CATEGORIES= archivers
HOMEPAGE= https://www.gnu.org/software/tar/
@ -46,10 +45,15 @@ LIB_DEPENDS+= devel/gettext
LDSTATIC=
.endif
# Test 87 is known to fail because getcwd(3) fails if the
# parent directory is unreadable.
# autom4te
TEST_DEPENDS= devel/autoconf/2.69
TEST_ENV= AUTOCONF_VERSION=2.69
# without GNU m4, commands with leading parenthesis are mis-expanded
TEST_DEPENDS+= devel/m4
TEST_ENV+= M4=${LOCALBASE}/bin/gm4
# Tests 161 163 are known to fail because path resolution of ".."
# in a removed directory fails.
# do not rebuild tar.info
post-patch:
touch -r ${WRKSRC}/doc/stamp-vti ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (tar-1.28.tar.xz) = ZO6NiOwbR6CWEDNJP5GdJyGMQbWAE4/WgCMnRir/IvI=
SIZE (tar-1.28.tar.xz) = 1966884
SHA256 (tar-1.29.tar.xz) = QC3P0AIv16HyxWEfXGGvHNhJEKdgpEpojhjdv/Tp8CQ=
SIZE (tar-1.29.tar.xz) = 1996000

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.15 2014/08/09 19:46:19 naddy Exp $
--- configure.orig Sun Jul 27 22:33:47 2014
+++ configure Mon Jul 28 17:36:56 2014
@@ -35613,7 +35613,7 @@ fi
$OpenBSD: patch-configure,v 1.16 2016/06/03 14:53:32 naddy Exp $
--- configure.orig Mon May 16 10:52:00 2016
+++ configure Mon May 30 17:50:19 2016
@@ -35630,7 +35630,7 @@ fi
$as_echo "$acl_cv_rpath" >&6; }
wl="$acl_cv_wl"
acl_libext="$acl_cv_libext"

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-tests_numeric_at,v 1.1 2016/06/03 14:53:32 naddy Exp $
https://lists.gnu.org/archive/html/bug-tar/2016-06/txt9bP0DVvYnu.txt
--- tests/numeric.at.orig Fri Mar 18 18:23:55 2016
+++ tests/numeric.at Thu Jun 2 22:14:10 2016
@@ -27,13 +27,15 @@ tar $1 -vvf a dir |dnl
])
AT_TAR_CHECK([
-mkdir dir
-genfile --file dir/file
-
MYUID=$(id -u) || AT_SKIP_TEST
MYGID=$(id -g) || AT_SKIP_TEST
MYUSR=$(id -un) || AT_SKIP_TEST
MYGRP=$(id -gn) || AT_SKIP_TEST
+
+mkdir dir
+# Ensure correct group id on BSDs.
+chown :$MYGID dir >/dev/null 2>/dev/null
+genfile --file dir/file
TESTOP([--create])
TESTOP([--list])