snmp/fsl.snmp

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.

michael@325 1 ##
michael@325 2 ## fsl.snmp -- OSSP fsl configuration
michael@325 3 ##
michael@325 4
michael@325 5 ident (snmpd|snmptrapd|net-snmp)/.+ q{
michael@325 6 prefix(
michael@325 7 prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
michael@325 8 )
michael@325 9 -> {
michael@325 10 debug: file(
michael@325 11 path="@l_prefix@/var/snmp/snmp.log",
michael@325 12 perm=0644
michael@325 13 )
michael@325 14 }
michael@325 15 };
michael@325 16

mercurial