pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/mksandbox mksandbox: Update to version 1.9.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02b279242b54
branches:  trunk
changeset: 443149:02b279242b54
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Dec 07 12:35:52 2020 +0000

description:
mksandbox: Update to version 1.9.

On Linux create an additional read/write bind mount for /dev/shm.  It should be
a tmpfs mount writeable by all users, whereas the default devtmpfs permissions
for the directory are 0755.

Fixes builds of newer python releases as a non-root user.

diffstat:

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

diffs (32 lines):

diff -r 0b3e340c855e -r 02b279242b54 pkgtools/mksandbox/Makefile
--- a/pkgtools/mksandbox/Makefile       Mon Dec 07 12:35:05 2020 +0000
+++ b/pkgtools/mksandbox/Makefile       Mon Dec 07 12:35:52 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2020/01/18 23:33:26 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2020/12/07 12:35:52 jperkin Exp $
 
-PKGNAME=       mksandbox-1.8
+PKGNAME=       mksandbox-1.9
 CATEGORIES=    pkgtools
 
 MAINTAINER=    agc%NetBSD.org@localhost
diff -r 0b3e340c855e -r 02b279242b54 pkgtools/mksandbox/files/mksandbox
--- a/pkgtools/mksandbox/files/mksandbox        Mon Dec 07 12:35:05 2020 +0000
+++ b/pkgtools/mksandbox/files/mksandbox        Mon Dec 07 12:35:52 2020 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: mksandbox,v 1.15 2019/01/25 20:08:21 agc Exp $
+# $NetBSD: mksandbox,v 1.16 2020/12/07 12:35:52 jperkin Exp $
 
 # Copyright (c) 2002,2012 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -136,7 +136,7 @@
        paxprog=""
        sedprog=/bin/sed
        sandboxMountDirs="$sandboxMountDirs /lib64 /usr/lib64 /usr/kerberos"
-       sandboxWriteDirs="$sandboxWriteDirs /proc"
+       sandboxWriteDirs="$sandboxWriteDirs /dev/shm /proc"
        ;;
 NetBSD)
        bmakeprog=make



Home | Main Index | Thread Index | Old Index