Fri, 13 Apr 2012 18:48:23 +0200
Correct various structure and architecture problems in code including:
use functions from ISO C stdio requires cstdio header,
include sockio header only in platforms where it's present,
touch random number seeder logic on X86-64 platforms as well as IA-32,
and hopefully use all 64 bits of register as it would seem that more
like 'asm("rdtsc" : "=a" (lowtick), "=d" (hitick));' is needed instead.
1 #!@l_prefix@/bin/openpkg rc
2 ##
3 ## rc.squirrelmail -- Run-Commands
4 ##
6 %config
7 squirrelmail_enable="$openpkg_rc_def"
8 squirrelmail_log_prolog="true"
9 squirrelmail_log_epilog="true"
10 squirrelmail_log_numfiles="10"
11 squirrelmail_log_minsize="1M"
12 squirrelmail_log_complevel="9"
14 %daily -u @l_nusr@
15 rcService squirrelmail enable yes || exit 0
16 shtool rotate -f \
17 -n ${squirrelmail_log_numfiles} -s ${squirrelmail_log_minsize} -d \
18 -z ${squirrelmail_log_complevel} -m 644 -o @l_nusr@ -g @l_ngrp@ \
19 -P "${squirrelmail_log_prolog}" \
20 -E "${squirrelmail_log_epilog}" \
21 @l_prefix@/var/squirrelmail/log/access.log