Commit Graph

85 Commits

Author SHA1 Message Date
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
40f5f67190 cope with sysctl.h changes 2012-12-18 21:38:12 +00:00
sthen
7b2ac5e4a1 disable notification-log-mib for now; causes an 8KB/trap leak in snmptrapd 2012-12-11 15:30:56 +00:00
sthen
c7f5986d4b update to Net-SNMP 5.7.2; lots of fixes and improvements
- many of our local patches are now committed upstream
2012-10-18 14:01:45 +00:00
sthen
9f9069554b sync wantlib 2012-08-23 15:50:05 +00:00
sthen
eb99f54925 Rename snmpd(8) and snmpd.conf(5) manpages to have a netsnmp- prefix,
to avoid conflicting with manpages for base snmpd. Suggested by blambert@
2012-05-11 13:14:43 +00:00
jasper
64bd2d9a22 Security fix for Security fix for CVE-2012-2141 net-snmp: Array index error,
leading to out-of heap-based buffer read (snmpd crash)

ok sthen@ (MAINTAINER)
2012-05-03 20:06:51 +00:00
sthen
276bf947ee Remove net-snmp workaround now that OPENBSD-PF-MIB is installed in the OS. 2012-04-11 16:31:14 +00:00
sthen
80d1f3325a Install OPENBSD-PF-MIB.txt in share/snmp/mibs to work around a bug with
system mibs reported by krw@ and dhill@ (this should be fixed in base soon
when PF-MIB support is added to snmpd).
2012-02-21 22:10:20 +00:00
sthen
310dd5ec36 various fixes to Net-SNMP, mostly from upstream repo, one chunk suggested
by Joel Knight to avoid a segfault
2011-11-28 22:40:25 +00:00
sthen
1cef5eeefa update net-snmp to 5.7.1 2011-11-18 12:39:06 +00:00
sthen
0c5b2a7fc7 bump, if.h 2011-11-16 00:11:35 +00:00
espie
d0fa01c846 normalize pkgpath 2011-09-16 11:13:37 +00:00
sthen
0b1e9c8e87 - remove an unnecessary hackish #define now we have 5.x in version strings
- better fix for the mib parser error-message spam
2011-07-19 21:32:38 +00:00
sthen
925f4f6525 better DESCRs 2011-07-08 11:53:28 +00:00
sthen
d757d8b184 zap pointless patch fragment 2011-07-07 21:51:22 +00:00
sthen
41728dbfa1 update to Net-SNMP 5.7 and clean up the patches a lot.
- rc scripts added (names suggested by Nigel Taylor, I was having
a hard time coming up with something nice that avoid a conflict with
base snmpd now the rc.d namespace is shared).
2011-07-07 20:02:02 +00:00
sthen
f4414ad075 update net-snmp to 5.6.1.1 2011-07-06 22:02:25 +00:00
sthen
7d7c74743c - convert kinfo_proc2 -> kinfo_procs
- don't use "#if defined(openbsd3) || defined(openbsd4)" all over the place,
this is definitely not web scale

- zap some pointless ifdefs
2011-07-06 21:32:57 +00:00
sthen
c667e4d069 remove some patch insanity 2011-07-06 13:06:10 +00:00
jasper
4fee5ffce0 Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.

ok aja@
2011-05-11 12:03:19 +00:00
sthen
f014fa3c88 - remove a patch which is a noop
- remove a CONFIGURE_ARGS which is a noop
- bump REVISION; gratuitous really, but there's no point in not doing so
at this time.
2011-03-16 22:45:20 +00:00
sthen
3698f9e335 update to 5.6.1 2011-01-15 09:38:31 +00:00
espie
0397d65db0 new depends 2010-11-19 22:31:32 +00:00
sthen
f3d1ed16b6 feed the right size to kvm_getproc2 2010-10-26 00:42:21 +00:00
sthen
6777cb023e update Net-SNMP to 5.6 and switch to kvm_getproc2, thanks landry for testing
"commit it!" landry@
2010-10-25 22:59:12 +00:00
espie
47ff75aa46 USE_GROFF=Yes 2010-10-18 18:36:45 +00:00
sthen
420b23fcc5 update Net-SNMP to 5.4.3 and pick up OpenBSD mibs from /usr/share/snmp/mibs 2010-09-21 10:43:04 +00:00
sthen
d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00
jasper
e01c06b201 - remove now unneeded workaround for mips64 2010-05-22 09:50:06 +00:00
sthen
6d90a631bc Build with --enable-mfd-rewrites to allow 64-bit counters to work.
Requested/tested by Johan Karlsson.
2010-05-19 15:50:00 +00:00
jasper
228964a8d2 - extend archtecture tests for mips64el
ok naddy@ phessler@
2010-02-09 12:23:59 +00:00
jasper
f8e2b01df9 unbreak net-snmp on mips64, allowing another 30 or so ports to build 2009-11-22 15:36:33 +00:00
giovanni
8ff2e5415d Add a -tkmib package
ok ajacoutot@ with a similar diff
2009-08-17 14:58:45 +00:00
rui
0cda6d1f14 Drop maintainership and bump. I don't actively use net-snmp anymore. 2009-08-16 13:35:25 +00:00
jasper
dedfb1acca - roll in a security fix for SA33884, which could disclose sensitive information
* patch taken from upstream svn

"<sthen_p> makes sense if you can get it in before lock" on rui's diff
ok rui@ (MAINTAINER) who came up with the same diff
2009-02-13 09:39:38 +00:00
sthen
c32f7d80bb teach net-snmp how to skip routing messages with the wrong version;
fixes route display in IP-MIB. from joel@.

"if it works for you go ahead" rui@ (maintainer).
2008-12-22 10:43:59 +00:00
bernd
9b16d3bb5b PKGNAME-main got removed with the last commit. Put it back so we don't end up
with net-snmp-5.4.2.1-main.

No cookie.
2008-11-07 13:56:56 +00:00
sthen
6134570789 SECURITY fix, update to 5.4.2.1, CVE-2008-4309:
A bug in the getbulk handling code could let anyone with even minimal
access crash the agent.

(straight out of malloc(3) "be careful to avoid...")

ok rui@ (maintainer)
2008-11-07 09:48:40 +00:00
brad
9ff5af73e3 Enable the IPv6 support.
ok maintainer
2008-10-12 08:21:21 +00:00
sthen
eda16f8aef bump package versions, for perl 5.10.0 2008-10-07 14:57:21 +00:00
sthen
fa21bd3ed4 - re-enable kmem support, with 5.4.2 there don't seem to be
any problems on tested arch (including the ones that used to
have trouble).

- repair sysctl() use in cpu_sysctl.c, it was using the wrong
type and at least on some arch the system call was failing, so
because the code isn't careful about checking return codes and
thus used uninitialized space, it tried to allocate memory for
info structures for 128 million CPUs on one of my systems...

"definitely ok" rui@
2008-09-22 18:46:36 +00:00
rui
5315fbba5b - maintenance update to net-snmp 5.4.2. Check the Changelog for more information.
ok sthen@
2008-09-20 22:15:51 +00:00
sthen
2d3521c63b - disable kmem-related code, it is not 64-bit clean and causes
problems on i386.

- bump package

ok rui@ (maintainer)
2008-07-03 08:07:56 +00:00
sthen
bffc2c2c8c Avoid a divide-by-zero which kills Net-SNMP's snmpd running
on sparc64 when you snmpwalk against it.

From http://marc.info/?l=openbsd-ports&m=119175114720453&w=2

ok rui
2008-06-14 07:48:23 +00:00
sthen
b374203f48 SECURITY update to fix CVE-2008-0960, http://secunia.com/advisories/30574/
A vulnerability has been reported in Net-SNMP, which can be exploited
by malicious people to spoof authenticated SNMPv3 packets.

The authentication code reads the length to be checked from sender
input, this allows the sender to supply single byte HMAC code and
have a 1 in 256 chance of matching the correct HMAC and authenticating,
as only the first byte will be checked. The sender would need to
know a valid username.

ok rui (maintainer)
2008-06-10 18:00:35 +00:00
sturm
539374ed41 missing PKGNAME-perl bump after MAINTAINER changed 2008-06-09 21:28:56 +00:00
okan
8e481d18b7 - fix-up PLIST
- rui takes MAINTAINER

ok rui@
2008-06-05 15:52:21 +00:00
okan
dd181a31e6 HW_(PHYS|USER)MEM64 fix
ok naddy@
2008-02-28 18:26:28 +00:00