pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/mksandbox/files



Module Name:    pkgsrc
Committed By:   simonb
Date:           Thu Apr 12 02:08:47 UTC 2018

Modified Files:
        pkgsrc/pkgtools/mksandbox/files: mksandbox

Log Message:
Add a --without-xsrc option similar to the existing --without-src
option.  Allows for building X packages without needing xsrc in the
sandbox.

Approved by agc@.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/pkgtools/mksandbox/files/mksandbox

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

Modified files:

Index: pkgsrc/pkgtools/mksandbox/files/mksandbox
diff -u pkgsrc/pkgtools/mksandbox/files/mksandbox:1.10 pkgsrc/pkgtools/mksandbox/files/mksandbox:1.11
--- pkgsrc/pkgtools/mksandbox/files/mksandbox:1.10      Fri Oct 14 12:50:07 2016
+++ pkgsrc/pkgtools/mksandbox/files/mksandbox   Thu Apr 12 02:08:47 2018
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: mksandbox,v 1.10 2016/10/14 12:50:07 jperkin Exp $
+# $NetBSD: mksandbox,v 1.11 2018/04/12 02:08:47 simonb Exp $
 
 # Copyright (c) 2002,2012 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -52,8 +52,8 @@ usage()
 {
        echo "usage: mksandbox [--mounthost=host] [--rodirs=dir1,...] [--rwdirs=dir1,...]"
        echo "                 [--pkgsrc=dir] [--src=srcdir] [--xsrc=xsrcdir]"
-       echo "                 [--without-src] [--without-pkgsrc] [--without-x]"
-       echo "                 [--verbose] sandbox-dir"
+       echo "                 [--without-src] [--without-pkgsrc] [--without-xsrc]"
+       echo "                 [--without-x] [--verbose] sandbox-dir"
        exit 1
 }
 
@@ -181,6 +181,7 @@ while [ $# -gt 0 ]; do
        --rwdirs=*)             rwdirs=`echo $1 | $sedprog -e 's|^--rwdirs=||'` ;;
        --without-pkgsrc)       with_pkgsrc=no ;;
        --without-src)          need_src=no ;;
+       --without-xsrc)         need_xsrc=no ;;
        --without-x)            with_x=no ;;
        --verbose)              set -x ;;
        -*)                     usage ;;



Home | Main Index | Thread Index | Old Index