summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2016-10-09 23:23:22 +0300
committerAdrian Perez de Castro2016-10-09 23:23:22 +0300
commit21c542a05aa20b480995aeb29598a509c2dcc6c3 (patch)
tree6bfd679e54ace841b9b0dcda0499ae53b2c39efa
parent9b610f3aec349e599588a35b383d6a48a2ed6d8d (diff)
downloadaur-21c542a05aa20b480995aeb29598a509c2dcc6c3.tar.gz
Fix choice of --with-priv-mode= build setting
As indicated by @yawning: * USER_NS should use `--with-priv-mode=none`. * Non-USER_NS should use `--with-priv-mode=caps`.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 63f5824d65e..d393592beba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Sun May 8 09:52:50 UTC 2016
+# Sun Oct 9 20:23:10 UTC 2016
pkgbase = bubblewrap-git
pkgdesc = Unprivileged sandboxing tool
- pkgver = r139.bf6e356
+ pkgver = 0.1.2.r1.g169db04
pkgrel = 1
url = https://github.com/projectatomic/bubblewrap
- install = bubblewrap.install
arch = x86_64
arch = i686
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index a82e1bbd1f1..709191f27a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@ pkgname='bubblewrap-git'
pkgdesc='Unprivileged sandboxing tool'
url='https://github.com/projectatomic/bubblewrap'
license=('LGPL')
-pkgver=0.1.2.r0.g089327d
+pkgver=0.1.2.r1.g169db04
pkgrel=1
arch=('x86_64' 'i686')
makedepends=('autoconf' 'automake' 'libxslt')
@@ -11,13 +11,13 @@ provides=('bubblewrap')
source=("${pkgname}::git+${url}")
sha512sums=('SKIP')
-_privmode='setuid'
+_privmode='caps'
_set_privmode () {
if [[ -r /proc/config.gz ]] ; then
eval "$(zgrep '^CONFIG_USER_NS=' /proc/config.gz)"
if [[ -n ${CONFIG_USER_NS} && ${CONFIG_USER_NS} != n ]] ; then
install='bubblewrap.install'
- _privmode='caps'
+ _privmode='none'
fi
fi
}