New package: sydbox-1.0.2

This commit is contained in:
Andrea Brancaleoni 2015-09-19 12:38:59 +02:00
parent b5d76ffdcf
commit 71fb725013
4 changed files with 48 additions and 0 deletions

View file

@ -2167,3 +2167,4 @@ libswmhack.so.0.0 spectrwm-2.7.2_1
libchardet.so.1 libchardet-1.0.4_1
libcollectdclient.so.1 libcollectdclient-5.5.0_1
libpinktrace_0.9.so.9 pinktrace-0.9.1_1
libsyd_1.0.so.0 sydbox-1.0.2_1

1
srcpkgs/sydbox-devel Symbolic link
View file

@ -0,0 +1 @@
sydbox

View file

@ -0,0 +1,11 @@
--- 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*)

35
srcpkgs/sydbox/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'pinktrace'
pkgname=sydbox
version=1.0.2
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"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
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
build_pie=yes
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYRIGHT
}
sydbox-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}