smlinux/base/bubblewrap/bubblewrap.SMBuild
SMLinux 2f32197590 -> Overhauled build files in base. Almost all variable names in all build files are now in lower case to
prevent accidents with the general build environment. More changes in the build system and other section
   build files to follow.
-> Fixed library path in base/libical build file to prevent creation of lib64 directory
-> Fixed code that searches for an SMBuild file inside a package installer when installing from a package
   using base/pkgtools's installpkg script
-> Added a missing brace in base/findutils build file
-> Upgraded base/ntfs-3g to 2021.8.22
-> Temporarily removed rm -f command used to discard man pages in base/openssl build file
-> Added if/else check in base/rust build file to only extract rust toolchain in the absence of
   rust installation on the system
-> Upgraded base/syssstat to 12.5.5
2022-02-13 13:46:58 +05:30

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
"