diff --git a/srcpkgs/incron/files/incron/log/run b/srcpkgs/incron/files/incron/log/run new file mode 100644 index 00000000000..481c04d6207 --- /dev/null +++ b/srcpkgs/incron/files/incron/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -p cron.notice diff --git a/srcpkgs/incron/files/incron/run b/srcpkgs/incron/files/incron/run new file mode 100644 index 00000000000..95fa0cfd9e3 --- /dev/null +++ b/srcpkgs/incron/files/incron/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec incrond -n diff --git a/srcpkgs/incron/template b/srcpkgs/incron/template new file mode 100644 index 00000000000..296a3af0974 --- /dev/null +++ b/srcpkgs/incron/template @@ -0,0 +1,24 @@ +# Template file for 'incron' +pkgname=incron +version=0.5.10 +revision=1 +build_style=gnu-makefile +make_dirs="/var/spool/incron 0755 root root + /etc/incron.d 0755 root root" +short_desc="A daemon that executes commands due to inotify events" +maintainer="allan " +license="GPL-2, LGPL-2.1" +homepage="http://inotify.aiken.cz" +distfiles="http://inotify.aiken.cz/download/incron/incron-${version}.tar.gz" +checksum=5d4abadb5f16c26e4f728a6433ad22f7655663b5812fbd4f94e852050f38e78a + +pre_build() { + sed -i '1,1i#include ' inotify-cxx.cpp icd-main.cpp + sed -i '1,1i#include ' icd-main.cpp inotify-cxx.cpp \ + usertable.cpp appargs.cpp + sed -i 's|strchr(s,|(char*)strchr(s,|' incroncfg.cpp +} + +post_install() { + vsv incron +}