summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/NEWS24
-rw-r--r--debian/changelog3
-rw-r--r--debian/patches/08_defaultconfig.patch5
-rw-r--r--debian/snmpd.default6
4 files changed, 32 insertions, 6 deletions
diff --git a/debian/NEWS b/debian/NEWS
index adb32bb..6cfbf65 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -1,3 +1,27 @@
+net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low
+
+ As of version 5.4.2.1, the MIBs from IETF (the ones distributed as
+ RFC) and from IANA are no longer distributed with this package due to
+ license reasons.
+
+ By default, snmpd is now started without any MIBs loaded, so you can't
+ use symbolic names in the configuration anymore. Neither are the snmp
+ clients able to resolved numeric OIDs to symbolic names. This default
+ can be changed by editing the /etc/defaults/snmpd file and comment out
+ the MIB environment variable.
+
+ In order to download the MIBs, you can either do this during package
+ installation or later using the commands
+
+ cd /var/share/mibs
+ make -f Makefile.mib
+
+ Note you need to be able to connect to
+ ftp://ftp.ietf.org for downloading the RFCs and
+ http://www.iana.org for downloading the IANA definitions.
+
+ -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 17:42:36 +0100
+
net-snmp (5.2.2-1) unstable; urgency=low
As of version 5.2.2, the default configuration disables SMUX support
diff --git a/debian/changelog b/debian/changelog
index 055ecdf..b2f9a16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,8 +35,9 @@ net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low
(Closes: #531056). Thanks to John Morrissey <jwm@horde.net> for the
patch.
* Rework build system (Closes: #528106)
+ * Change default configuration to make snmp daemons run without MIBs.
- -- Jochen Friedrich <jochen@scram.de> Fri, 06 Nov 2009 15:09:22 +0100
+ -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 18:29:10 +0100
net-snmp (5.4.1~dfsg-12) unstable; urgency=high
diff --git a/debian/patches/08_defaultconfig.patch b/debian/patches/08_defaultconfig.patch
index e55d30a..071b228 100644
--- a/debian/patches/08_defaultconfig.patch
+++ b/debian/patches/08_defaultconfig.patch
@@ -9,7 +9,7 @@
# When the snmpd agent starts up, this is where it will look for it.
#
# You might be interested in generating your own snmpd.conf file using
-@@ -58,31 +58,37 @@
+@@ -58,31 +58,38 @@
# from):
# sec.name source community
@@ -44,7 +44,8 @@
# incl/excl subtree mask
view all included .1 80
-+view system included .iso.org.dod.internet.mgmt.mib-2.system
++view system included .1.3.6.1.2.1.1
++#view system included .iso.org.dod.internet.mgmt.mib-2.system
####
# Finally, grant the 2 groups access to the 1 view with different
diff --git a/debian/snmpd.default b/debian/snmpd.default
index 489ea9b..4ad43a6 100644
--- a/debian/snmpd.default
+++ b/debian/snmpd.default
@@ -1,8 +1,8 @@
# This file controls the activity of snmpd and snmptrapd
-# MIB directories. /usr/share/snmp/mibs is the default, but
-# including it here avoids some strange problems.
-export MIBDIRS=/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
+# Don't load any MIBs by default.
+# You might comment this lines once you have the MIBs downloaded.
+export MIBS=
# snmpd control (yes means start daemon).
SNMPDRUN=yes