Commit graph

149 commits

Author SHA1 Message Date
Jun Kuriyama
d21f4b4c41 - Fix negative integers on 64bit platforms [1].
- Upgrade to 5.2.1.2 and portlint fixes [2].
- Fix security problem in local/fixproc script [3].

PR:		ports/82148 [1], ports/83058 [2]
Submitted by:	Deomid Ryabkov <myself@rojer.pp.ru> [1],
		Renato Botelho <freebsd@galle.com.br> [2],
		remko [3]
References:	http://vuxml.freebsd.org/3e0072d4-d05b-11d9-9aed-000e0c2e438a.html [3]
Obtained from:	http://cvs.sourceforge.net/viewcvs.py/net-snmp/net-snmp/local/fixproc?r1=5.0&r2=5.0.6.1&diff_format=u [3]
2005-07-13 02:37:24 +00:00
Oliver Lehmann
4b7702b014 don't install perl stuff when WITHOUT_PERL is set - even when perl is installed
PR:		ports/80675
Approved by:	maintainer timeout (23 days)
2005-05-28 08:30:49 +00:00
Jun Kuriyama
0ab1ceea8f Fix the problem which cannot get ifPhysAddress value.
It seems agent/mibgroups/mibII/interfaces.c switched to use new
USE_SYSCTL_IFLIST knob but this does not support ifPhysAddress.

This patch uses old get_phys_address() function from new code.
2005-04-07 03:04:17 +00:00
Jun Kuriyama
a3597c82c2 (1) Fix memory leak by connections from <UNKNOWN>.
(2) Take care of large counters on 64bit platforms.

PR:		ports/78807 (1)
Submitted by:	Andriy Gapon <avg@icyb.net.ua> (1),
		Peter Losher <Peter_Losher@isc.org> (2)
Approved by:	portmgr (marcus)
2005-03-22 08:32:48 +00:00
Jun Kuriyama
4b8d0cb043 - Remove 0 sized patchfile.
Reported by:	sem
2005-02-05 13:49:02 +00:00
Jun Kuriyama
a7f5634511 - Update to 5.2.1.
- Add a patch to fix memory leak (SF bugs #1103644).
- Add WITH_DMALLOC knob (with a lot of patches to fix #include order).
2005-01-25 23:49:30 +00:00
Jun Kuriyama
814de30ec0 Update maintainer's note to record ports which should be bumped after
shlib version bump.
2004-12-09 02:53:31 +00:00
Jun Kuriyama
658182202d - Add missing patch files in previos commit
(patch-interface_ioctl.c, patch-ucd_snmp.h).
- Add missing backward compatibility simbols for
  usmAES{192,256}PrivProtocol (patch-snmpusm.c, patch-transform_oids.h).

PR:		ports/74810
2004-12-08 11:11:27 +00:00
Kirill Ponomarev
db018514aa Remove empty patches. 2004-12-06 10:56:12 +00:00
Jun Kuriyama
073e7bc6aa - Upgrade to 5.2.
- Fix build problem on current (1)
- Fix module availability problem on current (2)
- Disable perl completely with WITHOUT_PERL knob (3)
- Install sample file and improve pkg-message and pkg-plist (4)

PR:	ports/71071 (1), ports/71522 (2), ports/71315 (3), ports/72779 (4)
Submitted by:	Matthew Thyer <thyerm@powerband.net.au> (1),
	Dominic Mitchell <dom@happygiraffe.net> (2),
	oliver (3),
	Fumihiko Kimura <jfkimura@yahoo.co.jp> (4)
2004-11-29 04:08:29 +00:00
Jun Kuriyama
8f99882307 Fix build on 6-current.
Submitted by:	lofi
Approved by:	portmgr (marcus)
2004-09-05 09:38:05 +00:00
Jun Kuriyama
2eb2a9777a Unbreak on 6-current. 2004-08-31 15:52:18 +00:00
Jun Kuriyama
397db08f28 Remove NO_LATEST_LINK.
Suggested by:	obrien
2004-08-31 02:06:15 +00:00
Jun Kuriyama
7b1a4f2075 Add a hack to unbreak on releng4. 2004-08-11 11:52:52 +00:00
Jun Kuriyama
fb3bf34548 - Upgrade to 5.1.2.
Numerous patches are integrated into this release.
2004-08-11 02:31:33 +00:00
Jun Kuriyama
62cf17c575 Update to follow new rc.d/localpkg order.
Obtained from:	mtm
2004-07-27 00:08:07 +00:00
Jun Kuriyama
c41686f832 Add patch_depends on libttol.
Reported by:	"Grover Lines" <grover@ceribus.net>
2004-06-24 06:50:25 +00:00
Jun Kuriyama
df4fb6787b o Try to use modern autotools.
o Fix typo about WITHOUT_PERL knob. (1)
o Unbreak on -current after mbuf allocator changes. (2)

Submitted by:		ceri (1)
Complained from:	many people (2)
2004-06-23 08:44:41 +00:00
Jun Kuriyama
49e73ccb64 INSTALL[<space><tab>] fix.
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2004-06-14 07:40:57 +00:00
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