Commit graph

207 commits

Author SHA1 Message Date
Mark Linimon
e74370a159 Conditionally uses Perl, so needs WANT_PERL before inclusion of
bsd.port.pre.mk.

Hat:		portmgr
2009-08-30 10:41:41 +00:00
Dmitry Marakasov
7914161a41 - Switch SourceForge ports to the new File Release System: categories starting with N 2009-08-22 00:32:25 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Philip M. Gollucci
fc9923d7ec - more removing of old maintainer 2009-05-18 21:44:06 +00:00
Philip M. Gollucci
93bd912989 - Adopt
Approved by: previous maintainer (kuriyama)
2009-05-14 23:00:42 +00:00
Jun Kuriyama
8c35ca32d0 - Add note about "call for maintainer" after $MAINTAINER line. 2009-05-14 22:44:00 +00:00
Sergey Matveychuk
8ecba5f628 - add an option to disable embedded perl, but build perl modules
Submitted by:	Boris Lytochkin <lytboris@yandex-team.ru>
Approved by:	maintainer timeout
2009-05-13 12:25:09 +00:00
Greg Larkin
a8ccf0dd58 - Promoted various WITH_* variables to the OPTIONS block [1]
- Rearranged ".if defined()" blocks to satisfy portlint
- Fixed variable names: *_DEPEND => *_DEPENDS
- Removed messages about WITH_* variables that are now in OPTIONS
- Changed ".if !defined(WITHOUT_*)" to ".if defined(WITH_*)"
- Bumped PORTREVISION

PR:		ports/133093
Submitted by:	Steve Polyack <spolyack at collaborativefusion dot com>
2009-05-09 23:16:15 +00:00
Philip M. Gollucci
496112748c - Mark MAKE_JOBS_UNSAFE= yes
Approved by:    pav (via irc on #bsdports)
Tested on:      RideCharge TB, and P6 TB
2009-04-28 21:36:08 +00:00
Martin Wilke
93030b4853 - Fix build on CURRENT
PR:		133152
Submitted by:	Scot Hetzel <swhetzel@gmail.com>
Approved by:	maintainer timeout
2009-04-09 11:10:41 +00:00
Jun Kuriyama
b654a69f9b Try to reduce errors/warnings within sctp area. 2009-03-07 15:51:25 +00:00
Jun Kuriyama
74f1019c31 Fix counter breakage on 64bit arch.
Reported by:	sem
Obtained from:	http://sourceforge.net/tracker/index.php?func=detail&aid=2435793&group_id=12694&atid=312694
2009-02-21 11:18:41 +00:00
Jun Kuriyama
d39669a30f Fix breakage on 6.x system. 2009-01-26 06:07:06 +00:00
Jun Kuriyama
53bb537d6a Introduce SCTP-MIB patch for FreeBSD.
This patch was already submitted to upstream.

Submitted by:	rrs
2009-01-25 14:19:16 +00:00
Jun Kuriyama
6090af05b0 Fix typo from upstream svn. 2009-01-25 14:17:09 +00:00
Jun Kuriyama
8f479ac5ce Reduce build warnings. 2009-01-25 14:16:29 +00:00
Jun Kuriyama
046858f397 Cleanup system specific header file modifications.
I misunderstood freebsd7.h should define "freebsd6", not "freebsd7" etc.
2009-01-25 14:15:40 +00:00
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