2015-02-17 14:30:42 +00:00
|
|
|
# Template file for 'firejail'
|
|
|
|
pkgname=firejail
|
2015-03-11 20:09:09 +00:00
|
|
|
version=0.9.22
|
|
|
|
revision=1
|
2015-02-17 14:30:42 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
conf_files="
|
|
|
|
/etc/firejail/transmission-qt.profile
|
|
|
|
/etc/firejail/login.users
|
|
|
|
/etc/firejail/dropbox.profile
|
|
|
|
/etc/firejail/disable-secret.inc
|
|
|
|
/etc/firejail/chromium.profile
|
|
|
|
/etc/firejail/chromium-browser.profile
|
|
|
|
/etc/firejail/iceweasel.profile
|
|
|
|
/etc/firejail/firefox.profile
|
|
|
|
/etc/firejail/evince.profile
|
|
|
|
/etc/firejail/vlc.profile
|
|
|
|
/etc/firejail/opera.profile
|
|
|
|
/etc/firejail/transmission-gtk.profile
|
|
|
|
/etc/firejail/disable-mgmt.inc
|
|
|
|
/etc/firejail/midori.profile"
|
|
|
|
short_desc="SUID security sandbox program"
|
|
|
|
maintainer="Duncaen <mail@duncano.de>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://l3net.wordpress.com/projects/firejail/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2015-03-11 20:09:09 +00:00
|
|
|
checksum=68e2497347e037c2d6bece021e0b97ad42dda4247bca33afb594f859ee4abba5
|
2015-02-17 14:50:10 +00:00
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
2015-02-17 14:57:23 +00:00
|
|
|
arm*)
|
|
|
|
configure_args+=" --disable-seccomp"
|
|
|
|
;;
|
2015-02-17 14:50:10 +00:00
|
|
|
esac
|
2015-02-17 14:57:23 +00:00
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
# remove hardcoded strip(1)
|
2015-02-17 15:01:11 +00:00
|
|
|
sed -i '/strip .*/d' Makefile
|
2015-02-17 14:57:23 +00:00
|
|
|
}
|