Commit graph

180 commits

Author SHA1 Message Date
Jun Kuriyama
f9fac58499 Unbreak on 5.0.
My mbuf statistics code works only after 5.1-REL.
2004-05-13 22:58:09 +00:00
Jun Kuriyama
d3399fc581 Prevent error in snmpconf script with recent perl.
Reported by:	daver@vicor.com (Pomegranate)
2004-05-12 02:53:49 +00:00
Jun Kuriyama
daf6d14f2c Add mbuf cluster statistics. 2004-05-05 08:18:24 +00:00
Jun Kuriyama
3ea10dc158 Restore mbuf statistics support on recent 5.x.
To retrieve these values, check hrStorageUsed or hrStorageSize.
2004-05-04 08:18:10 +00:00
Kris Kennaway
8020dc6458 Don't remove a directory we didn't install 2004-04-19 08:28:07 +00:00
Jun Kuriyama
b678598ab5 Fix tcp.tcpCurrEstab.0 counting.
PR:		ports/65487
Submitted by:	Ken Stailey <kstailey@yahoo.com>
2004-04-14 00:57:42 +00:00
Jun Kuriyama
9af00286b3 Fix incorrect message about WITHOUT_IPV6.
Reported by:	many
2004-04-05 02:43:47 +00:00
Jun Kuriyama
ee9dbc3704 Upgrade to 5.1.1. 2004-04-03 13:49:22 +00:00
Jun Kuriyama
6ab20c67e8 Remove empty file.
PR:		ports/64478
Submitted by:	ceri
2004-03-20 07:02:44 +00:00
Jun Kuriyama
1b7bb85f82 SIZEify.
Submitted by:	trevor
2004-03-18 00:48:53 +00:00
Ade Lovett
3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00
Jun Kuriyama
01742ce092 o More $REINPLACE_CMD'ify.
o Bump $PORTREVISION to force to clean up recent changes.

Submitted by:	Cyrille Lefevre
2004-03-11 23:22:36 +00:00
Jun Kuriyama
0740674ec2 o Fix on 4.x.
o Use $REINPLACE_CMD.

Submitted by:	lofi@
2004-03-11 14:52:21 +00:00
Jun Kuriyama
c55a61df91 Mark broken for 4.x for the time being.
Perl modules are installed into wrong location for 4.x.
2004-03-11 00:26:39 +00:00
Jun Kuriyama
ef7f2d6bba Various fixes / improvements.
See PR for details.

PR:		ports/63759
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2004-03-10 13:40:41 +00:00
Jun Kuriyama
b0e5f3b827 Avoid "kvm_read: Bad address" error.
PR:		ports/63026
Submitted by:	Antoine Jacoutot <ajacoutot@lphp.org>
2004-02-29 12:26:59 +00:00
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
e8e6eb479d Unbreak on 4-stable (actually gcc-2.95).
Reported by:	krion, Mike Harding <mvh@ix.netcom.com>
2003-11-18 15:24:22 +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
Jun Kuriyama
99f6f324e2 Unbreak after __FreeBSD_version >= 500101. 2003-02-19 23:20:08 +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
19c823ac69 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.
2002-06-24 00:46:44 +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
Bill Fenner
7ce70975dd 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.)
2001-10-14 16:38:32 +00:00
Bill Fumerola
e84371ec8e fix spelling error
Submitted by:	Bruce Dang <btdang@home.com> via IRC
2001-08-10 01:06:30 +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
53f369dcd5 Add work around not to dumps core to access host resources.
Sorry for my commit bloat...
2001-02-02 02:39:45 +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
Bill Fumerola
9208fd7439 From the submitter:
- <sys/conf.h> requires 'SPECNAMELEN'.
- 'SPECNAMELEN' is defined in <sys/param.h>
- however, disk.c includes <sys/conf.h> before including <sys/param.h>

Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-12-31 05:17:01 +00:00
Hajimu UMEMOTO
2c67e7f4f5 Activate IPv6 support.
Approved by:	billf
2000-07-28 19:43:15 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Maxim Sobolev
8b10e5fbd0 The port assigns PLIST_SUB after <bsd.port.pre.mk> is included, so substitution
of %%PREFIX%% for ldconfig didn't work.

Submitted by:	Makoto MATSUSHITA <matusita@jp.freebsd.org>
2000-06-18 09:36:13 +00:00
Satoshi Asami
ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00
Maxim Sobolev
61ebd322a2 Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because I
just cun'n'pasted the name from Satoshi's commit message without checking
it.

Hall of shame entry:	sobomax
2000-06-16 08:19:52 +00:00
Maxim Sobolev
1de95a9ce1 First round of INSTALL_SHLIB fixes. 2000-06-15 16:44:16 +00:00
Bill Fumerola
982787c28b Fixes for recent kernel changes, this will screw over people (like me)
who have a -CURRENT before:

Fri May 5 9:58:59 2000 UTC by phk

.. however, since no __FreeBSD_version bump was performed, I can't
handle this with the usual Makefile magic.

Submitted by:	kuriyama-san
Reviewed by:	Matt Ayres <mayres@chc-chimes.com> ("it works now")
2000-05-17 20:27:13 +00:00
Bill Fumerola
1b34274e25 o Upgrade to 4.1.2
o Correct PLIST
o Correct MANx

PR:		18548
Submitted by:	Amakawa Shuhei <sa264@cam.ac.uk>

o Finally fix shared libraries

Submitted by:	billf, will(sorta)
2000-05-17 01:11:51 +00:00
Bill Fumerola
370c339925 First crack at updating to 4.1.1, more features to come, but at least
the newest version is here.
2000-05-12 20:21:27 +00:00
Chris Piazza
93a61d6874 Update with the new PORTNAME/PORTVERSION variables 2000-04-09 18:14:07 +00:00
Bill Fumerola
2a5f012c3c Assume maintainership 2000-04-07 01:09:06 +00:00
Gary Palmer
21ee26afd7 Resign as maintainer. I had thought someone else volunteered to take
over, but apparently they never changed the MAINTAINER flag.
2000-04-06 17:07:33 +00:00
Michael Haro
cb1907cb7c move PATCH* to Patch section of Makefile (portlint) 2000-03-20 22:57:22 +00:00
Bill Fenner
a67a376db3 Skip building the parts that make this port BROKEN on FreeBSD 4.
(and unmark it BROKEN).
2000-02-21 19:19:03 +00:00
Jonathan M. Bresler
182edb954d grr....back out commit error.
restore previous version of the file.
1999-11-15 18:30:56 +00:00
Jonathan M. Bresler
5c22b02773 add two more codes to ICMP error 12 (Parameter Problem).
these two are detailed in RFC1700.

Reviewed by:	Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1999-11-15 18:27:37 +00:00
Bill Fumerola
db60f873fb o Bump SHLIB_VERSION to 4 and make this port build it that way.
o Look for perl in the right place (patch-ah)
o Add a typedef that ucd-snmp wants (patch-ag)
o Install headers files with the right permissions

Submitted by:	<jack@germanium.xtalwind.net>
PR:		ports/13539
----------------------------------------------------------------------

o Remove extraneous HAS_CONFIGURE introduced by nectar in rev1.19
o Use the PATCH_* framework and grab 012.patch from the authors.
1999-09-04 23:30:47 +00:00
Michael Haro
65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00
Peter Wemm
a6c3f62331 $Id$ -> $FreeBSD$ 1999-08-30 14:24:37 +00:00
Bill Fumerola
3273fba704 Upgrade SNMP to 4.0.1, which is a last minute bugfix.
Upgrade p5-SNMP to 1.8.1 and mark it broken as it is incompatible
with the ucd-snmp changes. If this is a huge problem, then a
repo copy of ucd-snmp can be made and we can have the hassle of
keeping two copies in our tree.
1999-08-27 20:18:47 +00:00
Chris Piazza
5432bc0f69 Update to version 4.0
Submitted by:	billf
1999-08-27 03:38:42 +00:00
Michael Haro
5281212be3 chmod -> ${CHMOD}
chown -> ${CHOWN}
1999-08-22 19:01:07 +00:00
Tim Vanderhoek
e32f86f31b Remove trailing spaces, and any periods that were hidden by them. 1999-06-28 00:45:20 +00:00
Kris Kennaway
97c42220fd Unbreak. 1999-04-30 12:59:50 +00:00
Marc G. Fournier
0f398af16d Another bunch off WWW: links in DESCR 1999-04-22 00:55:05 +00:00
Jacques Vidrine
333076314b * Mark this BROKEN for a.out systems.
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
1999-04-18 19:14:44 +00:00
Satoshi Asami
9d5bc54949 Remove empty line. 1999-04-12 08:22:43 +00:00
Jun Kuriyama
5e751949ff Upgrade to v3.6.1 and apply some patches. But this version still has
kvm_read() problem on some RELENG_3 system.

No response from:	maintainer
PR:			ports/7330, ports/8908, ports/8909
1999-04-07 16:07:41 +00:00