1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

190 Commits

Author SHA1 Message Date
Jun Kuriyama
6b9c2e7f20 Unbreak on HEAD after r186119 (L2/L3 table split). 2008-12-25 02:00:49 +00:00
Jun Kuriyama
0f24cfd8c9 Upgrade to 5.4.2.1 (includes fix for CVE-2008-4309). 2008-11-15 00:56:29 +00:00
Jun Kuriyama
feef390d6b o squelch registration warnings on startup [1].
o Treat inactive memory as cache like same behavior as before [2].

Submitted by:	bms [1], mwlucas [2]
PR:		ports/126694 [2]
2008-08-24 15:14:03 +00:00
Jun Kuriyama
21695c6079 o Make dir /var/agentx for AgnetX sockets [1].
o Include zfs mount points for disk reports.

Reported by:	bms [1]
2008-08-10 14:48:06 +00:00
Jun Kuriyama
98956be584 - Upgrade to 5.4.1.2.
- Fix hrMemorySize.0 MIB value [1].

Submitted by:	Helmut Schneider <jumper99@gmx.de> [1]
PR:		ports/123276 [1]
2008-07-03 13:35:20 +00:00
Jun Kuriyama
aa1cb89f22 o Resurrect UCD-SNMP-MIB::memBuffer MIB [1].
o Add WITH_MFD_REWRITES knob [2]

PR:		ports/123073 [1]
Submitted by:	valerio.daelli@gmail.com [1],
	  	"Chris" <chris@chrysalisnet.org> via email [2]
2008-05-27 02:08:01 +00:00
Maxim Sobolev
6498cb6bd6 Improve upon previous patch (fix to use sysctls instead of KVM to
retrieve CPU stats). Use the newer BSD sysctl code already available in
the 5.4.x instead of re-enabling the obsolete code from the previous
release.
2008-05-14 08:37:38 +00:00
Maxim Sobolev
c1830a37f8 o Fix regression in 5.4.1 - the custom FreeBSD vmstat code is not compiled
in making number of popular OIDs unavailable.

o Fix issue with retrieving CPU stats in 6.3-STABLE and upper. The problem
is that the cp_time symbol is no longer avaliable in the nevest kernels.
Use kern.cp_time sysctl which has been around for 8 years or so, so that
it should be present virtually in every FreeBSD version that is able
to use modern ports tree (4.x and upper). Sysctl is also better from the
security standpoint, as you don't need elevated privileges to get the data.
One should probably look at converting few others uses of KVM here, but
ENOTIME from me. The patch has been submitted to the vendor.

Sponsored by:	Sippy Software, Inc., http://www.sippysoft.com
Approved by:	MAINTAINER
2008-04-28 22:33:53 +00:00
Pav Lucistnik
fb3b71be54 - Remove empty files 2008-04-10 11:56:28 +00:00
Jun Kuriyama
44c4221d20 - Remove unused dependency.
- Remove unused message about WITH_INETADDRESS_HACK knob.
- Count inactive memory as cache [1].

PR:		ports/116437 [1]
Submitted by:	rafan [1]
2008-03-30 08:13:41 +00:00
Jun Kuriyama
861d1bf7fa - Fix $CONFLICTS entry for ucd-snmp-4.* packages [1].
- Fix breakage with WITHOUT_PERL knob (needs -lm) [2].

PR:		 ports/118875 [1]
Submitted by:	 Volker Werth <volker@vwsoft.com> [1],
	  	 Oliver Lehmann <lehmann@ans-netz.de> [2]
2008-03-29 13:44:01 +00:00
Jun Kuriyama
a88f8eb0a1 - Repocopy from net-mgmt/net-snmp to net-mgmt/net-snmp53.
- Add appropriate CONFLICTS, NO_LATEST_LINK.
- Upgrade net-mgmt/net-snmp to 5.4.1 [1].

PR:		ports/110969 [1]
Submitted by:	valerio.daelli@gmail.com [1]

This upgrade (5.3.x -> 5.4.1) includes various changes in original
sources.

If you find something strange (or missing/incorrect MIB values) than
5.3.x, please let me know.  And you can choose net-mgmt/net-snmp53
port for old 5.3.x version.
2008-03-27 10:58:03 +00:00
Jun Kuriyama
eda27ad6b6 - Repocopy from net-mgmt/net-snmp to net-mgmt/net-snmp53.
- Add appropriate CONFLICTS, NO_LATEST_LINK.
- Upgrade net-mgmt/net-snmp to 5.4.1 [1].

PR:		ports/110969 [1]
Submitted by:	valerio.daelli@gmail.com [1]

This upgrade (5.3.x -> 5.4.1) includes various changes in original
sources.

If you find something strange (or missing/incorrect MIB values) than
5.3.x, please let me know.  And you can choose net-mgmt/net-snmp53
port for old 5.3.x version.
2008-03-27 10:55:44 +00:00
Jun Kuriyama
dd44d4b2fb - Fix IPv6 handling for libwrap (1).
- Show IPv4 port number as unsigned instead of signed in /var/log/snmpd.log.
- Treat physmem as u_long, not int.  This fixes hrMmemorySize over 4GB.

Submitted by:	ume (1)
Pointy hat to:	kuriyama (1)
2008-01-11 23:17:32 +00:00
Jun Kuriyama
cba7f67025 Upgrade to 5.3.2. 2008-01-09 13:27:05 +00:00
Jun Kuriyama
c81bd82f43 o Add a patch for CVE-2007-5846, and add an entry for vuxml.
Approved by:  portmgr (marcus)
2007-11-14 05:45:24 +00:00
Jun Kuriyama
a6a2f0dd82 - Support multiple files in ${snmp_conffile} variable (1).
- Update pkg-message to reflect recent rc.conf variable usage.

PR:		ports/112766 (1)
Submitted by:	Royce Williams<royce@alaska.net> (1)
2007-10-27 07:20:34 +00:00
Jun Kuriyama
1168aaf277 - Install freebsd8.h header (unbreak on 8-current).
Probbed by:	nork
2007-10-24 00:48:04 +00:00
Edwin Groothuis
260b2edafd Remove support for OSVERSION < 5 2007-10-03 23:53:46 +00:00
Mark Linimon
48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Jun Kuriyama
287c64dc95 - Remove "sig_stop=KILL" in snmpd.sh.in. This was introduced when
PR ports/63759 was committed (3 years ago).  Try to use normal TERM
  signal for graceful termination [1].
- Increase /bin/ps cache size from 16KB to 120KB.  This should fix
  process counter (ex prCount.1) on the server which has large number
  of processes [2].

PR:		ports/103811 [1], ports/110498 [2]
Reported by:	Yuri Arabadji <yuri@deepunix.net> [1],
		Mike Andrews <mandrews@bit0.com> [2]
2007-03-25 12:35:45 +00:00
Maxime Henrion
4dc402666d Add a patch taken from net-snmp's SVN repository to fix embedded Perl
agents on 64bits architectures, and bump PORTREVISION.

Reviewed by:	kuriyama (maintainer)
2007-03-05 14:42:00 +00:00
Jun Kuriyama
2ea2b21764 - Fix wrong syscall for Total Memory.
PR:		ports/108126
Submitted by:	brd
2007-03-03 13:00:16 +00:00
Jun Kuriyama
bd92a4a0a5 - Upgrade to 5.3.1 [1].
- Add $snmpd_flush_cache knob [2].
- Add conflict with net-snmp-4.* [3].

PR:	ports/97673 [1] (but mostly rewritten), ports/106036 [2],
	ports/103462 [3]
Submitted by:	Rick van der Zwet <rick@wzoeterwoude.net> [1],
	"Brian A. Seklecki"<bseklecki@collaborativefusion.com> [2],
	Mykola Dzham <freebsd@levsha.org.ua> [3]
2007-02-28 01:17:16 +00:00
Maxime Henrion
061da8663d Add a patch taken from CVS to fix huge memory leaks in the code for
embedded Perl agents, and bump PORTREVISION.

Reviewed by:	pav
Approved by:	maintainer timeout
2007-02-15 12:29:33 +00:00
Norikatsu Shigemura
11d54338e7 Fix -z bug.
Pointed out by:	ume
Approved by:	kuriyama (implicitly)
2006-09-23 15:03:36 +00:00
Norikatsu Shigemura
f26153d6d8 Add support snmpd_pidfile and snmpd_conffile on rcNG script.
Requested by:	nyan, TAKANO Yuji <takachan@running-dog.net>
Approved by:	kuriyama
2006-09-23 11:31:09 +00:00
Erwin Lansing
50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00
Maxim Sobolev
17ed994b1f Add support for 7-CURRENT. 2006-07-26 01:21:25 +00:00
Jun Kuriyama
2f8d3b6369 - Upgrade to 5.2.3. 2006-07-20 01:43:49 +00:00
Doug Barton
53c3693939 Clean up sig_stop values. In most cases this means removing a leading -,
since rc.subr adds that already. In 3 cases it meant removing a wrongly
specified TERM, since that is the default.
2006-07-19 16:18:41 +00:00
Cheng-Lung Sung
a2aebbb882 - USE_RC_SUBR= filename instead of "yes", this simplies Makefile
(bump PORTREVISION)
- remove USE_REINPLACE
- rename files/*.sh.sample to files/*.sh.in

PR:		ports/95851
Submitted by:	Rong-En Fan
2006-05-08 05:00:27 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Edwin Groothuis
186c2e326c Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 06:28:59 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Jun Kuriyama
de310693e8 - Upgrade to 5.2.2.
- Return more appropriate values for hrSWRunType (1)

PR:		ports/86572 (1)
Submitted by:	wollman (1)
2005-11-30 05:22:40 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Jun Kuriyama
d8bc0015d3 Remove already-merged-patch.
PR:		ports/83643
Submitted by:	leeym
Noticed by:	rehula@yahoo-inc.com
2005-07-18 10:23:55 +00:00
Jun Kuriyama
3a71a04106 - Unbreak on 7-current.
Prodded by:	jhb
2005-07-17 15:12:14 +00:00
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