Sat, 03 Oct 2009 16:18:52 +0200
Update version, adjust corresponding buildconf, and correct logic.
1: Make minor corrections and improvements to scripts patch logic.
2: Upgrade to most recent stable release version 3.0.2.
3: Force selection of a single db backend, as multiple ones never
were supported (changing 'with_db<end>' identifiers accordingly.)
4: Unfortunately add gawk requirement although only partly needed.
5: Add openssl::with_threads requirement to solve strange and hard
to debug problems on Solaris leading to connection failures:
'host-dir JobId 0: Error: openssl.c:86 Connect failure: ERR=error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number'
and
'host-dir JobId 40: Fatal error: TLS negotiation failed with FD at "back1.host.com:9102"'
michael@132 | 1 | #!@l_prefix@/bin/openpkg rc |
michael@132 | 2 | ## |
michael@132 | 3 | ## rc.webalizer -- Run-Commands |
michael@132 | 4 | ## |
michael@132 | 5 | |
michael@132 | 6 | %config |
michael@132 | 7 | webalizer_enable="$openpkg_rc_def" |
michael@132 | 8 | |
michael@132 | 9 | %common |
michael@132 | 10 | webalizer_etcdir="@l_prefix@/etc/webalizer" |
michael@132 | 11 | webalizer_webdir="@l_prefix@/web/webalizer" |
michael@132 | 12 | |
michael@139 | 13 | %daily -u @l_musr@ |
michael@132 | 14 | rcService webalizer enable yes || exit 0 |
michael@132 | 15 | |
michael@132 | 16 | for cfgfile in $webalizer_etcdir/*.conf; do |
michael@132 | 17 | [ ".`grep '^disable' $cfgfile`" != . ] && continue |
michael@132 | 18 | @l_prefix@/bin/webalizer \ |
michael@141 | 19 | -Q -c $cfgfile || exit $? |
michael@132 | 20 | done |
michael@132 | 21 |