Wed, 01 Aug 2012 23:49:03 +0200
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.
michael@157 | 1 | #!@l_prefix@/bin/openpkg rc |
michael@157 | 2 | ## |
michael@157 | 3 | ## rc.squirrelmail -- Run-Commands |
michael@157 | 4 | ## |
michael@157 | 5 | |
michael@157 | 6 | %config |
michael@157 | 7 | squirrelmail_enable="$openpkg_rc_def" |
michael@157 | 8 | squirrelmail_log_prolog="true" |
michael@157 | 9 | squirrelmail_log_epilog="true" |
michael@157 | 10 | squirrelmail_log_numfiles="10" |
michael@157 | 11 | squirrelmail_log_minsize="1M" |
michael@157 | 12 | squirrelmail_log_complevel="9" |
michael@157 | 13 | |
michael@157 | 14 | %daily -u @l_nusr@ |
michael@157 | 15 | rcService squirrelmail enable yes || exit 0 |
michael@157 | 16 | shtool rotate -f \ |
michael@157 | 17 | -n ${squirrelmail_log_numfiles} -s ${squirrelmail_log_minsize} -d \ |
michael@157 | 18 | -z ${squirrelmail_log_complevel} -m 644 -o @l_nusr@ -g @l_ngrp@ \ |
michael@157 | 19 | -P "${squirrelmail_log_prolog}" \ |
michael@157 | 20 | -E "${squirrelmail_log_epilog}" \ |
michael@157 | 21 | @l_prefix@/var/squirrelmail/log/access.log |
michael@157 | 22 |