Commit graph

99 commits

Author SHA1 Message Date
Garrett Wollman
60aab66567 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
2004-02-23 04:42:13 +00:00
Bruce M Simpson
e39c2d5656 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
2004-01-03 03:18:29 +00:00
Jun Kuriyama
db95497bd3 Fix parsing when "file <filename>" directive is used in snmpd.conf
without maxfilesize column.
2003-12-25 22:44:09 +00:00
Jun Kuriyama
d5f2be58cd Fix plist.
PR:		ports/60423
Submitted by:	leeym
2003-12-21 13:48:47 +00:00
Jun Kuriyama
bb25fde924 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}.
2003-11-18 03:18:02 +00:00
Jun Kuriyama
cc62d19c11 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
2003-11-12 13:34:58 +00:00
Jun Kuriyama
c16eb5d5cf o Add WITHOUT_PERL knob (and unbreak at unusual variable situation).
o Fix pkg-message message.

PR:		ports/56716, ports/58109
Submitted by:	Vivek Khera <khera@kcilink.com>,
		Matt Peterson <matt@peterson.org>
2003-10-31 14:17:06 +00:00
Jun Kuriyama
c8cef467cf Ues USE_RC_SUBR knob.
Approved by:	marcus
2003-09-11 23:30:22 +00:00
Jun Kuriyama
529f9db8eb 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.
2003-09-06 12:21:05 +00:00
Jun Kuriyama
8b58c48826 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]
2003-08-23 08:32:01 +00:00
Jun Kuriyama
0e4ce79901 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
2003-08-16 08:53:52 +00:00
Ade Lovett
b2fd75e438 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)
2003-06-26 22:58:32 +00:00
Jun Kuriyama
c041f39073 Installs perl modules.
Submitted by:	tobez
PR:		ports/50780
2003-04-22 01:40:02 +00:00
Jun Kuriyama
9f6533dbef Upgrade to 5.0.8.
Partially submitted by:	demon
2003-03-29 14:34:30 +00:00
Jun Kuriyama
2df3da6afb de-pkg-comment. 2003-02-22 07:48:51 +00:00
Edwin Groothuis
5019ffc91b 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 :-)
2002-11-04 22:57:37 +00:00
Edwin Groothuis
5b96d0a956 PERL -> REINPLACE
and russian/mod_ssl has USE_PERL5=yes

Notices on: bento
2002-11-04 03:05:48 +00:00
Jun Kuriyama
a7352efa09 Upgrade to 5.0.6. 2002-10-06 09:35:21 +00:00
Jun Kuriyama
87a8145c93 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 :-)
2002-09-17 02:17:09 +00:00
Jun Kuriyama
16770abd78 Add a patch to show enterprises.ucdavis.dskTable.dskEntry.dskPercentNode
mibs on our system.

Submitted by:	Donal Diamond <donal.diamond@eircom.net>
2002-08-29 02:21:28 +00:00
Jun Kuriyama
d8cf058f66 Upgrade to 5.0.3. 2002-08-03 08:01:37 +00:00
Jun Kuriyama
9d20fdf9f0 Fix enumeration after interface without address.
Submitted by:	billf
PR:		ports/28717
2002-07-29 04:29:44 +00:00
Jun Kuriyama
3aae3284ba 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
2002-07-25 11:03:01 +00:00
Jun Kuriyama
a05aa88645 Upgrade to 5.0.2.
Remove statvfs hack.
2002-07-22 05:57:58 +00:00
Jun Kuriyama
64a56ed9db Fix plist.
PR:		ports/39874, ports/40229
Submitted by:	Edwin Groothuis <edwin@mavetju.org>,
		James Flemer <jflemer@acm.jhu.edu>
2002-07-06 06:13:39 +00:00
Jun Kuriyama
3d65731aab Don't chmod to 644 directories.
Submitted by:	Mark Pulford <markp@FreeBSD.org>
2002-06-24 00:35:47 +00:00
Jun Kuriyama
9fd97a9ecc (1) Support IPv6 transport.
(2) Install snmpd.sh.sample and also install snmpd.sh if not exist.
    (not yet completed as pkg_add case)

Requested by:	ume, Katsuhisa ABE <katsuhisa.abe@nifty.com> (1)
		Vince Valenti <vince@blue-box.net> (2)
2002-05-25 02:16:58 +00:00
Jun Kuriyama
fe69abb66c Link with libkvm explicitly to unbreak build on 4-stable.
Reported by:	many
2002-05-17 01:01:10 +00:00
Jun Kuriyama
1b62f4b5fa 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.
2002-05-15 06:41:00 +00:00
Jun Kuriyama
2f073aafb3 Upgrade to 4.2.5. 2002-05-07 01:18:27 +00:00
Jun Kuriyama
6a09779314 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>
2002-04-10 10:30:26 +00:00
Jun Kuriyama
af620e968c Upgrade to 4.2.4.
Some of our patches are integrated into original distribution.
Enable diskio mib-module by default.
2002-04-09 00:31:17 +00:00
Bill Fumerola
e6b43b3ed7 kuriyama-san has been doing a much better job at maintaining this then
i've been doing. switch maintainership over to him.
2002-04-04 08:56:42 +00:00
Jun Kuriyama
d75b7443d0 Use tab instead of space.
Spotted by:	portlint
2002-04-04 06:18:09 +00:00
Jun Kuriyama
c13dad8246 Remove tkmib from installation.
This program will be provided as separated port which depends on p5-Tk and
p5-SNMP.

PR:		ports/19281
2002-04-04 06:10:49 +00:00
Jun Kuriyama
4ab5ba96d3 Fix MASTER_SITES.
PR:		ports/36247
Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>
2002-03-25 03:45:36 +00:00
Jun Kuriyama
44bc66fb12 Make this port $PREFIX clean.
PR:		ports/34551
Submitted by:	Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
2002-03-22 03:52:37 +00:00
Jun Kuriyama
54efd30dae Return correct memory size when over 2G.
PR:		ports/35352
Submitted by:	Steve Shorter <steve@nomad.tor.lets.net>
2002-03-07 03:02:37 +00:00
Anders Nordby
f995163ff6 Add TCP Wrappers support.
Silence by:	billf
2002-02-24 19:15:42 +00:00
Jun Kuriyama
0c6f2b1256 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.
2002-02-15 01:09:56 +00:00
Jacques Vidrine
41cbe7f8a7 Update 4.2.1 -> 4.2.3 2002-01-21 16:54:51 +00:00
Will Andrews
f3171de7e6 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

These changes should be no-ops with the current bsd.port.mk, but will
assist in preparing for the next generation of USE_AUTO*.

Submitted by:	bento 4-exp USE_AUTO* cleanups
		http://people.FreeBSD.org/~will/4-exp/
		http://bento.FreeBSD.org/errorlogs/4-exp-latest/
2002-01-06 06:20:22 +00:00
Jun Kuriyama
1709ca6d1a Upgrade to 4.2.1. 2001-05-10 05:46:49 +00:00
Jun Kuriyama
57bbbd361d Treat shlib number and libtool as our way.
Approved by:	maintainer
2001-02-08 02:39:58 +00:00
Jun Kuriyama
f0ac79f1b9 Revert $PORTNAME change. 2001-02-02 01:43:17 +00:00
Jun Kuriyama
cd63b40609 Oops, changing PORTNAME may affect DISTNAME... 2001-02-02 01:26:49 +00:00
Jun Kuriyama
bf89dc394c Change port name to net-snmp.
Patch to hr_swrun.c to unbreak on -current (plus diffs in net-snmp CVS).
2001-02-02 01:18:45 +00:00
Bill Fumerola
22667fa925 Upgrade to version 4.2
Some of the shared library magic is very hackish, however the net-snmp
library building make-fu is hackish as well, so I don't feel bad about it.

This commit also (re-)enables the host module for much more information.
It also fixes a long standing bug where 'snmpwalk localhost public' would
hang.
2001-01-18 09:58:30 +00:00
Bill Fumerola
9b21f796cd ucd-snmp renamed itself to net-snmp and now uses sourceforge. reflect
this change (with a repocopy) and update various references.

this does not upgrade this port to the most recent version of net-snmp,
that will be coming soon.
2001-01-17 23:48:47 +00:00
Hajimu UMEMOTO
2c67e7f4f5 Activate IPv6 support.
Approved by:	billf
2000-07-28 19:43:15 +00:00