diff --git a/srcpkgs/sydbox/patches/kernel.patch b/srcpkgs/sydbox/patches/kernel.patch deleted file mode 100644 index 36a25afa455..00000000000 --- a/srcpkgs/sydbox/patches/kernel.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.ac.old 2015-09-19 11:59:18.683048677 +0200 -+++ configure.ac 2015-09-19 12:00:18.407968543 +0200 -@@ -109,7 +109,7 @@ - AC_MSG_CHECKING([for supported kernel]) - kernel_version=`uname -r | cut -d'-' -f1` - case "$kernel_version" in -- 3.*|2.6*) -+ 4.*|3.*|2.6*) - AC_MSG_RESULT([$kernel_version]) - ;; - 2.5*) diff --git a/srcpkgs/sydbox/template b/srcpkgs/sydbox/template index f8cfabfed4a..d0bc2bd2ba0 100644 --- a/srcpkgs/sydbox/template +++ b/srcpkgs/sydbox/template @@ -1,10 +1,9 @@ # Template file for 'pinktrace' pkgname=sydbox -version=1.0.2 +version=1.0.3 revision=1 wrksrc="$pkgname-1-$version" build_style=gnu-configure -configure_args="--enable-seccomp" hostmakedepends="automake pkg-config libtool pinktrace-devel" makedepends="pinktrace-devel" short_desc="A ptrace() sandbox utility" @@ -12,8 +11,13 @@ maintainer="Andrea Brancaleoni " license="MIT" homepage="http://dev.exherbo.org/~alip/sydbox/sydbox.html" distfiles="http://git.exherbo.org/$pkgname-1.git/snapshot/$pkgname-1-$version.tar.gz" -checksum=904105e086455bd665b72aa0f131209b9075143ab687dbe461a93bd7436f7b19 +checksum=0b12475fff909fc55840dc074013b1e68b5cd0713af8666744f3a6cda0ad4942 +case "$XBPS_TARGET_MACHINE" in + # no seccomp for arm + arm*) ;; + *) configure_args+=" --enable-seccomp" ;; +esac pre_configure() { ./autogen.sh diff --git a/srcpkgs/sydbox/update b/srcpkgs/sydbox/update new file mode 100644 index 00000000000..ee06388661d --- /dev/null +++ b/srcpkgs/sydbox/update @@ -0,0 +1,2 @@ +site="http://git.exherbo.org/sydbox-1.git/refs/" +pkgname="sydbox-1"