pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Aug  6 07:23:08 UTC 2023

Modified Files:
        pkgsrc/archivers/gtar: Makefile.common
        pkgsrc/archivers/gtar-base: Makefile PLIST distinfo
Added Files:
        pkgsrc/archivers/gtar-base/patches: patch-src_Makefile.in
Removed Files:
        pkgsrc/archivers/gtar-base/patches: patch-CVE-2022-48303

Log Message:
gtar: updated to 1.35

version 1.35

* Fail when building GNU tar, if the platform supports 64-bit time_t
  but the build uses only 32-bit time_t.

* Leave the devmajor and devminor fields empty (rather than zero) for
  non-special files, as this is more compatible with traditional tar.

* Bug fixes

** Fix interaction of --update with --wildcards.

** When extracting archives into an empty directory, do not create
   hard links to files outside that directory.

** Handle partial reads from regular files.

** Warn "file changed as we read it" less often.
   Formerly, tar warned if the file's size or ctime changed.
   However, this generated a false positive if tar read a file
   while another process hard-linked to it, changing its ctime.
   Now, tar warns if the file's size, mtime, user ID, group ID,
   or mode changes.  Although neither heuristic is perfect,
   the new one should work better in practice.

** Fix --ignore-failed-read to ignore file-changed read errors
   as far as exit status is concerned.  You can now suppress file-changed
   issues entirely with --ignore-failed-read --warning=no-file-changed.

** Fix --remove-files to not remove a file that changed while we read it.

** Fix --atime-preserve=replace to not fail if there was no need to replace,
   either because we did not read the file, or the atime did not change.

** Fix race when creating a parent directory while another process is
   also doing so.

** Fix handling of prefix keywords not followed by "." in pax headers.

** Fix handling of out-of-range sparse entries in pax headers.

** Fix handling of --transform='s/s/@/2'.

** Fix treatment of options ending in / in files-from list.

** Fix crash on 'tar --checkpoint-action exec=\"'.

** Fix low-memory crash when reading incremental dumps.

** Fix --exclude-vcs-ignores memory allocation misuse.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/archivers/gtar/Makefile.common
cvs rdiff -u -r1.96 -r1.97 pkgsrc/archivers/gtar-base/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/archivers/gtar-base/PLIST
cvs rdiff -u -r1.49 -r1.50 pkgsrc/archivers/gtar-base/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/archivers/gtar-base/patches/patch-CVE-2022-48303
cvs rdiff -u -r0 -r1.5 \
    pkgsrc/archivers/gtar-base/patches/patch-src_Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/gtar/Makefile.common
diff -u pkgsrc/archivers/gtar/Makefile.common:1.9 pkgsrc/archivers/gtar/Makefile.common:1.10
--- pkgsrc/archivers/gtar/Makefile.common:1.9   Thu Feb 18 10:33:54 2021
+++ pkgsrc/archivers/gtar/Makefile.common       Sun Aug  6 07:23:07 2023
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile.common,v 1.9 2021/02/18 10:33:54 wiz Exp $
+# $NetBSD: Makefile.common,v 1.10 2023/08/06 07:23:07 adam Exp $
 #
 # used by archivers/gtar-base/Makefile
 # used by archivers/gtar-info/Makefile
 # used by archivers/gtar/Makefile
 
-DISTNAME=      tar-1.34
+DISTNAME=      tar-1.35
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GNU:=tar/}
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.gnu.org/software/tar/tar.html

Index: pkgsrc/archivers/gtar-base/Makefile
diff -u pkgsrc/archivers/gtar-base/Makefile:1.96 pkgsrc/archivers/gtar-base/Makefile:1.97
--- pkgsrc/archivers/gtar-base/Makefile:1.96    Sun Mar 26 09:18:48 2023
+++ pkgsrc/archivers/gtar-base/Makefile Sun Aug  6 07:23:07 2023
@@ -1,18 +1,15 @@
-# $NetBSD: Makefile,v 1.96 2023/03/26 09:18:48 spz Exp $
+# $NetBSD: Makefile,v 1.97 2023/08/06 07:23:07 adam Exp $
 
 .include "../../archivers/gtar/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/tar/gtar-base/}
-COMMENT=       The GNU tape archiver with remote magnetic tape support
-LICENSE=       gnu-gpl-v3
-
-PKGREVISION=   1
 
 CONFLICTS=     gcpio-[0-9]*
 
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            msgfmt
 GNU_CONFIGURE=         yes
+TEST_TARGET=           check
 
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 INSTALLATION_DIRS+=    ${PKGGNUDIR}bin ${PKGGNUDIR}libexec
@@ -36,8 +33,6 @@ LDFLAGS.SCO_SV+=      -lsocket
 
 PLIST_VARS+=           rmt
 
-TEST_TARGET=           check
-
 # don't include rmt if gtar won't build it
 .if ${OPSYS} != "Interix" && ${OPSYS} != "Darwin" && ${OS_VARIANT} != "SCOOSR5" && ${OPSYS} != "AIX"
 PLIST.rmt=             yes

Index: pkgsrc/archivers/gtar-base/PLIST
diff -u pkgsrc/archivers/gtar-base/PLIST:1.19 pkgsrc/archivers/gtar-base/PLIST:1.20
--- pkgsrc/archivers/gtar-base/PLIST:1.19       Mon Jan  1 22:29:16 2018
+++ pkgsrc/archivers/gtar-base/PLIST    Sun Aug  6 07:23:07 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2018/01/01 22:29:16 rillig Exp $
+@comment $NetBSD: PLIST,v 1.20 2023/08/06 07:23:07 adam Exp $
 bin/gtar
 gnu/bin/tar
 ${PLIST.rmt}gnu/libexec/rmt
@@ -24,6 +24,7 @@ share/locale/hu/LC_MESSAGES/tar.mo
 share/locale/id/LC_MESSAGES/tar.mo
 share/locale/it/LC_MESSAGES/tar.mo
 share/locale/ja/LC_MESSAGES/tar.mo
+share/locale/ka/LC_MESSAGES/tar.mo
 share/locale/ko/LC_MESSAGES/tar.mo
 share/locale/ky/LC_MESSAGES/tar.mo
 share/locale/ms/LC_MESSAGES/tar.mo

Index: pkgsrc/archivers/gtar-base/distinfo
diff -u pkgsrc/archivers/gtar-base/distinfo:1.49 pkgsrc/archivers/gtar-base/distinfo:1.50
--- pkgsrc/archivers/gtar-base/distinfo:1.49    Sun Mar 26 09:18:48 2023
+++ pkgsrc/archivers/gtar-base/distinfo Sun Aug  6 07:23:07 2023
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.49 2023/03/26 09:18:48 spz Exp $
+$NetBSD: distinfo,v 1.50 2023/08/06 07:23:07 adam Exp $
 
-BLAKE2s (tar-1.34.tar.bz2) = 515de781af9339884ea983aa2a2b77a88cd4dd69b70f138847b5a9ed6f8e7f49
-SHA512 (tar-1.34.tar.bz2) = 31865930401b1d9497421fa79cfb41a1a47f3bf59fcdde86b28ed4f53d7a3ceaf88d57c1dba0332d3cd76e82a3aeb31b1e4e3af54fc0d0c0ad17c9f239e8d45d
-Size (tar-1.34.tar.bz2) = 3017795 bytes
-SHA1 (patch-CVE-2022-48303) = 859c17e68a9cf521ff9f04ad47d1af677d43e521
+BLAKE2s (tar-1.35.tar.xz) = b3b9b23cb8cf464667d73c5c3c29ab1b7f466d42f55c7a535d78705376941b18
+SHA512 (tar-1.35.tar.xz) = 8b84ed661e6c878fa33eb5c1808d20351e6f40551ac63f96014fb0d0b9c72d5d94d8865d39e36bcb184fd250f84778a3b271bbd8bd2ceb69eece0c3568577510
+Size (tar-1.35.tar.xz) = 2317208 bytes
 SHA1 (patch-Makefile.in) = 78cc142b9370317c52215c106ea1e7217e71f9b5
 SHA1 (patch-gnu_readlinkat.c) = 49127fa6533ecf67b2da704da321da0d46b0ddeb
 SHA1 (patch-lib_xattr-at.c) = 03a62c67a8c107a8eb929e87d19560c1a1270766
+SHA1 (patch-src_Makefile.in) = 9a91d592b73aa4aa1aad4e5764e41ebcdbb7f747
 SHA1 (patch-src_system.c) = cd9f7358fa93ed0ba4a1b3fffdae5d7f84ef4791

Added files:

Index: pkgsrc/archivers/gtar-base/patches/patch-src_Makefile.in
diff -u /dev/null pkgsrc/archivers/gtar-base/patches/patch-src_Makefile.in:1.5
--- /dev/null   Sun Aug  6 07:23:08 2023
+++ pkgsrc/archivers/gtar-base/patches/patch-src_Makefile.in    Sun Aug  6 07:23:07 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Makefile.in,v 1.5 2023/08/06 07:23:07 adam Exp $
+
+Link against libiconv and libintl.
+
+--- src/Makefile.in.orig       2023-08-05 20:08:33.000000000 +0000
++++ src/Makefile.in
+@@ -1790,7 +1790,7 @@ tar_SOURCES = \
+ 
+ AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu -I$(top_srcdir)/lib -I../lib
+ AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
+-tar_LDADD = $(LIBS) ../lib/libtar.a ../gnu/libgnu.a\
++tar_LDADD = $(LIBS) $(LIBICONV) $(LIBINTL) ../lib/libtar.a ../gnu/libgnu.a\
+  $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)\
+  $(LIB_GETRANDOM) $(LIB_HARD_LOCALE) $(FILE_HAS_ACL_LIB) $(LIB_MBRTOWC)\
+  $(LIB_SELINUX) $(LIB_SETLOCALE_NULL)



Home | Main Index | Thread Index | Old Index