3.6.1 tickles a linker bug in the a.out ld:
``ld: internal error: RRS relocs exceed allocation 343''
* Remove the patches.aout directory since it was forgotten during
upgrade 3.5.3->3.6.1 by <kuriyama@FreeBSD.ORG>
* Remove most of the crud from the main Makefile that was there
for the a.out build
I'm going to add a tag for the 3.5.3 (1999/04/06 really) port in
case someone must build ucd-snmp for a 2.2.x FreeBSD
Runs fine on stable, on SMP current I still get race
conditions very easily, so that tkined says "no Response"
on snmp queries, and in the meantime it fills your /var
partition with the /var/log/snmp.log file:
1998-04-06 22:35:16 UCD-SNMP version 3.3.1
Opening port(s): 161
system.sysORLastChange.0 -- OID Doesn't exist
system.sysORLastChange.0 -- OID Doesn't exist
system.sysORLastChange.0 -- OID Doesn't exist
system.sysORLastChange.0 -- OID Doesn't exist
system.sysORLastChange.0 -- OID Doesn't exist
system.sysORLastChange.0 -- OID Doesn't exist
system.sysORLastChange.0 -- OID Doesn't exist
system.sysORLastChange.0 -- OID Doesn't exist
klookup(3, 0xefbfbf60, 96): klread: Bad address
TCP_Count_Connections - inpcb: Bad address
klookup(3, 0xefbfbf60, 96): klread: Bad address
TCP_Count_Connections - inpcb: Bad address
klookup(3, 0xefbfbf60, 96): klread: Bad address
TCP_Count_Connections - inpcb: Bad address
klookup(3, 0xefbfbf60, 96): klread: Bad address
TCP_Count_Connections - inpcb: Bad address
and so on.
This might be -current and/or SMP related.
John Hay says it runs ok on his -current.
I'll committ it anyay¸ because it runs on -STABLE
and that counts.
BTW: added an @unexec in PLIST ...
Install SNMP headers into ${PREFIX}/include/snmp
Compile libsnmp.a with "-DPIC -fpic" to allow dynamic linking without RRS
Text Relocation errors.
PR: ports/3880
patches a bit (author incorporated a fair number of them, and made
even more cross-platfrm portability improvements). I'll deal with
any packaging changes tomorrow.