pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/platform



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu Mar 12 17:01:39 UTC 2020

Modified Files:
        pkgsrc/mk/platform: NetBSD.mk

Log Message:
mk/platform/NetBSD.mk: Default to bsdtar

Native tar on NetBSD <=8 (and later, if MKBSDTAR is no) does not
handle archive formats increasingly being seen in pkgsrc.  bsdtar
("libarchive tar") does, and is natively provided on NetBSD >=9.

pkgsrc already has a mechanism to use /bin/tar as the bsdtar tool when
it is bsdtar, so this change should not cause anything different on
NetBSD >= 9.   On <=8, it will depend on archivers/bsdtar, which can
be built without using an extract tool, and which will then be broadly
usable.

As broadly discussed over multiple days on tech-pkg.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/mk/platform/NetBSD.mk

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

Modified files:

Index: pkgsrc/mk/platform/NetBSD.mk
diff -u pkgsrc/mk/platform/NetBSD.mk:1.58 pkgsrc/mk/platform/NetBSD.mk:1.59
--- pkgsrc/mk/platform/NetBSD.mk:1.58   Wed Jan  9 13:19:03 2019
+++ pkgsrc/mk/platform/NetBSD.mk        Thu Mar 12 17:01:39 2020
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.58 2019/01/09 13:19:03 wiz Exp $
+# $NetBSD: NetBSD.mk,v 1.59 2020/03/12 17:01:39 gdt Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -13,6 +13,9 @@ PS?=          /bin/ps
 SU?=           /usr/bin/su
 TYPE?=         type                            # Shell builtin
 
+# pax-as-tar, found on <=8, and optionally later, fails on many archives.
+EXTRACT_USING?=        bsdtar
+
 USERADD?=      /usr/sbin/useradd
 GROUPADD?=     /usr/sbin/groupadd
 



Home | Main Index | Thread Index | Old Index