webalizer/rc.webalizer

Sun, 03 Apr 2011 13:34:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 03 Apr 2011 13:34:55 +0200
changeset 337
f71e028eb3e2
parent 139
d3e0f51e3821
permissions
-rw-r--r--

Correct and improve several packaging aspects including...
Correct datadir path for python modules, correct jar(1) path for
building libgcj classes, strip libexecdir path of version numbers,
improve name of oblbld build path, clean whitespace from as(1) and
ld(1) GNU detection, remove seemingly discarded '--with-local-prefix'
configure argument, and correct hardcoded lto plugin libtool archive
dependency information.

Most importantly, correct IA32 architecture detection logic in
config.gcc to correctly emit SSE2 instructions conditionally, leading
to the removal of all '-march' bootstrap options and replacement with
unconditional (for IA32/AMD64) '-mtune=native' options. Comments and
buildtime warnings are corrected appropriately. In theory these changes
cause a more portable, orthoganal, and optimal bootstrap to be built.

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