New package: extrace-0.1

This commit is contained in:
Christian Neukirchen 2015-07-24 15:39:49 +02:00
parent 43896c7dc4
commit 7ab5175014
2 changed files with 26 additions and 0 deletions

6
srcpkgs/extrace/INSTALL Normal file
View File

@ -0,0 +1,6 @@
case "${ACTION}" in
post)
setcap CAP_NET_ADMIN+ep usr/bin/extrace
setcap CAP_NET_ADMIN+ep usr/bin/pwait
;;
esac

20
srcpkgs/extrace/template Normal file
View File

@ -0,0 +1,20 @@
# Template file for 'extrace'
pkgname=extrace
version=0.1
revision=1
build_style=gnu-makefile
build_pie=yes
short_desc="Trace exec(2) calls system-wide"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2,BSD"
homepage="https://github.com/chneukirchen/extrace"
distfiles="https://github.com/chneukirchen/extrace/archive/v${version}.tar.gz"
checksum=35528ffc57ceb144c3460ec2765324cfb83a53e6629846cbf391a89e5058d8a2
do_install() {
vbin extrace
vbin pwait
sed '/^$/q' pwait.c >LICENSE
vlicense LICENSE
}