pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers gtar: Update to 1.33



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cec333a1aac2
branches:  trunk
changeset: 444768:cec333a1aac2
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Jan 12 12:10:27 2021 +0000

description:
gtar: Update to 1.33

Changelog:
version 1.33 - Sergey Poznyakoff, 2021-01-07

* POSIX extended format headers do not include PID by default

The intent is to make binary-equivalent PAX archives easy to create.  If
POSIXLY_CORRECT is set, the POSIX standard default is used, which embeds
the pid.

* --delay-directory-restore works for archives with reversed member ordering

* Fix extraction of a symbolic link hardlinked to another symbolic link

* Wildcards in exclude-vcs-ignore mode don't match slash

* Fix the --no-overwrite-dir option

Given this option, previous versions of tar failed to preserve
permissions of empty directories and to create files under directories
owned by the current user that did not have the S_IWUSR bit set.

* Fix handling of chained renames in incremental backups

* Link counting works for file names supplied with -T

* Accept only position-sensitive (file-selection) options in file list files.

Using such options as -f, -z, etc. is senseless in a file list file and
bypasses option consistency checks in decode_options.  Therefore,
only options related to file selection (a.k.a position-sensitive options)
are allowed in file list files.

diffstat:

 archivers/gtar-base/distinfo                       |  15 +++++++--------
 archivers/gtar-base/patches/patch-gnu_readlinkat.c |  12 ++++++------
 archivers/gtar-base/patches/patch-gnu_sys-limits.h |  17 -----------------
 archivers/gtar-base/patches/patch-lib_xattr-at.c   |  13 +++++++------
 archivers/gtar/Makefile.common                     |   5 ++---
 5 files changed, 22 insertions(+), 40 deletions(-)

diffs (116 lines):

diff -r da1e55171401 -r cec333a1aac2 archivers/gtar-base/distinfo
--- a/archivers/gtar-base/distinfo      Tue Jan 12 12:05:15 2021 +0000
+++ b/archivers/gtar-base/distinfo      Tue Jan 12 12:10:27 2021 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.44 2019/05/02 20:27:42 wiedi Exp $
+$NetBSD: distinfo,v 1.45 2021/01/12 12:10:27 ryoon Exp $
 
-SHA1 (tar-1.32.tar.bz2) = d0b0259689062d7700480f74c547f62f18e7412d
-RMD160 (tar-1.32.tar.bz2) = b83c063c4eea4f36bf70c6be67a1c7fc74e5e82f
-SHA512 (tar-1.32.tar.bz2) = 3139e87112123269ee0600243b3ea081687cc93667bef5832bfe3c785c1be622f520f00fcfbdf44ad1d3247866d0ecfe347a85bbfec38eb38fa1014baef566f6
-Size (tar-1.32.tar.bz2) = 2947264 bytes
+SHA1 (tar-1.33.tar.bz2) = 485c8e68aed41cd0424ae16ebef6bb15f864ed14
+RMD160 (tar-1.33.tar.bz2) = 1511ecc9d65a3f3b7a4d91e0b1887aa13af36081
+SHA512 (tar-1.33.tar.bz2) = 158dc1af1137567b90781fdf81198222b02bbdd11058bc00b53b58993d0ef51b8b0b4115e99cff76eef31c8ec0445837b25600c3dc9685b9390d90bd689edf11
+Size (tar-1.33.tar.bz2) = 3013300 bytes
 SHA1 (patch-Makefile.in) = 78cc142b9370317c52215c106ea1e7217e71f9b5
-SHA1 (patch-gnu_readlinkat.c) = ce9869bfcd75005bb4ddac4e3223df01a26a2b29
-SHA1 (patch-gnu_sys-limits.h) = b644d4f7915cac5757cb197966ec5f37553f3237
-SHA1 (patch-lib_xattr-at.c) = c69631c118558c0c056feb5b55188b2b4c92cc19
+SHA1 (patch-gnu_readlinkat.c) = 49127fa6533ecf67b2da704da321da0d46b0ddeb
+SHA1 (patch-lib_xattr-at.c) = 03a62c67a8c107a8eb929e87d19560c1a1270766
 SHA1 (patch-src_system.c) = cd9f7358fa93ed0ba4a1b3fffdae5d7f84ef4791
diff -r da1e55171401 -r cec333a1aac2 archivers/gtar-base/patches/patch-gnu_readlinkat.c
--- a/archivers/gtar-base/patches/patch-gnu_readlinkat.c        Tue Jan 12 12:05:15 2021 +0000
+++ b/archivers/gtar-base/patches/patch-gnu_readlinkat.c        Tue Jan 12 12:10:27 2021 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-gnu_readlinkat.c,v 1.2 2016/05/31 15:04:51 mef Exp $
+$NetBSD: patch-gnu_readlinkat.c,v 1.3 2021/01/12 12:10:27 ryoon Exp $
 
 * workaround for NetBSD-5.x, readlink is defined as a macro.
 
---- gnu/readlinkat.c.orig      2015-08-24 19:08:25.000000000 +0900
-+++ gnu/readlinkat.c   2016-05-31 23:53:11.000000000 +0900
-@@ -69,6 +69,7 @@ rpl_readlinkat (int fd, char const *file
- # define AT_FUNC_POST_FILE_PARAM_DECLS , char *buf, size_t len
- # define AT_FUNC_POST_FILE_ARGS        , buf, len
+--- gnu/readlinkat.c.orig      2021-01-07 14:29:45.000000000 +0000
++++ gnu/readlinkat.c
+@@ -103,6 +103,7 @@ rpl_readlinkat (int fd, char const *file
+ # define AT_FUNC_POST_FILE_PARAM_DECLS , char *buf, size_t bufsize
+ # define AT_FUNC_POST_FILE_ARGS        , buf, bufsize
  # define AT_FUNC_RESULT ssize_t
 +# undef readlink
  # include "at-func.c"
diff -r da1e55171401 -r cec333a1aac2 archivers/gtar-base/patches/patch-gnu_sys-limits.h
--- a/archivers/gtar-base/patches/patch-gnu_sys-limits.h        Tue Jan 12 12:05:15 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-gnu_sys-limits.h,v 1.1 2019/05/02 20:27:43 wiedi Exp $
-
-Don't conflict with sys/limits.h on SunOS
-
---- gnu/sys-limits.h.orig      2019-01-02 18:16:01.000000000 +0000
-+++ gnu/sys-limits.h
-@@ -15,8 +15,8 @@
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, see <https://www.gnu.org/licenses/>.  */
- 
--#ifndef _SYS_LIMITS_H
--#define _SYS_LIMITS_H
-+#ifndef _SYS__LIMITS_H
-+#define _SYS__LIMITS_H
- 
- #include <limits.h>
- 
diff -r da1e55171401 -r cec333a1aac2 archivers/gtar-base/patches/patch-lib_xattr-at.c
--- a/archivers/gtar-base/patches/patch-lib_xattr-at.c  Tue Jan 12 12:05:15 2021 +0000
+++ b/archivers/gtar-base/patches/patch-lib_xattr-at.c  Tue Jan 12 12:10:27 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-lib_xattr-at.c,v 1.1 2014/08/21 20:44:16 wiz Exp $
+$NetBSD: patch-lib_xattr-at.c,v 1.2 2021/01/12 12:10:27 ryoon Exp $
 
 * Make GNU tar 1.28 detect the presence of the GNU/Linux xattrs
   interface it expects.
@@ -11,8 +11,8 @@
 
     Do not build when HAVE_XATTRS is not defined.
 
---- lib/xattr-at.c.orig        2014-02-10 11:42:45.000000000 -0600
-+++ lib/xattr-at.c     2014-08-19 09:40:54.000000000 -0500
+--- lib/xattr-at.c.orig        2021-01-06 15:52:09.000000000 +0000
++++ lib/xattr-at.c
 @@ -18,6 +18,11 @@
  
  #include <config.h>
@@ -25,9 +25,10 @@
  #include "xattr-at.h"
  #include "openat.h"
  
-@@ -108,3 +113,5 @@
- #undef AT_FUNC_RESULT
+@@ -111,4 +116,6 @@
  #undef AT_FUNC_POST_FILE_PARAM_DECLS
  #undef AT_FUNC_POST_FILE_ARGS
+ 
++#endif
 +
-+#endif
+ #endif /* HAVE_XATTRS */
diff -r da1e55171401 -r cec333a1aac2 archivers/gtar/Makefile.common
--- a/archivers/gtar/Makefile.common    Tue Jan 12 12:05:15 2021 +0000
+++ b/archivers/gtar/Makefile.common    Tue Jan 12 12:10:27 2021 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile.common,v 1.7 2020/01/18 23:29:55 rillig Exp $
+# $NetBSD: Makefile.common,v 1.8 2021/01/12 12:10:27 ryoon Exp $
 #
 # used by archivers/gtar-base/Makefile
 # used by archivers/gtar-info/Makefile
 # used by archivers/gtar/Makefile
 
-DISTNAME=      tar-1.32
-PKGREVISION=   1
+DISTNAME=      tar-1.33
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GNU:=tar/}
 EXTRACT_SUFX=  .tar.bz2



Home | Main Index | Thread Index | Old Index