diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2007-03-25 20:35:45 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2007-03-25 20:35:45 +0800 |
commit | a88c5d29d42d2d2647b9b966472edb7f25f76808 (patch) | |
tree | 55c23dbdbd5334d85e246cab4248a576134d2be9 /net-mgmt/net-snmp53 | |
parent | c655c67f070a6095b029ce1c13aac84484d65a6f (diff) | |
download | freebsd-ports-gnome-a88c5d29d42d2d2647b9b966472edb7f25f76808.tar.gz freebsd-ports-gnome-a88c5d29d42d2d2647b9b966472edb7f25f76808.tar.zst freebsd-ports-gnome-a88c5d29d42d2d2647b9b966472edb7f25f76808.zip |
- 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]
Diffstat (limited to 'net-mgmt/net-snmp53')
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/files/patch-net-snmp-config.h.in | 11 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/files/snmpd.sh.in | 3 |
3 files changed, 13 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index 9fa6ec968849..1dedd9da65e9 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/Makefile @@ -7,7 +7,7 @@ PORTNAME= snmp PORTVERSION= 5.3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= net-snmp diff --git a/net-mgmt/net-snmp53/files/patch-net-snmp-config.h.in b/net-mgmt/net-snmp53/files/patch-net-snmp-config.h.in new file mode 100644 index 000000000000..0069a7226a36 --- /dev/null +++ b/net-mgmt/net-snmp53/files/patch-net-snmp-config.h.in @@ -0,0 +1,11 @@ +--- include/net-snmp/net-snmp-config.h.in.orig Sun Mar 25 21:01:16 2007 ++++ include/net-snmp/net-snmp-config.h.in Sun Mar 25 21:01:33 2007 +@@ -1334,7 +1334,7 @@ + + #define EXCACHETIME 30 + #define CACHEFILE ".snmp-exec-cache" +-#define MAXCACHESIZE (200*80) /* roughly 200 lines max */ ++#define MAXCACHESIZE (1500*80) /* roughly 1500 lines max */ + + /* misc defaults */ + diff --git a/net-mgmt/net-snmp53/files/snmpd.sh.in b/net-mgmt/net-snmp53/files/snmpd.sh.in index bd52e41eb8d9..08b42edbf3c7 100644 --- a/net-mgmt/net-snmp53/files/snmpd.sh.in +++ b/net-mgmt/net-snmp53/files/snmpd.sh.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp53/files/Attic/snmpd.sh.in,v 1.5 2007-02-28 01:17:16 kuriyama Exp $ +# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp53/files/Attic/snmpd.sh.in,v 1.6 2007-03-25 12:35:45 kuriyama Exp $ # # PROVIDE: snmpd # REQUIRE: DAEMON @@ -32,7 +32,6 @@ rcvar=`set_rcvar` command=%%PREFIX%%/sbin/${name} pidfile=${snmpd_pidfile} -sig_stop=KILL start_precmd=snmpd_precmd load_rc_config ${name} |