Thu, 09 Aug 2012 00:41:14 +0200
Introduce a lot of changes to correct source and build logic including:
Correct URLs, reorder existing patch hunks, update vendor version and
patch accordingly, integrate optional SQLite storage, modernize package
(remove boilerplate RPM logic), correct preprocessor definitions as
NIS+was removed from Solaris 11, use parallel make, improve configuration
spacing and whitespace, and remove now uneeded postfix-script(1) and
post-install(1) relocation.
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