pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap Arch Linux does not provide pax anymore



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c52f61a29bd3
branches:  trunk
changeset: 324794:c52f61a29bd3
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Mon Oct 29 15:16:32 2018 +0000

description:
Arch Linux does not provide pax anymore

https://lists.archlinux.org/pipermail/arch-general/2017-April/043604.html

diffstat:

 bootstrap/bootstrap |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 7042dc721553 -r c52f61a29bd3 bootstrap/bootstrap
--- a/bootstrap/bootstrap       Mon Oct 29 15:00:11 2018 +0000
+++ b/bootstrap/bootstrap       Mon Oct 29 15:16:32 2018 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.253 2018/10/28 18:41:41 sevan Exp $
+# $NetBSD: bootstrap,v 1.254 2018/10/29 15:16:32 triaxx Exp $
 #
 # Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -718,6 +718,10 @@
                need_awk=no
                need_sed=no
        fi
+  # Arch does not provide pax anymore
+  if [ -f /etc/arch-release ]; then
+    need_pax=yes
+  fi
        set_opsys=no
        machine_arch=`uname -m`
        # Override machine_arch where required.
@@ -1353,6 +1357,9 @@
 case "$need_extras" in
 yes)   build_package "pkgtools/bootstrap-extras";;
 esac
+case "$need_pax" in
+yes)    build_package "archivers/pax"
+esac
 build_package "pkgtools/pkg_install"
 
 etc_mk_conf="$sysconfdir/mk.conf"



Home | Main Index | Thread Index | Old Index