squirrelmail/rc.squirrelmail

Sat, 03 Oct 2009 16:18:52 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Oct 2009 16:18:52 +0200
changeset 220
a6cd892638c1
permissions
-rw-r--r--

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"'

     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

mercurial