summaryrefslogtreecommitdiff
path: root/net/net-snmp/files
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2003-09-12 12:07:18 +0000
committeruebayasi <uebayasi@pkgsrc.org>2003-09-12 12:07:18 +0000
commitbffbfbc2bd07ce629d4d801261d0c91d9cd09391 (patch)
tree6869968db97e6cfa328de169a0d3d7fe1933fbaa /net/net-snmp/files
parent7f2a7c2df3492e9720b3049669c6e8936bb1b922 (diff)
downloadpkgsrc-bffbfbc2bd07ce629d4d801261d0c91d9cd09391.tar.gz
Update to 5.0.9. PR19939 by Greg A. Woods.
Changes from NEWS file: --------8<--------8<--------8<--------8<--------8<--------8<--------8< *5.0.9* SECURITY: - An existing user/community could get access to data in MIB objects that were explicitly excluded from their view. Fixes: - Perl build environment should better under Windows - Misc kerberos support fixes. - Improvements on various manual pages. - A annoying bug with SETs being passed to pass scripts was fixed. - The often talked about VACM optimization improvement was fixed again. - mib2c handles augmentation tables better now. - Various 64 bit issues have been addressed. *5.0.8* New: - No new features will be added to the 5.0.x line. Ports: - Update libtool to version 1.4.3, for the benefit of Darwin - diskio support for Darwin - Updates for OpenBSD 3. - Updates to solaris README Fixes: - find libwrap w/nsl on RedHat - fix for openssl 0.9.7 - Fix some AgentX memory leaks - use macro for inline function prototypes - Attempt to find unused port before running tests - Use SNMP_SLEEP environment variable when running tests - calculate a proper ifSpeed under linux when possible - better daemonization of snmpd - close and reopen snmptrapd log files on HUP - support for 16 bit reuqest ids - Recognize new 't' code in display hints - misc other fixes *5.0.7* New: - VACM (access control) optimizations which will greatly benefit people who wish to exclude large portions of the MIB tree from some people. Previously this was a large resource drain. - Add command line option to snmpd to set syslog facility - Reverse DISPLAY-HINT processing, i.e. it allows you to input data formatted like a DISPLAY-HINT prescribes - Support setting of sysDescr and sysObjectID via snmpd.conf configuration directives - New output option to force display of strings as hex - Persistent directory can be specified at runtime - Add support for Linux virtual interfaces in the ipAddressTable. - implemented the mteEventTable and the mteEventNotificationTable form the DISMAN-EVENT-MIB. Fixes: - AgentX no longer flagged as experimental - A few memory leak fixes for the table_iterator agent API. - Processed flag cleared before each pass of a set request - Remove snmpd pid file on exit - Restore default behaviour of building shared libraries - misc other fixes --------8<--------8<--------8<--------8<--------8<--------8<--------8<
Diffstat (limited to 'net/net-snmp/files')
-rw-r--r--net/net-snmp/files/snmpd.sh4
-rw-r--r--net/net-snmp/files/snmptrapd.sh9
2 files changed, 9 insertions, 4 deletions
diff --git a/net/net-snmp/files/snmpd.sh b/net/net-snmp/files/snmpd.sh
index d8d10ba0be2..633b1f4519f 100644
--- a/net/net-snmp/files/snmpd.sh
+++ b/net/net-snmp/files/snmpd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: snmpd.sh,v 1.1.1.1 2002/10/24 08:29:34 jlam Exp $
+# $NetBSD: snmpd.sh,v 1.2 2003/09/12 12:07:19 uebayasi Exp $
#
# PROVIDE: snmpd
# REQUIRE: DAEMON
@@ -13,7 +13,7 @@ name="snmpd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
-snmpd_flags="-s" # log using syslog
+snmpd_flags="-s -S d" # log using syslog LOG_DAEMON
command_args="-P ${pidfile}"
if [ -f @PKG_SYSCONFDIR@/snmpd.conf ]; then
diff --git a/net/net-snmp/files/snmptrapd.sh b/net/net-snmp/files/snmptrapd.sh
index c9215ca8fd0..7225189a6c6 100644
--- a/net/net-snmp/files/snmptrapd.sh
+++ b/net/net-snmp/files/snmptrapd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: snmptrapd.sh,v 1.1.1.1 2002/10/24 08:29:34 jlam Exp $
+# $NetBSD: snmptrapd.sh,v 1.2 2003/09/12 12:07:19 uebayasi Exp $
#
# PROVIDE: snmptrapd
# REQUIRE: DAEMON
@@ -13,7 +13,12 @@ name="snmptrapd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
-snmptrapd_flags="-s -l 1" # log using syslog w/ facility LOG_LOCAL1
+# XXX this should include '-S 1' to explicitly set LOG_LOCAL1, but if
+# it's there snmptrapd blows up saying "no syslog facility specified"
+# and then printing a usage message (and the old -l complains too!)
+# --woods
+#
+snmptrapd_flags="-s" # log using syslog w/ facility LOG_LOCAL1
command_args="-u ${pidfile}"
if [ -f @PKG_SYSCONFDIR@/snmptrapd.conf ]; then