#Packager: George Vlahavas pkgname=bubblewrap pkgver=0.6.2 pkgrel=1gv source=("https://github.com/containers/bubblewrap/archive/refs/tags/v$pkgver.tar.gz") docs=("readme.md" "security.md" "code-of-conduct.md" "install" "copying" "changelog" "authors" "news" "todo") url=https://github.com/containers/bubblewrap options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "bubblewrap (Unprivileged sandboxing tool)" "There is an effort in the Linux kernel called user namespaces which" "attempts to allow unprivileged users to use container features. While" "significant progress has been made, there are still concerns about it," "and it is not available to unprivileged users in several production" "distributions. Bubblewrap could be viewed as setuid implementation of" "a subset of user namespaces. Emphasis on subset - specifically" "relevant to the above CVE, bubblewrap does not allow control over" "iptables." ) build() { cd $startdir/src/$pkgname-$pkgver NOCONFIGURE=1 ./autogen.sh ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --with-priv-mode=setuid \ --with-bash-completion-dir=/etc/bash_completion.d \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }