This is Net-SNMP (previously known as "ucd-snmp").
Various tools relating to the Simple Network Management Protocol including:
An extensible agent
An SNMP library
tools to request or set information from SNMP agents
tools to generate and handle SNMP traps
a version of the unix 'netstat' command using SNMP
a Tk/perl mib browser
WWW: http://net-snmp.sourceforge.net/
Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.
Approved in principle by: marcus
Add an extra flag, WITH_INETADDRESS_HACK. Enabling this flag for build will
cause InetAddress and InetAddressType OIDs to be handled specially during
presentation. Normally they are simply displayed as hex due to being
octet-strings, but this is not how they are intended to be presented.
This allows IPv6 addresses to be presented correctly, as well as IPv4 in
emerging and existing MIBs which use the new InetAddress type.
Reviewed by: kuriyama, fenner
Tested with: snmpwalk, mbrowse
o Upgrade to 5.1 (bump shlib major to 6, use autoconf257).
o Add ${NET_SNMP_MIB_MODULES} which is "host smux ucd-snmp/diskio"
by default.
o Remove unused variables.
o Update various local patches around {tcp,udp}Table and
hr_{storage,system}.
o Replace spaces with tab to make portlint happy.
o Pass --with-defaults to configure explicitly because we specify
all default values as variables.
Submitted by: Lars Thegler <lars@thegler.dk>
PR: ports/59086
Upgrade to 5.0.9.
Convert to use rc.subr script.
Heads up!
Variable name in /etc/rc.conf is changed to $snmpd_enable and
$snmpd_flags. Old variables are imported for transition.
o Move perllocal.pod tweak from post-configure to post-build.
Because Makefile for perl is created at build stage. [1]
o Install freebsd5.h which I added in previous commit [2].
PR: ports/55729 [2]
Submitted by: Pat Lashley <patl+freebsd@volant.org> [2],
kuriyama [1]
o Fix not to define "freebsd[234]" definition on freebsd5 environment.
o Fix related patch to fit freebsd5 environment.
o Implement tcp.tcpCurrEstab to return correct value.
PR: ports/54551
Submitted by: sub_0@netcabo.pt
libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)
Approved by: portmgr (kris) - for the bsd.port.mk hooks
Tested by: bento 4-exp builds (repeatedly)
Half of these ones missed yesterday while converting to USE_REINPLACE.
The other half needs perl to build.
Noticed on bento and others (full mailbox :-)
HEADS UP: After this commit, snmpd is not enabled by default.
See pkg-message for details.
* Use /etc/rc.conf variables to control snmpd invocation.
* Add some make variables to set default values.
Requested by: many people :-)
o Fix string representation of IPv6 address for libwrap's address
matching.
o Add a note that numeric address is required for snmpd in
/etc/hosts.allow.
Guided by: ume
Fix breakage on latest -current.
This breakage is caused because:
o struct statvfs is defined and statvfs() function is declared.
o statvfs() function is not yet implemented.
So detection of statvfs related is commented out until function will
be implemented.
Upgrade to 5.0.1.
Maintainer note:
I have not yet checked this major version bump enough.
Please use net/net-snmp4 port for stable environment.
And please report any problem with this version.
I've mistaken the treatment of --with-mib-modules configure argument
with multiple modules.
With this fix, both of host and ucd-snmp/diskio modules are activated.
Spotted by: Alexandr Listopad <laa@laa.zp.ua>
o Add WITH_SNMP_DISKIO knob to collect diskio statistics (will turn on by
default after some period). o Support 4.x and 5.x for host/hr_disk.c. o Add
simple patch to wrap function decraration in HAVE_LPSTAT correctly.
First round of auto* cleanups: - USE_AUTO* -> USE_AUTO*_VER=* where required
- USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK -
Other minor changes to fix things
Handle mbuf statistics going away temporarily around __FreeBSD_version
500021. Leave a placeholder for reporting using the new method added around
__FreeBSD_version 500024. (This fixes the build on -current.)