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.30



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d004444743f3
branches:  trunk
changeset: 376962:d004444743f3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Mar 11 17:28:08 2018 +0000

description:
gtar: update to 1.30

version 1.30 - Sergey Poznyakoff, 2017-12-17

* Member names containing '..' components are now skipped when extracting.

This fixes tar's behavior to match its documentation, and is a bit
safer when extracting untrusted archives over old files (an unsafe
practice that the tar manual has long recommended against).

* Report erroneous use of position-sensitive options.

During archive creation or update, tar keeps track of positional
options (see the manual, subsection 3.4.4 "Position-Sensitive
Options"), and reports those that had no effect.  For example, when
invoked as

   tar -cf a.tar . --exclude '*.o'

tar will create the archive, but will exit with status 2, having
issued the following error message

   tar: The following options were used after non-optional
   arguments in archive create or update mode.  These options are
   positional and affect only arguments that follow them.  Please,
   rearrange them properly.
   tar: --exclude '*.o' has no effect
   tar: Exiting with failure status due to previous errors

* --numeric-owner now affects private headers too.

This helps the output of 'tar' to be more deterministic.

* Fixed the --delay-directory-restore option

In some cases tar would restore the directory permissions too early,
causing subsequent link extractions in that directory to fail.

* The --warnings=failed-read option

This new warning control option suppresses warning messages about
unreadable files and directories. It has effect only if used together
with the --ignore-failed-read option.

* The --warnings=none option now suppresses all warnings

This includes warnings about unreadable files produced when
--ignore-failed-read is in effect. To output these, use
--warnings=none --warnings=no-failed-read.

* Fix reporting of hardlink mismatches during compare

Tar reported incorrect target file name in the 'Not linked to'
diagnostic message.

diffstat:

 archivers/gtar-base/Makefile   |   5 +----
 archivers/gtar-base/distinfo   |  10 +++++-----
 archivers/gtar/Makefile.common |   4 ++--
 3 files changed, 8 insertions(+), 11 deletions(-)

diffs (46 lines):

diff -r ddedf322659e -r d004444743f3 archivers/gtar-base/Makefile
--- a/archivers/gtar-base/Makefile      Sun Mar 11 15:44:29 2018 +0000
+++ b/archivers/gtar-base/Makefile      Sun Mar 11 17:28:08 2018 +0000
@@ -1,7 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2016/05/31 15:04:51 mef Exp $
-#
-# Please run 'make files/gtar.1' when updating version of this package
-# to regenerate the man page. converters/help2man is needed.
+# $NetBSD: Makefile,v 1.93 2018/03/11 17:28:08 wiz Exp $
 
 .include "../../archivers/gtar/Makefile.common"
 
diff -r ddedf322659e -r d004444743f3 archivers/gtar-base/distinfo
--- a/archivers/gtar-base/distinfo      Sun Mar 11 15:44:29 2018 +0000
+++ b/archivers/gtar-base/distinfo      Sun Mar 11 17:28:08 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.40 2016/05/31 15:04:51 mef Exp $
+$NetBSD: distinfo,v 1.41 2018/03/11 17:28:08 wiz Exp $
 
-SHA1 (tar-1.29.tar.bz2) = 057977c86293fddcbb04075ca70f41079e044949
-RMD160 (tar-1.29.tar.bz2) = 27a18fd2a557fb6dc37218c96b3c3223527604a4
-SHA512 (tar-1.29.tar.bz2) = d2cea9892892dfa0c8efd390303b75dccc085c4895e07ced684074592d69729916d6ea12475aa6aff873d076a729bb7dc2499c233edcfb9c7e8e8995481eef3b
-Size (tar-1.29.tar.bz2) = 2715993 bytes
+SHA1 (tar-1.30.tar.bz2) = f56e89603eca86c3571f3cb40a34057ecd1e1086
+RMD160 (tar-1.30.tar.bz2) = 2084e090ca4f3f5c613d39cbeebc1f5a59c94b31
+SHA512 (tar-1.30.tar.bz2) = 07a1157430898fee1a2c6fd3853d59d4ae13998db685669c8c702f73d2466eeb9892f84a5f0495bfe088c8190a643a99ac9f2cb16b85c9fe3ae0d83cc0f338e8
+Size (tar-1.30.tar.bz2) = 2858639 bytes
 SHA1 (patch-Makefile.in) = 78cc142b9370317c52215c106ea1e7217e71f9b5
 SHA1 (patch-gnu_readlinkat.c) = ce9869bfcd75005bb4ddac4e3223df01a26a2b29
 SHA1 (patch-lib_xattr-at.c) = c69631c118558c0c056feb5b55188b2b4c92cc19
diff -r ddedf322659e -r d004444743f3 archivers/gtar/Makefile.common
--- a/archivers/gtar/Makefile.common    Sun Mar 11 15:44:29 2018 +0000
+++ b/archivers/gtar/Makefile.common    Sun Mar 11 17:28:08 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.common,v 1.2 2016/05/31 15:04:51 mef Exp $
+# $NetBSD: Makefile.common,v 1.3 2018/03/11 17:28:08 wiz Exp $
 #
 # used by archivers/gtar-base/Makefile
 # used by archivers/gtar-info/Makefile
 # used by archivers/gtar/Makefile
 
-DISTNAME=      tar-1.29
+DISTNAME=      tar-1.30
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GNU:=tar/}
 EXTRACT_SUFX=  .tar.bz2



Home | Main Index | Thread Index | Old Index