pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform mk/platform/NetBSD.mk: Default to bsdtar
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f94537cad57
branches: trunk
changeset: 424581:4f94537cad57
user: gdt <gdt%pkgsrc.org@localhost>
date: Thu Mar 12 17:01:39 2020 +0000
description:
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.
diffstat:
mk/platform/NetBSD.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r b7b7b13df435 -r 4f94537cad57 mk/platform/NetBSD.mk
--- a/mk/platform/NetBSD.mk Thu Mar 12 16:57:23 2020 +0000
+++ b/mk/platform/NetBSD.mk Thu Mar 12 17:01:39 2020 +0000
@@ -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 @@
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