squirrelmail/rc.squirrelmail

Wed, 01 Aug 2012 23:49:03 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:49:03 +0200
changeset 436
f26e9329b115
permissions
-rw-r--r--

Hack rpmconstant header file to allow targets to build, because...
Solaris studio cc(1) fails to build targets in rpmconstant with errors:
'undefined symbol first referenced in file constant.o' regarding symbols:
rpmdsInit, rpmdsNext, rpmdsTagN, rpmHeaderFormats, hdrVec, rpmTagTable,
rpmdsSearch, rpmdsResult, rpmTags, rpmdsIx, rpmdsDNEVR, rpmdsSetResult.
It seems that these symbols are not used by RPM in any way, and thus
the build configuration can succeed without including the nasty headers.

     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