Tue, 28 Aug 2012 18:35:40 +0200
Update version, modernize packaging, accommodate libevent version 2 opaque
evbuffer datatype, port Linux style flock(2) to SVR4, include correct
non BSD and non SVR4 headers in DNS and resolving logic, correctly
include a arc4random(3) implementation for platforms lacking it,
conditionally implement the nonstandard MIN(a,b) macro, and use
parallel make for faster SMP and multicore builds.
1 #!@l_prefix@/bin/openpkg rc
2 ##
3 ## rc.webalizer -- Run-Commands
4 ##
6 %config
7 webalizer_enable="$openpkg_rc_def"
9 %common
10 webalizer_etcdir="@l_prefix@/etc/webalizer"
11 webalizer_webdir="@l_prefix@/web/webalizer"
13 %daily -u @l_musr@
14 rcService webalizer enable yes || exit 0
16 for cfgfile in $webalizer_etcdir/*.conf; do
17 [ ".`grep '^disable' $cfgfile`" != . ] && continue
18 @l_prefix@/bin/webalizer \
19 -Q -c $cfgfile || exit $?
20 done