--- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/control +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/control @@ -0,0 +1,145 @@ +Source: net-snmp +Section: net +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Net-SNMP Packaging Team +Build-Depends: debhelper (>= 7.0.50~), libtool, libwrap0-dev, libssl-dev (>> 0.9.8), perl (>=5.8), libperl-dev, python-all-dev, python-central (>=0.5.6), python (>=2.3.5-7), python-setuptools (>=0.6b3), autoconf, automake1.9, autotools-dev, debianutils (>=1.13.1), bash (>=2.05), findutils (>=4.1.20), procps, quilt, libkvm-dev [kfreebsd-i386 kfreebsd-amd64], libsensors4-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], dh-apport +Standards-Version: 3.8.3 +Vcs-Svn: svn://svn.debian.org/pkg-net-snmp/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-net-snmp/ +XS-Python-Version: all +Homepage: http://net-snmp.sourceforge.net/ + +Package: snmpd +Section: net +Priority: optional +Architecture: any +Conflicts: snmp (<<3.6-3), snmptraplogd +Replaces: snmptraplogd +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, debconf, lsb-base (>= 3.2-13) +Description: SNMP (Simple Network Management Protocol) agents + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + The Net-SNMP agent is a daemon which listens for incoming SNMP + requests from clients and provides responses. + +Package: snmp +Section: net +Priority: optional +Architecture: any +Recommends: perl-modules +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SNMP (Simple Network Management Protocol) applications + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + The Net-SNMP applications are a collection of command line clients + for issuing SNMP requests to agents. + +Package: libsnmp-base +Section: libs +Priority: optional +Architecture: all +Replaces: snmp (<=3.6.2-3), libsnmp, zebra, zebra-pj, quagga, libsnmp-dev (<< 5.4~dfsg), libsnmp9-dev (<< 5.4~dfsg), libsnmp5-dev +Provides: libsnmp +Conflicts: libsnmp, libsnmp-dev (<< 5.4~dfsg), libsnmp9-dev (<< 5.4~dfsg), libsnmp5-dev, libsmi2-common (<< 0.4.8+dfsg-2) +Depends: ${misc:Depends}, gawk, wget, make +Description: SNMP (Simple Network Management Protocol) MIBs and documentation + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + This package includes documentation and MIBs (Management Information + Bases) for the SNMP libraries, agents and applications. MIBs contain + a formal description of the data that can be managed using SNMP. + and applications. + +Package: libsnmp15 +Section: libs +Priority: optional +Architecture: any +Replaces: snmp (<=3.6.2-3), snmpd (<=4.1.2-1) +Depends: libsnmp-base (>=${source:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: SNMP (Simple Network Management Protocol) library + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + The Net-SNMP library contains common functions for the construction, + sending, receiving, decoding, and manipulation of the SNMP requests + and responses. + +Package: libsnmp15-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libsnmp15 (=${binary:Version}), ${misc:Depends} +Description: SNMP (Simple Network Management Protocol) library debug + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + This package contains the debug symbols for the Net-SNMP libraries. + +Package: libsnmp-dev +Section: libdevel +Priority: optional +Architecture: any +Replaces: libsnmp9-dev, libsnmp10-dev, libsnmp15-dev, snmp (<< 5.4~dfsg) +Provides: libsnmp9-dev +Conflicts: libsnmp-dev, libsnmp9-dev, libsnmp10-dev, libsnmp15-dev, snmp (<< 5.4~dfsg) +Depends: libc6-dev, libsnmp15 (=${binary:Version}), libsnmp-perl (=${binary:Version}), libwrap0-dev, libssl-dev, procps, ${os-specific-dev}, ${misc:Depends} +Description: SNMP (Simple Network Management Protocol) development files + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + The Net-SNMP development files include the library headers, static + libraries, and documentation needed for development of custom SNMP + applications. + +Package: libsnmp-perl +Section: perl +Priority: optional +Architecture: any +Depends: ${perl:Depends}, libsnmp15 (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: SNMP (Simple Network Management Protocol) Perl5 support + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + The Net-SNMP Perl5 support files provide the Perl functions for + integration of SNMP into applications written in Perl. + +Package: libsnmp-python +Section: python +Priority: optional +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Description: SNMP (Simple Network Management Protocol) Python support + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + The Net-SNMP Python support files provide the Python functions for + integration of SNMP into applications written in Python. + +Package: tkmib +Section: net +Priority: optional +Architecture: all +Depends: libsnmp-perl (>=${source:Version}), perl-tk, ${misc:Depends} +Description: SNMP (Simple Network Management Protocol) MIB browser + The Simple Network Management Protocol (SNMP) provides a framework + for the exchange of management information between agents (servers) + and clients. + . + The Net-SNMP MIB (Management Information Base) Browser provides a + graphical frontend for the Net-SNMP tools. It can be used to browse + the MIB tree and interactively send requests to SNMP agents. + --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.postrm +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.postrm @@ -0,0 +1,29 @@ +#! /bin/sh + +set -e + +#DEBHELPER# + +if [ $1 = purge ]; then + rm -f /var/lib/snmp/snmpd.conf* + rm -f /var/lib/snmp/snmptrapd.conf* + rm -f /var/run/agentx + rm -f /var/run/snmpd.pid + rm -f /var/run/snmptrapd.pid + if getent passwd snmp >/dev/null; then + if [ -x /usr/sbin/deluser ]; then + deluser --quiet --system snmp + else + echo "Can't remove user snmp. Please remove this user by hand." + fi + fi + if getent group snmp >/dev/null; then + if [ -x /usr/sbin/delgroup ]; then + delgroup --quiet --system snmp + else + echo "Can't remove group snmp. Please remove this group by hand." + fi + fi +fi + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.preinst +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.preinst @@ -0,0 +1,17 @@ +#! /bin/sh + +set -e + +action="$1" +version="$2" + +if [ "$action" = upgrade ] +then + if [ -L /usr/share/doc/snmpd ]; then + rm -f /usr/share/doc/snmpd + fi +fi + +#DEBHELPER# + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-perl.install +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-perl.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/perl* --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/README.source +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/README.source @@ -0,0 +1,8 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. Please see: + + /usr/share/doc/quilt/README.source + +for more information on how to apply the patches, modify patches, or +remove a patch. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.postinst +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.postinst @@ -0,0 +1,23 @@ +#! /bin/sh + +set -e + +if [ "x$1" = xconfigure ]; then + if [ ! `getent group snmp >/dev/null` ]; then + deluser --quiet --system snmp + fi + adduser --quiet --system --group --no-create-home --home /var/lib/snmp snmp + chown -R snmp:snmp /var/lib/snmp +fi + +# Remove shutdown and reboot links; this init script does not need them. +if [ "x$2" = x5.4.2.1~dfsg-3ubuntu2 ]; then + rm -f /etc/rc0.d/K20snmpd /etc/rc6.d/K20snmpd +fi + +. /usr/share/debconf/confmodule +db_version 2.0 + +#DEBHELPER# + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-base.prerm +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-base.prerm @@ -0,0 +1,9 @@ +#! /bin/sh + +set -e + +rm -f /usr/share/snmp/mibs/.index + +#DEBHELPER# + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.config +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.config @@ -0,0 +1,21 @@ +#! /bin/sh + +set -e + +action="$1" +version="$2" + +. /usr/share/debconf/confmodule + +if [ -n "$version" ] +then + # Source debconf library. + db_version 2.0 + if [ -n "$version" ] && dpkg --compare-versions "$version" lt 5.2.2 + then + db_text critical snmpd/upgradefrom521 || true + fi + db_go +fi + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/changelog +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/changelog @@ -0,0 +1,1378 @@ +net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu2.3) lucid-security; urgency=medium + + * SECURITY UPDATE: denial of service via AgentX subagent timeout + - debian/patches/CVE-2012-6151.patch: track cancelled sessions in + agent/mibgroup/agentx/{master.c,master_admin.c}, agent/snmp_agent.c, + include/net-snmp/agent/snmp_agent.h. + - CVE-2012-6151 + * SECURITY UPDATE: denial of service in perl trap handler + - debian/patches/CVE-2014-2285.patch: handle empty community string in + perl/TrapReceiver/TrapReceiver.xs. + - CVE-2014-2285 + * SECURITY UPDATE: denial of service via multiple-object requests + - debian/patches/CVE-2014-2310.patch: fix lengths in + agent/mibgroup/agentx/protocol.c. + - CVE-2014-2310 + + -- Marc Deslauriers Tue, 11 Mar 2014 10:10:12 -0400 + +net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu2.2) lucid-security; urgency=low + + * SECURITY UPDATE: denial of service via SNMP GET with non-existent + extension table entry + - debian/patches/CVE-2012-2141.patch: validate line_idx in + agent/mibgroup/agent/extend.c. + - CVE-2012-2141 + + -- Marc Deslauriers Tue, 22 May 2012 16:53:47 -0400 + +net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu2.1) lucid-security; urgency=low + + * SECURITY UPDATE: access restriction bypass + - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516801 + - http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=17367 + - CVE-2008-6123 + + -- Corey Wright Mon, 31 May 2010 00:00:29 -0500 + +net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu2) lucid; urgency=low + + * Add apport hook (LP: #533603): + - debian/{snmp,snmpd}.apport: Added. + - debian/control: Build-depends on dh-apport. + - debian/rules: + + Add --with apport. + + override_dh_apport to install hook on snmpd package only. + + -- Andres Rodriguez Sun, 28 Mar 2010 00:25:13 -0400 + +net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu1) lucid; urgency=low + + * Repackage upstream tarball to re-add the MIBs: even if they are not + modifiable (which is questionable), this is not a reason to keep them + out of Ubuntu main. + * Revert the changes to prompt about MIB downloads. + * Call dh_installinit correctly to avoid installing links in rc[06].d + * Temporarily re-add postinst snippet to clean up rc[06].d links left by + the previous upload. + * Fix egg name listed in debian/rules, apparently needed to fix another + build failure. + + -- Steve Langasek Sat, 12 Dec 2009 00:05:34 -0800 + +net-snmp (5.4.2.1~dfsg-3ubuntu2) lucid; urgency=low + + * Fix FTBFS. + + -- Chuck Short Thu, 26 Nov 2009 13:20:26 -0500 + +net-snmp (5.4.2.1~dfsg-3ubuntu1) lucid; urgency=low + + * Merge from debian testing. Remaining changes: + - Set Ubuntu maintainer address. + - net-snmp-config: Use bash. (LP: #104738) + - Removed multiuser option when calling update-rc.d. (LP: #254261) + - debian/snmpd.init: LSBify the init script. + - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1 + (LP: #250459) + - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero. + (LP: #426813). + * Dropped patches: + - debian/patches/101-fix-ipalias.patch: Applied upstream. + - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream. + - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream. + - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed. + + -- Chuck Short Thu, 26 Nov 2009 01:27:00 +0000 + +net-snmp (5.4.2.1~dfsg-3) unstable; urgency=low + + * Fix typo in NEWS. + * Add make to libsnmp-base dependency (Closes: #556632). + * Use dh7 build system instead of cdbs (Closes: #552976). + * Fix man page .so links so they get installed correctly. + * Replace download host for RFCs for a faster one and add some better + documentation that this step takes some time and that it can be repeated + in case of a problem. (Closes: #556633, #556778, #556787, #556788) + + -- Jochen Friedrich Wed, 18 Nov 2009 16:54:11 +0100 + +net-snmp (5.4.2.1~dfsg-2) unstable; urgency=low + + * Add upstream patch R17470 to fix debugging output and numeric OID + reporting. (Closes: #524203, #509562) Thanks to Luca Ferroni + for the patch. + * Fix long description of debug package. + * Switch to libsensors4. (Closes: #518898) Thanks to Jonathan Nieder + for the patch. + + -- Jochen Friedrich Thu, 12 Nov 2009 16:17:40 +0100 + +net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low + + * New upstream version + - includes patch for CVE-2008-6123 (Closes: #516801) + * remove patches applied upstream: + - 55_cve2008_4309.patch + - 54_fix_xen.patch + - 53_fix_python_regression.patch + - 52_suppress_registration_warnings.patch + - 51_allow_g_groupname.patch + - 50_cve2008_0960.patch + - 49_cve2008_2292_python.patch + - 48_cve2008_2292_perl.patch + - 47_prevent_partial_inserts.patch + - 46_ifname_crop.patch + - 45_process_race.patch + - 43_snmp_logging.patch + - 41_snmptrapd_close_handles.patch + * Updated patches: + - 31_silence_subcontainer.patch: Use upstream changeset 17254 + - 25_duplicate_iftable.patch: Regenerated + - 03_makefiles.patch: Install Makefile.mib + * Removed non-free MIBS from distribution (Closes: #498475) + * Add debug package + * Implement "status" action in the init.d script. (Closes: #528107) + Thanks to Peter Eisentraut for the patch + * Fix LSB dependencies (Closes: #541366). Thanks to Petter Reinholdtsen + for the patch. + * Let snmpd run as group snmp (Closes: #520724). Thanks to Russell Coker + for the patch. + * Update standards version to 3.8.3. + * Get rid off lintian warnings. + * Fix memory leak when multiple interfaces have the same IPv6 address, + such as link-local addresses when VLAN subinterfaces are in use. + (Closes: #531056). Thanks to John Morrissey for the + patch. + * Rework build system (Closes: #528106) + * Change default configuration to make snmp daemons run without MIBs. + + -- Jochen Friedrich Mon, 09 Nov 2009 18:29:10 +0100 + +net-snmp (5.4.1~dfsg-12ubuntu7) karmic; urgency=low + + * debian/patches/99-fix-ubuntu-div0.patch: Fix division by zero. + (LP: #426813). + + -- Chuck Short Mon, 28 Sep 2009 14:02:16 -0400 + +net-snmp (5.4.1~dfsg-12ubuntu6) karmic; urgency=low + + * debian/patches/101-fix-ipalias.patch : Fix flooding syslog - + Syslog fills with hundreds of these errors if you have a network + interface, e.g. eth2, with no IP address, but you have an alias, + e.g. eth2:1, that does have an IP address (and netmask). + (LP: #270713) + * debian/patches/103-fix-ubuntu-lmsensors.patch: Point to the right + place for /etc/sensors3.conf. (LP: #192745) + + -- Chuck Short Mon, 14 Sep 2009 12:19:41 -0400 + +net-snmp (5.4.1~dfsg-12ubuntu5) karmic; urgency=low + + * debian/patches/99-fix-perl-counter-in-subagent.patch: Fix for Counter64 in + perl subagent. (LP: #406171) + + -- Chuck Short Fri, 04 Sep 2009 12:10:01 -0500 + +net-snmp (5.4.1~dfsg-12ubuntu4) karmic; urgency=low + + * debian/patches/99-fix-net-snmp-syslog.patch: Fixes "invalid syslog facility". + (LP: #369577) + + -- Chuck Short Wed, 24 Jun 2009 14:44:51 -0400 + +net-snmp (5.4.1~dfsg-12ubuntu3) jaunty; urgency=low + + * No-change rebuild to fix lpia shared library dependencies. + + -- Colin Watson Thu, 19 Mar 2009 13:00:18 +0000 + +net-snmp (5.4.1~dfsg-12ubuntu2) jaunty; urgency=low + + * Python 2.6 transition, debian/rules (LP: #338556): + - Include /usr/share/python/python.mk. + - Use py_sitename and py_setup_install_args macros to install all python + stuffs in the right places (/usr/lib/python*/*-packages/) and rebuild. + + -- Alessio Treglia Thu, 12 Mar 2009 00:38:57 +0100 + +net-snmp (5.4.1~dfsg-12ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + - Set Ubuntu maintainer address. + - net-snmp-config: Use bash. LP: #104738) + * Removed multiuser option when calling update-rc.d (LP: #254261). + * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1 + (LP: #250459) + * debian/snmp.init: LSBify the snmpd.init script. Add status notification, + based on initial patch by Gary Coady. (LP: #43575) + + -- Chuck Short Wed, 17 Dec 2008 00:58:14 +0000 + +net-snmp (5.4.1~dfsg-12) unstable; urgency=high + + * Urgency high because of RC bug fix. + * Modify start action so it doesn't fail if the service is already running. + (Closes: #505237) + * Update Romanian translation (Closes: #505767) + Thanks to Eddy Petrișor . + + -- Jochen Friedrich Tue, 16 Dec 2008 15:29:28 +0100 + +net-snmp (5.4.1~dfsg-11ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + - Set Ubuntu maintainer address. + - net-snmp-config. Use bash (LP: #104738) + * Removed multiuser option when calling update-rc.d (LP: #254261). + * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1 + (LP: #250459) + * debian/snmp.init: LSBify the snmpd.init script. Add status notification, + based on inital patch by Gary Coady. (LP: #43575) + * Dropped debian/patches/51_CVE-2008-0960.patch: Use debian's instead. + * Dropped debian/patches/54_fix_registration_error.patch: Use debian's instead. + + -- Chuck Short Wed, 05 Nov 2008 02:59:05 +0000 + +net-snmp (5.4.1~dfsg-11) unstable; urgency=high + + * This update fixes the following security issue: + - CVE-2008-4309: A bug in the getbulk handling code could let anyone + with even minimal access crash the agent. (Closes: #504150) + + -- Jochen Friedrich Mon, 03 Nov 2008 17:58:35 +0100 + +net-snmp (5.4.1~dfsg-10) unstable; urgency=high + + * Fix python regression introduced by fix of CVE-2008-2292 (Closes: #497656) + * Fix xen dom0 problems (Closes: #500717) + + -- Jochen Friedrich Mon, 06 Oct 2008 22:35:57 +0200 + +net-snmp (5.4.1~dfsg-9) unstable; urgency=low + + * Ack NMU (Closes: #485945) + * Updated standards version to 3.8.0 (no changes) + * Update debconf translations: + o sv: Martin Bagge (Closes: #491778) + o ja: Hideki Yamane (Debian-JP) (Closes: #494118) + * Add patch to support -g {groupname} (Closes: #441871, #468577, #485948) + * Add official patch to suppress annoying warning in syslog (Closes: #493281) + * Fix default stop section in LSB header of start script. + + -- Jochen Friedrich Fri, 29 Aug 2008 18:13:49 +0200 + +net-snmp (5.4.1~dfsg-8.1) unstable; urgency=high + + * Non-maintainer upload by the Security Team. + * This update fixes the following security issue: + - CVE-2008-0960: The authentication code relies on the client specified + HMAC length which makes it easier for an attacker to match a correct HMAC + and authentication if a single byte HMAC is supplied (Closes: #485945) + + -- Nico Golde Thu, 12 Jun 2008 22:22:52 +0200 + +net-snmp (5.4.1~dfsg-8) unstable; urgency=low + + * NACK NMU as the patch broke perl (Closes: #483588) + * Really fix CVE-2008-2292 using two upstream patches (Closes: #482333) + * Update nl translation (Closes: #460587) + * Update patch for support of long interface names to upstream version + + -- Jochen Friedrich Tue, 03 Jun 2008 13:06:57 +0200 + +net-snmp (5.4.1~dfsg-7.1ubuntu6) intrepid; urgency=low + + * debian/snmpd.init: Fix snmpd script error. (LP: #270961) + + -- Chuck Short Mon, 22 Sep 2008 14:18:08 -0400 + +net-snmp (5.4.1~dfsg-7.1ubuntu5) intrepid; urgency=low + + * debian/snmpd.init: LSBify the snmpd.init script. And add status + notification, based on inital patch by Gary Coady. (LP: #43575) + * debian/patches/54_fix_registration_error.patch: Surpresses annoying + registrations in startup. (LP: #200614) + + -- Chuck Short Fri, 12 Sep 2008 13:21:40 -0400 + +net-snmp (5.4.1~dfsg-7.1ubuntu4) intrepid; urgency=low + + * Fix lsb headers in init script: stop in single user mode + (LP: #254261). + + -- Mathias Gug Thu, 21 Aug 2008 23:07:59 -0400 + +net-snmp (5.4.1~dfsg-7.1ubuntu3) intrepid; urgency=low + + [ Salvatore Palma ] + * Add 52_fix_snmpcmd_1_typo.patch patch to adjust a typo in + snmpcmd.1 (LP: #250459). + + [ Mathias Gug ] + * Remove multiuser option when calling update-rc.d. (LP: #254261). + + -- Mathias Gug Tue, 12 Aug 2008 23:03:05 -0400 + +net-snmp (5.4.1~dfsg-7.1ubuntu2) intrepid; urgency=low + + * SECURITY UPDATE: HMAC authentication spoofing. + * debian/patches/51_CVE-2008-0960.patch: fixes HMAC authentication spoofing. + * debian/patches/52_use_right_config_file.patch: Use the right configuration + file for lmsensors. (LP: #192745) + + -- Chuck Short Mon, 16 Jun 2008 15:47:18 +0000 + +net-snmp (5.4.1~dfsg-7.1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - Set Ubuntu maintainer address. + - net-snmp-config: Use bash. LP: #104738. + - Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to + libsnmp-base to avoid file confict on dapper->hardy upgrades. + (LP: #203610) + + -- Chuck Short Tue, 27 May 2008 13:06:56 -0500 + +net-snmp (5.4.1~dfsg-7.1) unstable; urgency=high + + * Non-maintainer upload by the Security Team. + * Fix buffer overflow in the python and perl module (__snprint_value + function)that can be exploited via large OCTETSTRING in an + attribute value pair (AVP) leading to arbitrary code + execution (CVE-2008-2292; Closes: #482333). + + -- Nico Golde Sat, 24 May 2008 13:12:16 +0200 + +net-snmp (5.4.1~dfsg-7) unstable; urgency=low + + * Add some more Conflicts: and Replaces: magic to allow moving + net-snmp-config to libsnmp-base. (Really Closes: #443420, #443396, #261686) + * Update debhelper to version 6 + * Add patch for support of long interface names (Closes: #468260) + Thanks to Jonathan Steinert for the patch. + * Add upstream patch to avoid a crash on pppoe tunnels (Closes: #451294) + * Convert copyright to UTF-8. + * Fix spelling error in NEWS: deamon -> daemon. + + -- Jochen Friedrich Tue, 29 Apr 2008 18:37:23 +0200 + +net-snmp (5.4.1~dfsg-6) unstable; urgency=low + + * Add Noah Meyerhans as uploader + * Add upstream patch for process regression (Closes: #460050) + * Fix build system for Perl 5.10 (Closes: #463059) + + -- Jochen Friedrich Tue, 29 Jan 2008 14:43:18 +0100 + +net-snmp (5.4.1~dfsg-5) unstable; urgency=low + + * Add upstream changeset 16721: + o snmplib: PATCH: 1806336: fix -LS option parsing (Closes: #444986) + * Add patch from Petr Salinger : + o search nlist() in libkvm. (Closes: #449550) + * Add finish translation from Esko Arajärvi . + (Closes: #448421). + * Updated standards version to 3.7.3 + o Add Homepage tag + o rename XS-Vcs-* to Vcs-* + + -- Jochen Friedrich Fri, 28 Dec 2007 12:43:21 +0100 + +net-snmp (5.4.1~dfsg-4ubuntu4) hardy; urgency=low + + * Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to + libsnmp-base to avoid file confict on dapper->hardy upgrades + (LP: #203610) + + -- Michael Vogt Tue, 18 Mar 2008 17:47:13 +0100 + +net-snmp (5.4.1~dfsg-4ubuntu3) hardy; urgency=low + + * Rebuild with recent python-central. + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 10 Mar 2008 12:46:06 +0000 + +net-snmp (5.4.1~dfsg-4ubuntu2) hardy; urgency=low + + * net-snmp-config: Use bash. LP: #104738. + + -- Matthias Klose Wed, 06 Feb 2008 14:45:12 +0000 + +net-snmp (5.4.1~dfsg-4ubuntu1) hardy; urgency=low + + * Merge from debian unstable. + * Remaining Ubuntu changes: + - Remove stop links from rc0 and rc6 + - Munge Maintainer field as per spec. + * Ubuntu changes dropped: + - Symlink common files between the packages, CDBS ought to handle that + for us automatically. + * The latest Debian changes has dropped history from the changelog. Slot in + the Ubuntu changes as best I can. + + -- Steve Kowalik Sat, 08 Dec 2007 14:59:50 +1100 + +net-snmp (5.4.1~dfsg-4) unstable; urgency=low + + * Do it right this time. + + -- Jochen Friedrich Fri, 21 Sep 2007 21:20:30 +0200 + +net-snmp (5.4.1~dfsg-3) unstable; urgency=low + + * Add some Conflicts: and Replaces: magic to allow moving + net-snmp-config to libsnmp-base. (Closes: #443420, #443396, #261686) + + -- Jochen Friedrich Fri, 21 Sep 2007 16:47:48 +0200 + +net-snmp (5.4.1~dfsg-2) unstable; urgency=low + + * Fixed extra MIB patch, so the extra MIBS are really added to the + Debian package. + * Update of GNOME-SMI (fixed a typo in the actual OID) + * Finally move 5.4.1 to unstable (Closes: #441948, #264938, #416965) + * Fixed snmp.install to not include mib2c-update. + * Fixed clean target. + + -- Jochen Friedrich Thu, 20 Sep 2007 16:40:28 +0200 + +net-snmp (5.4.1~dfsg-1) experimental; urgency=low + + * New upstream version + * Remove patches included in new upstream. + * Fix double inclusion of net-snmp-config man page + * Include stuff from 5.3.1-8: + o Rearrange snmpd.postrm to not run deluser twice. + o Add lintian override for false alarm caused by + the Smith review project. + o Add patch to snmptrapd to close its file handles (Closes: #391203) + + -- Jochen Friedrich Thu, 02 Aug 2007 14:43:20 +0200 + +net-snmp (5.4~dfsg-2) experimental; urgency=low + + [ Christian Perrier ] + * Debconf templates and debian/control reviewed by the debian-l10n- + english team as part of the Smith review project. Closes: #426232 + * Debconf translation updates: + - Galician. Closes: #426836 + - Vietnamese. Closes: #426842 + - Czech. Closes: #426864 + - Swedish. Closes: #426882 + - Basque. Closes: #426933 + - Portuguese. Closes: #427065 + - Danish. Closes: #427158 + - Spanish. Closes: #427377 + - German. Closes: #427542 + - Russian. Closes: #427820 + - Italian. Closes: #428151 + - Brazilian Portuguese. Closes: #428885, #428886 + - Tamil. Closes: #428969 + - French. Closes: #429814 + + [ Jochen Friedrich ] + * Include stuff from 5.3.1-6: + o Rename dev Package to libsnmp-dev as suggested by Kurt Roeckx + and Steve Langasek + * Remove old template entry (Closes: #422972) + * Set PATH in init script (Closes: #429442) + + -- Jochen Friedrich Tue, 03 Jul 2007 14:54:00 +0200 + +net-snmp (5.4~dfsg-1) experimental; urgency=low + + [ Jochen Friedrich ] + * New upstream version (Closes: #279670, #412924, #416965) + * Remove official patches from 5.3.1 tree + * Add official patches + o memory leaks in ipAddress and CirdRoute tables (SF #1610155) + o tcp connection table leaks fds (SF #1611524) + * Patch from upstream svn for snmpd.8 man page + * Add python module + + + [ Thomas Anders ] + * Change makefile patch for 5.4.rc3 + * Change docfile patch for 5.4 + + + -- Jochen Friedrich Fri, 13 Apr 2007 16:16:02 +0200 + +net-snmp (5.3.1-6ubuntu2) gutsy; urgency=low + + * Do not install the upstream changelog in libsnmp10 and libsnmp-base. + * Symlink files common in libsnmp10 and libsnmp-base. + + -- Matthias Klose Fri, 05 Oct 2007 14:55:58 +0200 + +net-snmp (5.3.1-6ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. + * Remaining Ubuntu changes: + - Remove stop links from rc0 and rc6 + - Munge Maintainer field as per spec. + + -- Steve Kowalik Wed, 23 May 2007 08:58:46 +1000 + +net-snmp (5.3.1-5ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. + * Remaining Ubuntu changes: + - Remove stop links from rc0 and rc6 + * Munge Maintainer field as per spec. + + -- Steve Kowalik Thu, 10 May 2007 22:20:23 +1000 + +net-snmp (5.3.1-3) unstable; urgency=low + + * Move AgentX socket to RFC location. + * Update pktinfo patch from Jan Andres + * Add official patches. + o disabling agentX breaks snmptrapd auth (SF #1527661) + o SNMP.pm gettable() patch (SF #1532044) + o 8 byte IpAddress value for 64bit non-linux systems (SF #1550635) + o memory leaks in ipAddress and CirdRoute tables (SF #1610160) + * Synchronize tree to 5.2.3-7. + o Don't fail postrm on non-existant deluser (Closes: #398540) + o Add German debconf translation (Closes: #397823) + Thanks to Helge Kreutzmann . + o Add Italian debconf translation (Closes: #398047) + Thanks to Luca Monducci . + o Add patch to hardcode mount table location (Closes: #370132) + o Add Romanian translation (Closes: #403949) + Thanks to stan ioan-eugen . + o Update patch from Petr Salinger for + kFreeBSD and Hurd support. (Closes: #402116) + o Fix restart of snmpd (Closes: #402568, #401306) + o Add Spanish translation (Closes: #402685) + Thanks to Javier Fernández-Sanguino Peña + o Add Brazilian Portuguese translation (Closes: #403549) + Thanks to André Luís Lopes" + o Don't fail postrm on non-existant deluser (Closes: #398540) + o Add LSB section to startup file. + o Add Thomas Anders as co-Maintainer. + o Add missing copyrights to copyright file. + o Fix spelling errors and wrong path names in documentation. + + -- Jochen Friedrich Wed, 11 Apr 2007 13:04:00 +0200 + +net-snmp (5.3.1-2) experimental; urgency=low + + * Add kfreebsd support. Thanks to Petr Salinger + (Closes: #380252) + * Add Russian translation. Thanks to Yuri Kozlov + (Closes: #380300) + * Update Czech translation. Thanks to Miroslav Kure + (Closes: #380528) + + -- Jochen Friedrich Mon, 31 Jul 2006 16:57:13 +0200 + +net-snmp (5.3.1-1) experimental; urgency=low + + * New upstream version (Closes: #358079, #252893) + * Convert build system to cdbs. (Closes: #323074) + * Add patch from Lars Ellenberg to answer with the same + IP address the request was sent to. (Closes: #111263) + * Add patch from Sven Schnelle to prevent duplicate iftable + entries (Closes: #368617) + + -- Jochen Friedrich Wed, 26 Jul 2006 12:08:46 +0200 + +net-snmp (5.2.3-4ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - remove stop links from rc0 and rc6 + + -- Scott James Remnant Tue, 28 Nov 2006 12:29:34 +0000 + +net-snmp (5.2.2-5ubuntu1) edgy; urgency=low + + * Remove stop script symlinks from rc0 and rc6. + + -- Scott James Remnant Fri, 15 Sep 2006 17:32:44 +0100 + +net-snmp (5.2.2-4) unstable; urgency=low + + * Add French translation. Thanks to Thomas Huriaux + (Closes: #357928) + * Add Czech translation. Thanks to Miroslav Kure + (Closes: #358845) + * Add Dutch translation. Thanks to Vincent Zweije + (Closes: #360441) + * Add Galician translation. Thanks to Jacobo Tarrio + (Closes: #361778) + * Add Portuguese translation. Thanks to Rui Branco + (Closes: #375018) + * Add patch from upstream to correct sysObjectID. + (Closes: #363399, #374065) + * Rearrange snmpd.postrm to not run deluser twice. + * Change build-depends to not depend on automake but on + automake1.9 (Closes: #376561) + * Build with -Wall (Closes: #323074) + * Add patch to make -Z support zero values. Path thanks + to Peder Chr. Norgaard + (Closes: #366817) + * Make init script support reloading configuration without + restart. (Closes: #367071) + * Execute dh_fixperm before dh_strip (Closes: #360253) + + -- Jochen Friedrich Tue, 4 Jul 2006 15:23:54 +0200 + +net-snmp (5.2.2-3) unstable; urgency=low + + * Add short description to debconf templates (Closes: #355119) + * Add Danish translation. Thanks to Claus Hindsgaul + (Closes: #355375) + * Add patch to add m4 directory with extracted net-snmp specific + aclocal definitions. Required to make libtool work correctly + (Closes: #355850, #536123) + + -- Jochen Friedrich Sat, 11 Mar 2006 12:10:10 +0100 + +net-snmp (5.2.2-2) unstable; urgency=low + + * Redo CVS Checkout from alioth (Closes: #354779) + + -- Jochen Friedrich Wed, 01 Mar 2006 20:32:01 +0100 + +net-snmp (5.2.2-1) unstable; urgency=low + + * New upstream release + * Added man page for snmpnetstat53 + * Fix typos in man pages. Thanks to Nicolas François + (Closes: #326515, #326530, #326532). + * Fix libsnmp9-dev dependencies. Thanks to Ahmed Baizid + (Closes: #343577). + * Listen on 127.0.0.1 by default and turn off SMUX port in + /etc/defaults/snmpd. (Closes: #294309, #314907, #216108) + * Remove dangling symlinks /etc/doc/snmp[d] -> libsnmp5 which might + eventually be left over from old packages. Thanks to "Mario 'BitKoenig' + Holbe" (Closes: #336365) + * Run snmpd as snmp user by default (Closes: #275374, #337053) + * Depend and Builddepend libsnmpd9-dev on procps. Thanks to + Peder Chr. Norgaard for pointing this out. + (Closes: #325840) + * Fix man page section mismatch found by lintian. + + -- Jochen Friedrich Wed, 23 Feb 2006 15:05:32 +0100 + +net-snmp (5.2.1.2-4) unstable; urgency=low + + * Version builddep on libssl-dev and rebuild, for openssl transition + Closes: #334010 Thanks to Henrique de Moraes Holschuh . + + -- Jochen Friedrich Sat, 15 Oct 2005 09:24:26 +0200 + +net-snmp (5.2.1.2-3) unstable; urgency=low + + * Apply official library-version-update-5.2.1.2.patch to clean up the + version mess (Closes: #322500) + * Replace error_snmp6.patch by upstream systemstats-snmp6.patch + * Added upstream inetNetToMedia-01.patch (Closes: #323038) + * Added ipaddress_linux.c-in_len-out_len-type.patch from + Julien BLACHE (Closes: #321713) + + -- Jochen Friedrich Mon, 5 Sep 2005 21:19:30 +0200 + +net-snmp (5.2.1.2-2) unstable; urgency=low + + * Don't print error message if ipv6 module is not loaded. (Closes: #319741) + * Added conflicts against all packages using libsnmp5 due to upstream + changing the binary API without increasing SONAME. See: #322500 + + -- Jochen Friedrich Thu, 28 Jul 2005 20:19:09 +0200 + +net-snmp (5.2.1.2-1) unstable; urgency=low + + * New upstream release (Closes: #293902). Contains fix for CAN-2005-2177 + * Acknowledge NMU (Closes: #302195, #302386). Many thanks to + Henrique de Moraes Holschuh for his quick action! + * Including ucd-snmp/diskio (Closes: #264938) + * Don't relink libraries (Closes: #243870) + * Link against libsensors on all archs again (Closes: 304103) + * Include fixproc (Closes: #310692) + * Updated standards version to 3.6.2 + * Change to patch based build system (Closes: #292412) + * Updated GNOME-SMI.txt + + -- Jochen Friedrich Wed, 20 Jul 2005 21:47:32 +0200 + +net-snmp (5.1.2-6.1) unstable; urgency=emergency + + * NMU (with permission from maintainer) + * debian/rules: clean up libdir in all .la files installed to + /usr/lib, so as to avoid breaking all libtool builds (closes: #302195). + + -- Henrique de Moraes Holschuh Thu, 31 Mar 2005 12:14:11 -0300 + +net-snmp (5.1.2-6) unstable; urgency=medium + + * Backed out the unauthorized MIB changes. lm-sensors updates. + Closes: #274624, Downgrades: #249904 + * Fixed debian/fixman to not mangle the man pages (Closes: #273779). + * Fixed snmpset.1 man page. Thanks to + Nicolas François (nicolas.francois@centraliens.net + (Closes: #274431) + * Fix from CVS for v3 enginetime wrapping problem (Closes: #271543). + * Backed out patch to skip over interfaces without stats. + This might have an impact on #254571, #261701. Should be retested. + + -- Jochen Friedrich Fri, 1 Oct 2004 12:54:23 +0200 + +net-snmp (5.1.2-5) unstable; urgency=medium + + * Commented out remaining MemShared message + Thanks to Johan Thelmén (Really closes: #244721) + * New version of lm-sensors from upstream (Thanks to Mike Slifcak). + lm-sensors is now enabled again on i386. + Closes: #264442, #267691, #249839, #249904, 266270 + + -- Jochen Friedrich Thu, 23 Sep 2004 18:45:41 +0200 + +net-snmp (5.1.2-4) unstable; urgency=medium + + * Fix from CVS for scanning 64bit counters from /proc (Closes: #210364) + + -- Jochen Friedrich Fri, 27 Aug 2004 10:12:07 +0200 + +net-snmp (5.1.2-3) unstable; urgency=high + + * Fixed init script to not depend on defaults file (Closes: #267414) + + -- Jochen Friedrich Mon, 23 Aug 2004 17:27:47 +0200 + +net-snmp (5.1.2-2) unstable; urgency=medium + + * Disable lm-sensors support for i386 once again as it's not yet mature + enough for sarge: + - It seems to trash memory: (Downgrades: #264442) + - It doesn't work as expected: #249839, #249904 + - It is a likely candidate for memory leakage (at least it + looks like the result of sensors_get_label() is never freed) + + -- Jochen Friedrich Tue, 17 Aug 2004 00:11:58 +0200 + +net-snmp (5.1.2-1) unstable; urgency=low + + * New upstream release (Closes: #237890, #236326, #217306, #261624) + o Linux 2.6 improvements (Closes: #225253, #244721) + o Misc 64bit processor fixes. + o Misc perl build and install fixes. + o Minor improvements to snmpnetstat (IPv6 output) + o Minor improvements to snmpdelta (error reporting) + * snmp now recommends perl-modules (Closes: #261687) + * added watch file. + * fixed some lintian errors and warnings. + + -- Jochen Friedrich Tue, 10 Aug 2004 11:18:31 +0200 + +net-snmp (5.1.1-2) unstable; urgency=low + + * Fix dependency of lm-sensors + * Remove library circular dependency (Closes: #229132) + + -- Jochen Friedrich Fri, 9 Apr 2004 10:52:34 +0200 + +net-snmp (5.1.1-1) unstable; urgency=low + + * New upstream release (Closes: #232602, #238129) + o Improvements on 64 bit architectures. + o A few minor memory leaks fixed. + o An extremely large number of minor bug fixes. + o Many perl module specific bug fixes. + o snmpd will safely handle more signals. + * Enabled and fixed lm-sensors, this time for real. Thanks + to Christopher Price for the patch. + (Closes: #240502) + + -- Jochen Friedrich Tue, 6 Apr 2004 23:27:52 +0200 + +net-snmp (5.1-5) unstable; urgency=low + + * Enabled lm-sensors support again. + * Fixed libsnmp-base postinst -> postrm (Closes: #236405) + + -- Jochen Friedrich Sat, 13 Mar 2004 09:39:17 +0100 + +net-snmp (5.1-4) unstable; urgency=low + + * Really fixed libwrap inclusion in net-snmp-config.in + (Closes: #232396) + + -- Jochen Friedrich Mon, 23 Feb 2004 17:20:21 +0100 + +net-snmp (5.1-3) unstable; urgency=low + + * Applied patch from CVS to fix HOST-RESOURCES-MIB. (Closes: #232374) + * Applied patch from CVS to fix output of strings containing + CR or LF chars (bug 864367 on SF). (Closes: #218210) + * Applied patch from CVS to fix syslog output. + * Disabled lm-sensors support until kernel module issues are resolved. + + -- Jochen Friedrich Sat, 21 Feb 2004 00:29:06 +0100 + +net-snmp (5.1-2) unstable; urgency=low + + * Fix IPv6 MIB leaking file handles. Thanks to + for pointing out the patch at + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=85071. + (Closes: #159495) + * Fixed snmpd.defaults. Thanks to James Samuel + for the patch. (Closes: #232394) + * Fixed libwrap inclusion in net-snmp-config.in (Closes: #232396) + * Updated shlibs to match version 5.1 (Closes: #232422) + + -- Jochen Friedrich Thu, 12 Feb 2004 19:30:57 +0100 + +net-snmp (5.1-1) unstable; urgency=low + + * New upstream release (Closes: #224382) + * New maintainer (Closes: #230679) + * Bumped standards version to 3.6.1 + * Ack old NMUs (Closes: #182426, #186834, #183041) + * Updated GNOME-SMI.txt + * Removed duplicate conffiles + * Fixed description to make litian happy + + -- Jochen Friedrich Mon, 9 Feb 2004 23:38:57 +0100 + +net-snmp (5.0.9-3) unstable; urgency=low + + * Only support lm-sensors on i386 (closes: #216500). + + -- David Engel Wed, 19 Nov 2003 14:13:02 -0600 + +net-snmp (5.0.9-2) unstable; urgency=low + + * Fixed problem with libsnmp5 depending on itself. + * Make sure sysconfdir is defined (fixes bad path in manpages). + * Fixed problem overwriting MIBs (closes: #216034). + + -- David Engel Thu, 16 Oct 2003 14:09:38 -0500 + +net-snmp (5.0.9-1) unstable; urgency=low + + * New upstream version (closes: #214660) + - snmp.conf(5) man page is now corrected (closes: #185888). + - Incorrect behaviour of snmpd allowing to bypass the access + restrictions using snmpbulkget is corrected (closes: #205952). + * Updated the debian/copyright file. + * Changed to work with current libtool and autoconf (closes: $208380). + * Link libraries with complete dependencies (closes: #199166). + * Updated package descriptions (closes: #210122, closes: #210017, + closes: #209704, closes: #209857, closes: #209905, closes: #209839). + * Added manpages for net-snmp-config, snmpvacm, encode_keychange + (closes: #182996) and tkmib (closes: #130684) from Jurij Smakov + . + * Fixed mib2c to look for config files in the correct places. + * Enabled support for the lm-sensors MIB (closes: #204543). + * Use the process name instead of the command-line when matching + processes with proc config file directives (closes: #204542) from + Philippe Troin . + * Really enabled dlmod support (closes: #180639). + * Don't use obsolete SO_BSDCOMPAT sockopt (closes: #201853). + * Don't print SMUX passwords in log file (closes: #195622). + * Fixed typo in default snmpd.conf (closes: #185366). + * Don't include build paths in SNMP.so (closes: #184610). + * Added the BGP4, OSPF and RIPv2 MIBs. + * Ignore interfaces with no statistics (closes: #159321). + * Added the GNOME SMI (closes: #196340). + + -- David Engel Tue, 14 Oct 2003 18:12:36 -0500 + +net-snmp (5.0.8-1) unstable; urgency=low + + * New upstream version. + + -- David Engel Wed, 14 May 2003 17:02:42 -0500 + +net-snmp (5.0.7-1.1) unstable; urgency=low + + * NMU based on patches by Paul Hampson + * Add proper dependencies to libsnmp5-dev. Closes: #183041. + * Use updated libtool for mips/mipsel. Closes: #182426. + * Run debian/fixman.sh using bash. Closes: #186834. + + -- Daniel Schepler Sat, 26 Apr 2003 16:52:18 -0700 + +net-snmp (5.0.7-1) unstable; urgency=low + + * New upstream version (closes:177127, closes:154323, + closes:154322). + * Enabled dlmod support in snmpd (closes:180639). + * Use current config.guess and config.sub (closes:172501). + + -- David Engel Sun, 23 Feb 2003 23:01:45 -0600 + +net-snmp (5.0.6-1) unstable; urgency=low + + * New upstream version. + * Use autoconf2.13 (closes:157117, closes:162441, closes:162781). + * Commented out example proc, exec, disk and load statements in the + default snmpd.conf (closes:164028). Users can re-enable them if + desired. + * Added a note to README.Debian about the new snmpcmd command line + syntax regarding community strings (closes:160198). + + -- David Engel Wed, 23 Oct 2002 09:20:11 -0500 + +net-snmp (5.0.3-2) unstable; urgency=low + + * Rebuild with perl 5.8. + * Install additional UCD compatibility headers (closes: #156166). + + -- David Engel Sun, 1 Sep 2002 21:35:12 -0500 + +net-snmp (5.0.3-1) unstable; urgency=low + + * New upstream version. + * Linked libraries with libcrypto and libwrap to get proper + dependencies. Updated net-snmp-config accordingly + (closes: #155153). + * Included the UCD compatibility headers and library + (closes: #155133). + * Fixed bad snmpinform symlink (closes: #155196). + * Fixed mib2c to look in /etc/snmp for config files + (closes: #155157). + + -- David Engel Mon, 5 Aug 2002 21:01:27 -0500 + +net-snmp (5.0.2a-1) unstable; urgency=low + + * New upstream version (closes: #147761). + * Added missing -f in init script. + + -- David Engel Mon, 1 Jul 2002 21:36:08 -0500 + +ucd-snmp (4.2.5-1) unstable; urgency=low + + * New upstream version (closes:145289). + + -- David Engel Tue, 14 May 2002 19:31:02 -0500 + +ucd-snmp (4.2.4-2) unstable; urgency=low + + * Made libucdmibs depend on libwrap (closes:144521). + + -- David Engel Thu, 25 Apr 2002 15:27:40 -0500 + +ucd-snmp (4.2.4-1) unstable; urgency=low + + * New upstream version. + * Rebuilt with SSL since cryto can now go in main. + * Explicitly use bash for the fixman script (closes:133652). + * Don't use LD_RUN_PATH in perl/SNMP.so. + * Fixed parsing of "-p udp:" in snmpd (closes:141176). + + -- David Engel Tue, 23 Apr 2002 20:50:25 -0500 + +ucd-snmp (4.2.3-2) unstable; urgency=high + + * Fixed potential buffer overflow in snmpnetstat (close:129243). + * Updated upstream URL in debian/copyright file (close:125669). + + -- David Engel Mon, 28 Jan 2002 21:24:59 -0600 + +ucd-snmp (4.2.3-1) unstable; urgency=low + + * New upstream version (closes:122331). + * Changed the snmpd syslog message when interface statistics are + not available from LOG_ERR to LOG_DEBUG (closes:121555). + * Added a note in README.Debian about changes to + ucd-snmp-includes.h (closes:121095). + + -- David Engel Sat, 8 Dec 2001 20:11:34 -0600 + +ucd-snmp (4.2.2-1) unstable; urgency=low + + * New upstream version (closes:111966, closes:112005, closes:112073, + closes:118795, closes:118848). + * Removed Build-Depends on essential sed package (closes:111212). + * Added the ucd-snmp.m4 autoconf file (closes:112078). + * Moved mib2c from libsnmp-perl to libsnmp4.2-dev (closes:112393). + * Remove /var/lib/snmp if libsnmp-base is purged (closes:113729). + * Fixed int/size_t errors in mib_api man page (closes:114478). + * Added a blurb in README.Debian about snmpconf (closes:115378). + * Enabled smux support. + * Moved the agentx socket from /var/agentx/master to /var/run/agents + for FHS compatibility (closes:120015). + + -- David Engel Mon, 19 Nov 2001 13:33:59 -0600 + +ucd-snmp (4.2.1-6) testing unstable; urgency=high + + * Fixed LD_LIBRARY_PATH build problem when running under fakeroot + (closes:107565, closes:104044). + * Applied ucd-snmp-4.2.1-security*.patch from Caldera to fix potential + buffer overflow, temp file race and group permission problems + (closes:109345, closes:109733). + * Documented the -s option in the snmpd manpage (closes:109639). + * Changed the FAQ to reference /usr and /etc instead of /usr/lcoal + (closes:107758). + * Removed duplicate build dependency on libtool (closes:107476). + Changed build dependency from perl5 to perl (>=5.6) (closes:107575). + * Fixed minor typo in snmpd manpage (closes:106326). + * Added symlinks for missing man pages (closes:99614) and renamed + section 3 and 5 man pages to *.[35]snmp to aboid possible conflicts + with other packages. + * Applied ucd-snmp-4.2-ia64.patch from RedHat to properly set the return + length of IP addresses on 64-bit architectures. + + -- David Engel Sun, 2 Sep 2001 22:47:30 -0500 + +ucd-snmp (4.2.1-5) unstable; urgency=low + + * Rebuilt without SSL (closes:98306, closes:102429). Will look + into doing a non-US version with SSL. + + -- David Engel Sat, 7 Jul 2001 20:53:16 -0500 + +ucd-snmp (4.2.1-4) unstable; urgency=low + + * Fixed bug uncovered by libtool upgrade which caused snmpd + not to build (closes:97965). + + -- David Engel Fri, 18 May 2001 20:49:14 -0500 + +ucd-snmp (4.2.1-3) unstable; urgency=low + + * Installed the libsnmp-perl module into the perl vendor + directory (closes:95530). + * Updated the description of the libsnmp-base package + (closes:97170). + * Upgraded to libtool 1.4 (closes:97660). + + -- David Engel Thu, 17 May 2001 20:16:17 -0500 + +ucd-snmp (4.2.1-2) unstable; urgency=low + + * Enabled SSL support. + * Included the agent libraries in the -dev package to allow + for building agent extensions. + + -- David Engel Tue, 15 May 2001 20:15:56 -0500 + +ucd-snmp (4.2.1-1) unstable; urgency=low + + * New upstream version. + * Gave up and added autoconf and libtool to Build-Depends: + (closes:92103). + * Fixed mib2c to use /etc/snmp instead of /usr/share/snmp. + + -- David Engel Wed, 11 Apr 2001 23:39:52 -0500 + +ucd-snmp (4.2-7) unstable; urgency=low + + * Fixed long standing bug where mibs were not processed if the + .index file was not present (closes: 89597). + * Fixed starting of snmptrapd to be controlled by TRAPDRUN like + it was intended and documented (closes: 90621). + + -- David Engel Sun, 25 Mar 2001 17:51:09 -0600 + +ucd-snmp (4.2-6) unstable; urgency=low + + * Avoid rerunning autoconf/header (Bug#89033). + + -- David Engel Sun, 11 Mar 2001 17:08:41 -0600 + +ucd-snmp (4.2-5) unstable; urgency=low + + * Fixed IBM S/390 build (Bug#88559). + + -- David Engel Tue, 6 Mar 2001 19:56:11 -0600 + +ucd-snmp (4.2-4) unstable; urgency=low + + * Fixed build installs into the live filesystem (Bug#87015). + + -- David Engel Sun, 25 Feb 2001 22:12:21 -0600 + +ucd-snmp (4.2-3) unstable; urgency=low + + * Removed the Pre-Depends for snmpd since it didn't fix the + problem I was trying to solve (Bug#85573). + + -- David Engel Tue, 20 Feb 2001 20:08:41 -0600 + +ucd-snmp (4.2-2) unstable; urgency=low + + * Created new libsnmp-base package to allow future libsnmpX.Y + packages to coexist (Bug#31253). + * Added a slight delay after stopping the daemons to let them + completely exit before restarting them (Bug#84696). + * Added a /etc/default/snmpd file to control daemon activity. + * Hopefully fixed strange error starting snmpd (Bug#58411). + * Changed package priorities to optional to match the overrides + file. + * Added tkmib and libsnmp-perl packages (Bug#78942). + + -- David Engel Sun, 4 Feb 2001 13:27:26 -0600 + +ucd-snmp (4.2-1) unstable; urgency=low + + * New upstream version (Bug#82876). + * Enabled ipv6 support (Bug#82879). + * Updated to packaging standard 3.2.1 (Bug#82878). + * Added BRIDGE- and SOURCE-ROUTING-MIBs (Bug#62696). + + -- David Engel Sun, 21 Jan 2001 12:52:02 -0600 + +ucd-snmp (4.1.2-2) unstable; urgency=low + + * Added real counter objects to the IPFWCHAINS MIB (George Bonser). + * Don't resolve addresses to names in the IPFWCHAINS MIB (George + Bonser). + * Update the IPFWCHAINS MIB information properly. + * Use /dev/null as logfile to force closing of std* (Bug#71959, + Bug#66898). + * Added a README.Debian file describing issues that are specific + to Debian (Bug#70421, Bug#66477). + + -- David Engel Sun, 19 Nov 2000 21:39:38 -0600 + +ucd-snmp (4.1.2-1) unstable; urgency=low + + * New upstream version. + * Fixed segfault in snmpd on processes with long command lines + (Bug#64333). + + -- David Engel Mon, 22 May 2000 20:06:48 -0500 + +ucd-snmp (4.1.1-3) unstable; urgency=low + + * Added the ipfwchains MIB module (Bug#63252). + + -- David Engel Sat, 29 Apr 2000 21:36:34 -0500 + +ucd-snmp (4.1.1-2) frozen unstable; urgency=low + + * Fixed incorrect .so directives in man3 pages which caused + several error messages from man_db. + + -- David Engel Sat, 8 Apr 2000 11:48:23 -0500 + +ucd-snmp (4.1.1-1) frozen unstable; urgency=low + + * New upstream version (Bug#60427). + * Fixed memory leaks in snmpd (Bug#49809). + * Installed snmpv3.h (Bug#60594). + * Turned on syslog logging in snmpd (Bug#60611). + + -- David Engel Sat, 25 Mar 2000 20:45:07 -0600 + +ucd-snmp (4.0.1-9) frozen unstable; urgency=low + + * Fixed more serious build problems (Bug#60381). + + -- David Engel Tue, 14 Mar 2000 21:34:36 -0600 + +ucd-snmp (4.0.1-8) frozen unstable; urgency=low + + * Removed execute permission from header files. (Bug#60369). + + -- David Engel Tue, 14 Mar 2000 11:30:41 -0600 + +ucd-snmp (4.0.1-7) frozen unstable; urgency=low + + * Backported important fixes from 4.1-1 to get into frozen. + * Removed hidden snmpd dependency on rpm (Bug#56471). + * Removed bad paths in snmpd (Bug#56498). + * Fixed segfault in snmpdelta (Bug#57486). + + -- David Engel Sun, 13 Feb 2000 12:52:53 -0600 + +ucd-snmp (4.0.1-6) frozen unstable; urgency=low + + * Issue a warning about retoring the default snmpd configuration + when upgrading from the older, incompatible version (Bug#55883). + + -- David Engel Sat, 22 Jan 2000 20:45:26 -0600 + +ucd-snmp (4.0.1-5) unstable; urgency=low + + * Install EXAMPLE.conf (Bug#51584). + + -- David Engel Thu, 2 Dec 1999 19:55:00 -0600 + +ucd-snmp (4.0.1-4) unstable; urgency=low + + * Change persistent directory to /var/lib/snmp (Bug#48151). + * Used LCD_TIME_SYNC_OPT. + + -- David Engel Mon, 25 Oct 1999 11:29:17 -0500 + +ucd-snmp (4.0.1-3) unstable; urgency=low + + * Removed snmpcheck, at least for now (Bug#44373). + * Fixed shlibs file (Bug#45577). + * Fixed build problems (Bug#45758). + * Use FHS /usr/share/{doc,man}. + + -- David Engel Mon, 27 Sep 1999 20:50:55 -0500 + +ucd-snmp (4.0.1-2) unstable; urgency=low + + * Fixed parse error in the default snmpd.conf file. + * Rebuilt with shared libwrap. + + -- David Engel Fri, 27 Aug 1999 20:59:19 -0500 + +ucd-snmp (4.0.1-1) unstable; urgency=low + + * New upstream version. + * Switched back to normal soname since it no longer conflicts with + the old one. + + -- David Engel Wed, 25 Aug 1999 20:26:03 -0500 + +ucd-snmp (3.6.2-8) unstable; urgency=low + + * Removed execute bit from MIB files (Bug#43300). + * Partially reverted previous interface fixes for 2.0 kernels. + + -- David Engel Sat, 21 Aug 1999 23:08:26 -0500 + +ucd-snmp (3.6.2-7) unstable; urgency=low + + * Fixed incompete arg checking (Bug#43126). + * Fixed ASN.1 length parsing on alpha (William Brioschi). + + -- David Engel Wed, 18 Aug 1999 09:58:40 -0500 + +ucd-snmp (3.6.2-6) unstable; urgency=low + + * Re-did some previous fixes properly. + + -- David Engel Fri, 13 Aug 1999 10:43:20 -0500 + +ucd-snmp (3.6.2-5) unstable; urgency=low + + * Fixed more interface calculation errors. + + -- David Engel Thu, 12 Aug 1999 20:27:39 -0500 + +ucd-snmp (3.6.2-4) unstable; urgency=low + + * Fixed the calculation of if{In,Out}Octets under Linux 2.2. + * Moved the .5 manpages to the libucdsnmp package (Bug#42759 and + Bug#42765). + * Started the snmptrapd daemon to replace the old snmptraplogd + package functionality (Bug#42792). + + -- David Engel Tue, 10 Aug 1999 19:37:28 -0500 + +ucd-snmp (3.6.2-3) unstable; urgency=low + + * Applied upstream patches 3, 4, 9 and 10. + + -- David Engel Fri, 6 Aug 1999 21:59:43 -0500 + +ucd-snmp (3.6.2-2) unstable; urgency=low + + * Don't use --disable-debugging. + * Fix calculation of ifNumber as interfaces are added and removed + (Bug#42452). + * Don't process packets in snmpd when recvfrom returns an error + (Bug#42465). + + -- David Engel Thu, 5 Aug 1999 20:33:28 -0500 + +ucd-snmp (3.6.2-1) unstable; urgency=low + + * Switched to UCD SNMP. + * Use debhelper. + + -- David Engel Sat, 24 Jul 1999 20:33:10 -0500 + +snmp (3.6-3) unstable; urgency=low + + * Split the snmpd agent into a separate package so the apps can + be installed without it (Bug#37560). + * Reduced the amount of information reported by the snmpd agent + by default (Bug#37169). + + -- David Engel Wed, 19 May 1999 21:50:33 -0500 + +snmp (3.6-2) unstable; urgency=low + + * Include libsnmp.a (Bug#34826). + * Change CWD to / before starting snmpd (Bug#35977). + + -- David Engel Tue, 27 Apr 1999 12:01:30 -0500 + +snmp (3.6-1) frozen unstable; urgency=low + + * New upstream version (mainly bug fixes). + + -- David Engel Fri, 27 Nov 1998 21:59:51 -0600 + +snmp (3.5-4) unstable; urgency=low + + * Install mib.h header file (Bug#25777). + + -- David Engel Wed, 19 Aug 1998 20:48:44 -0500 + +snmp (3.5-3) frozen unstable; urgency=low + + * Check for the existence of the rc script before running it + in the prerm script (Bug#21565). + + -- David Engel Mon, 11 May 1998 15:44:17 -0500 + +snmp (3.5-2) unstable; urgency=low + + * Remove old /usr/doc/snmp directory in preinst. Is is now a + symlink to /usr/doc/libsnmp3.5. + * Fixed MIB parsing bug (Bug#19225). + + -- David Engel Sat, 14 Mar 1998 14:24:50 -0600 + +snmp (3.5-1) unstable; urgency=low + + * New upstream version. + * Add libsnmp3.5 and libsnmp3.5-dev packages (Bug#16557). + * Explicitly link libsnmp.so.* with -lc (Bug#18315). + * Add restart|reload|force-reload support to init.d script + (Bug#17118). + + -- David Engel Wed, 18 Feb 1998 12:00:00 -0500 + +snmp (3.4-2) unstable; urgency=low + + * Enable full dumping of debug packets. + * Change /etc/snmpd.conf to mode 600. + + -- David Engel Mon, 8 Dec 1997 13:43:41 -0600 + +snmp (3.4-1) unstable; urgency=low + + * Updated to new upstream version. + * Fixes Bug#9855, Bug#11161 and Bug#11688. + + -- David Engel Thu, 7 Aug 1997 16:44:00 -0500 + +snmp (3.3-2) unstable; urgency=low + + * Built with libc6. + * Updated init.d script messages to current standards. + + -- David Engel Tue, 13 May 1997 20:40:37 -0500 + +snmp (3.3-1) unstable; urgency=low + + * Updated to new upstream version. + + -- David Engel Mon, 31 Mar 1997 19:13:44 -0600 + +snmp (3.2-2) unstable; urgency=low + + * Converted to new packaging standards. + * Removed development files. They may be reappear in a + -dev package sometime in the future. + + -- David Engel Wed, 19 Feb 1997 20:53:07 -0600 + --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/source.apport +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/source.apport @@ -0,0 +1,36 @@ +#!/usr/bin/python + +'''apport hook for net-snmp + +(c) 2010 Andres Rodriguez +Author: Andres Rodriguez + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2 of the License, or (at your +option) any later version. See http://www.gnu.org/copyleft/gpl.html for +the full text of the license. +''' + +from apport.hookutils import * +import re + +def add_info(report, ui): + response = ui.yesno("The contents of your /etc/snmp/snmpd.conf and " + "your /etc/snmp/snmptrapd.conf files may help " + "developers diagnose your bug more quickly. " + "However, it may contain sensitive information. " + "Do you want to include it in your bug report?") + + if response == None: # user cancelled + raise StopIteration + + elif response == True: + attach_conffiles(report, 'snmpd') + + # get version + report['SNMPVersion'] = root_command_output(['/usr/sbin/snmpd', '-v']) + + # get syslog stuff + report['SyslogSnmpd'] = recent_syslog(re.compile('snmpd\[')) + report['SyslogSnmptrapd'] = recent_syslog(re.compile('snmptrapd\[')) --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-base.postrm +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-base.postrm @@ -0,0 +1,10 @@ +#! /bin/sh + +set -e + +# Remove /var/lib/snmp if being purged. +[ "$1" = purge ] && rm -fr /var/lib/snmp + +#DEBHELPER# + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/tkmib.docs +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/tkmib.docs @@ -0,0 +1,3 @@ +FAQ +NEWS +README --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.install +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.install @@ -0,0 +1,12 @@ +debian/tmp/usr/sbin/* +debian/tmp/usr/share/man/man5/snmpd.conf.5snmp +debian/tmp/usr/share/man/man5/snmptrapd.conf.5snmp +debian/tmp/usr/share/man/man8/snmpd.8 +debian/tmp/usr/share/man/man8/snmptrapd.8 +debian/tmp/usr/share/snmp/snmpconf-data/snmpd-data +debian/tmp/usr/share/snmp/snmpconf-data/snmptrapd-data +debian/tmp/usr/share/snmp/snmp_perl.pl +debian/tmp/usr/share/snmp/snmp_perl_trapd.pl +debian/tmp/etc/default/snmpd +debian/tmp/etc/snmp/snmpd.conf +debian/tmp/etc/snmp/snmptrapd.conf --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp15.install +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp15.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/compat +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/compat @@ -0,0 +1 @@ +7 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.default +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.default @@ -0,0 +1,22 @@ +# 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/snmp/mibs + +# snmpd control (yes means start daemon). +SNMPDRUN=yes + +# snmpd options (use syslog, close stdin/out/err). +SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' + +# snmptrapd control (yes means start daemon). As of net-snmp version +# 5.0, master agentx support must be enabled in snmpd before snmptrapd +# can be run. See snmpd.conf(5) for how to do this. +TRAPDRUN=no + +# snmptrapd options (use syslog). +TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' + +# create symlink on Debian legacy location to official RFC path +SNMPDCOMPAT=yes --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmp.preinst +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmp.preinst @@ -0,0 +1,19 @@ +#! /bin/sh + +set -e + +action="$1" + +if [ "$action" = upgrade ] +then + if [ -L /usr/share/doc/snmp ]; then + rm -f /usr/share/doc/snmp + fi + if [ -d /usr/doc/snmp ]; then + rm -rf /usr/doc/snmp + fi +fi + +#DEBHELPER# + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.dirs +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.dirs @@ -0,0 +1,2 @@ +usr/share/lintian/overrides +var/agentx --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp15.docs +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp15.docs @@ -0,0 +1,10 @@ +AGENT.txt +FAQ +NEWS +README +README.agentx +README.snmpv3 +README.thread +TODO +local/README.mib2c +debian/README.Debian --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-base.docs +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-base.docs @@ -0,0 +1,6 @@ +FAQ +NEWS +README +README.snmpv3 +README.thread +debian/README.Debian --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp15.dirs +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp15.dirs @@ -0,0 +1 @@ +var/lib/snmp --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/NEWS +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/NEWS @@ -0,0 +1,14 @@ +net-snmp (5.2.2-1) unstable; urgency=low + + As of version 5.2.2, the default configuration disables SMUX support + and binds the SNMP port to 127.0.0.1. + + Please configure /etc/snmp/snmpd.conf, /etc/hosts.allow and /etc/hosts.deny + first to set up who can access the SNMP daemon, then edit + /etc/default/snmpd and remove 127.0.0.1 from SNMPDOPTS. + + To enable SMUX again, remove "-I -smux" from SNMPDOPTS and eventually + bind it to localhost by adding "smuxsocket 127.0.0.1" to + /etc/snmp/snmpd.conf. + + -- Jochen Friedrich Fri, 20 Jan 2006 15:11:07 +0100 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/tkmib.install +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/tkmib.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/tkmib +debian/tmp/usr/share/man/man1/tkmib.1 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-dev.install +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-dev.install @@ -0,0 +1,8 @@ +debian/tmp/etc/snmp/mib2c*.conf +debian/tmp/usr/bin/mib2c +debian/tmp/usr/bin/mib2c-update +debian/tmp/usr/include +debian/tmp/usr/lib/lib*.{a,so,la} +debian/tmp/usr/share/man/man1/mib2c.1 +debian/tmp/usr/share/man/man1/mib2c-update.1 +debian/tmp/usr/share/man/man3/* --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/copyright +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/copyright @@ -0,0 +1,256 @@ +This is the Debian GNU/Linux prepackaged version of Net-SNMP. + +This package was put together by David Engel , from +sources obtained from http://net-snmp.sourceforge.net/. +It is now maintained by Jochen Friedrich . +As of version 5.4, the upstream sources contain non DFSG-free RFCs in the +doc directory which has been removed for Debian. + +Copyright: + +Various copyrights apply to this package, listed in various separate parts +below. Please make sure that you read all the parts. Up until 2001, +the project was based at UC Davis, and the first part covers all code +written during this time. From 2001 onwards, the project has been +based at SourceForge, and Networks Associates Technology, Inc hold the +copyright on behalf of the wider Net-SNMP community, covering all +derivative work done since then. An additional copyright section has +been added as Part 3 below also under a BSD license for the work +contributed by Cambridge Broadband Ltd. to the project since 2001. +An additional copyright section has been added as Part 4 below also +under a BSD license for the work contributed by Sun Microsystems, Inc. +to the project since 2003. + +Code has been contributed to this project by many people over +the years it has been in development, and a full list of contributors +can be found in the README file under the THANKS section. + + +---- Part 1: CMU/UCD copyright notice: (BSD like) ----- + + + Copyright 1989, 1991, 1992 by Carnegie Mellon University + + Derivative Work - 1996, 1998-2000 +Copyright 1996, 1998-2000 The Regents of the University of California + + All Rights Reserved + +Permission to use, copy, modify and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appears in all copies and +that both that copyright notice and this permission notice appear in +supporting documentation, and that the name of CMU and The Regents of +the University of California not be used in advertising or publicity +pertaining to distribution of the software without specific written +permission. + +CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA DISCLAIM ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL CMU OR +THE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING +FROM THE LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF +CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +---- Part 2: Networks Associates Technology, Inc copyright notice (BSD) ----- + +Copyright (c) 2001-2003, Networks Associates Technology, Inc +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of the Networks Associates Technology, Inc nor the + names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---- Part 3: Cambridge Broadband Ltd. copyright notice (BSD) ----- + +Portions of this code are copyright (c) 2001-2003, Cambridge Broadband Ltd. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* The name of Cambridge Broadband Ltd. may not be used to endorse or + promote products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +---- Part 4: Sun Microsystems, Inc. copyright notice (BSD) ----- + +Copyright © 2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, +California 95054, U.S.A. All rights reserved. + +Use is subject to license terms below. + +This distribution may include materials developed by third parties. + +Sun, Sun Microsystems, the Sun logo and Solaris are trademarks or registered +trademarks of Sun Microsystems, Inc. in the U.S. and other countries. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of the Sun Microsystems, Inc. nor the + names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---- Part 5: Sparta, Inc copyright notice (BSD) ----- + +Copyright (c) 2003-2006, Sparta, Inc +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of Sparta, Inc nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---- Part 6: Cisco/BUPTNIC copyright notice (BSD) ----- + +Copyright (c) 2004, Cisco, Inc and Information Network +Center of Beijing University of Posts and Telecommunications. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of Cisco, Inc, Beijing University of Posts and + Telecommunications, nor the names of their contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS +IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +---- Part 7: Fabasoft R&D Software GmbH & Co KG copyright notice (BSD) ----- + +Copyright (c) Fabasoft R&D Software GmbH & Co KG, 2003 +oss@fabasoft.com +Author: Bernhard Penz + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* The name of Fabasoft R&D Software GmbH & Co KG or any of its subsidiaries, + brand or product names may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-base.dirs +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-base.dirs @@ -0,0 +1 @@ +var/lib/snmp --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/watch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/~dfsg$// \ + http://sf.net/net-snmp/net-snmp-([\d+\.]+|\d+)\.tar\.gz --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmp.lintian-overrides +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmp.lintian-overrides @@ -0,0 +1 @@ +snmp: description-starts-with-package-name --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp15.postinst +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp15.postinst @@ -0,0 +1,9 @@ +#! /bin/sh + +set -e + +ldconfig + +#DEBHELPER# + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/README.Debian +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/README.Debian @@ -0,0 +1,22 @@ +Please note the following customizations of the Net-SNMP packages for +Debian. + +The default configuration for snmpd is rather paranoid for security +reasons. Edit /etc/snmp/snmpd.conf or run snmpconf to allow greater +access. + +The snmpconf program provides a simple, menu driven way of configuring +the snmp applications and daemons. + +You can individually control whether or not snmpd and snmpdtrap are +run by editing /etc/default/snmp. In addition, neither daemon will be +run if its config file in /etc/snmp is removed. + +As of net-snmp version 5.0, the community string can no longer be +specified after the agent parameter on the command line. It must now +be specified with the -c option. Please see snmpcmd(1) for more +information. + +snmpd is built with TCP Wrappers. Make sure your /etc/hosts.allow and +/etc/hosts.deny files account for this. + --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.lintian-overrides +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.lintian-overrides @@ -0,0 +1,3 @@ +snmpd: non-standard-file-perm etc/snmp/snmpd.conf 0600 != 0644 +snmpd: non-standard-file-perm etc/snmp/snmptrapd.conf 0600 != 0644 +snmpd: non-standard-dir-in-var var/agentx/ --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmp.install +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmp.install @@ -0,0 +1,9 @@ +debian/tmp/usr/bin/snmp* +debian/tmp/usr/bin/encode* +debian/tmp/usr/bin/fixproc +debian/tmp/usr/bin/traptoemail +debian/tmp/usr/share/man/man1/snmp* +debian/tmp/usr/share/man/man1/encode* +debian/tmp/usr/share/man/man1/fixproc.1 +debian/tmp/usr/share/man/man1/traptoemail.1 +debian/tmp/usr/share/snmp/snmpconf-data/snmp-data --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-python.install +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-python.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python* --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/README.Debian-source +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/README.Debian-source @@ -0,0 +1,10 @@ +Debian modifications to .orig.tar.gz +==================================== + +The upstream tarball was stripped of the doc/ subdirectory because the +RFCs contained therein are indistributable under the terms of the DFSG. +No other files were changed. + +Use the command +debian/rules get-orig-source +to perform these steps. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-base.install +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-base.install @@ -0,0 +1,10 @@ +debian/tmp/usr/share/snmp/mibs +debian/tmp/usr/share/snmp/mib2c-data +debian/tmp/usr/share/man/man5/mib2c.conf.5snmp +debian/tmp/usr/share/man/man5/snmp.conf.5snmp +debian/tmp/usr/share/man/man5/snmp_config.5snmp +debian/tmp/usr/share/man/man5/snmpd.examples.5snmp +debian/tmp/usr/share/man/man5/snmpd.internal.5snmp +debian/tmp/usr/share/man/man5/variables.5snmp +debian/tmp/usr/bin/net-snmp-config +debian/tmp/usr/share/man/man1/net-snmp-config.1 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/clean +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/clean @@ -0,0 +1,26 @@ +aclocal.m4 +configure +ltmain.sh +stamp-h +stamp-h.in +configure-summary +config.log +config.guess +config.sub +install-sh +debian/stamp-autotools-files +debian/stamp-patched +debian/stamp-makefile-build +include/net-snmp/net-snmp-config.h.in +perl/Makefile.old +perl/SNMP/Makefile.old +perl/SNMP/t/snmptest.cmd +perl/agent/Makefile.old +perl/agent/default_store/Makefile.old +perl/agent/Support/Makefile.old +perl/TrapReceiver/const-xs.inc +perl/TrapReceiver/Makefile.old +perl/TrapReceiver/const-c.inc +perl/default_store/Makefile.old +perl/ASN/Makefile.old +perl/OID/Makefile.old --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmp.dirs +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmp.dirs @@ -0,0 +1 @@ +usr/share/lintian/overrides --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.templates +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.templates @@ -0,0 +1,19 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# for an advice to debian-l10n-english@lists.debian.org +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: snmpd/upgradefrom521 +Type: note +_Description: Default parameters changed since version 5.2.1 + The default start parameters of the snmpd agent/daemon have been changed. + . + The daemon is now started as user snmp, binds to localhost only and runs + with SNMP multiplexing (SMUX) support disabled. These parameters can all + be individually changed in /etc/default/snmpd. + . + Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/libsnmp-perl.docs +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/libsnmp-perl.docs @@ -0,0 +1 @@ +perl/SNMP/README --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/snmpd.init +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/snmpd.init @@ -0,0 +1,98 @@ +#! /bin/sh -e +### BEGIN INIT INFO +# Provides: snmpd snmptrapd +# Required-Start: $network $remote_fs $syslog +# Required-Stop: $network $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: SNMP agents +# Description: NET SNMP (Simple Network Management Protocol) Agents +### END INIT INFO +# +# Author: Jochen Friedrich +# +set -e + +. /lib/lsb/init-functions + +export PATH=/sbin:/usr/sbin:/bin:/usr/bin + +test -x /usr/sbin/snmpd || exit 0 +test -x /usr/sbin/snmptrapd || exit 0 + +# Defaults +export MIBDIRS=/usr/share/snmp/mibs +SNMPDRUN=yes +SNMPDOPTS='-Lsd -Lf /dev/null -p /var/run/snmpd.pid' +TRAPDRUN=no +TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' + +# Reads config file (will override defaults above) +[ -r /etc/default/snmpd ] && . /etc/default/snmpd + +# Cd to / before starting any daemons. +cd / + +# Create compatibility link to old AgentX socket location +if [ "$SNMPDCOMPAT" = "yes" ] && [ "$1" != status ]; then + ln -sf /var/agentx/master /var/run/agentx +fi + +case "$1" in + start) + log_daemon_msg "Starting network management services:" + if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then + start-stop-daemon --quiet --start --oknodo --exec /usr/sbin/snmpd \ + -- $SNMPDOPTS + log_progress_msg " snmpd" + fi + if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then + start-stop-daemon --quiet --start --oknodo --exec /usr/sbin/snmptrapd \ + -- $TRAPDOPTS + log_progress_msg " snmptrapd" + fi + ;; + stop) + log_daemon_msg "Stopping network management services:" + start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd + log_progress_msg " snmpd" + start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd + log_progress_msg " snmptrapd" + ;; + restart) + log_daemon_msg "Restarting network management services:" + start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd + start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd + # Allow the daemons time to exit completely. + sleep 2 + if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then + start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- $SNMPDOPTS + log_progress_msg " snmpd" + fi + if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then + # Allow snmpd time to start up. + sleep 1 + start-stop-daemon --quiet --start --exec /usr/sbin/snmptrapd -- $TRAPDOPTS + log_progress_msg " snmptrapd" + fi + ;; + reload|force-reload) + log_daemon_msg "Reloading network management services:" + if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then + start-stop-daemon --quiet --stop --signal 1 \ + --pidfile /var/run/snmpd.pid --exec /usr/sbin/snmpd + log_progress_msg " snmpd" + fi + ;; + status) + status=0 + status_of_proc /usr/sbin/snmpd snmpd || status=$? + status_of_proc /usr/sbin/snmptrapd snmptrapd || status=$? + exit $status + ;; + *) + echo "Usage: /etc/init.d/snmpd {start|stop|restart|reload|force-reload|status}" + exit 1 +esac + +exit 0 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/fixman +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/fixman @@ -0,0 +1,61 @@ +#!/bin/bash + +# This script fixes up various problems with the man pages. + +# Create the symlinks for multiple and alternative names when they are +# described in a single man page. + +sections="1 3 5 8" +#echo "sections = $sections" + +for s in $sections; do + files=$(grep -rl '^\.SH NAME' debian/tmp/usr/share/man/man$s | \ + grep -v '/netsnmp_') + #echo "files = $files" + + for f in $files; do + if [[ ! -f $f ]]; then + continue + fi + + f2=$(basename $f .$s) + commands=$(sed -e '/^\.SH NAME/,/^\./p' -e d $f | + sed -e '/^\./d' -e 's/,/ /g' -e 's/\\\?-.*$//') + #echo "$f2 commands = $commands" + + for c in $commands; do + c2=$(basename $c) + if [[ $c2 != $f2 ]]; then + #echo ln -sf $f2.$s debian/tmp/usr/share/man/man$s/$c2.$s + ln -sf $f2.$s debian/tmp/usr/share/man/man$s/$c2.$s + fi + done + done +done + +# Rename the pages to avoid possible conflicts with other packages. + +mv debian/tmp/usr/share/man/man3/SNMP.3 debian/tmp/usr/share/man/man3/SNMP.3pm + +sections="3 5" +#echo "sections = $sections" + +for s in $sections; do + files=debian/tmp/usr/share/man/man$s/*.$s + #echo "files = $files" + + for f in $files; do + if [[ -L $f ]]; then + l=$(readlink $f) + #echo ln -sf ${l}snmp ${f}snmp + ln -sf ${l}snmp ${f}snmp + rm -f $f + else + #echo mv $f ${f}snmp + sed -e "s/^\(\.TH \"[^\"]*\"\|\.TH [^\"][^ ]*\) *${s}/\1 ${s}snmp/" < $f > ${f}tmp + sed -e "s/^\(\.so .*\)${s}$/\1${s}snmp/" < ${f}tmp > ${f}snmp + rm -f $f + rm -f ${f}tmp + fi + done +done --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/rules +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/rules @@ -0,0 +1,142 @@ +#!/usr/bin/make -f + +include /usr/share/python/python.mk + +LIB_VERSION = 15 +UPSTREAM_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ':' | sed 's/ //' | sed 's/~dfsg.*$$//') +COMPAT_VERSION = $(UPSTREAM_VERSION)~dfsg +PYTHON_VERSION = 1.0a1 + +MIB_MODULES = host smux ucd-snmp/dlmod + +PYVERS=$(shell pyversions -vr) + +ifeq (linux,$(DEB_HOST_ARCH_OS)) +MIB_MODULES += ucd-snmp/diskio ucd-snmp/lmSensors +IPV6 = --enable-ipv6 +DEB_DH_GENCONTROL_ARGS=-- -Vos-specific-dev="libsensors4-dev" +else +ifeq (kfreebsd,$(DEB_HOST_ARCH_OS)) +IPV6 = --disable-ipv6 +DEB_DH_GENCONTROL_ARGS=-- -Vos-specific-dev="libkvm-dev" +endif +endif + +%: + dh --with quilt,python-central,apport $@ + +.PHONY: override_dh_auto_configure +override_dh_auto_configure: + ln -s /usr/share/misc/config.guess . + ln -s /usr/share/misc/config.sub . + libtoolize --install --copy + aclocal + autoheader + autoconf + dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \ + --with-persistent-directory=/var/lib/snmp \ + --enable-ucd-snmp-compatibility \ + --enable-shared --with-cflags="$(CFLAGS) -DNETSNMP_USE_INLINE" \ + --with-perl-modules="INSTALLDIRS=vendor" --enable-as-needed \ + $(IPV6) --with-logfile=none \ + --without-rpm --with-libwrap --with-openssl \ + --without-dmalloc --without-efence --without-rsaref \ + --with-sys-contact="root" --with-sys-location="Unknown" \ + --with-mib-modules="$(MIB_MODULES)" \ + --enable-mfd-rewrites \ + --with-mnttab=/etc/mtab \ + --with-defaults + +.PHONY: override_dh_clean +override_dh_clean: + dh_clean + rm -rf `find . -name .libs` + rm -rf `find . -name .svn` + find . -name *\.py[co] -exec rm {} \; + find debian -name python-*-stamp-* -exec rm {} \; + rm -rf python/build + rm -rf python/netsnmp_python.egg-info + +.PHONY: override_dh_auto_build +override_dh_auto_build: + dh_auto_build -- LD_RUN_PATH= + +.PHONY: override_dh_auto_install +override_dh_auto_install: $(PYVERS:%=debian/python-build-stamp-%) + dh_auto_install -- INSTALL_PREFIX=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp + # Install the "broke" headers + cp agent/mibgroup/struct.h debian/tmp/usr/include/net-snmp/agent + cp agent/mibgroup/util_funcs.h debian/tmp/usr/include/net-snmp + cp agent/mibgroup/mibincl.h debian/tmp/usr/include/net-snmp/library + cp agent/mibgroup/header_complex.h debian/tmp/usr/include/net-snmp/agent + # Remove the snmpcheck program since we don't support it (yet). + rm debian/tmp/usr/bin/snmpcheck + # Copy the .conf files. + mkdir -p debian/tmp/etc/snmp + cp EXAMPLE.conf debian/tmp/etc/snmp/snmpd.conf + cp EXAMPLE-trap.conf debian/tmp/etc/snmp/snmptrapd.conf + mv debian/tmp/usr/share/snmp/mib2c*.conf debian/tmp/etc/snmp + mkdir -p debian/tmp/etc/default + cp debian/snmpd.default debian/tmp/etc/default/snmpd + dh_installdocs -plibsnmp-base mibs/README.mibs + # Perform other man pages fixups. + bash ./debian/fixman + +.PHONY: override_dh_auto_test +dh_auto_test: + +.PHONY: override_dh_makeshlibs +override_dh_makeshlibs: + dh_makeshlibs -plibsnmp$(LIB_VERSION) -V"libsnmp$(LIB_VERSION) (>= $(COMPAT_VERSION))" + +.PHONY: override_dh_strip +override_dh_strip: + dh_strip -plibsnmp$(LIB_VERSION) --dbg-package=libsnmp$(LIB_VERSION)-dbg + dh_strip + +.PHONY: override_dh_install +override_dh_install: $(PYVERS:%=debian/python-install-stamp-%) + dh_installexamples -plibsnmp-perl $(shell ls -d perl/SNMP/examples/* | grep -v SCCS) + dh_install + +.PHONY: override_dh_installdocs +override_dh_installdocs: + dh_installdocs + rm -rf debian/libsnmp-dev/usr/share/doc/libsnmp-dev + rm -rf debian/libsnmp$(LIB_VERSION)-dbg/usr/share/doc/libsnmp$(LIB_VERSION)-dbg + rm -rf debian/libsnmp-perl/usr/share/doc/libsnmp-perl + ln -sf libsnmp$(LIB_VERSION) debian/libsnmp-dev/usr/share/doc/libsnmp-dev + ln -sf libsnmp$(LIB_VERSION) debian/libsnmp$(LIB_VERSION)-dbg/usr/share/doc/libsnmp$(LIB_VERSION)-dbg + ln -sf libsnmp$(LIB_VERSION) debian/libsnmp-perl/usr/share/doc/libsnmp-perl + +.PHONY: override_dh_fixperms +override_dh_fixperms: + dh_fixperms + chmod 600 debian/snmpd/etc/snmp/snmp*d.conf + +.PHONY: override_dh_installinit +override_dh_installinit: + dh_installinit -u"start 20 2 3 4 5 . stop 20 1 ." + +.PHONY: override_dh_apport +override_dh_apport: + dh_apport -psnmpd + +debian/python-build-stamp-%: + # Build python modules manually as the net-snmp Makefile is too limited. + cd python; python$* setup.py build --basedir=$(CURDIR) + touch $@ + +debian/python-install-stamp-%: + # Build python modules manually as the net-snmp Makefile is too limited. + cd python; python$* setup.py install --root $(CURDIR)/debian/tmp $(py_setup_install_args) + mv debian/tmp/usr/lib/python$*/$(call py_sitename, $*)/netsnmp_python-$(PYTHON_VERSION).egg-info \ + debian/tmp/usr/lib/python$*/$(call py_sitename, $*)/netsnmp_python.egg-info + touch $@ + +get-orig-source: + @uscan --download-version $(UPSTREAM_VERSION) --destdir /tmp --force-download --no-symlink + @tar xfz /tmp/net-snmp-$(UPSTREAM_VERSION).tar.gz -C /tmp + @rm -rf /tmp/net-snmp-$(UPSTREAM_VERSION)/doc + @cd /tmp; tar czf net-snmp_$(COMPAT_VERSION).orig.tar.gz net-snmp-$(UPSTREAM_VERSION) + @rm -rf /tmp/net-snmp-$(UPSTREAM_VERSION) --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/nl.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/nl.po @@ -0,0 +1,49 @@ +# Debian net-snmp po-debconf translation. +# Copyright (C) 2006-2008 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the net-snmp package. +# Vincent Zweije , 2006-2008. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.2-3\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2008-01-03 22:16+0000\n" +"Last-Translator: Vincent Zweije \n" +"Language-Team: Debian-Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Standaard parameters gewijzigd vanaf versie 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" +"De standaard startparameters van de snmpd achtergronddienst zijn gewijzigd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"De achtergronddienst wordt nu gestart als gebruiker snmp; hij luistert " +"alleen op het loopback netwerk (localhost) en SNMP multiplexing (SMUX) " +"ondersteuning is uitgeschakeld. Deze parameters kunnen alle afzonderlijk " +"worden gewijzigd in /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Zie /usr/share/doc/snmpd/NEWS.Debian.gz voor nadere informatie." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/pt_BR.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/pt_BR.po @@ -0,0 +1,51 @@ +# net-snmp's Brazilian Portuguese debconf template translation. +# Copyright (C) 2006, André Luís Lopes. +# This file is distributed under the same license as the net-snmp package. +# André Luís Lopes , 2006. +# Herbert Parentes Fortes Neto , 2007 +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-06-02 09:04:21-0300\n" +"Last-Translator: Herbert Parentes Fortes Neto \n" +"Language-Team: l10n portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Os parâmetros de inicialização padrão mudaram desde a versão 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" +"Os parâmetros de inicialização padrão do agente/daemon do snmp foram " +"alterados." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"O daemon é agora iniciado como usuário snmp, ouve somente em localhost e o " +"suporte a SMUX (\"SNMP multiplexing\") está desabilitado. Esses parâmetros " +"podem todos ser individualmente modificados em /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Por favor veja /usr/share/doc/snmpd/NEWS.Debian.gz para mais detalhes." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/es.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/es.po @@ -0,0 +1,102 @@ +# net-snmp po-debconf translation to spanish +# Copyright (C) 2006 Software in the Public Interest, SPI Inc. +# This file is distributed under the same license as the net-snmp package. +# +# Changes: +# - Initial translation +# Javier Fernndez-Sanguino , 2006 +# - Reviewers +# Fernando Cerezal +# +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentacin de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traduccin al espaol, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traduccin de Debian al espaol +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traduccin en +# http://www.debian.org/intl/spanish/notas +# +# - La gua de traduccin de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Si tiene dudas o consultas sobre esta traduccin consulte con el ltimo +# traductor (campo Last-Translator) y ponga en copia a la lista de +# traduccin de Debian al espaol () +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.3-4\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-06-03 17:39+0200\n" +"Last-Translator: Javier Fernndez-Sanguino \n" +"Language-Team: Debian Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Cambio de los parmetros por omisin desde la versin 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" +"Se han cambiado los parmetros predeterminados de arranque del demonio y " +"agente snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"El demonio se ejecuta ahora como usuario snmp, slo se enlaza a la " +"interfaz local y el soporte de multiplexacin SNMP (SMUX) est " +"deshabilitado. Puede modificar cada uno de estos parmetros en /etc/default/" +"snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "" +"Consulte /usr/share/doc/snmpd/NEWS.Debian.gz si desea ms informacin." + +#~ msgid "Upgrade warning from version 3.6 and below" +#~ msgstr "Aviso de la actualizacin desde la versin 3.6 y anteriores" + +#~ msgid "" +#~ "Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +#~ "entirely new configuration file format, any configuration you may have " +#~ "previously had can not be automatically updated and must be replaced. " +#~ "Consequently, a security-conscious configuration will be installed by " +#~ "default. Please read the snmpd.conf(5) manual page and then edit /etc/" +#~ "snmp/snmpd.conf accordingly to change the configuration to suit your " +#~ "needs." +#~ msgstr "" +#~ "Debian utiliza ahora el agente/demonio NET SNMP. Cualquier configuracin " +#~ "previa que tuviera no se puede actualizar de forma automtica y debe " +#~ "reemplazarse, dado que el nuevo agente utiliza un formato de fichero de " +#~ "configuracin totalmente nuevo. Se instalar, por omisin, una " +#~ "configuracin enfocada a ofrecer un servicio seguro. Consulte la pgina " +#~ "de manual snmpd.conf(5) y edite despus /etc/snmp/snmpd.conf para " +#~ "ajustar la configuracin a sus necesidades." + +#~ msgid "Upgrade warning from version 5.2.1 and below" +#~ msgstr "Aviso de la actualizacin desde la versin 5.2.1 y anteriores" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/ta.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/ta.po @@ -0,0 +1,48 @@ +# translation of net-snmp.po to TAMIL +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Dr.T.Vasudevan , 2007. +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-06-09 13:31+0530\n" +"Last-Translator: Dr.T.Vasudevan \n" +"Language-Team: TAMIL \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "பதிப்பு 5.2.1 க்குப் பின் முன்னிருப்பு அளபுருக்கள் மாறி உள்ளன" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "snmpd agent/daemon இல் துவங்கும் முன்னிருப்பு அளபுருக்கள் மாறி உள்ளன" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"கிங்கரன் இப்போது பயனர் எஸ்என்எம்பி(snmp) ஆக துவங்கி உள் புரவலனை மட்டும் பிணைக்கிறது. " +"எஸ்என்எம்பி ஒன்று சேர்த்தல் (SMUX) ஆதரவு செயலிழப்புடன் அது இயங்குகிறது. இந்த எல்லா " +"அளபுருக்களையும் தனித்தனியாக /etc/default/snmpd இல் மாற்றலாம்." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "மேல் தகவல்களுக்கு /usr/share/doc/snmpd/NEWS.Debian.gz ஐ காணவும்." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/ru.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/ru.po @@ -0,0 +1,51 @@ +# translation of net-snmp_ru.po to Russian +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# +# Yuri Kozlov , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: net-snmp_5.2.2-4\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-06-03 12:33+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Изменение в настройках по умолчанию, начиная с версии 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "Изменились параметры запуска агента/демона snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Теперь демон запускается с правами пользователя snmp, ожидает запросы только " +"от localhost и при работе мультиплексирование SNMP (SMUX) выключено. Каждую " +"из этих настроек можно изменить в файле /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "" +"Подробней об этом смотрите в файле /usr/share/doc/snmpd/NEWS.Debian.gz." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/fr.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/fr.po @@ -0,0 +1,56 @@ +# This file is distributed under the same license as the net-snmp package. +# +# Copyright (C) 2006, Cédric Favry +# Christian Perrier , 2007. +msgid "" +msgstr "" +"Project-Id-Version: fr\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-06-15 07:27+0200\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Changement des paramètres par défaut dans la version 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "Les paramètres par défaut du démarrage de l'agent SNMP snmpd ont été modifiés." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +#| msgid "" +#| "Debian has changed the default start parameters of the snmpd agent/" +#| "daemon. The daemon is now started as user snmp, binds to localhost only " +#| "and SMUX support is disabled. These parameters can all be individually " +#| "changed in /etc/default/snmpd. Please see /usr/share/doc/snmpd/NEWS." +#| "Debian.gz for more details." +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Le serveur est dorénavant démarré avec les privilèges de l'utilisateur " +"« snmp ». Il n'écoute que sur l'adresse de « localhost » et la gestion du " +"multiplexage SNMP (SMUX) est désactivée. Ces paramètres peuvent tous être " +"changés individuellement dans /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "" +"Veuillez lire le fichier /usr/share/doc/snmpd/NEWS.Debian.gz pour plus " +"d'informations." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/da.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/da.po @@ -0,0 +1,74 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Claus Hindsgaul , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: net-snmp debconf\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-06-02 10:05+0200\n" +"Last-Translator: Claus Hindsgaul \n" +"Language-Team: Danish\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Standardindstillinger, der er ndret siden version 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "Standardindstillingerne for snmpd-agenten og -dmonen er ndret." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Dmonen startes nu som brugeren snmp, forbinder sig kun til localhost og " +"SMUX-understttelsen (SNMP multiplexing) er slet fra. Disse indstillinger " +"kan alle ndres individuelt i /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Se /usr/share/doc/snmpd/NEWS.Debian.gz for yderligere oplysninger." + +#~ msgid "Upgrade warning from version 3.6 and below" +#~ msgstr "Opgraderingsadvarsel fra version 3.6 og derunder" + +#~ msgid "" +#~ "Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +#~ "entirely new configuration file format, any configuration you may have " +#~ "previously had can not be automatically updated and must be replaced. " +#~ "Consequently, a security-conscious configuration will be installed by " +#~ "default. Please read the snmpd.conf(5) manual page and then edit /etc/" +#~ "snmp/snmpd.conf accordingly to change the configuration to suit your " +#~ "needs." +#~ msgstr "" +#~ "Debian benytter nu NET SNMP-agent/dmonen. Da den nye agent benytter " +#~ "opstningsfiler i et helt nyt format, kan de opstningsfiler, du " +#~ "eventuelt tidligere har haft, ikke automatisk opdateres, og skal " +#~ "erstattes. Derfor vil en sikkerhedsorienteret opstning blive installeret " +#~ "som udgangspunkt. Ls manualsiden snmpd.conf(5), og ret derefter /etc/" +#~ "snmp/snmpd.conf, s opstningen svarer til dine behov." + +#~ msgid "Upgrade warning from version 5.2.1 and below" +#~ msgstr "Opgraderingsadvarsel fra version 5.2.1 og derunder" + +#~ msgid "Debian now uses the NET SNMP agent/daemon. Since the new agent uses" +#~ msgstr "" +#~ "Debian benytter nu agenten/dmonen NET SNMP. Da den nye agent bruger" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/it.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/it.po @@ -0,0 +1,48 @@ +# Italian (it) translation of debconf templates for net-snmp +# Copyright (C) 2006 Software in the Public Interest +# This file is distributed under the same license as the net-snmp package. +# Luca Monducci , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.4 italian debconf templates\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-06-09 13:56+0200\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "I parametri predefiniti sono cambiati rispetto alla versione 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" +"I parametri di avvio predefiniti dell'agente/demone snmpd sono cambiati." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Adesso il demone viene avviato con utente snmp, controlla solo localhost e " +"il supporto per SMUX (SNMP multiplexing) è disabilitato. Ognuno di questi " +"parametri può essere cambiato in /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Consultare /usr/share/doc/snmpd/NEWS.Debian.gz per maggiori dettagli." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/pt.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/pt.po @@ -0,0 +1,49 @@ +# Portuguese translation of net-snmp debconf messages. +# This file is distributed under the same license as the net-snmp package. +# Rui Branco , 2006. +# 01-06-2007 - Rui Branco +# +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.4~dfsg-2\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-06-01 17:40+0100\n" +"Last-Translator: Rui Branco \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Parâmetros por omissão alterados desde a versão 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" +"Os parâmetros iniciais por omissão do agent/daemon snmpd foram alterados." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"O 'daemon' é agora iniciado como um utilizador snmp, liga-se apenas à " +"própria máquina ('localhost') e corre com o suporte a SMUX desactivado. " +"Estes parâmetros podem ser alterados individualmente em /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Para mais detalhes por favor veja /usr/share/doc/snmpd/NEWS.Debian.gz." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/cs.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/cs.po @@ -0,0 +1,70 @@ +# Czech translation of net-snmp debconf messages +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the net-snmp package. +# Miroslav Kure , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-05-31 13:24+0100\n" +"Last-Translator: Grumpa \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Výchozí parametry změněné od verze 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "Výchozí startovací parametry snmpd agenta/démona byly změněny." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Démon je nyní spouštěn pod uživatelem snmp, váže se pouze na localhost a " +"běží s vypnutou podporou SNMP multiplexingu (SMUX). Tyto parametry mohou být " +"jednotlivě změněny v /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Další podrobnosti najdete v /usr/share/doc/snmpd/NEWS.Debian.gz." + +#~ msgid "Upgrade warning from version 3.6 and below" +#~ msgstr "Varování při přechodu z verze 3.6 a nižší" + +#~ msgid "" +#~ "Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +#~ "entirely new configuration file format, any configuration you may have " +#~ "previously had can not be automatically updated and must be replaced. " +#~ "Consequently, a security-conscious configuration will be installed by " +#~ "default. Please read the snmpd.conf(5) manual page and then edit /etc/" +#~ "snmp/snmpd.conf accordingly to change the configuration to suit your " +#~ "needs." +#~ msgstr "" +#~ "Debian nyní používá agenta/daemona NET SMTP. Protože nový agent " +#~ "používázcela jiný formát konfiguračního souboru, případné dřívější " +#~ "nastavení nemůže být na tento formát převedeno automaticky a musí být " +#~ "nahrazeno. Tím pádem bude nainstalováno nastavení, které je orientováno " +#~ "na bezpečnost. Chcete-li si přizpůsobit nastavení svým potřebám, přečtěte " +#~ "si prosím manuálovou stránku snmpd.conf(5) a příslušně upravte " +#~ "konfigurační soubor /etc/snmp/snmpd.conf." + +#~ msgid "Upgrade warning from version 5.2.1 and below" +#~ msgstr "Varování při přechodu z verze 5.2.1 a nižší" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/ro.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/ro.po @@ -0,0 +1,75 @@ +# translation of ro.po to Romanian +# Romanian translation of net-snmp. +# Copyright (C) 2006 THE net-snmp'S COPYRIGHT HOLDER +# This file is distributed under the same license as the net-snmp package. +# +# Stan Ioan-Eugen , 2006. +# Eddy Petrișor , 2008. +msgid "" +msgstr "" +"Project-Id-Version: ro\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2008-11-15 04:18+0200\n" +"Last-Translator: Eddy Petrișor \n" +"Language-Team: Romanian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2;\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Parametrii impliciți s-au schimbat începând cu versiunea 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "Parametrii impliciți de pornire ai agentului snmpd s-au schimbat." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Agentul este pornit acum de utilizatorul snmp, așteaptă numai cereri locale " +"și are suportul de SMUX dezactivat. Acești parametri pot fi modificați în /" +"etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "" +"A se vedea /usr/share/doc/snmpd/NEWS.Debian.gz pentru mai multe detalii." + +#~ msgid "Upgrade warning from version 3.6 and below" +#~ msgstr "Avertizare la actualizare de la versiunea 3.6 sau anterioară" + +#~ msgid "" +#~ "Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +#~ "entirely new configuration file format, any configuration you may have " +#~ "previously had can not be automatically updated and must be replaced. " +#~ "Consequently, a security-conscious configuration will be installed by " +#~ "default. Please read the snmpd.conf(5) manual page and then edit /etc/" +#~ "snmp/snmpd.conf accordingly to change the configuration to suit your " +#~ "needs." +#~ msgstr "" +#~ "Debian folosește acum agentul/demonul NET SNMP. Deoarece noul agent " +#~ "folosește un fișier de configurare total diferit, configurația " +#~ "dumneavoastră precedentă nu poate fi actualizată automat și trebuie " +#~ "înlocuită. În consecință, se va instala implicit o configurație " +#~ "securizată. Citiți pagina de manual snmpd.conf(5) și apoi modificați /" +#~ "etc/snmp/snmpd.conf în concordanță cu nevoile dumneavoastră." + +#~ msgid "Upgrade warning from version 5.2.1 and below" +#~ msgstr "Avertizare la actualizare de la versiunea 5.2.1 sau anterioară" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/gl.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/gl.po @@ -0,0 +1,68 @@ +# Galician translation of net-snmp's debconf templates. +# This file is distributed under the same license as the net-snmp package. +# Jacobo Tarrio , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-05-31 09:37+0200\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Cambiáronse os parámetros por defecto desde a versión 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "Cambiáronse os parámetros de inicio do axente/servizo snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"O servizo iníciase agora co usuario snmp, só se asigna a localhost e ten o " +"soporte de multiplexado SNMP (SMUX) desactivado. Todos estes parámetros " +"pódense cambiar individualmente en /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Consulte /usr/share/doc/nsmpd/NEWS.Debian.gz para ter máis detalles." + +#~ msgid "Upgrade warning from version 3.6 and below" +#~ msgstr "Aviso de actualización dunha versión 3.6 ou anterior" + +#~ msgid "" +#~ "Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +#~ "entirely new configuration file format, any configuration you may have " +#~ "previously had can not be automatically updated and must be replaced. " +#~ "Consequently, a security-conscious configuration will be installed by " +#~ "default. Please read the snmpd.conf(5) manual page and then edit /etc/" +#~ "snmp/snmpd.conf accordingly to change the configuration to suit your " +#~ "needs." +#~ msgstr "" +#~ "Agora Debian emprega o axente NET SNMP. Xa que o novo axente emprega un " +#~ "formato de ficheiro de configuración totalmente novo, non se pode " +#~ "actualizar automaticamente a configuración que tivera anteriormente e hai " +#~ "que a substituír. Polo tanto hase instalar por defecto unha configuración " +#~ "segura. Lea a páxina de manual snmpd.conf(5) e edite /etc/snmp/snmpd.conf " +#~ "para axustar a configuración ás súas necesidades." + +#~ msgid "Upgrade warning from version 5.2.1 and below" +#~ msgstr "Aviso de actualización dunha versión 5.2.1 ou anterior" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/POTFILES.in +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] snmpd.templates --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/eu.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/eu.po @@ -0,0 +1,50 @@ +# translation of net-snmp-templates.po to Euskara +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Piarres Beobide , 2007. +msgid "" +msgstr "" +"Project-Id-Version: net-snmp-templates\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-05-31 23:10+0200\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Euskara \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Lehenetsiriko parametroak aldatu egin dira 5.2.1 bertsiotik" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" +"Snmpd agente/deabruaren lehenetsiriko abio parametroak aldatuak izan dira." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Deabrua orain snmp erabiltzaileak abiarazten du, lokalera bakarrik mugatzen " +"du eta SMP multiplexazio (SMUX) onarpena ezgaiturik du. Parametro horiek /" +"etc/default/Snmpd fitxategiak aldatu daitezke." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "" +"Mesedez /usr/share/doc/snmpd/NEWS.Debian.gz begiratu xehetasun gehiagorako." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/fi.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/fi.po @@ -0,0 +1,38 @@ +msgid "" +msgstr "" +"Project-Id-Version: net-snmp_5.4.1~dfsg-4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-09-23 04:32+0200\n" +"PO-Revision-Date: 2007-10-29 00:28+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" + +#. Type: note +#. Description +#: ../snmpd.templates:2001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Oletusparametrit ovat muuttuneet versiosta 5.2.1 alkaen" + +#. Type: note +#. Description +#: ../snmpd.templates:2001 +msgid "The default start parameters of the snmpd agent/daemon have been changed." +msgstr "snmpd-taustaohjelman oletuskäynnistysparametrit ovat muuttuneet." + +#. Type: note +#. Description +#: ../snmpd.templates:2001 +msgid "The daemon is now started as user snmp, binds to localhost only and runs with SNMP multiplexing (SMUX) support disabled. These parameters can all be individually changed in /etc/default/snmpd." +msgstr "Taustaohjelma käynnistetään nyt käyttäjätunnuksella snmp, se kuuntelee vain paikallisosoitetta (”localhost”) ja se ajetaan ilman ”SNMP multiplexing (SMUX)”-tukea. Kaikkia näitä parametreja voidaan muuttaa tiedostossa /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:2001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Lisätietoja (englanniksi) löytyy tiedostosta /usr/share/doc/snmpd/NEWS.Debian.gz." + --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/templates.pot +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/templates.pot @@ -0,0 +1,45 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/vi.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/vi.po @@ -0,0 +1,51 @@ +# Vietnamese translation for Net SNMP. +# Copyright © 2007 Free Software Foundation, Inc. +# Clytie Siddall , 2007 +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-05-31 17:57+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.6fc1\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Tham số mặc định bị thay đổi kể từ phiên bản 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" +"Tham số khởi chạy mặc định của trình nền/tác nhân snmpd đã bị thay đổi." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Trình nền ngay bây giờ được khởi chạy như là người dùng « snmp », cũng kết " +"hợp chỉ với máy cục bộ (localhost) và chạy với khả năng đa công SNMP (SMUX) " +"bị tắt. Những tham số này cũng có thể được sửa đổi từng cài trong tập tin « /" +"etc/default/snmpd »." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "" +"Xem tập tin tin tức « /usr/share/doc/snmpd/NEWS.Debian.gz » để tìm chi tiết." --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/ja.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/ja.po @@ -0,0 +1,49 @@ +# Copyright (C) 2008 Net-SNMP Packaging Team +# as net-snmp Debian package's copyright holder. +# This file is distributed under the same license as the net-snmp package. +# Hideki Yamane (Debian-JP) , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.4.1~dfsg-8.1\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2008-07-31 11:21+0200\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "バージョン 5.2.1 からデフォルトのパラメータが変更されました" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "" +"snmpd エージェントおよびデーモンのデフォルトの起動パラメータが変更されました。" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"daemon はこれよりユーザ snmp として起動され、localhost のみが通信可能であり、" +"SNMP マルチプレキシング (SMUX) サポートは無効にされます。これらのパラメータは" +"すべて個別に /etc/default/snmpd で変更できます。" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "詳細については /usr/share/doc/snmpd/NEWS.Debian.gz を参照してください。" + --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/de.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/de.po @@ -0,0 +1,71 @@ +# Translation of net-snmp debconf templates to German +# Copyright (C) Helge Kreutzmann , 2006, 2007. +# This file is distributed under the same license as the net-snmp package. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.4~dfsg-2\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2007-05-31 22:02+0200\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: de \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Standardparameter seit Version 5.2.1 gendert" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "Die Standard-Startparameter des Snmpd-Agenten/Daemons wurden gendert." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Der Daemon wird jetzt als Benutzer snmp gestartet, bindet sich nur an " +"localhost und luft mit deaktiviertem SNMP-Multiplexing (SMUX). Diese " +"Parameter knnen alle individuell in /etc/default/snmpd gendert werden." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "" +"Bitte lesen Sie /usr/share/doc/snmpd/NEWS.Debian.gz fr weitere Details." + +#~ msgid "Upgrade warning from version 3.6 and below" +#~ msgstr "Upgrade-Warnung von Version 3.6 oder lter" + +#~ msgid "" +#~ "Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +#~ "entirely new configuration file format, any configuration you may have " +#~ "previously had can not be automatically updated and must be replaced. " +#~ "Consequently, a security-conscious configuration will be installed by " +#~ "default. Please read the snmpd.conf(5) manual page and then edit /etc/" +#~ "snmp/snmpd.conf accordingly to change the configuration to suit your " +#~ "needs." +#~ msgstr "" +#~ "Debian verwendet jetzt den NET SNMP-Agent/Daemon. Da der neue Agent ein " +#~ "komplett neues Dateiformat verwendet, kann keine Konfiguration, die Sie " +#~ "bisher gehabt haben knnten, automatisch aktualisiert werden und daher " +#~ "muss die Konfiguration komplett ersetzt. Konsequenterweise wird " +#~ "standardmig eine sicherheits-bewusste Konfiguration installiert. Bitte " +#~ "lesen Sie die Handbuchseite snmpd.conf(5) und bearbeiten Sie /etc/snmp/" +#~ "snmpd.conf entsprechend, um die Konfiguration Ihren Bedrfnissen " +#~ "anzupassen." + +#~ msgid "Upgrade warning from version 5.2.1 and below" +#~ msgstr "Upgrade-Warnung von Version 5.2.1 oder lter" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/po/sv.po +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/po/sv.po @@ -0,0 +1,70 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: net-snmp 5.2.2-3\n" +"Report-Msgid-Bugs-To: pkg-net-snmp-devel@lists.alioth.debian.org\n" +"POT-Creation-Date: 2007-05-31 07:40+0200\n" +"PO-Revision-Date: 2008-07-21 19:28+0100\n" +"Last-Translator: Martin Bagge \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Default parameters changed since version 5.2.1" +msgstr "Standardparametrar ndrade sedan version 5.2.1" + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The default start parameters of the snmpd agent/daemon have been changed." +msgstr "Standardiserade uppstartsparameterar fr snmpd agenten har ndrats." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "" +"The daemon is now started as user snmp, binds to localhost only and runs " +"with SNMP multiplexing (SMUX) support disabled. These parameters can all be " +"individually changed in /etc/default/snmpd." +msgstr "" +"Tjnsten startas numera som anvndaren snmp, lyssnar bara p lokal vrd och " +"krs med stdet fr SNMP multiplexing (SMUX) avaktiverat. Dessa parameterar " +"kan frndras i /etc/default/snmpd." + +#. Type: note +#. Description +#: ../snmpd.templates:3001 +msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details." +msgstr "Ls mer i /usr/share/doc/snmpd/NEWS.Debian.gz" + +#~ msgid "Upgrade warning from version 3.6 and below" +#~ msgstr "Varning fr uppgradering frn version 3.6 och ldre" + +#~ msgid "" +#~ "Debian now uses the NET SNMP agent/daemon. Since the new agent uses an " +#~ "entirely new configuration file format, any configuration you may have " +#~ "previously had can not be automatically updated and must be replaced. " +#~ "Consequently, a security-conscious configuration will be installed by " +#~ "default. Please read the snmpd.conf(5) manual page and then edit /etc/" +#~ "snmp/snmpd.conf accordingly to change the configuration to suit your " +#~ "needs." +#~ msgstr "" +#~ "Debian anvnder nu NET SNMP-agenten/demonen. Eftersom den nya agenten " +#~ "anvnder en totalt nytt format p konfigurationsfilen kan inte den " +#~ "konfiguration du eventuellt redan har att uppdateras utan mste " +#~ "ersttas. Som en konsekvens av detta kommer en skerhetsmedveten " +#~ "konfiguration att installeras som standard. Vnligen ls manualsidan " +#~ "snmpd.conf(5) och redigera sedan /etc/snmp/snmpd.conf p lmpligt stt " +#~ "fr att passa dina behov." + +#~ msgid "Upgrade warning from version 5.2.1 and below" +#~ msgstr "Varning fr uppgradering frn version 5.2.1 och ldre" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/31_silence_subcontainer.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/31_silence_subcontainer.README @@ -0,0 +1,3 @@ +Upstream Change 17254: + +CHANGES: snmpd: BUG: 1693039: be silent when insert fails. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/25_duplicate_iftable.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/25_duplicate_iftable.README @@ -0,0 +1,11 @@ +Patch from +http://sourceforge.net/tracker/index.php?func=detail&aid=1513191&group_id=12694&atid=312694 : + +This patch fixes bug #1238981 for me. If a new device +will be added, the old device are first checked. If +there's an old device with the same name is found, the +old device is removed from the list. This fixes the +problem that i have tons of ppp0 interfaces in the +snmpd ifTable. + +Signed-of-by: Sven Schnelle --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/25_duplicate_iftable.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/25_duplicate_iftable.patch @@ -0,0 +1,99 @@ +diff -ru net-snmp-5.4.2.1.orig/agent/mibgroup/if-mib/data_access/interface.c net-snmp-5.4.2.1/agent/mibgroup/if-mib/data_access/interface.c +--- net-snmp-5.4.2.1.orig/agent/mibgroup/if-mib/data_access/interface.c 2008-02-23 00:52:33.000000000 +0100 ++++ net-snmp-5.4.2.1/agent/mibgroup/if-mib/data_access/interface.c 2009-07-31 17:10:49.000000000 +0200 +@@ -469,12 +469,12 @@ + if (index != tmp) { + static int logged = 0; + if (!logged) { +- snmp_log(LOG_ERR, "IfIndex of an interface changed. Such " \ +- "interfaces will appear multiple times in IF-MIB.\n"); ++ snmp_log(LOG_ERR, "IfIndex of an interface changed.\n"); + logged = 1; + } +- DEBUGMSGTL(("access:interface:ifIndex", "index %d != tmp for %s\n", +- index, name)); ++ se_remove_value_from_slist("interfaces", name); ++ se_add_pair_to_slist("interfaces", strdup(name), index); ++ DEBUGMSGTL(("access:interface:ifIndex", "ifname %s, old index %d, already existing, replaced with %d\n", name, tmp, index)); + } + } + +diff -ru net-snmp-5.4.2.1.orig/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c net-snmp-5.4.2.1/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c +--- net-snmp-5.4.2.1.orig/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c 2008-02-12 20:05:24.000000000 +0100 ++++ net-snmp-5.4.2.1/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c 2009-07-31 17:04:17.000000000 +0200 +@@ -266,8 +266,21 @@ + _add_new_interface(netsnmp_interface_entry *ifentry, + netsnmp_container *container) + { +- ifTable_rowreq_ctx *rowreq_ctx; +- ++ ifTable_rowreq_ctx *rowreq_ctx, *container_entry; ++ netsnmp_iterator *ctxit; ++ ctxit = CONTAINER_ITERATOR(container); ++ container_entry = ITERATOR_FIRST(ctxit); ++ ++ for(; container_entry; container_entry = ITERATOR_NEXT(ctxit)) { ++ if(!strcmp(ifentry->name, container_entry->data.ifName) && \ ++ ifentry->index != container_entry->data.ifentry->index) { ++ DEBUGMSGTL(("ifTable:access", "removing old entry %s (index %d != %d)\n", ++ container_entry->data.ifName, container_entry->data.ifentry->index, ifentry->index)); ++ se_remove_value_from_slist("interfaces", container_entry->data.ifName); ++ CONTAINER_REMOVE(container, container_entry); ++ ifTable_release_rowreq_ctx(container_entry); ++ } ++ } + DEBUGMSGTL(("ifTable:access", "creating new entry\n")); + + /* +Nur in net-snmp-5.4.2.1/agent/mibgroup/if-mib/ifTable: ifTable_data_access.c.orig. +diff -ru net-snmp-5.4.2.1.orig/snmplib/snmp_enum.c net-snmp-5.4.2.1/snmplib/snmp_enum.c +--- net-snmp-5.4.2.1.orig/snmplib/snmp_enum.c 2005-02-09 20:46:35.000000000 +0100 ++++ net-snmp-5.4.2.1/snmplib/snmp_enum.c 2009-07-31 17:04:17.000000000 +0200 +@@ -213,6 +213,27 @@ + return SE_DNE; /* XXX: um, no good solution here */ + } + ++int se_remove_value_from_list(struct snmp_enum_list **list, const char *label) ++{ ++ struct snmp_enum_list *lastlist; ++ if(!list) ++ return SE_DNE; ++ ++ lastlist = NULL; ++ while(*list) { ++ if(strcmp((*list)->label, label) == 0) { ++ free((*list)->label); ++ if(lastlist) ++ lastlist->next = (*list)->next; ++ free(*list); ++ *list = NULL; ++ return 0; ++ } ++ lastlist = *list; ++ (*list) = (*list)->next; ++ } ++ ++} + int + se_find_free_value_in_list(struct snmp_enum_list *list) + { +@@ -331,6 +352,19 @@ + return (se_find_value_in_list(se_find_slist(listname), label)); + } + ++void se_remove_value_from_slist(const char *listname, const char *label) ++{ ++ struct snmp_enum_list_str *sptr, *lastp = NULL; ++ struct snmp_enum_list *list; ++ if (!listname) ++ return; ++ ++ for (sptr = sliststorage; ++ sptr != NULL; lastp = sptr, sptr = sptr->next) ++ if (sptr->name && strcmp(sptr->name, listname) == 0) ++ se_remove_value_from_list(&sptr->list, label); ++} ++ + int + se_find_free_value_in_slist(const char *listname) + { --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/26_kfreebsd.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/26_kfreebsd.patch @@ -0,0 +1,85 @@ +only in patch2: +unchanged: +--- net-snmp-5.3.1.orig/Makefile.in ++++ net-snmp-5.3.1/Makefile.in +@@ -17,8 +17,8 @@ + INCLUDESUBDIR=system + INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \ + darwin.h darwin7.h darwin8.h darwin9.h freebsd5.h freebsd6.h \ +- dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h hpux.h \ +- irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ ++ dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h kfreebsd.h \ ++ hpux.h irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ + solaris2.3.h solaris2.4.h solaris2.5.h solaris2.6.h \ + solaris.h sunos.h svr5.h sysv.h ultrix4.h + INCLUDESUBDIR2=machine +only in patch2: +unchanged: +--- net-snmp-5.3.1.orig/include/net-snmp/system/kfreebsd.h ++++ net-snmp-5.3.1/include/net-snmp/system/kfreebsd.h +@@ -0,0 +1,65 @@ ++#include "freebsd6.h" ++#define freebsd6 freebsd6 ++ ++#include ++#define __FreeBSD_version __FreeBSD_kernel_version ++ ++#include ++#include ++ ++typedef unsigned int tcp_seq; ++typedef unsigned int tcp_cc; ++#define TCPOPT_SACK_HDR (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_SACK<<8) ++#define MAX_SACK_BLKS 6 /* Max # SACK blocks stored at sender side */ ++#define TCP_MAX_SACK 3 /* MAX # SACKs sent in any segment */ ++ ++#include ++ ++#include ++#include ++#include ++ ++/* ++ * Externalized form of struct socket used by the sysctl(3) interface. ++ */ ++struct xsocket { ++ size_t xso_len; /* length of this structure */ ++ struct socket *xso_so; /* makes a convenient handle sometimes */ ++ short so_type; ++ short so_options; ++ short so_linger; ++ short so_state; ++ caddr_t so_pcb; /* another convenient handle */ ++ int xso_protocol; ++ int xso_family; ++ short so_qlen; ++ short so_incqlen; ++ short so_qlimit; ++ short so_timeo; ++ u_short so_error; ++ pid_t so_pgid; ++ u_long so_oobmark; ++ struct xsockbuf { ++ u_int sb_cc; ++ u_int sb_hiwat; ++ u_int sb_mbcnt; ++ u_int sb_mbmax; ++ int sb_lowat; ++ int sb_timeo; ++ short sb_flags; ++ } so_rcv, so_snd; ++ uid_t so_uid; /* XXX */ ++}; ++typedef u_quad_t so_gen_t; ++ ++#define _SYS_SOCKETVAR_H_ ++#include ++ ++struct xtcpcb { ++ size_t xt_len; ++ struct inpcb xt_inp; ++ struct tcpcb xt_tp; ++ struct xsocket xt_socket; ++ u_quad_t xt_alignment_hack; ++}; ++ --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/56_manpage.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/56_manpage.patch @@ -0,0 +1,162 @@ +Index: net-snmp-5.4.2.1/man/snmpd.conf.5.def +=================================================================== +--- net-snmp-5.4.2.1.orig/man/snmpd.conf.5.def 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/snmpd.conf.5.def 2009-11-06 10:49:16.000000000 +0100 +@@ -419,7 +419,7 @@ + Historically, the Net-SNMP agent has reported such file systems + as 'Fixed Disks', and this is still the default behaviour. + Setting this directive to '1' reports such file systems as +-'Network Disks', as required by the Host Resources MIB. ++\'Network Disks', as required by the Host Resources MIB. + .SS Process Monitoring + The \fChrSWRun\fR group of the Host Resources MIB provides + information about individual processes running on the local system. +Index: net-snmp-5.4.2.1/man/snmptrapd.conf.5.def +=================================================================== +--- net-snmp-5.4.2.1.orig/man/snmptrapd.conf.5.def 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/snmptrapd.conf.5.def 2009-11-06 10:49:16.000000000 +0100 +@@ -179,7 +179,7 @@ + NOTIFICATION-TYPE object, and the specified program will be invoked for + notifications that match this OID exactly. However this token also + supports a simple form of wildcard suffixing. By appending the character +-'*' to the OID token, the corresponding program will be invoked for any ++\'*' to the OID token, the corresponding program will be invoked for any + notification based within subtree rooted at the specified OID. + For example, an OID token of \fC.1.3.6.1.4.1*\fP would match any enterprise + specific notification (including the specified OID itself). +Index: net-snmp-5.4.2.1/man/mib_api.3.def +=================================================================== +--- net-snmp-5.4.2.1.orig/man/mib_api.3.def 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/mib_api.3.def 2009-11-06 10:49:16.000000000 +0100 +@@ -124,7 +124,8 @@ + lb lb lb + l l l. + tag + len + load the new module when: +-NULL + 0 + always (the old module is a strict subset of the new) ++NULL + 0 + always (the old module is a strict subset of ++ + + the new) + name + 0 + for the given tag only + name + non-0 + for any identifier with this prefix + .TE +@@ -319,6 +320,6 @@ + .TP 10 + MIBS + A colon separated list of MIB modules to load. +-Default: IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:UCD-SNMP-MIB. ++Default: IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB: RFC1213-MIB:UCD-SNMP-MIB. + .SH "SEE ALSO" + .BR snmp_api "(3)" +Index: net-snmp-5.4.2.1/man/netsnmp_Container_iterator.3 +=================================================================== +--- net-snmp-5.4.2.1.orig/man/netsnmp_Container_iterator.3 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/netsnmp_Container_iterator.3 2009-11-06 10:49:16.000000000 +0100 +@@ -2,7 +2,7 @@ + .ad l + .nh + .SH NAME +-Container_iterator \- ++Container_iterator \- the Net-SNMP container iterator + .SS "Typedefs" + + .in +1c +Index: net-snmp-5.4.2.1/man/netsnmp_container.3 +=================================================================== +--- net-snmp-5.4.2.1.orig/man/netsnmp_container.3 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/netsnmp_container.3 2009-11-06 10:49:16.000000000 +0100 +@@ -2,7 +2,7 @@ + .ad l + .nh + .SH NAME +-container \- ++container \- Net-SNMP null container + .SS "Modules" + + .in +1c +Index: net-snmp-5.4.2.1/man/netsnmp_example_scalar_int.3 +=================================================================== +--- net-snmp-5.4.2.1.orig/man/netsnmp_example_scalar_int.3 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/netsnmp_example_scalar_int.3 2009-11-06 10:49:16.000000000 +0100 +@@ -2,7 +2,7 @@ + .ad l + .nh + .SH NAME +-example_scalar_int: instantiates a few example scalars. \- This example merely creates some scalar registrations that allows some simple variables to be accessed via SNMP. ++example_scalar_int \- This example merely creates some scalar registrations that allows some simple variables to be accessed via SNMP. + More... + .SS "Functions" + +@@ -23,4 +23,4 @@ + .PP + snmpset localhost netSnmpExampleInteger.0 = 1234 netSnmpExampleScalars = 1234 + .PP +-snmpget localhost netSnmpExampleInteger.0 netSnmpExampleScalars = 1234 +\ No newline at end of file ++snmpget localhost netSnmpExampleInteger.0 netSnmpExampleScalars = 1234 +Index: net-snmp-5.4.2.1/man/netsnmp_library.3 +=================================================================== +--- net-snmp-5.4.2.1.orig/man/netsnmp_library.3 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/netsnmp_library.3 2009-11-06 12:45:23.000000000 +0100 +@@ -2,7 +2,7 @@ + .ad l + .nh + .SH NAME +-The Net-SNMP library \- ++netsnmp_library \- the Net-SNMP library + .SS "Modules" + + .in +1c +Index: net-snmp-5.4.2.1/man/netsnmp_mib_utilities.3 +=================================================================== +--- net-snmp-5.4.2.1.orig/man/netsnmp_mib_utilities.3 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/netsnmp_mib_utilities.3 2009-11-06 12:45:48.000000000 +0100 +@@ -2,7 +2,7 @@ + .ad l + .nh + .SH NAME +-mib parsing and datatype manipulation routines. \- ++netsnmp_mib_utilities \- the Net-SNMP mib parsing and datatype manipulation routines. + .SS "Data Structures" + + .in +1c +Index: net-snmp-5.4.2.1/man/netsnmp_table.3 +=================================================================== +--- net-snmp-5.4.2.1.orig/man/netsnmp_table.3 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/netsnmp_table.3 2009-11-06 10:49:16.000000000 +0100 +@@ -226,9 +226,9 @@ + .PP + Index values are extracted from the table_info varbinds. + .PP +-.Entry ++Entry + .PP +-.column ++column + .PP + Definition at line 784 of file table.c. + .PP +Index: net-snmp-5.4.2.1/man/netsnmp_agent.3 +=================================================================== +--- net-snmp-5.4.2.1.orig/man/netsnmp_agent.3 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/netsnmp_agent.3 2009-11-06 12:44:31.000000000 +0100 +@@ -2,7 +2,7 @@ + .ad l + .nh + .SH NAME +-The Net-SNMP agent \- The snmp agent responds to SNMP queries from management stations. ++netsnmp_agent \- The snmp agent responds to SNMP queries from management stations. + + .PP + .SS "Modules" +Index: net-snmp-5.4.2.1/man/netsnmp_handler.3 +=================================================================== +--- net-snmp-5.4.2.1.orig/man/netsnmp_handler.3 2009-11-06 10:48:24.000000000 +0100 ++++ net-snmp-5.4.2.1/man/netsnmp_handler.3 2009-11-06 12:44:56.000000000 +0100 +@@ -2,7 +2,7 @@ + .ad l + .nh + .SH NAME +-Net-SNMP Agent handler and extensibility API \- The basic theory goes something like this: In the past, with the original mib module api (which derived from the original CMU SNMP code) the underlying mib modules were passed very little information (only the truly most basic information about a request). ++netsnmp_handler \- The basic theory goes something like this: In the past, with the original mib module api (which derived from the original CMU SNMP code) the underlying mib modules were passed very little information (only the truly most basic information about a request). + + .PP + .SS "Modules" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/32_mnttab_path.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/32_mnttab_path.README @@ -0,0 +1 @@ +Patch to hardcode mount table location. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/02_statistics.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/02_statistics.patch @@ -0,0 +1,22 @@ +--- net-snmp-5.1.2.orig/agent/mibgroup/mibII/interfaces.c ++++ net-snmp-5.1.2/agent/mibgroup/mibII/interfaces.c +@@ -1598,6 +1612,10 @@ + struct ifnet *nnew; + char *stats, *ifstart = line; + ++ /* Ignore interfaces with no statistics. */ ++ if (strstr(line, "No statistics available.")) ++ continue; ++ + if (line[strlen(line) - 1] == '\n') + line[strlen(line) - 1] = '\0'; + +@@ -1631,7 +1649,7 @@ + &coll) != 5)) { + if ((scan_line_to_use == scan_line_2_2) + && !strstr(line, "No statistics available")) +- snmp_log(LOG_ERR, ++ snmp_log(LOG_DEBUG, + "/proc/net/dev data format error, line ==|%s|", + line); + continue; --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/02_statistics.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/02_statistics.README @@ -0,0 +1 @@ +This patch ignores interfaces without statistics. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/CVE-2012-6151.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/CVE-2012-6151.patch @@ -0,0 +1,302 @@ +Description: fix denial of service via AgentX subagent timeout +Origin: based on RedHat's backport of upstream commits. Thanks! +Origin: backport, http://sourceforge.net/p/net-snmp/code/ci/f9304c83f76202db0e684269ca1af32e43cd9db4 +Origin: backport, http://sourceforge.net/p/net-snmp/code/ci/793d596838ff7cb48a73b675d62897c56c9e62df +Bug: http://sourceforge.net/p/net-snmp/bugs/2411/ +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731625 +Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-6151 + +Index: net-snmp-5.4.2.1~dfsg0ubuntu1/agent/mibgroup/agentx/master.c +=================================================================== +--- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/agent/mibgroup/agentx/master.c 2014-03-11 10:09:34.556266342 -0400 ++++ net-snmp-5.4.2.1~dfsg0ubuntu1/agent/mibgroup/agentx/master.c 2014-03-11 10:09:34.552266342 -0400 +@@ -236,7 +236,10 @@ + if (!cache) { + DEBUGMSGTL(("agentx/master", "response too late on session %08p\n", + session)); +- return 0; ++ /* response is too late, free the cache */ ++ if (magic) ++ netsnmp_free_delegated_cache((netsnmp_delegated_cache*) magic); ++ return 1; + } + requests = cache->requests; + +@@ -621,6 +624,8 @@ + + if (result == 0 ) { + snmp_free_pdu( pdu ); ++ if (cb_data) ++ netsnmp_free_delegated_cache((netsnmp_delegated_cache*) cb_data); + } + + return SNMP_ERR_NOERROR; +Index: net-snmp-5.4.2.1~dfsg0ubuntu1/agent/mibgroup/agentx/master_admin.c +=================================================================== +--- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/agent/mibgroup/agentx/master_admin.c 2014-03-11 10:09:34.556266342 -0400 ++++ net-snmp-5.4.2.1~dfsg0ubuntu1/agent/mibgroup/agentx/master_admin.c 2014-03-11 10:09:34.552266342 -0400 +@@ -139,11 +139,16 @@ + * requests, so that the delegated request will be completed and + * further requests can be processed + */ +- netsnmp_remove_delegated_requests_for_session(session); ++ while (netsnmp_remove_delegated_requests_for_session(session)) { ++ DEBUGMSGTL(("agentx/master", "Continue removing delegated reqests\n")); ++ } ++ + if (session->subsession != NULL) { + netsnmp_session *subsession = session->subsession; + for(; subsession; subsession = subsession->next) { +- netsnmp_remove_delegated_requests_for_session(subsession); ++ while (netsnmp_remove_delegated_requests_for_session(subsession)) { ++ DEBUGMSGTL(("agentx/master", "Continue removing delegated subsession reqests\n")); ++ } + } + } + +@@ -161,6 +166,7 @@ + for (sp = session->subsession; sp != NULL; sp = sp->next) { + + if (sp->sessid == sessid) { ++ netsnmp_remove_delegated_requests_for_session(sp); + unregister_mibs_by_session(sp); + unregister_index_by_session(sp); + snmp_call_callbacks(SNMP_CALLBACK_APPLICATION, +Index: net-snmp-5.4.2.1~dfsg0ubuntu1/agent/snmp_agent.c +=================================================================== +--- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/agent/snmp_agent.c 2014-03-11 10:09:34.556266342 -0400 ++++ net-snmp-5.4.2.1~dfsg0ubuntu1/agent/snmp_agent.c 2014-03-11 10:09:34.556266342 -0400 +@@ -1327,6 +1327,7 @@ + netsnmp_free_cachemap(asp->cache_store); + asp->cache_store = NULL; + } ++ agent_snmp_session_release_cancelled(asp); + SNMP_FREE(asp); + } + +@@ -1338,6 +1339,10 @@ + + if (NULL == asp->treecache) + return 0; ++ ++ if (agent_snmp_session_is_cancelled(asp)) { ++ return 0; ++ } + + for (i = 0; i <= asp->treecache_num; i++) { + for (request = asp->treecache[i].requests_begin; request; +@@ -1416,39 +1421,48 @@ + netsnmp_remove_delegated_requests_for_session(netsnmp_session *sess) + { + netsnmp_agent_session *asp; +- int count = 0; ++ int total_count = 0; + + for (asp = agent_delegated_list; asp; asp = asp->next) { + /* + * check each request + */ ++ int i; ++ int count = 0; + netsnmp_request_info *request; +- for(request = asp->requests; request; request = request->next) { +- /* +- * check session +- */ +- netsnmp_assert(NULL!=request->subtree); +- if(request->subtree->session != sess) +- continue; ++ for (i = 0; i <= asp->treecache_num; i++) { ++ for (request = asp->treecache[i].requests_begin; request; ++ request = request->next) { ++ /* ++ * check session ++ */ ++ netsnmp_assert(NULL!=request->subtree); ++ if(request->subtree->session != sess) ++ continue; + +- /* +- * matched! mark request as done +- */ +- netsnmp_request_set_error(request, SNMP_ERR_GENERR); +- ++count; ++ /* ++ * matched! mark request as done ++ */ ++ netsnmp_request_set_error(request, SNMP_ERR_GENERR); ++ ++count; ++ } ++ } ++ if (count) { ++ agent_snmp_session_mark_cancelled(asp); ++ total_count += count; + } + } + + /* + * if we found any, that request may be finished now + */ +- if(count) { ++ if(total_count) { + DEBUGMSGTL(("snmp_agent", "removed %d delegated request(s) for session " +- "%08p\n", count, sess)); +- netsnmp_check_outstanding_agent_requests(); ++ "%8p\n", total_count, sess)); ++ netsnmp_check_delegated_requests(); + } + +- return count; ++ return total_count; + } + + int +@@ -2591,19 +2605,11 @@ + return final_status; + } + +-/* +- * loop through our sessions known delegated sessions and check to see +- * if they've completed yet. If there are no more delegated sessions, +- * check for and process any queued requests +- */ + void +-netsnmp_check_outstanding_agent_requests(void) ++netsnmp_check_delegated_requests(void) + { + netsnmp_agent_session *asp, *prev_asp = NULL, *next_asp = NULL; + +- /* +- * deal with delegated requests +- */ + for (asp = agent_delegated_list; asp; asp = next_asp) { + next_asp = asp->next; /* save in case we clean up asp */ + if (!netsnmp_check_for_delegated(asp)) { +@@ -2642,6 +2648,22 @@ + prev_asp = asp; + } + } ++} ++ ++/* ++ * loop through our sessions known delegated sessions and check to see ++ * if they've completed yet. If there are no more delegated sessions, ++ * check for and process any queued requests ++ */ ++void ++netsnmp_check_outstanding_agent_requests(void) ++{ ++ netsnmp_agent_session *asp; ++ ++ /* ++ * deal with delegated requests ++ */ ++ netsnmp_check_delegated_requests(); + + /* + * if we are processing a set and there are more delegated +@@ -2670,7 +2692,8 @@ + + netsnmp_processing_set = netsnmp_agent_queued_list; + DEBUGMSGTL(("snmp_agent", "SET request remains queued while " +- "delegated requests finish, asp = %08p\n", asp)); ++ "delegated requests finish, asp = %8p\n", ++ agent_delegated_list)); + break; + } + +@@ -2730,6 +2753,10 @@ + case SNMP_MSG_GETBULK: + case SNMP_MSG_GETNEXT: + netsnmp_check_all_requests_status(asp, 0); ++ if (agent_snmp_session_is_cancelled(asp)) { ++ DEBUGMSGTL(("snmp_agent","canceling next walk for asp %p\n", asp)); ++ break; ++ } + handle_getnext_loop(asp); + if (netsnmp_check_for_delegated(asp) && + netsnmp_check_transaction_id(asp->pdu->transid) != +@@ -3687,3 +3714,71 @@ + return error_value; + } + /** @} */ ++ ++ ++/* ++ * Ugly hack to fix bug #950602 and preserve ABI ++ * (the official patch adds netsnmp_agent_session->flags). ++ * We must create parallel database of netsnmp_agent_sessions ++ * and put cancelled requests there instead of marking ++ * netsnmp_agent_session->flags. ++ */ ++static netsnmp_agent_session **cancelled_agent_snmp_sessions; ++static int cancelled_agent_snmp_sessions_count; ++static int cancelled_agent_snmp_sessions_max; ++ ++int ++agent_snmp_session_mark_cancelled(netsnmp_agent_session *session) ++{ ++ DEBUGMSGTL(("agent:cancelled", "Cancelling session %p\n", session)); ++ if (!session) ++ return 0; ++ if (cancelled_agent_snmp_sessions_count + 1 > cancelled_agent_snmp_sessions_max) { ++ netsnmp_agent_session **aux; ++ int max = cancelled_agent_snmp_sessions_max + 10; ++ aux = realloc(cancelled_agent_snmp_sessions, sizeof(netsnmp_agent_session*) * max); ++ if (!aux) ++ return SNMP_ERR_GENERR; ++ cancelled_agent_snmp_sessions = aux; ++ cancelled_agent_snmp_sessions_max = max; ++ } ++ cancelled_agent_snmp_sessions[cancelled_agent_snmp_sessions_count] = session; ++ cancelled_agent_snmp_sessions_count++; ++ return 0; ++} ++ ++int ++agent_snmp_session_is_cancelled(netsnmp_agent_session *session) ++{ ++ int i; ++ for (i=0; i: search nlist() in libkvm. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/31_silence_subcontainer.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/31_silence_subcontainer.patch @@ -0,0 +1,26 @@ +Index: snmplib/container.c +=================================================================== +--- net-snmp-5.4.2.1.orig/snmplib/container.c (Revision 17253) ++++ net-snmp-5.4.2.1/snmplib/container.c (Revision 17254) +@@ -275,7 +275,7 @@ + if(x) { + int rc = x->insert(x,k); + if(rc) +- snmp_log(LOG_ERR,"error on subcontainer '%s' insert (%d)\n", ++ snmp_log(LOG_DEBUG,"error on subcontainer '%s' insert (%d)\n", + x->container_name ? x->container_name : "", rc); + else { + rc = CONTAINER_INSERT_HELPER(x->next, k); +Index: include/net-snmp/library/container.h +=================================================================== +--- net-snmp-5.4.2.1.orig/include/net-snmp/library/container.h (Revision 17253) ++++ net-snmp-5.4.2.1/include/net-snmp/library/container.h (Revision 17254) +@@ -358,7 +358,7 @@ + if(x) { + int rc = x->insert(x,k); + if(rc) +- snmp_log(LOG_ERR,"error on subcontainer '%s' insert (%d)\n", ++ snmp_log(LOG_DEBUG,"error on subcontainer '%s' insert (%d)\n", + x->container_name ? x->container_name : "", rc); + else { + rc = CONTAINER_INSERT_HELPER(x->next, k); --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/CVE-2014-2310.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/CVE-2014-2310.patch @@ -0,0 +1,26 @@ +commit eb816330a1887798d844d2fd5dc6482002123cbd +Author: Wes Hardaker +Date: Wed Dec 29 01:37:32 2010 +0000 + + NEWS: snmpd: Patch 3141462: from fenner: fix agentx subagent issues with multiple-object requests + + git-svn-id: file:///home/hardaker/lib/sf-bkups/net-snmp-convert-svnrepo/branches/V5-3-patches@19760 06827809-a52a-0410-b366-d66718629ded + +Index: net-snmp-5.4.2.1~dfsg0ubuntu1/agent/mibgroup/agentx/protocol.c +=================================================================== +--- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/agent/mibgroup/agentx/protocol.c 2014-03-11 10:10:04.372267140 -0400 ++++ net-snmp-5.4.2.1~dfsg0ubuntu1/agent/mibgroup/agentx/protocol.c 2014-03-11 10:10:04.368267140 -0400 +@@ -1759,11 +1759,11 @@ + (u_char *) end_oid_buf, + end_oid_buf_len); + } ++ oid_buf_len = MAX_OID_LEN; ++ end_oid_buf_len = MAX_OID_LEN; + } + + DEBUGINDENTLESS(); +- oid_buf_len = MAX_OID_LEN; +- end_oid_buf_len = MAX_OID_LEN; + break; + + --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/59_fix_python.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/59_fix_python.patch @@ -0,0 +1,21 @@ +Index: net-snmp-5.4.2.1/python/netsnmp/client.py +=================================================================== +--- net-snmp-5.4.2.1.orig/python/netsnmp/client.py 2008-03-21 18:45:33.000000000 +0100 ++++ net-snmp-5.4.2.1/python/netsnmp/client.py 2009-11-12 14:03:27.000000000 +0100 +@@ -28,6 +28,7 @@ + 'Context':'', + 'Engineboots':0, + 'Enginetime':0, ++ 'UseNumeric':0, + } + keys = kargs.keys() + for key in keys: +@@ -234,8 +235,6 @@ + var_list.append(arg) + else: + var_list.append(Varbind(arg)) +- for var in var_list: +- print " ",var.tag, var.iid, "=", var.val, '(',var.type,')' + res = sess.walk(var_list) + return res + --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/44_nlist_kvm.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/44_nlist_kvm.patch @@ -0,0 +1,12 @@ +--- net-snmp-5.4.1~dfsg.orig/configure.in ++++ net-snmp-5.4.1~dfsg/configure.in +@@ -2854,6 +2854,9 @@ + AC_CHECK_FUNC(kvm_getswapinfo, AC_DEFINE(HAVE_KVM_GETSWAPINFO, 1, [Define to 1 if you have the `kvm_getswapinfo' function.]), + AC_CHECK_LIB(kvm, kvm_getswapinfo, AC_DEFINE(HAVE_KVM_GETSWAPINFO, 1, [Define to 1 if you have the `kvm_getswapinfo' function.]) + _libkvm="-lkvm")) ++AC_CHECK_FUNC(nlist, AC_DEFINE(HAVE_NLIST, 1, [Define to 1 if you have the `nlist' function.]), ++ AC_CHECK_LIB(kvm, nlist, AC_DEFINE(HAVE_NLIST, 1, [Define to 1 if you have the `nlist' function.]) ++ _libkvm="-lkvm")) + if test "x${_libkvm}" != "x"; then + AC_DEFINE(HAVE_LIBKVM, 1, [Define to 1 if you have the `kvm' library (-lkvm).]) + LAGENTLIBS="$LAGENTLIBS ${_libkvm}" --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/32_mnttab_path.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/32_mnttab_path.patch @@ -0,0 +1,29 @@ +--- net-snmp-5.2.3.orig/configure.in 2006-07-14 01:29:49.000000000 +0200 ++++ net-snmp-5.2.3/configure.in 2006-12-28 16:07:34.000000000 +0100 +@@ -2102,13 +2102,19 @@ + + AC_CACHE_CHECK(for mount table location,ac_cv_ETC_MNTTAB, + [ac_cv_ETC_MNTTAB="unknown" +-for i in /etc/mnttab /etc/mtab /etc/filesystems +- do +- if test -f $i; then +- ac_cv_ETC_MNTTAB="$i" +- break; +- fi +-done ++AC_ARG_WITH(mnttab, ++[ --with-mnttab=\"/etc/mnttab\" Mount table location. ++ The default is to autodetect this.], ++ [ac_cv_ETC_MNTTAB="$with_mnttab"]) ++if test "$ac_cv_ETC_MNTTAB" = "unknown"; then ++ for i in /etc/mnttab /etc/mtab /etc/filesystems ++ do ++ if test -f $i; then ++ ac_cv_ETC_MNTTAB="$i" ++ break; ++ fi ++ done ++fi + ]) + + AC_DEFINE_UNQUOTED(ETC_MNTTAB,"$ac_cv_ETC_MNTTAB") --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/series +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/series @@ -0,0 +1,23 @@ +02_statistics.patch +03_makefiles.patch +05_searchdirs.patch +06_extramibs.patch +07_docfiles.patch +08_defaultconfig.patch +25_duplicate_iftable.patch +26_kfreebsd.patch +31_silence_subcontainer.patch +32_mnttab_path.patch +44_nlist_kvm.patch +50_use_bash.patch +52_fix_snmpcmd_1_typo.patch +56_manpage.patch +57_fix_ipv6_memleak.patch +59_fix_python.patch +60_libsensors_api.patch +99-fix-ubuntu-div0.patch +CVE-2008-6123.patch +CVE-2012-2141.patch +CVE-2012-6151.patch +CVE-2014-2285.patch +CVE-2014-2310.patch --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/60_libsensors_api.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/60_libsensors_api.patch @@ -0,0 +1,251 @@ +diff --git a/agent/mibgroup/ucd-snmp/lmSensors.c b/agent/mibgroup/ucd-snmp/lmSensors.c +index d7dbd98..8f9fcd2 100644 +--- a/agent/mibgroup/ucd-snmp/lmSensors.c ++++ b/agent/mibgroup/ucd-snmp/lmSensors.c +@@ -390,7 +390,7 @@ static int + sensor_load(void) + { + int rc = 0; +- time_t t = time(NULL); ++ time_t t = time(NULL); + + if (t > timestamp + 7) /* this may require some tuning - currently 7 seconds*/ + { +@@ -962,77 +962,78 @@ else{ + } /* end for */ + + while ((chip = sensors_get_detected_chips(&chip_nr))) { +- int a = 0; +- int b = 0; ++ int a = 0; ++ int b = 0; + +- while ((data = sensors_get_all_features(*chip, &a, &b))) { +- char *label = NULL; +- double val; ++ while ((data = sensors_get_all_features(*chip, &a, &b))) { ++ char *label = NULL; ++ double val; + +- if ((data->mode & SENSORS_MODE_R) && +- (data->mapping == SENSORS_NO_MAPPING) && +- !sensors_get_label(*chip, data->number, &label) && +- !sensors_get_feature(*chip, data->number, &val)) { +- int type = -1; +- float mul; +- _sensor_array *array; ++ if ((data->mode & SENSORS_MODE_R) && ++ (data->mapping == SENSORS_NO_MAPPING) && ++ !sensors_get_label(*chip, data->number, &label) && ++ !sensors_get_feature(*chip, data->number, &val)) { ++ int type = -1; ++ float mul; ++ _sensor_array *array; + +- /* The label, as determined for a given chip in sensors.conf, +- * is used to place each sensor in the appropriate bucket. +- * Volt, Fan, Temp, and Misc. If the text being looked for below +- * is not in the label of a given sensor (e.g., the temp1 sensor +- * has been labeled 'CPU' and not 'CPU temp') it will end up being +- * lumped in the MISC bucket. */ ++ /* The label, as determined for a given chip in ++ * sensors.conf, is used to place each sensor in the ++ * appropriate bucket. Volt, Fan, Temp, and Misc. ++ * If the text being looked for below is not in the ++ * label of a given sensor (e.g., the temp1 sensor ++ * has been labeled 'CPU' and not 'CPU temp') it ++ * will end up being lumped in the MISC bucket. */ + +- if (strstr(label, "V")) { +- type = VOLT_TYPE; +- mul = 1000.0; +- } +- if (strstr(label, "fan") || strstr(label, "Fan")) { +- type = FAN_TYPE; +- mul = 1.0; +- } +- if (strstr(label, "temp") || strstr(label, "Temp")) { +- type = TEMP_TYPE; +- mul = 1000.0; +- } +- if (type == -1) { +- type = MISC_TYPE; +- mul = 1000.0; +- } ++ if (strstr(label, "V")) { ++ type = VOLT_TYPE; ++ mul = 1000.0; ++ } ++ if (strstr(label, "fan") || strstr(label, "Fan")) { ++ type = FAN_TYPE; ++ mul = 1.0; ++ } ++ if (strstr(label, "temp") || strstr(label, "Temp")) { ++ type = TEMP_TYPE; ++ mul = 1000.0; ++ } ++ if (type == -1) { ++ type = MISC_TYPE; ++ mul = 1000.0; ++ } + +- array = &sensor_array[type]; +- if ( array->current_len <= array->n) { +- _sensor* old_buffer = array->sensor; +- size_t new_size = (sizeof(_sensor) * array->current_len) + (sizeof(_sensor) * DEFAULT_SENSORS); +- array->sensor = (_sensor*)realloc(array->sensor, new_size); +- if (array->sensor == NULL) +- { +- /* Continuing would be unsafe */ +- snmp_log(LOG_ERR, "too many sensors to fit, and failed to alloc more, failing on %s\n", label); +- free(old_buffer); +- old_buffer = NULL; +- if (label) { +- free(label); +- label = NULL; +- } /* end if label */ +- return (rc=1); +- } /* end if array->sensor */ +- array->current_len = new_size / sizeof(_sensor); +- DEBUGMSG(("ucd-snmp/lmSensors", "type #%d increased to %d elements\n", type, array->current_len)); +- } /* end if array->current */ +- strncpy(array->sensor[array->n].name, label, MAX_NAME); +- array->sensor[array->n].value = (int) (val * mul); +- DEBUGMSGTL(("sensors","sensor %d, value %d\n", +- array->sensor[array->n].name, +- array->sensor[array->n].value)); +- array->n++; +- } /* end if data-mode */ +- if (label) { +- free(label); +- label = NULL; +- } /* end if label */ +- } /* end while data */ ++ array = &sensor_array[type]; ++ if ( array->current_len <= array->n) { ++ _sensor* old_buffer = array->sensor; ++ size_t new_size = (sizeof(_sensor) * array->current_len) + (sizeof(_sensor) * DEFAULT_SENSORS); ++ array->sensor = (_sensor*)realloc(array->sensor, new_size); ++ if (array->sensor == NULL) ++ { ++ /* Continuing would be unsafe */ ++ snmp_log(LOG_ERR, "too many sensors to fit, and failed to alloc more, failing on %s\n", label); ++ free(old_buffer); ++ old_buffer = NULL; ++ if (label) { ++ free(label); ++ label = NULL; ++ } /* end if label */ ++ return (rc=1); ++ } /* end if array->sensor */ ++ array->current_len = new_size / sizeof(_sensor); ++ DEBUGMSG(("ucd-snmp/lmSensors", "type #%d increased to %d elements\n", type, array->current_len)); ++ } /* end if array->current */ ++ strncpy(array->sensor[array->n].name, label, MAX_NAME); ++ array->sensor[array->n].value = (int) (val * mul); ++ DEBUGMSGTL(("sensors","sensor %d, value %d\n", ++ array->sensor[array->n].name, ++ array->sensor[array->n].value)); ++ array->n++; ++ } /* end if data-mode */ ++ if (label) { ++ free(label); ++ label = NULL; ++ } /* end if label */ ++ } /* end while data */ + } /* end while chip */ + return rc; + #endif /* end else ie. ifdef everything else */ +diff --git a/agent/mibgroup/ucd-snmp/lmSensors.c b/agent/mibgroup/ucd-snmp/lmSensors.c +index 8f9fcd2..e42e0e2 100644 +--- a/agent/mibgroup/ucd-snmp/lmSensors.c ++++ b/agent/mibgroup/ucd-snmp/lmSensors.c +@@ -89,7 +89,6 @@ + #include + #else + #include +- #define CONFIG_FILE_NAME "/etc/sensors.conf" + #endif + + #include "lmSensors.h" +@@ -247,7 +246,7 @@ var_lmSensorsTable(struct variable *vp, + size_t * var_len, WriteMethod ** write_method) + { + static long long_ret; +- static unsigned char string[SPRINT_MAX_LEN]; ++ static char string[SPRINT_MAX_LEN]; + + int s_index; + int s_type = -1; +@@ -352,9 +351,7 @@ sensor_init(void) + { + int res; + #ifndef solaris2 +- char filename[] = CONFIG_FILE_NAME; + time_t t = time(NULL); +- FILE *fp = fopen(filename, "r"); + int i = 0; + + DEBUGMSG(("ucd-snmp/lmSensors", "=> sensor_init\n")); +@@ -366,13 +363,7 @@ sensor_init(void) + sensor_array[i].sensor = NULL; + } + +- if (!fp) +- { +- res = 1; +- goto leaving; +- } +- +- if (sensors_init(fp)) ++ if (sensors_init(NULL)) + { + res = 2; + goto leaving; +@@ -940,7 +931,8 @@ else{ + #else /* end solaris2 only ie. ifdef everything else */ + + const sensors_chip_name *chip; +- const sensors_feature_data *data; ++ const sensors_feature *feature; ++ const sensors_subfeature *subfeature; + int chip_nr = 0; + int rc = 0; + unsigned int i = 0; +@@ -961,18 +953,19 @@ else{ + sensor_array[i].current_len = DEFAULT_SENSORS; + } /* end for */ + +- while ((chip = sensors_get_detected_chips(&chip_nr))) { ++ while ((chip = sensors_get_detected_chips(NULL, &chip_nr))) { + int a = 0; ++ while ((feature = sensors_get_features(chip, &a))) { + int b = 0; +- +- while ((data = sensors_get_all_features(*chip, &a, &b))) { ++ while ((subfeature = sensors_get_all_subfeatures(chip, ++ feature, &b))) { + char *label = NULL; + double val; + +- if ((data->mode & SENSORS_MODE_R) && +- (data->mapping == SENSORS_NO_MAPPING) && +- !sensors_get_label(*chip, data->number, &label) && +- !sensors_get_feature(*chip, data->number, &val)) { ++ if ((subfeature->flags & SENSORS_MODE_R) && ++ (subfeature->mapping == 0) && ++ (label = sensors_get_label(chip, feature)) && ++ !sensors_get_value(chip, subfeature->number, &val)) { + int type = -1; + float mul; + _sensor_array *array; +@@ -1033,7 +1026,8 @@ else{ + free(label); + label = NULL; + } /* end if label */ +- } /* end while data */ ++ } /* end while subfeature */ ++ } /* end while feature */ + } /* end while chip */ + return rc; + #endif /* end else ie. ifdef everything else */ --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/26_kfreebsd.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/26_kfreebsd.README @@ -0,0 +1 @@ +Preliminary support for kfreebsd. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/07_docfiles.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/07_docfiles.README @@ -0,0 +1 @@ +Patch documentation files to change paths to Debian specific locations. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/03_makefiles.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/03_makefiles.README @@ -0,0 +1,2 @@ +Makefile patch to include libwrap and libsensors libraries and install extra +MIB files. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/57_fix_ipv6_memleak.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/57_fix_ipv6_memleak.patch @@ -0,0 +1,17 @@ +Index: net-snmp-5.4.2.1/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c +=================================================================== +--- net-snmp-5.4.2.1.orig/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c (revision 17254) ++++ net-snmp-5.4.2.1/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c (revision 17255) +@@ -325,7 +325,11 @@ + /* + * add entry to container + */ +- CONTAINER_INSERT(container, entry); ++ if (CONTAINER_INSERT(container, entry) < 0) { ++ DEBUGMSGTL(("access:ipaddress:container","error with ipaddress_entry: insert into container failed.\n")); ++ netsnmp_access_ipaddress_entry_free(entry); ++ continue; ++ } + } + + fclose(in); --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/59_fix_python.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/59_fix_python.README @@ -0,0 +1,2 @@ +Explicitly added key UseNumeric with value 0 and disabled some debug info +Bug has been fixed upstream with the patch provided at R17470 --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/05_searchdirs.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/05_searchdirs.patch @@ -0,0 +1,14 @@ +--- net-snmp-5.1.2.orig/local/mib2c ++++ net-snmp-5.1.2/local/mib2c +@@ -60,8 +60,9 @@ + if($ENV{MIB2C_DIR}) { + push @def_search_dirs, split(/:/, $ENV{MIB2C_DIR}); + } +-push @def_search_dirs, "/usr/local/share/snmp/"; +-push @def_search_dirs, "/usr/local/share/snmp/mib2c-data"; ++push @def_search_dirs, "/etc/snmp/"; ++push @def_search_dirs, "/usr/share/snmp/"; ++push @def_search_dirs, "/usr/share/snmp/mib2c-data"; + push @def_search_dirs, "./mib2c-conf.d"; + + sub usage { --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/CVE-2014-2285.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/CVE-2014-2285.patch @@ -0,0 +1,34 @@ +commit 76e8d6d100320629d8a23be4b0128619600c919d +Author: Jan Safranek +Date: Thu Mar 6 09:21:51 2014 +0100 + + CHANGES: snmpd: PATCH: 1275: from Viliam Púčik: fixed Perl trap handler when processing trap with empty community string. + +Index: net-snmp-5.4.2.1~dfsg0ubuntu1/perl/TrapReceiver/TrapReceiver.xs +=================================================================== +--- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/perl/TrapReceiver/TrapReceiver.xs 2014-03-11 10:09:51.224266788 -0400 ++++ net-snmp-5.4.2.1~dfsg0ubuntu1/perl/TrapReceiver/TrapReceiver.xs 2014-03-11 10:09:51.216266788 -0400 +@@ -73,18 +73,18 @@ + STOREPDUi("securitymodel", pdu->securityModel); + STOREPDUi("securitylevel", pdu->securityLevel); + STOREPDU("contextName", +- newSVpv(pdu->contextName, pdu->contextNameLen)); ++ newSVpv(pdu->contextName ? pdu->contextName : "", pdu->contextNameLen)); + STOREPDU("contextEngineID", +- newSVpv(pdu->contextEngineID, ++ newSVpv(pdu->contextEngineID ? (char *) pdu->contextEngineID : "", + pdu->contextEngineIDLen)); + STOREPDU("securityEngineID", +- newSVpv(pdu->securityEngineID, ++ newSVpv(pdu->securityEngineID ? (char *) pdu->securityEngineID : "", + pdu->securityEngineIDLen)); + STOREPDU("securityName", +- newSVpv(pdu->securityName, pdu->securityNameLen)); ++ newSVpv(pdu->securityName ? (char *) pdu->securityName : "", pdu->securityNameLen)); + } else { + STOREPDU("community", +- newSVpv(pdu->community, pdu->community_len)); ++ newSVpv(pdu->community ? (char *) pdu->community : "", pdu->community_len)); + } + + if (transport && transport->f_fmtaddr) { --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/60_libsensors_api.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/60_libsensors_api.README @@ -0,0 +1 @@ +Patch from Jonathan Nieder to update lmsensors API to libsensors4. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/08_defaultconfig.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/08_defaultconfig.patch @@ -0,0 +1,143 @@ +--- net-snmp-5.1.2.orig/EXAMPLE.conf.def ++++ net-snmp-5.1.2/EXAMPLE.conf.def +@@ -6,7 +6,7 @@ + ############################################################################### + # + # This file is intended to only be an example. If, however, you want +-# to use it, it should be placed in SYSCONFDIR/snmp/snmpd.conf. ++# to use it, it should be placed in /etc/snmp/snmpd.conf. + # 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,38 @@ + # from): + + # sec.name source community +-com2sec local localhost COMMUNITY +-com2sec mynetwork NETWORK/24 COMMUNITY ++com2sec paranoid default public ++#com2sec readonly default public ++#com2sec readwrite default private + + #### + # Second, map the security names into group names: + + # sec.model sec.name +-group MyRWGroup v1 local +-group MyRWGroup v2c local +-group MyRWGroup usm local +-group MyROGroup v1 mynetwork +-group MyROGroup v2c mynetwork +-group MyROGroup usm mynetwork ++group MyROSystem v1 paranoid ++group MyROSystem v2c paranoid ++group MyROSystem usm paranoid ++group MyROGroup v1 readonly ++group MyROGroup v2c readonly ++group MyROGroup usm readonly ++group MyRWGroup v1 readwrite ++group MyRWGroup v2c readwrite ++group MyRWGroup usm readwrite + + #### + # Third, create a view for us to let the groups have rights to: + + # incl/excl subtree mask + view all included .1 80 ++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 + # write permissions: + + # context sec.model sec.level match read write notif ++access MyROSystem "" any noauth exact system none none + access MyROGroup "" any noauth exact all none none + access MyRWGroup "" any noauth exact all all none + +@@ -100,8 +106,8 @@ + # value of an object whose value is given here will fail with an error + # status of notWritable. + +-syslocation Right here, right now. +-syscontact Me ++syslocation Unknown (configure /etc/snmp/snmpd.local.conf) ++syscontact Root (configure /etc/snmp/snmpd.local.conf) + + # Example output of snmpwalk: + # % snmpwalk -v 1 -c public localhost system +@@ -135,13 +141,13 @@ + # + + # Make sure mountd is running +-proc mountd ++#proc mountd + + # Make sure there are no more than 4 ntalkds running, but 0 is ok too. +-proc ntalkd 4 ++#proc ntalkd 4 + + # Make sure at least one sendmail, but less than or equal to 10 are running. +-proc sendmail 10 1 ++#proc sendmail 10 1 + + # A snmpwalk of the prTable would look something like this: + # +@@ -199,7 +205,7 @@ + # ARGS: optional arguments to be passed to the program + + # a simple hello world +-exec echotest /bin/echo hello world ++#exec echotest /bin/echo hello world + + # Run a shell script containing: + # +@@ -250,7 +256,7 @@ + + # Check the / partition and make sure it contains at least 10 megs. + +-disk / 10000 ++#disk / 10000 + + # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.DISKMIBNUM + # enterprises.ucdavis.diskTable.dskEntry.diskIndex.1 = 0 +@@ -279,7 +285,7 @@ + # 15MAX: Similar, but for 15 min average. + + # Check for loads: +-load 12 14 14 ++#load 12 14 14 + + # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.LOADAVEMIBNUM + # enterprises.ucdavis.loadTable.laEntry.loadaveIndex.1 = 1 +@@ -365,7 +371,7 @@ + # (commented out here since it requires that you place the + # script in the right location. (its not installed by default)) + +-# pass .EXTENSIBLEDOTMIB.255 /bin/sh PREFIX/local/passtest ++# pass .EXTENSIBLEDOTMIB.255 /bin/sh /usr/local/passtest + + # % snmpwalk -v 1 -c public localhost .EXTENSIBLEDOTMIB.255 + # enterprises.ucdavis.255.1 = "life the universe and everything" +--- net-snmp-5.1.2.orig/EXAMPLE-trap.conf ++++ net-snmp-5.1.2/EXAMPLE-trap.conf +@@ -0,0 +1,18 @@ ++############################################################################### ++# ++# EXAMPLE-trap.conf: ++# An example configuration file for configuring the Net-SNMP snmptrapd agent. ++# ++############################################################################### ++# ++# This file is intended to only be an example. If, however, you want ++# to use it, it should be placed in /etc/snmp/snmptrapd.conf. ++# When the snmptrapd agent starts up, this is where it will look for it. ++# ++# All lines beginning with a '#' are comments and are intended for you ++# to read. All other lines are configuration commands for the agent. ++ ++# ++# PLEASE: read the snmptrapd.conf(5) manual page as well! ++# ++ --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/05_searchdirs.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/05_searchdirs.README @@ -0,0 +1 @@ +Debian patch to add search path for mib2c --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/CVE-2008-6123.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/CVE-2008-6123.patch @@ -0,0 +1,18 @@ +--- a/snmplib/snmpUDPDomain.c ++++ b/snmplib/snmpUDPDomain.c +@@ -104,12 +104,12 @@ + char tmp[64]; + to = (struct sockaddr_in *) &(addr_pair->remote_addr); + if (to == NULL) { +- sprintf(tmp, "UDP: [%s]->unknown", ++ sprintf(tmp, "UDP: unknown->[%s]", + inet_ntoa(addr_pair->local_addr)); + } else { +- sprintf(tmp, "UDP: [%s]->", inet_ntoa(addr_pair->local_addr)); +- sprintf(tmp + strlen(tmp), "[%s]:%hd", ++ sprintf(tmp, "UDP: [%s]:%hu->", + inet_ntoa(to->sin_addr), ntohs(to->sin_port)); ++ sprintf(tmp + strlen(tmp), "[%s]", inet_ntoa(addr_pair->local_addr)); + } + return strdup(tmp); + } --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/CVE-2008-6123.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/CVE-2008-6123.README @@ -0,0 +1,5 @@ +Patch from Corey Wright +to address CVE-2008-6123 based on upstream patch set +, +specifically the patch for the 5.4 branch +. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/03_makefiles.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/03_makefiles.patch @@ -0,0 +1,38 @@ +Index: net-snmp-5.4.2.1/local/Makefile.in +=================================================================== +--- net-snmp-5.4.2.1.orig/local/Makefile.in 2009-11-06 17:21:05.000000000 +0100 ++++ net-snmp-5.4.2.1/local/Makefile.in 2009-11-06 17:25:10.000000000 +0100 +@@ -100,7 +100,7 @@ + + mib2c.made: $(srcdir)/mib2c + if test "x$(PERL)" != "x" ; then \ +- $(PERL) -p -e 's%^#!.*/perl.*%#!$(PERL)%;s#/usr/local/share/snmp#$(snmplibdir)#;' ${srcdir}/mib2c > mib2c.made; \ ++ $(PERL) -p -e 's%^#!.*/perl.*%#!$(PERL)%;s#/usr/local/share/snmp#$(snmplibdir)#;s#/usr/local/etc/snmp#$(SNMPCONFPATH)#;' ${srcdir}/mib2c > mib2c.made; \ + else \ + touch mib2c.made; \ + fi +Index: net-snmp-5.4.2.1/Makefile.top +=================================================================== +--- net-snmp-5.4.2.1.orig/Makefile.top 2009-11-06 17:21:05.000000000 +0100 ++++ net-snmp-5.4.2.1/Makefile.top 2009-11-06 17:25:41.000000000 +0100 +@@ -26,6 +26,7 @@ + snmplibdir = $(datadir)/snmp + mibdir = $(snmplibdir)/mibs + persistentdir = @PERSISTENT_DIRECTORY@ ++sysconfdir = @sysconfdir@ + DESTDIR = @INSTALL_PREFIX@ + INSTALL_PREFIX = $(DESTDIR) + +Index: net-snmp-5.4.2.1/Makefile.in +=================================================================== +--- net-snmp-5.4.2.1.orig/Makefile.in 2009-11-06 17:21:05.000000000 +0100 ++++ net-snmp-5.4.2.1/Makefile.in 2009-11-06 17:25:10.000000000 +0100 +@@ -156,7 +156,7 @@ + # + # override LD_RUN_PATH to avoid dependencies on the build directory + perlmodules: perlmakefiles subdirs +- @(cd perl ; $(MAKE) LD_RUN_PATH="$(libdir):`$(PERL) -e 'use Config; print qq($$Config{archlibexp}/CORE);'`") ; \ ++ @(cd perl ; $(MAKE) LD_RUN_PATH="") ; \ + if test $$? != 0 ; then \ + exit 1 ; \ + fi --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/06_extramibs.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/06_extramibs.README @@ -0,0 +1 @@ +Extra MIB files shipped with Debian. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/56_manpage.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/56_manpage.README @@ -0,0 +1 @@ +fix some manpage problems found by lintian. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/CVE-2012-2141.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/CVE-2012-2141.patch @@ -0,0 +1,31 @@ +Description: fix denial of service via SNMP GET with non-existent + extension table entry +Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=3526549&group_id=12694&atid=112694 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672492 +Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=815813 +Origin: upstream, http://net-snmp.git.sourceforge.net/git/gitweb.cgi?p=net-snmp/net-snmp;a=commit;h=4c5633f1603e4bd03ed05c37d782ec8911759c47 + +Index: net-snmp-5.4.3~dfsg/agent/mibgroup/agent/extend.c +=================================================================== +--- net-snmp-5.4.3~dfsg.orig/agent/mibgroup/agent/extend.c 2009-04-22 19:49:21.000000000 -0400 ++++ net-snmp-5.4.3~dfsg/agent/mibgroup/agent/extend.c 2012-05-22 16:30:35.596256644 -0400 +@@ -1124,7 +1124,7 @@ + * ...and check the line requested is valid + */ + line_idx = *table_info->indexes->next_variable->val.integer; +- if (eptr->numlines < line_idx) ++ if (line_idx < 1 || line_idx > eptr->numlines) + return NULL; + } + return eptr; +@@ -1297,6 +1297,10 @@ + * Determine which line we've been asked for.... + */ + line_idx = *table_info->indexes->next_variable->val.integer; ++ if (line_idx < 1 || line_idx > extension->numlines) { ++ netsnmp_set_request_error(reqinfo, request, SNMP_NOSUCHINSTANCE); ++ continue; ++ } + cp = extension->lines[line_idx-1]; + + /* --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/52_fix_snmpcmd_1_typo.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/52_fix_snmpcmd_1_typo.patch @@ -0,0 +1,12 @@ +diff -Naurp net-snmp-5.4.2.1.orig/man/snmpcmd.1.def net-snmp-5.4.2.1/man/snmpcmd.1.def +--- net-snmp-5.4.2.1.orig/man/snmpcmd.1.def 2008-07-24 19:22:31.000000000 -0400 ++++ net-snmp-5.4.2.1/man/snmpcmd.1.def 2009-11-26 08:54:56.311487921 -0500 +@@ -560,7 +560,7 @@ Do not print the UNITS suffix at the end + Display the varbind value only, not the OID: + .RS + .nf +-\fC $ snmpget -c public -v 1 \fB-Oe\fP localhost ipForwarding.0 ++\fC $ snmpget -c public -v 1 \fB-Ov\fP localhost ipForwarding.0 + INTEGER: forwarding(1)\fR + .fi + .RE --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/99-fix-ubuntu-div0.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/99-fix-ubuntu-div0.patch @@ -0,0 +1,21 @@ +diff -Naurp net-snmp-5.4.2.1.orig/agent/mibgroup/host/hr_proc.c net-snmp-5.4.2.1/agent/mibgroup/host/hr_proc.c +--- net-snmp-5.4.2.1.orig/agent/mibgroup/host/hr_proc.c 2007-05-11 12:32:30.000000000 -0400 ++++ net-snmp-5.4.2.1/agent/mibgroup/host/hr_proc.c 2009-11-26 09:00:29.561487970 -0500 +@@ -175,11 +175,15 @@ var_hrproc(struct variable * vp, + return (u_char *) nullOid; + case HRPROC_LOAD: + cpu = netsnmp_cpu_get_byIdx( proc_idx & HRDEV_TYPE_MASK, 0 ); +- if ( !cpu || !cpu->history || !cpu->history[0].total_hist ) ++ if ( !cpu || !cpu->history || !cpu->history[0].total_hist || ++ ( cpu->history[0].total_hist == cpu->total_ticks )) + return NULL; + + long_return = (cpu->idle_ticks - cpu->history[0].idle_hist)*100; +- long_return /= (cpu->total_ticks - cpu->history[0].total_hist); ++ if (cpu->total_ticks > cpu->history[0].total_hist) /* avoid div. by 0 */ ++ long_return /= (cpu->total_ticks - cpu->history[0].total_hist); ++ else ++ long_return = 0; + long_return = 100 - long_return; + if (long_return < 0) + long_return = 0; --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/06_extramibs.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/06_extramibs.patch @@ -0,0 +1,92 @@ +diff -ruN net-snmp-5.4.1.orig/mibs/GNOME-SMI.txt net-snmp-5.4.1/mibs/GNOME-SMI.txt +--- net-snmp-5.4.1.orig/mibs/GNOME-SMI.txt 1970-01-01 01:00:00.000000000 +0100 ++++ net-snmp-5.4.1/mibs/GNOME-SMI.txt 2007-09-20 16:33:55.000000000 +0200 +@@ -0,0 +1,88 @@ ++GNOME-SMI DEFINITIONS ::= BEGIN ++ ++IMPORTS ++ MODULE-IDENTITY, ++ OBJECT-IDENTITY, ++ enterprises ++ FROM SNMPv2-SMI; ++ ++gnome MODULE-IDENTITY ++ LAST-UPDATED "200709070000Z" ++ ORGANIZATION "GNOME project" ++ CONTACT-INFO ++ "GNU Network Object Model Environment project ++ ++ see http://www.gnome.org for contact persons of a particular ++ area or subproject of GNOME. ++ ++ Administrative contact for MIB module: ++ ++ Jochen Friedrich ++ Ramsaystr. 9 ++ 63450 Hanau ++ Germany ++ ++ email: jochen@scram.de" ++ DESCRIPTION ++ "The Structure of GNOME." ++ ++ -- revision history ++ ++ REVISION "200709070000Z" -- Sep 07, 2007 ++ DESCRIPTION ++ "Fixed wrong enterprise number (how comes this ++ typo was unnoticed for so long?)." ++ ++ REVISION "200505070000Z" -- May 07, 2005 ++ DESCRIPTION ++ "Added gnomeLDAP subtree for LDAP definitions." ++ ++ REVISION "200312070000Z" -- December 07, 2003 ++ DESCRIPTION ++ "Added gnomeSysadmin subtree for GNOME project system administration. ++ Updated contact info." ++ ++ REVISION "9809010000Z" -- September 01, 1998 ++ DESCRIPTION ++ "Initial version." ++ ++ ::= { enterprises 3319 } -- assigned by IANA ++ ++gnomeProducts OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeProducts is the root OBJECT IDENTIFIER from ++ which sysObjectID values are assigned." ++ ::= { gnome 1 } ++ ++gnomeMgmt OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeMgmt defines the subtree for production GNOME related ++ MIB registrations." ++ ::= { gnome 2 } ++ ++gnomeTest OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeTest defines the subtree for testing GNOME related ++ MIB registrations." ++ ::= { gnome 3 } ++ ++gnomeSysadmin OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeSysadmin defines the subtree for GNOME related Sysadmin ++ MIB registrations." ++ ::= { gnome 4 } ++ ++gnomeLDAP OBJECT-IDENTITY ++ STATUS current ++ DESCRIPTION ++ "gnomeLDAP defines the subtree for GNOME related LDAP ++ registrations." ++ ::= { gnome 5 } ++ ++-- more to come if necessary. ++ ++END --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/07_docfiles.patch +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/07_docfiles.patch @@ -0,0 +1,95 @@ +--- net-snmp-5.4.orig/FAQ 2006-11-25 00:34:18.000000000 +0100 ++++ net-snmp-5.4/FAQ 2006-11-25 00:37:09.000000000 +0100 +@@ -98,7 +98,7 @@ + I don't understand the new access control stuff - what does it mean? + How do I configure SNMPv3 users? + The 'createUser' line disappears when I start the agent. Why? +- What's the difference between /var/net-snmp and /usr/local/share/snmp? ++ What's the difference between /var/lib/snmp and /usr/share/snmp? + My new agent is ignoring the old snmpd.conf file. Why? + Why am I getting "Connection refused"? + Why can't I see values in the UCDavis 'extensible' or 'disk' trees? +@@ -630,7 +630,7 @@ + There are two steps required to add a new MIB file to the tools. + Firstly, copy the MIB file into the appropiate location: + +- cp MY-MIB.txt /usr/local/share/snmp/mibs ++ cp MY-MIB.txt /usr/share/snmp/mibs + (which makes it available to everyone on the system) + + or +@@ -1158,7 +1158,7 @@ + If this is the case, then you can specify this interpreter + explicitly as part of the trap handle directive: + +- traphandle default /usr/bin/perl /usr/local/bin/log_it ++ traphandle default /usr/bin/perl /usr/bin/log_it + + In this case, it's almost certain that you'll also + need to give the full path to the traphandle script (as shown) +@@ -1232,7 +1232,7 @@ + string to use. + + Some of these (such as the MIB file location), might be best put in +- a shared snmp.conf file (typically /usr/local/share/snmp/snmp.conf or ++ a shared snmp.conf file (typically /usr/share/snmp/snmp.conf or + /etc/snmp/snmp.conf) to apply to all users of the system. Others + (particularly the SNMPv3 security settings), are more likely to refer + to a particular user, and should go in a personal snmp.conf file +@@ -1455,7 +1455,7 @@ + + + Alternatively, the tools may be looking in the wrong place. +- The default location for the mib files is /usr/local/share/snmp/mibs. ++ The default location for the mib files is /usr/share/snmp/mibs. + Again, this is set when the suite is first configured and compiled. + This can be changed using the environmental variable 'MIBDIRS' + or the snmp.conf directive 'mibdirs'. +@@ -2409,7 +2409,7 @@ + + There are three ways to configure SNMPv3 users: + +- 1) Stop the agent, and create a file /var/net-snmp/snmpd.conf, ++ 1) Stop the agent, and create a file /var/lib/snmp/snmpd.conf, + containing the line + + createUser {myUser} MD5 {myPassword} DES +@@ -2422,7 +2422,7 @@ + net-snmp-config --create-snmpv3-user + + and follow the instructions. This will create an entry +- in the /var/net-snmp/snmpd.conf file similar to the above. ++ in the /var/lib/snmp/snmpd.conf file similar to the above. + Then re-start the snmpd agent. + + 3) Make sure the agent is running, and will respond to a suitable +@@ -2455,16 +2455,16 @@ + + + +-What's the difference between /var/net-snmp and /usr/local/share/snmp? +---------------------------------------------------------------------- ++What's the difference between /var/lib/snmp and /usr/share/snmp? ++---------------------------------------------------------------- + +- The /var/net-snmp location is primarily used for information set ++ The /var/lib/snmp location is primarily used for information set + during the running of the agent, which needs to be persistent between + one run of the agent and the next. Apart from "createUser" (see + the previous entry), you shouldn't need to touch this file. + + All other user-provided configuration should go in the traditional +- location (typically /usr/local/share/snmp/snmpd.conf or /etc/snmp). ++ location (typically /usr/share/snmp or /etc/snmp). + + + +@@ -2477,7 +2477,7 @@ + distribution), with the current release installed from the source. + + The default location for this file with the basic distribution is +- /usr/local/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf). ++ /usr/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf). + Ready-installed versions often look for the file as /etc/snmpd.conf, + or /etc/snmp/snmpd.conf. Try moving the old config file to the new + location, and restart the agent. --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/08_defaultconfig.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/08_defaultconfig.README @@ -0,0 +1 @@ +Default snmpd.config file used by Debian --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/57_fix_ipv6_memleak.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/57_fix_ipv6_memleak.README @@ -0,0 +1,2 @@ +Upstream Changeset 17255: CHANGES: snmpd: fix memory leak when multiple +interfaces have the same IPv6 address --- net-snmp-5.4.2.1~dfsg0ubuntu1.orig/debian/patches/58_download_mibs.README +++ net-snmp-5.4.2.1~dfsg0ubuntu1/debian/patches/58_download_mibs.README @@ -0,0 +1 @@ +Patch to enable MIB file download during or after installation