summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-08-10 14:36:35 +0000
committer Eric Hameleers <alien@slackware.com>2023-08-10 14:36:35 +0000
commita0efe5bffd4a1d5c2077ddab2febbb0a562eb61e (patch)
treef268f1701b3ec7e307c2c7c87fb2d6639bd743b3
parent99ef6db3dec8d553d9bbfe00e7d536f3828932d8 (diff)
downloadasb-a0efe5bffd4a1d5c2077ddab2febbb0a562eb61e.tar.gz
asb-a0efe5bffd4a1d5c2077ddab2febbb0a562eb61e.tar.xz
bubblewrap: update to 0.8.0
Install the bwrap binary setuid root to address runtime errors
-rwxr-xr-xbubblewrap/build/bubblewrap.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/bubblewrap/build/bubblewrap.SlackBuild b/bubblewrap/build/bubblewrap.SlackBuild
index c0f343da..49a50149 100755
--- a/bubblewrap/build/bubblewrap.SlackBuild
+++ b/bubblewrap/build/bubblewrap.SlackBuild
@@ -34,7 +34,9 @@
# 0.6.2-1: 15/oct/2022 by Eric Hameleers <alien@slackware.com>
# * Initial build.
# 0.7.0-1: 18/feb/2023 by Eric Hameleers <alien@slackware.com>
-# * Initial build.
+# * Update.
+# 0.8.0-1: 10/aug/2023 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh bubblewrap.SlackBuild' to build a Slackware package.
# The package (.t?z) and .txt file as well as build logs are created in /tmp .
@@ -43,7 +45,7 @@
# -----------------------------------------------------------------------------
PRGNAM=bubblewrap
-VERSION=${VERSION:-0.7.0}
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(nproc) "}
TAG=${TAG:-alien}
@@ -155,6 +157,7 @@ chown -R root:root .
chmod -R u+w,go+r-w,a+rX-st .
echo Building ...
+# On Slackware we need the 'bwrap' binary setuid-root:
LDFLAGS="$SLKLDFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
@@ -165,6 +168,8 @@ CFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--localstatedir=/var \
--sysconfdir=/etc \
+ --with-priv-mode=setuid \
+ --enable-require-userns=yes \
--program-prefix= \
--program-suffix= \
--build=$TARGET \