diff --git a/srcpkgs/extrace/INSTALL b/srcpkgs/extrace/INSTALL new file mode 100644 index 00000000000..b4341772c9d --- /dev/null +++ b/srcpkgs/extrace/INSTALL @@ -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 diff --git a/srcpkgs/extrace/template b/srcpkgs/extrace/template new file mode 100644 index 00000000000..8fb731e6f2e --- /dev/null +++ b/srcpkgs/extrace/template @@ -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 " +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 +}