37 lines
910 B
Text
Executable file
37 lines
910 B
Text
Executable file
APP=bubblewrap
|
|
VERSION=0.4.1
|
|
BUILD=1sml
|
|
HOMEPAGE='https://github.com/containers/bubblewrap'
|
|
DOWNLOAD=''
|
|
DESC="Unprivileged sandboxing tool to reduce attack surfaces"
|
|
REQUIRES="libcap"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $APP-$VERSION
|
|
|
|
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
|
|
cd $APP-$VERSION
|
|
fixbuilddirpermissions
|
|
|
|
patch -p1 < $SRCDIR/realpath-workaround.patch
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--with-priv-mode=setuid \
|
|
--disable-man
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
cp COPYING $PKGDOCS/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
SHA512SUMS="
|
|
0ff46dc0fda2d0cffbb36cc52ff43951b30cbd835a42cc56806acbbbd827796bfadbb1cfafc84d6b47a72c031ca44abe1c377acc0cc25fe3b33e854f5f687d35 bubblewrap-0.4.1.tar.xz
|
|
7e8395aa7801263056b0c072194240f0ae1ee1a3b0acd874baf112a7b7b5e53ac5f688ece9099067bfc1e28e52e81f107964a3288a615cc1eedb1af5f82bbd8e realpath-workaround.patch
|
|
"
|