summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2003-10-31 02:11:10 +0000
committerMax Kalika <max@gentoo.org>2003-10-31 02:11:10 +0000
commit302bb970989dc495b91fb3a1c9e7d34d28cc1cd5 (patch)
tree97b13e191fa761c4ee97bd96ad4ea8d6b29825dd /net-analyzer
parent*** empty log message *** (diff)
downloadhistorical-302bb970989dc495b91fb3a1c9e7d34d28cc1cd5.tar.gz
historical-302bb970989dc495b91fb3a1c9e7d34d28cc1cd5.tar.bz2
historical-302bb970989dc495b91fb3a1c9e7d34d28cc1cd5.zip
Add connection logging example and do away with config file settings -- snmpd already looks in /etc/snmp/snmpd.conf by itself.
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/net-snmp/ChangeLog6
-rw-r--r--net-analyzer/net-snmp/Manifest6
-rw-r--r--net-analyzer/net-snmp/files/snmpd.conf3
-rw-r--r--net-analyzer/net-snmp/files/snmpd.rc62
4 files changed, 12 insertions, 5 deletions
diff --git a/net-analyzer/net-snmp/ChangeLog b/net-analyzer/net-snmp/ChangeLog
index 5cee3fd982d3..2f986533dbeb 100644
--- a/net-analyzer/net-snmp/ChangeLog
+++ b/net-analyzer/net-snmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/net-snmp
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.30 2003/10/30 23:53:46 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/ChangeLog,v 1.31 2003/10/31 02:11:10 max Exp $
+
+ 30 Oct 2003; Max Kalika <max@gentoo.org> files/snmpd.conf, files/snmpd.rc6:
+ Add connection logging example and do away with config file settings -- snmpd
+ already looks in /etc/snmp/snmpd.conf by itself.
30 Oct 2003; Max Kalika <max@gentoo.org> files/snmpd.rc6:
Use pidfile.
diff --git a/net-analyzer/net-snmp/Manifest b/net-analyzer/net-snmp/Manifest
index 04b1af02a5da..b0bfa3bd993e 100644
--- a/net-analyzer/net-snmp/Manifest
+++ b/net-analyzer/net-snmp/Manifest
@@ -1,8 +1,8 @@
MD5 67d998ad23b884a396dc092cdc04ab45 net-snmp-5.0.9-r1.ebuild 1630
MD5 031f6ccf28a5fc792760a3a695fae272 net-snmp-5.0.9-r2.ebuild 2113
-MD5 56a133cfdf67ca76f981d76fa2f84476 ChangeLog 5121
+MD5 254089f613a141e8d4c3dab985fbc722 ChangeLog 5331
MD5 9384ae7ba3e9f56b8027ea92f607042d metadata.xml 215
MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r1 67
MD5 8cadda02e3a8f7279f531b660164c310 files/digest-net-snmp-5.0.9-r2 67
-MD5 183ae5320f0a2d1d22f8403e0df1cce1 files/snmpd.conf 313
-MD5 b0d79a2bc180b70b3d824706fc086abe files/snmpd.rc6 513
+MD5 c663bd6122c46cec37f5c2f881b3cdd8 files/snmpd.conf 376
+MD5 73eef100c166c3b252853e49cbd2d6df files/snmpd.rc6 489
diff --git a/net-analyzer/net-snmp/files/snmpd.conf b/net-analyzer/net-snmp/files/snmpd.conf
index ce606bbf0333..fcf038971ea8 100644
--- a/net-analyzer/net-snmp/files/snmpd.conf
+++ b/net-analyzer/net-snmp/files/snmpd.conf
@@ -1,6 +1,9 @@
# Initial (empty) options.
SNMPD_FLAGS=""
+# Enable connection logging.
+#SNMPD_FLAGS="${SNMPD_FLAGS} -a"
+
# Enable syslog and disable file log.
#SNMPD_FLAGS="${SNMPD_FLAGS} -s -l /dev/null"
diff --git a/net-analyzer/net-snmp/files/snmpd.rc6 b/net-analyzer/net-snmp/files/snmpd.rc6
index 5fc6cf522a81..769701d9ee00 100644
--- a/net-analyzer/net-snmp/files/snmpd.rc6
+++ b/net-analyzer/net-snmp/files/snmpd.rc6
@@ -16,7 +16,7 @@ start() {
checkconfig || return 1
ebegin "Starting net-snmpd"
start-stop-daemon --start --quiet --exec /usr/sbin/snmpd \
- -- -P /var/run/snmpd.pid -c /etc/snmp/snmpd.conf ${SNMPD_FLAGS}
+ -- -P /var/run/snmpd.pid ${SNMPD_FLAGS}
eend $?
}