From 8b7e4d2ec4321e9e19c55ddc6393d2077264502c Mon Sep 17 00:00:00 2001 From: jperkin Date: Tue, 14 Apr 2015 08:55:07 +0000 Subject: 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. --- pkgtools/mksandbox/Makefile | 5 +++-- pkgtools/mksandbox/files/mksandbox | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'pkgtools/mksandbox') diff --git a/pkgtools/mksandbox/Makefile b/pkgtools/mksandbox/Makefile index 16828841ce9..fef9b944c3b 100644 --- a/pkgtools/mksandbox/Makefile +++ b/pkgtools/mksandbox/Makefile @@ -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 @@ -10,6 +10,7 @@ LICENSE= 2-clause-bsd WRKSRC= ${WRKDIR} NO_BUILD= yes +NO_CHECKSUM= yes USE_LANGUAGES= # none INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 diff --git a/pkgtools/mksandbox/files/mksandbox b/pkgtools/mksandbox/files/mksandbox index ae0270390e1..a6c50435227 100755 --- a/pkgtools/mksandbox/files/mksandbox +++ b/pkgtools/mksandbox/files/mksandbox @@ -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 # All rights reserved. @@ -247,7 +247,7 @@ r3() { fses="\\ EOS -if [ ! -z "$kernel" ]; then +if [ -n "$kernel" -a -f "$kernel" ]; then echo "Copying the kernel" $cpprog $kernel $sandbox fi -- cgit v1.2.3