pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/mksandbox Update to mksandbox-1.4. Changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f915479572c
branches:  trunk
changeset: 649950:0f915479572c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Apr 14 08:55:07 2015 +0000

description:
Update to mksandbox-1.4.  Changes:

 - Only copy $kernel if it exists, fixes warning on OSX 10.10 which moves
   the kernel location to a directory we already mount, noted by J. Lewis
   Muir on pkgsrc-users.

 - Add NO_CHECKSUM=yes to appease pkglint.

diffstat:

 pkgtools/mksandbox/Makefile        |  5 +++--
 pkgtools/mksandbox/files/mksandbox |  4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 5a8a0fe6650b -r 0f915479572c pkgtools/mksandbox/Makefile
--- a/pkgtools/mksandbox/Makefile       Tue Apr 14 08:14:01 2015 +0000
+++ b/pkgtools/mksandbox/Makefile       Tue Apr 14 08:55:07 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2014/03/03 03:30:53 obache Exp $
+# $NetBSD: Makefile,v 1.9 2015/04/14 08:55:07 jperkin Exp $
 
-PKGNAME=       mksandbox-1.3
+PKGNAME=       mksandbox-1.4
 CATEGORIES=    pkgtools
 
 MAINTAINER=    agc%NetBSD.org@localhost
@@ -10,6 +10,7 @@
 
 WRKSRC=                ${WRKDIR}
 NO_BUILD=      yes
+NO_CHECKSUM=   yes
 USE_LANGUAGES= # none
 INSTALLATION_DIRS=     sbin ${PKGMANDIR}/man8
 
diff -r 5a8a0fe6650b -r 0f915479572c pkgtools/mksandbox/files/mksandbox
--- a/pkgtools/mksandbox/files/mksandbox        Tue Apr 14 08:14:01 2015 +0000
+++ b/pkgtools/mksandbox/files/mksandbox        Tue Apr 14 08:55:07 2015 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: mksandbox,v 1.6 2013/07/24 22:16:26 jperkin Exp $
+# $NetBSD: mksandbox,v 1.7 2015/04/14 08:55:07 jperkin Exp $
 
 # Copyright (c) 2002,2012 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -247,7 +247,7 @@
 fses="\\
 EOS
 
-if [ ! -z "$kernel" ]; then
+if [ -n "$kernel" -a -f "$kernel" ]; then
        echo "Copying the kernel"
        $cpprog $kernel $sandbox
 fi



Home | Main Index | Thread Index | Old Index