47 Commits

Author SHA1 Message Date
sthen
8e2105b026 update to Net-SNMP 5.8.1.pre2, bring back --enable-blumenthal-aes with an
patch to autoconf files to add the libm linkage to libnetsnmp.
2020-02-21 15:14:57 +00:00
sthen
89c7c18191 Update to net-snmp 5.8.1pre1.
Enable installing snmpps/snmptop, they have been around for a while but were
just segfaulting in tests before - turns out this was actually only when
pointed at OpenBSD snmpd which doesn't handle hrSWRunPerfMem/hrSWRunPerfCPU
and was OK pointed at net-snmp snmpd - so patch to fix the segfault.
2020-01-03 22:34:35 +00:00
sthen
672aea714e fix typos in DESCR, one from florian@ plus one I spotted on the next line ;) 2019-12-16 12:25:22 +00:00
sthen
7016bd0c30 net-snmp tweaks:
- enable pre-RFC AES192/256 support ("--enable-blumenthal-aes"),
diff from martijn@ (adds symbols so I added a library minor bump for
this).

- disable hidden dep on lpstat from cups; if present this resulted in
adding a function to libnetsnmpmibs so a major bump is needed for this.

- recognize openbsd 7.x
2019-10-29 14:49:19 +00:00
sthen
1eff4ce515 update to net-snmp 5.8rc3 to get some wider testing (hoping the release isn't
too far off, and I'm fed up with this mega-diff sitting in my tree gathering
C's :)

add a flavour "readonly" which uses --enable-read-only, this disables all code
handling SETs.
2018-06-02 20:53:37 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
26816dc330 Use the -r flag in net-snmp's rc.d script, as figured out by
Theodore Wynnychenko. This tells it not to exit when it can't open
/dev/kmem etc. Fixes startup now that this access is disabled by
default in OpenBSD.

Some MIBs won't work, but in general these should be rewritten
to use sysctl interfaces.
2016-10-11 20:47:43 +00:00
sthen
fa88dde259 untangle net-snmp to stop using openbsd{4,5}.h etc. 2016-05-12 22:00:14 +00:00
sthen
d148dd7700 Set pexp="${daemon}.*" for net-snmp; avoids a long delay at boot if the
user has set a command-line arguments containing '+' (not totally uncommon).
Otherwise rc_check() now waits for pexp to match, which fails due to
the + being handled as part of a regular expression.
2016-01-07 12:35:53 +00:00
sthen
7cee0b72d8 Run net-snmp as _netsnmp instead of root, doing this currently requires
disabling the ipv6 mib - this is done in the rc script so it can be
overridden with netsnmpd_flags if required (but just run snmpd from base,
really ....)

Reported by Pierre Kim.

Drop unnecessary patch while there, the problem it was meant to fix was
already fixed in 5.7.3.
2015-11-05 23:43:46 +00:00
sthen
fd5416f946 install net-snmp's sample snmpd.conf with mode 600, it may contain secrets.
reported by Pierre Kim.
2015-11-05 21:44:04 +00:00
sthen
a25d8226b4 update to Net-SNMP 5.7.3
- roll -perl subpackage into -main, this greatly simplifies PLIST handling
for package updates. bumps to dependent ports to follow after this commit.
2014-12-09 15:20:06 +00:00
sthen
26b647a798 @comment zero-byte perl .bs files in all packages which don't have p5-* PKGNAMEs
and bump
2014-06-14 10:34:44 +00:00
sthen
89fb74cf84 Update to Net-SNMP 5.7.2.1 and merge PLISTs (perl is shared arch only,
so no need to split to PFRAG.shared-perl.

5.7.2.1 fixes a security issue on Linux (in ICMP-MIB), but is basically
a noop update for us.
2014-03-12 23:52:14 +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
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
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
1cef5eeefa update net-snmp to 5.7.1 2011-11-18 12:39:06 +00:00
sthen
925f4f6525 better DESCRs 2011-07-08 11:53:28 +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
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
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
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
giovanni
8ff2e5415d Add a -tkmib package
ok ajacoutot@ with a similar diff
2009-08-17 14:58:45 +00:00
brad
9ff5af73e3 Enable the IPv6 support.
ok maintainer
2008-10-12 08:21:21 +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
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
okan
8e481d18b7 - fix-up PLIST
- rui takes MAINTAINER

ok rui@
2008-06-05 15:52:21 +00:00
rui
fc2d401e39 update net-snmp to 5.4, maintainer timeout
- changelog: http://www.net-snmp.org/about/ChangeLog.html

ok steven@
2007-05-19 10:52:06 +00:00
steven
c90d0c9dfc new MULTI_PACKAGES 2006-11-24 21:14:29 +00:00
sturm
e84cb5a44a explicitly mention startup code, it's goint to be removed from rc.local 2006-07-28 20:17:52 +00:00
david
8a4bd3e07f replace /usr/local with PREFIX and bump PKGNAME
ok wilfried@ sturm@
2006-02-15 05:14:29 +00:00
steven
b2a70fdd85 SHARED_LIBS and USE_LIBTOOL
ok bernd@
2006-01-03 17:37:18 +00:00
bernd
5f484e443f Security update to net-snmp-5.1.3.
- fix potential race condition in fixproc script
- fix DOS vulnerability on tcp connections

help & ok sturm@
2005-11-05 19:09:38 +00:00
marcm
91fec240c2 Take 2: CVS ate my first commit...
Add support for static arches.
2005-09-09 19:10:52 +00:00
marcm
fc0775022e Enable support on static arches.
MAINTAINER ok
2005-09-09 19:07:46 +00:00
sturm
79a7ff0d67 reorder PLIST slightly in order to silence pkg_delete warnings
no objections from maintainer
2004-12-26 12:33:16 +00:00
danh
6362fb0bc7 initial sweep for MESSAGE decoration removal; ok espie@ 2004-10-13 18:59:18 +00:00
danh
11dbad1923 remove conflict with ucd-snmp 2004-10-13 02:08:59 +00:00
danh
cb235def2b replace @exec/@unexec 2004-10-08 18:41:39 +00:00
marcm
df4ccc4966 Uncomment the autosplit lines. The Perl modules fail w/o them.
Maintainer timeout... danh@ ok.
2004-10-03 21:43:57 +00:00
espie
452e8ee14d new style conflicts. 2004-09-18 13:01:47 +00:00
espie
52b24f12ea new plists, kill a few INSTALL scripts. 2004-09-15 18:17:38 +00:00
danh
36cc3effb9 update to net-snmp 5.1.2 ; ok maintainer 2004-08-10 13:36:08 +00:00
danh
5d76605071 update PLIST and fix a manual page 2004-08-09 15:04:17 +00:00
danh
85eadf60a7 net-snmp 5.1.1 from Tim Kornau <opti@openbsd.de> 2004-08-03 17:47:12 +00:00