diff options
author | jperkin <jperkin@pkgsrc.org> | 2020-12-07 12:35:52 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2020-12-07 12:35:52 +0000 |
commit | 4c73d8da2b840c3716f93534e7c6fa412b00c6eb (patch) | |
tree | 415598e032d67ff6fc5a8d8d986e2f5d3c0f60d9 | |
parent | 5f02a44424b23fbd0f09b8c42b23e09f0aa6ed71 (diff) | |
download | pkgsrc-4c73d8da2b840c3716f93534e7c6fa412b00c6eb.tar.gz |
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.
-rw-r--r-- | pkgtools/mksandbox/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/mksandbox/files/mksandbox | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/mksandbox/Makefile b/pkgtools/mksandbox/Makefile index 56b019d771b..c5ee0b40340 100644 --- a/pkgtools/mksandbox/Makefile +++ b/pkgtools/mksandbox/Makefile @@ -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 diff --git a/pkgtools/mksandbox/files/mksandbox b/pkgtools/mksandbox/files/mksandbox index 48b4e325a6e..1abe1668dc2 100755 --- a/pkgtools/mksandbox/files/mksandbox +++ b/pkgtools/mksandbox/files/mksandbox @@ -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> # All rights reserved. @@ -136,7 +136,7 @@ Linux) paxprog="" sedprog=/bin/sed sandboxMountDirs="$sandboxMountDirs /lib64 /usr/lib64 /usr/kerberos" - sandboxWriteDirs="$sandboxWriteDirs /proc" + sandboxWriteDirs="$sandboxWriteDirs /dev/shm /proc" ;; NetBSD) bmakeprog=make |