diff --git a/srcpkgs/snoopy/INSTALL b/srcpkgs/snoopy/INSTALL new file mode 100644 index 00000000000..dfd44678c2a --- /dev/null +++ b/srcpkgs/snoopy/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + sbin/snoopy-enable + ;; +esac diff --git a/srcpkgs/snoopy/REMOVE b/srcpkgs/snoopy/REMOVE new file mode 100644 index 00000000000..2dfff80afeb --- /dev/null +++ b/srcpkgs/snoopy/REMOVE @@ -0,0 +1,5 @@ +case "${ACTION}" in +pre) + sbin/snoopy-disable + ;; +esac diff --git a/srcpkgs/snoopy/template b/srcpkgs/snoopy/template new file mode 100644 index 00000000000..c12356bf581 --- /dev/null +++ b/srcpkgs/snoopy/template @@ -0,0 +1,21 @@ +# Template file for 'snoopy' +pkgname=snoopy +version=2.1.0 +revision=1 +wrksrc="${pkgname}-${pkgname}-${version}" +build_style=gnu-configure +conf_files="/etc/snoopy.ini" +hostmakedepends="automake libtool" +short_desc="Log every executed command to syslog" +maintainer="Juan RP " +license="GPL-2" +homepage="https://github.com/a2o/snoopy" +distfiles="https://github.com/a2o/snoopy/archive/snoopy-${version}.tar.gz" +checksum=6bb425a214ca593188352da27706a90b8c95a401dccb2890786c0001076aff40 + +pre_configure() { + autoreconf -fi +} +post_install() { + vconf etc/snoopy.ini +}