webalizer/rc.webalizer

Thu, 04 Oct 2012 20:30:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:30:05 +0200
changeset 715
c10fb90893b9
parent 139
d3e0f51e3821
permissions
-rw-r--r--

Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.

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

mercurial