summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/NEWS59
-rw-r--r--debian/README.Debian26
-rw-r--r--debian/README.Debian-source11
-rw-r--r--debian/TODO47
-rw-r--r--debian/changelog1496
-rw-r--r--debian/compat1
-rw-r--r--debian/control167
-rw-r--r--debian/copyright256
-rw-r--r--debian/libsnmp-base.dirs1
-rw-r--r--debian/libsnmp-base.docs6
-rw-r--r--debian/libsnmp-base.install2
-rw-r--r--debian/libsnmp-base.manpages6
-rw-r--r--debian/libsnmp-base.postrm10
-rw-r--r--debian/libsnmp-base.prerm9
-rw-r--r--debian/libsnmp-dev.dirs1
-rw-r--r--debian/libsnmp-dev.install15
-rw-r--r--debian/libsnmp-dev.manpages3
-rw-r--r--debian/libsnmp-perl.docs1
-rw-r--r--debian/libsnmp-perl.examples1
-rw-r--r--debian/libsnmp-perl.install1
-rw-r--r--debian/libsnmp-perl.preinst30
-rw-r--r--debian/libsnmp30.copyright0
-rw-r--r--debian/libsnmp30.dirs1
-rw-r--r--debian/libsnmp30.docs9
-rw-r--r--debian/libsnmp30.install1
-rw-r--r--debian/libsnmp30.lintian-overrides1
-rw-r--r--debian/libsnmp30.postinst9
-rw-r--r--debian/patches/02_statistics.patch26
-rw-r--r--debian/patches/03_makefiles.patch69
-rw-r--r--debian/patches/05_searchdirs.patch17
-rw-r--r--debian/patches/06_extramibs.patch94
-rw-r--r--debian/patches/07_docfiles.patch103
-rw-r--r--debian/patches/26_kfreebsd.patch50
-rw-r--r--debian/patches/27_kfreebsd_bug625985.patch18
-rw-r--r--debian/patches/60_libsensors_api.patch211
-rw-r--r--debian/patches/61_vacm_missing_dependency_check.patch33
-rw-r--r--debian/patches/62_add_lib_cflags.patch32
-rw-r--r--debian/patches/64_missing_lib.patch45
-rw-r--r--debian/patches/add_rocommunity6.patch13
-rw-r--r--debian/patches/after_RFC537843
-rw-r--r--debian/patches/agentx-crash.patch62
-rw-r--r--debian/patches/dropped_25_duplicate_iftable.patch115
-rw-r--r--debian/patches/dropped_44_nlist_kvm.patch17
-rw-r--r--debian/patches/fix_logging_option.patch23
-rw-r--r--debian/patches/fix_man_error.patch25
-rw-r--r--debian/patches/fix_manpage-has-errors-from-man.patch21
-rw-r--r--debian/patches/fix_manpage-has-errors_break_line.patch43
-rw-r--r--debian/patches/fix_regular_expression.patch46
-rw-r--r--debian/patches/fix_snmpcheck_perl_path.patch19
-rw-r--r--debian/patches/fix_spelling_error.patch52
-rw-r--r--debian/patches/fix_typo_in_snmpd.conf.patch19
-rw-r--r--debian/patches/net-snmp-config_multi-arch.patch32
-rw-r--r--debian/patches/series24
-rw-r--r--debian/patches/snmptranslate.1.patch60
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/ca.po52
-rw-r--r--debian/po/cs.po71
-rw-r--r--debian/po/da.po75
-rw-r--r--debian/po/de.po72
-rw-r--r--debian/po/es.po103
-rw-r--r--debian/po/eu.po51
-rw-r--r--debian/po/fi.po48
-rw-r--r--debian/po/fr.po53
-rw-r--r--debian/po/gl.po69
-rw-r--r--debian/po/id.po43
-rw-r--r--debian/po/it.po49
-rw-r--r--debian/po/ja.po51
-rw-r--r--debian/po/ko.po52
-rw-r--r--debian/po/nl.po50
-rw-r--r--debian/po/pl.po54
-rw-r--r--debian/po/pt.po50
-rw-r--r--debian/po/pt_BR.po52
-rw-r--r--debian/po/ro.po76
-rw-r--r--debian/po/ru.po52
-rw-r--r--debian/po/sk.po50
-rw-r--r--debian/po/sr.po51
-rw-r--r--debian/po/sr@latin.po51
-rw-r--r--debian/po/sv.po71
-rw-r--r--debian/po/ta.po49
-rw-r--r--debian/po/templates.pot46
-rw-r--r--debian/po/vi.po52
-rw-r--r--debian/python-netsnmp.install1
-rwxr-xr-xdebian/rules112
-rw-r--r--debian/snmp.conf4
-rw-r--r--debian/snmp.install5
-rw-r--r--debian/snmp.lintian-overrides1
-rw-r--r--debian/snmp.manpages4
-rw-r--r--debian/snmp.postinst34
-rw-r--r--debian/snmp.preinst30
-rw-r--r--debian/snmp.prerm21
-rw-r--r--debian/snmpd.config21
-rw-r--r--debian/snmpd.default11
-rw-r--r--debian/snmpd.dirs1
-rw-r--r--debian/snmpd.init85
-rw-r--r--debian/snmpd.install3
-rw-r--r--debian/snmpd.lintian-overrides1
-rw-r--r--debian/snmpd.manpages2
-rw-r--r--debian/snmpd.postinst63
-rw-r--r--debian/snmpd.postrm27
-rw-r--r--debian/snmpd.preinst17
-rw-r--r--debian/snmpd.templates19
-rw-r--r--debian/snmptrapd.conf24
-rw-r--r--debian/snmptrapd.default9
-rw-r--r--debian/snmptrapd.dirs1
-rw-r--r--debian/snmptrapd.init82
-rw-r--r--debian/snmptrapd.install5
-rw-r--r--debian/snmptrapd.lintian-overrides1
-rw-r--r--debian/snmptrapd.manpages2
-rw-r--r--debian/snmptrapd.postrm12
-rw-r--r--debian/source/format1
-rw-r--r--debian/tkmib.docs3
-rw-r--r--debian/tkmib.install2
-rw-r--r--debian/upstream/signing-key.asc161
-rw-r--r--debian/watch3
114 files changed, 5744 insertions, 0 deletions
diff --git a/debian/NEWS b/debian/NEWS
new file mode 100644
index 0000000..2fcd9e5
--- /dev/null
+++ b/debian/NEWS
@@ -0,0 +1,59 @@
+net-snmp (5.4.3~dfsg-1) unstable; urgency=low
+
+ As of version 5.4.3, upstream ships a new default configuration in
+ /etc/snmp/snmpd.conf, which only uses SNMPv3 rather than SNMPv1 and
+ SNMPv2c. This new default configuration also binds to udp:127.0.0.1:161
+ by default which conflicts with the former specification of 127.0.0.1
+ in /etc/default/snmpd, so now snmpd must be reconfigured here in order
+ to be exposed to the network. Be sure to check both files after an
+ upgrade.
+
+ -- Jochen Friedrich <jochen@scram.de> Mon, 07 Jun 2010 17:32:09 +0200
+
+net-snmp (5.4.2.1~dfsg-4) unstable; urgency=low
+
+ As of version 5.4.2.1~dfsg-4, this package no longer downloads the MIBs
+ from IETF or IANA, but suggests the package snmp-mibs-downloader in
+ contrib to do this job. Please consider installing this package if you
+ need the SNMP MIBs.
+
+ -- Jochen Friedrich <jochen@scram.de> Tue, 01 Dec 2009 14:29:14 +0100
+
+net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low
+
+ As of version 5.4.2.1, the MIBs from IETF (the ones distributed as
+ RFC) and from IANA are no longer distributed with this package due to
+ license reasons.
+
+ By default, snmpd is now started without any MIBs loaded, so you can't
+ use symbolic names in the configuration anymore. Neither are the snmp
+ clients able to resolved numeric OIDs to symbolic names. This default
+ can be changed by editing the /etc/defaults/snmpd file and comment out
+ the MIB environment variable.
+
+ In order to download the MIBs, you can either do this during package
+ installation or later using the commands
+
+ cd /usr/share/mibs
+ make -f Makefile.mib
+
+ Note you need to be able to connect to
+ ftp://ftp.ietf.org for downloading the RFCs and
+ http://www.iana.org for downloading the IANA definitions.
+
+ -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 17:42:36 +0100
+
+net-snmp (5.2.2-1) unstable; urgency=low
+
+ As of version 5.2.2, the default configuration disables SMUX support
+ 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 <jochen@scram.de> Fri, 20 Jan 2006 15:11:07 +0100
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..8bdba2a
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,26 @@
+Please note the following customizations of the Net-SNMP packages for
+Debian.
+
+ - It doesn't ship some MIBs (IANA, IETF) from license reason.
+ Please download it
+ (Bug#479633, etc)
+
+ - The default configuration for snmpd is rather paranoid for security
+ reasons. Edit /etc/snmp/snmpd.conf or run snmpconf (in snmp package)
+ 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.
+
diff --git a/debian/README.Debian-source b/debian/README.Debian-source
new file mode 100644
index 0000000..036b93a
--- /dev/null
+++ b/debian/README.Debian-source
@@ -0,0 +1,11 @@
+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.
+Additionally, any MIB contained in an RFC has been removed.
+No other files were changed.
+
+Use the command
+debian/rules get-orig-source
+to perform these steps.
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..6de6f86
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,47 @@
+* We cannot build Perl module with -pie hardening option.
+
+* We cannot include below MIBs due to license reason, so removed them
+ from upstream tarball.
+
+RFC1155-SMI.txt
+RFC1213-MIB.txt
+SMUX-MIB.txt
+IPV6-TCP-MIB.txt
+IPV6-UDP-MIB.txt
+IPV6-MIB.txt
+IPV6-TC.txt
+IPV6-ICMP-MIB.txt
+SNMP-COMMUNITY-MIB.txt
+SNMPv2-SMI.txt
+SNMPv2-TC.txt
+SNMPv2-CONF.txt
+AGENTX-MIB.txt
+SNMP-USM-DH-OBJECTS-MIB.txt
+NETWORK-SERVICES-MIB.txt
+MTA-MIB.txt
+HOST-RESOURCES-MIB.txt
+HOST-RESOURCES-TYPES.txt
+RMON-MIB.txt
+HCNUM-TC.txt
+IF-MIB.txt
+IF-INVERTED-STACK-MIB.txt
+DISMAN-EVENT-MIB.txt
+DISMAN-EXPRESSION-MIB.txt
+NOTIFICATION-LOG-MIB.txt
+DISMAN-SCRIPT-MIB.txt
+DISMAN-SCHEDULE-MIB.txt
+SNMP-FRAMEWORK-MIB.txt
+SNMP-MPD-MIB.txt
+SNMP-NOTIFICATION-MIB.txt
+SNMP-PROXY-MIB.txt
+SNMP-TARGET-MIB.txt
+SNMP-USER-BASED-SM-MIB.txt
+SNMP-VIEW-BASED-ACM-MIB.txt
+SNMPv2-TM.txt
+SNMPv2-MIB.txt
+TRANSPORT-ADDRESS-MIB.txt
+IPV6-FLOW-LABEL-MIB.txt
+EtherLike-MIB.txt
+SNMP-USM-AES-MIB.txt
+SCTP-MIB.txt
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..119dc3e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,1496 @@
+net-snmp (5.7.2~dfsg-9) UNRELEASED; urgency=medium
+
+ * Ack NMU (Closes: #717419)
+ * debian/patches
+ - add add_rocommunity6.patch to fix snmpwalk using ipv6 (Closes: #717179)
+ - add fix_manpage-has-errors-from-man.patch
+ - add agentx-crash.patch, taken from Fedora package.
+ * debian/control
+ - set Standards-Version: 3.9.5
+ - add "Build-Depends: libpci-dev" to enable libpci function that was
+ introduce in 5.7 (Closes: #741504)
+ * debian/libsnmp-dev.install
+ - add missing net-snmp-create-v3-user (Closes: #726158, #718988)
+ * debian/upstream/signing-key.asc
+ - check upstream PGP key
+ * debian/rules
+ - add etherlike-mib/dot3StatsTable (Closes: #729732, LP#1251847)
+ * debian/snmpd.init
+ - relax start-stop-daemons avoid restart daemon before it terminates.
+ Thanks to Saj Goonatilleke <saj.goonatilleke@anchor.net.au> for the
+ patch (Closes: #640456)
+ * debian/snmpd.postinst
+ - fix weird user creation (Closes: #482041, #589040, #606784, #610630)
+ * debian/snmpd.postrm
+ - remove unnecessary old /var/agentx/master directory with purge
+ (Closes: #728546)
+ * debian/snmp.install
+ - move traptoemail to snmptrapd.install releated to above changes
+ * debian/{snmpd,snmptrapd}.default
+ - fix pid diretory
+ * debian/README.Debian
+ - note snmpconf is in snmp package (Closes: #577649)
+
+ -- Hideki Yamane <henrich@debian.org> Sun, 08 Dec 2013 10:51:58 +0900
+
+net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Move net-snmp-config to libsnmp-dev package (Closes: #716805)
+ * Mark libsnmp-base as Multi-Arch: foreign and drop Multi-Arch: same for
+ libsnmp-dev package (Closes: #708302)
+
+ -- Laurent Bigonville <bigon@debian.org> Sat, 13 Jul 2013 17:13:09 +0200
+
+net-snmp (5.7.2~dfsg-8) unstable; urgency=low
+
+ * add libsnmp-perl.preinst to deal with empty directory by libsnmp15
+ package removal (Closes: #709761)
+ * {snmp,snmpd}.postinst: deal with "copyright file missing after upgrade
+ (policy 12.5)" (Closes: #709087)
+
+ -- Hideki Yamane <henrich@debian.org> Thu, 06 Jun 2013 08:49:02 +0900
+
+net-snmp (5.7.2~dfsg-7) unstable; urgency=low
+
+ * debian/control
+ - libsnmp-base: update to more policy polite (Breaks/Replaces: libsnmp15
+ (<<5.7.2~dfsg-5)), thanks to James McCoy
+ * debian/snmp.preinst
+ - fix incomplete script.
+
+ -- Hideki Yamane <henrich@debian.org> Mon, 20 May 2013 14:19:36 +0900
+
+net-snmp (5.7.2~dfsg-6) unstable; urgency=low
+
+ * debian/rules
+ - Fix Hurd build issue, thanks Pino Toscano <pino@debian.org> for
+ the patch (Closes: #708951)
+ * debian/snmpd.init
+ - patch from Ubuntu, LSBified
+ * debian/snmp.pre{inst,rm}
+ - patch from Ubuntu, Kill any/all processes owned by snmp user before
+ install/uninstall.
+ * debian/control
+ - add "Conflicts: libsnmp15" to libsnmp-base since moving net-snmp-config
+ in previous version cause trouble (Closes: #708983)
+
+ -- Hideki Yamane <henrich@debian.org> Mon, 20 May 2013 08:49:14 +0900
+
+net-snmp (5.7.2~dfsg-5) unstable; urgency=low
+
+ * debian/control
+ - fix typo and improve description, thanks to Martin Eberhard Schauer
+ <Martin.E.Schauer@gmx.de> for the patch (Closes: #708519)
+ - libsnmp-base: add "Conflicts: libsnmp30 (<< 5.7.2~dfsg-5)" since
+ net-snmp-config file moves from libsnmp30 to libsnmp-base
+ (Closes: #708298)
+ - update descriptions
+ * debian/{libsnmp-base,libsnmp30}.install: update
+
+ -- Hideki Yamane <henrich@debian.org> Sun, 19 May 2013 23:09:52 +0900
+
+net-snmp (5.7.2~dfsg-4) unstable; urgency=low
+
+ * debian/snmpd.{init,default,postinst}
+ - silly bug related to handle /var/run/agentx directory
+ (Closes: #708335, #708328) Thanks to Hilmar Preuße <hille42@web.de> and
+ Vincent Bernat <bernat@debian.org> for reporting
+
+ -- Hideki Yamane <henrich@debian.org> Wed, 15 May 2013 22:21:39 +0900
+
+net-snmp (5.7.2~dfsg-3) unstable; urgency=low
+
+ * Upload to unstable
+ * debian/control
+ - specify version for "Breaks: libsnmp15"
+
+ -- Hideki Yamane <henrich@debian.org> Thu, 09 May 2013 20:38:28 +0900
+
+net-snmp (5.7.2~dfsg-2) experimental; urgency=low
+
+ * debian/snmpd.{postinst,postrm}
+ - avoid failure with /var/run/agentx
+ * debian/control
+ - add "Breaks: libsnmp15" to snmp since snmp.conf moves from it.
+
+ -- Hideki Yamane <henrich@debian.org> Fri, 26 Apr 2013 16:02:01 +0900
+
+net-snmp (5.7.2~dfsg-1) experimental; urgency=low
+
+ * debian/control
+ - add myself to Uploaders. Thanks, Jochen.
+ * debian/snmpd.{dirs,init,postinst}
+ - ensure /var/run/agentx exists since maybe /var/run would be tmpfs, so
+ would disappear with reboot. Thanks to lintian.
+ * debian/patches
+ - add fix_manpage-has-errors_break_line.patch
+
+ -- Hideki Yamane <henrich@debian.org> Fri, 26 Apr 2013 07:47:09 +0900
+
+net-snmp (5.7.2~dfsg-1~0.2) experimental; urgency=low
+
+ * Non-maintainer upload.
+ * debian/rules
+ - don't specify installdocs -plibsnmp-perl twice.
+ - add dh_python2 to avoid missing dependency (Closes: #704864)
+ * debian/control
+ - set XS-Python-Version: 2.7 to avoid that dh_python2 would fail
+
+ -- Hideki Yamane <henrich@debian.org> Tue, 09 Apr 2013 10:42:56 +0900
+
+net-snmp (5.7.2~dfsg-1~0.1) experimental; urgency=low
+
+ * Non-maintainer upload.
+ * New upstream version 5.7.2 (Closes: #557348, #631063, #684388, #599929,
+ #673197, #581185, #558356, #568550, #514842, #445608, #557186, #411858,
+ #428824, #611837, #495060, #527231, #583391, #572414, #668545, #344979,
+ #397573)
+ * debian/control
+ - set "Standards-Version: 3.9.4"
+ - set "Build-Depends: debhelper (>= 9)" to enable hardening
+ - set "Build-Depends: automake", instead of automake1.9
+ - drop "Build-Depends: python-central", use dh_python2 by default, instead
+ - remove duplicational "Priority:" and "Section:" fields
+ - make it "Multi-Arch" enable
+ - add description for non-free snmp-mibs-downloader for users' convinience
+ (Closes: #561124)
+ - add "Build-Depends: libmysqld-dev" to support MySQL
+ - add "Build-Depends: dh-autoreconf"
+ - use python-all (2.6.6-3~) instead of python-all-dev (>= 2.5.4-1~), python
+ (>=2.3.5-7) for Build-Depends
+ - add "Build-Depends: python2.7-dev"
+ - s/libsnmp-python/python-netsnmp/ as Python Policy compliant
+ (Closes: #661899)
+ - Add libsnmp-base to snmp and snmpd's Depends and remove it from
+ libsnmp30, also remove "Depends: libsnmp-perl (=${binary:Version})" from
+ libsnmp-dev to adjust dependencies in Multi-Arch compliant.
+ - simplify libsnmp-perl's Depends to avoid piuparts error
+ - remove "Conflicts: libsnmp-dev" from libsnmp-dev
+ - point to git://anonscm.debian.org/pkg-net-snmp/pkg-net-snmp.git for
+ Vcs-* fields
+ * debian/compat
+ - set 9
+ * debian/*.install
+ - split into *.manpages
+ * debian/fixman: drop it.
+ * debian/*.manpages (Closes: #505149)
+ - remove unnecessary"snmp" from tail of all man pages
+ * debian/libsnmp-base.install
+ - move /usr/share/mibs to /usr/share/snmp/mibs (probably, previous setting
+ was just wrong...)
+ - install all mibs/*.txt
+ * debian/libsnmp-dev.install
+ - change from "usr/lib/*" to "usr/lib/*/*" to deal with Multi-Arch
+ * debian/libsnmp30.install
+ - change from "usr/lib/*.so" to "usr/lib/*/*.so" to deal with Multi-Arch
+ * debian/snmp.dirs: remove it since unnecessary
+ * debian/snmpd.dirs: remove lintian overrides direcotry, add /etc/snmp
+ * debian/libsnmp-dev.dirs: add it
+ * debian/libsnmp-perl.examples: add it since dh_installexamples target in
+ previous debian/rules doesn't work correctly.
+ * debian/patches
+ - remove all *.README files
+ - add fix_typo_in_snmpd.conf.patch (Closes: #603593)
+ Thanks to Slavko <linux@slavino.sk>
+ - add fix_logging_option.patch (Closes: #616437)
+ - add fix_snmpcheck_perl_path.patch to provide snmpcheck (Closes: #44373)
+ - add net-snmp-config_multi-arch.patch to enable Multi-Arch
+ - add fix_regular_expression.patch enable to build under Multi-Arch
+ - add to snmptranslate.1.patch fix lintian "hyphen-used-as-minus-sign"
+ warnings
+ - add fix_spelling_error.patch to fix typo
+ - add after_RFC5378 to include some MIBs as DFSF-free code in RFC Documents.
+ - adjust and refresh 03_makefiles.patch
+ - add fix_man_error.patch
+ - drop 25_duplicate_iftable.patch and 44_nlist_kvm.patch since it cannot be
+ applied to current code.
+ - drop 32_mnttab_path.patch since it was merged to upstream as
+ configure.d/config_os_misc4
+ - drop 56_manpage.patch since most of patches are merged, and others are
+ unnecessary because upstream files are disappeared.
+ - refresh 61_vacm_missing_dependency_check.patch
+ - drop 63_fix_shell.patch since it was merged to upstream
+ - reapplied 64_missing_lib.patch since upstream source has been changed.
+ - drop 65_CVE-2012-2141.patch since it was merged to upstream
+ - drop 66_formatstrings.patch since almost merged to upstream, some of
+ code are changed in upstream and become unnecessary.
+ - move 08_defaultconfig.patch to debian/snmptrapd.conf
+ * debian/rules
+ - enable hardening
+ (TODO: building perl module would be failed without -pie)
+ - specify LDFLAGS to enable hardening
+ - add "--with autotools-dev,autoreconf"
+ - export DEB_BUILD_MAINT_OPTIONS to enable hardening
+ - drop "dh --with python-central" (Closes: #616913)
+ - drop "include /usr/share/python/python.mk"
+ - remove "$(PYVERS:%=debian/python-install-stamp-%)"
+ - move exist python targets under override_dh_install
+ - remove unnecessary .PHONY lines
+ - enable tests by removing no instructions with dh_auto_test line
+ - set DEB_HOST_MULTIARCH to enable Multi-Arch
+ - enable install snmpcheck
+ - don't specify to copy files but install them by using .install file
+ (mostly)
+ - enable mysql support
+ - enable AES support (Closes: #447705)
+ - don't make symlink for /usr/share/doc/libsnmp-perl since other are okay
+ but it has examples files.
+ - snmpd doc files link to libsnmp (Closes: #453124)
+ - libsnmp-perl doc files link to libsnmp
+ - adjust dh_strip for dbg package.
+ - adjust dh_clean target
+ - remove override_dh_auto_build since LD_RUN_PATH is clearly specified
+ during building perl modules
+ - add mibII/mta_sendmail to build modules (Closes: #641608)
+ - install copyright file manually for libsnmp30
+ - "get-orig-source:" target: really remove IANA files.
+ - improve specifying MIBs directory with new one.
+ - add "disman/event-mib" to MIB_MODULES, somehow changes in 5.2.2-5
+ disappeared (Closes: #562787)
+ * debian/clean
+ - most listed files are cared by autotools-dev, so removed.
+ * debian/snmp.conf: fix typo (Closes: #623499, #647468)
+ * debian/snmpd.init
+ - force remove pid files (Closes: #528104)
+ - deal with MIBs directory changes
+ * add libsnmp30.lintian-overrides since it seems to be false-positive.
+ * debian/snmpd.dirs: fix "using of /var/agentx conflicts with FHS"
+ RFC says "(It may create other, implementation-specific endpoints.)", so
+ FHS-compliant endpoint is more suitable for Debian system.
+ (Closes: #672063)
+ * debian/snmpd.lintian-overrides
+ - remove above overrides since it's unnecessary anomore.
+ * move snmp.conf from libsnmp30 to snmp.
+ * debian/snmpd.default
+ - Disable loading mteTrigger and mteTriggerConf modules as they don't
+ work without non-free MIBs.
+ * libsnmp-perl.postinst: remove it since it's not necesssary because
+ symlink is handled by debian/rules
+
+ -- Hideki Yamane <henrich@debian.org> Sun, 27 Jan 2013 11:57:29 +0900
+
+net-snmp (5.4.3~dfsg-2.7) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/patches/27_kfreebsd_bug625985.patch: New patch, fix build error on
+ kfreebsd-*, by Steven Chamberlain (closes: #625985).
+
+ -- Michael Banck <mbanck@debian.org> Sat, 24 Nov 2012 13:30:51 +0100
+
+net-snmp (5.4.3~dfsg-2.6) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/libsnmp-perl.postinst: Fix directory to symlink upgrade in
+ postinst (closes: #692949)
+
+ -- David Prévot <taffit@debian.org> Sun, 18 Nov 2012 09:24:30 -0400
+
+net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium
+
+ * Non-maintainer upload by the Security Team.
+ * Fix CVE-2012-2141 by using Ubuntu's patch (Closes: #672492).
+ * Do not ship *.la files (Closes: #633166).
+ * Enable hardened build flags and fix missing format strings
+ (Closes: #657519).
+ * Source debconf before doing work in postinst (Closes: #626312).
+ * Fix check for existing snmp group in postinst (Closes: #609430).
+ * Use *-any architecture qualifiers (Closes: #634735).
+ * Add Indonesian debconf translation (Closes: #654166).
+ * Add Polish debconf translation (Closes: #661252).
+
+ -- Luk Claes <luk@debian.org> Sun, 27 May 2012 17:22:01 +0200
+
+net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Trivial lintian fix: don't use braces in libsnmp-dev.install
+ * Fix pending l10n issues. Debconf translations:
+ - Korean (si-cheol KO). Closes: #630948
+ - Slovak (Slavko). Closes: #634988
+ - Serbian (Zlatan Todoric). Closes: #635066
+ - Serbian Latin (Zlatan Todoric). Closes: #635067
+ - Catalan; (Innocent De Marchi). Closes: #641829
+
+ -- Christian Perrier <bubulle@debian.org> Mon, 19 Dec 2011 07:34:31 +0100
+
+net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix for init script status command when trapd is not running. Thanks to
+ Steve Camfield <steve.camfield@scamfield.co.uk> for the patch
+ (closes: #610306)
+
+ -- Stephen Gran <sgran@debian.org> Sat, 27 Aug 2011 09:10:09 +0000
+
+net-snmp (5.4.3~dfsg-2.2) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Fix FTBFS on kfreebsd-* by updating 44_nlist_kvm.patch to detect nlist
+ (in libbsd), thanks to Jakub Wilk (Closes: #625985).
+ * Add build-dependency on libbsd-dev on kfreebsd-* accordingly.
+
+ -- Cyril Brulebois <kibi@debian.org> Mon, 09 May 2011 11:12:31 +0200
+
+net-snmp (5.4.3~dfsg-2.1) unstable; urgency=high
+
+ [ Julien Cristau ]
+ * Non-maintainer upload to fix FTBFS (closes: #625730).
+ * Don't hardcode SHELL to /bin/sh in Makefile.top, libtool wants bash
+ (closes: #617212).
+ * Add missing libraries to link commands to make newer gcc happy (closes:
+ #555767, #615756).
+
+ [ Cyril Brulebois ]
+ * Do the 3.0 (quilt) dance to get Julien's patches applied.
+ * Add some bug closures.
+
+ -- Cyril Brulebois <kibi@debian.org> Sat, 07 May 2011 12:14:26 +0200
+
+net-snmp (5.4.3~dfsg-2) unstable; urgency=high
+
+ * Add libperl-dev to libsnmp-dev dependencies (Closes: #608794)
+ * Add missing include to 61_vacm_missing_dependency_check.patch
+ (Closes: #602809)
+ * High urgency due to RC bug fixes
+
+ -- Jochen Friedrich <jochen@scram.de> Wed, 05 Jan 2011 13:03:32 +0100
+
+net-snmp (5.4.3~dfsg-1) unstable; urgency=low
+
+ * New upstream version (Closes: #559109)
+ - includes fix for CVE-2008-4309
+ - includes fix for CVE-2008-6123 (Closes: #516801)
+ - AgentX support listens on localhost (only) by default
+ - support for monitoring large disks (>2Tb)
+ - improved handling of multiple matching access control entries
+ * Remove patches included upstream:
+ - 31_silence_subcontainer.patch
+ - 57_fix_ipv6_memleak.patch
+ - 59_fix_python.patch
+ * Update patches:
+ - 03_makefiles.patch
+ - 07_docfiles.patch
+ - 08_defaultconfig.patch
+ - 32_mnttab_path.patch
+ - 56_manpage.patch (Closes: #582400)
+ - 60_libsensors_api.patch (Closes: #575810)
+ * Switch to dpkg-source 3.0 (quilt) format
+ * Bump Standards version to 3.8.4
+ * Moved snmp.conf from snmp to libsnmp15
+ * Don't bind to 172.0.0.1 in snmpd.default anymore. This is now
+ done in the upstream sample snmpd.conf file. Trying to bind to
+ 127.0.0.1 in both places will make snmpd fail to start, at all.
+
+ -- Jochen Friedrich <jochen@scram.de> Thu, 10 Jun 2010 18:02:54 +0200
+
+net-snmp (5.4.2.1~dfsg-5) unstable; urgency=low
+
+ * Add conditional depends back that were lost in the build system
+ change (Closes: #560408)
+ * Install all provided NET-SNMP MIBs.
+ * Install snmp.conf with empty MIB list so snmp tools work without
+ complaining about missing MIBs. (Closes: #559200)
+ * Add /usr/share/mibs/site and /usr/share/snmp/mibs to MIB search path
+ (Closes: #560371)
+
+ -- Jochen Friedrich <jochen@scram.de> Tue, 15 Dec 2009 14:59:44 +0100
+
+net-snmp (5.4.2.1~dfsg-4) unstable; urgency=low
+
+ * Update 26_kfreebsd.patch with patch from Petr Salinger
+ <Petr.Salinger@seznam.cz> (Closes: #557244).
+ * Applied patch from Jakub Wilk <ubanus@users.sf.net> to make the
+ python module compile with python2.6 (Closes: #557540).
+ * Suggests snmp-mibs-downloader from contrib to download MIBs.
+ Remove the download scripts from this package (Closes: #557434, #557682)
+ * Move net-snmp-config to libsnmp15 as it contains platform dependent
+ code (Closes: #558488). Also clean up old Replaces / Conflicts.
+ * Add patch from Pino Toscano <pino@kde.org> for hurd-i386 support.
+ Closes: #530289.
+ * Provide a new option --base-lib-cflags for CFLAGS without perl dependent
+ stuff. (Closes: #502806)
+
+ -- Jochen Friedrich <jochen@scram.de> Tue, 01 Dec 2009 18:40:38 +0100
+
+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 <jochen@scram.de> 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
+ <luca.ferroni@labs.it> for the patch.
+ * Fix long description of debug package.
+ * Switch to libsensors4. (Closes: #518898) Thanks to Jonathan Nieder
+ <jrnieder@gmail.com> for the patch.
+
+ -- Jochen Friedrich <jochen@scram.de> 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 <petere@debian.org> for the patch
+ * Fix LSB dependencies (Closes: #541366). Thanks to Petter Reinholdtsen
+ <pere@hungry.com> for the patch.
+ * Let snmpd run as group snmp (Closes: #520724). Thanks to Russell Coker
+ <russell@coker.com.au> 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 <jwm@horde.net> for the
+ patch.
+ * Rework build system (Closes: #528106)
+ * Change default configuration to make snmp daemons run without MIBs.
+
+ -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 18:29:10 +0100
+
+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 <eddy.petrisor@gmail.com>.
+
+ -- Jochen Friedrich <jochen@scram.de> Tue, 16 Dec 2008 15:29:28 +0100
+
+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 <jochen@scram.de> 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 <jochen@scram.de> 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 <brother@bsnet.se> (Closes: #491778)
+ o ja: Hideki Yamane (Debian-JP) <henrich@debian.or.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 <jochen@scram.de> 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 <nion@debian.org> 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 <jochen@scram.de> Tue, 03 Jun 2008 13:06:57 +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 <debian@hachi.kuiki.net> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <Petr.Salinger@seznam.cz>:
+ o search nlist() in libkvm. (Closes: #449550)
+ * Add finish translation from Esko Arajärvi <edu@iki.fi>.
+ (Closes: #448421).
+ * Updated standards version to 3.7.3
+ o Add Homepage tag
+ o rename XS-Vcs-* to Vcs-*
+
+ -- Jochen Friedrich <jochen@scram.de> Fri, 28 Dec 2007 12:43:21 +0100
+
+net-snmp (5.4.1~dfsg-4) unstable; urgency=low
+
+ * Do it right this time.
+
+ -- Jochen Friedrich <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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
+ <kurt@roeckx.be> and Steve Langasek <vorlon@debian.org>
+ * Remove old template entry (Closes: #422972)
+ * Set PATH in init script (Closes: #429442)
+
+ -- Jochen Friedrich <jochen@scram.de> 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 <jochen@scram.de> Fri, 13 Apr 2007 16:16:02 +0200
+
+
+net-snmp (5.3.1-3) unstable; urgency=low
+
+ * Move AgentX socket to RFC location.
+ * Update pktinfo patch from Jan Andres <jandres@gmx.net>
+ * 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 <debian@helgefjell.de>.
+ o Add Italian debconf translation (Closes: #398047)
+ Thanks to Luca Monducci <luca.mo@tiscali.it>.
+ o Add patch to hardcode mount table location (Closes: #370132)
+ o Add Romanian translation (Closes: #403949)
+ Thanks to stan ioan-eugen <stan.ieugen@gmail.com>.
+ o Update patch from Petr Salinger <Petr.Salinger@seznam.cz> 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 <jfs@computer.org>
+ o Add Brazilian Portuguese translation (Closes: #403549)
+ Thanks to André Luís Lopes" <andrelop@debian.org>
+ 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 <jochen@scram.de> Wed, 11 Apr 2007 13:04:00 +0200
+
+net-snmp (5.3.1-2) experimental; urgency=low
+
+ * Add kfreebsd support. Thanks to Petr Salinger
+ <Petr.Salinger@seznam.cz> (Closes: #380252)
+ * Add Russian translation. Thanks to Yuri Kozlov
+ <kozlov.y@gmail.com> (Closes: #380300)
+ * Update Czech translation. Thanks to Miroslav Kure
+ <kurem@upcase.inf.upol.cz> (Closes: #380528)
+
+ -- Jochen Friedrich <jochen@scram.de> 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 <jochen@scram.de> Wed, 26 Jul 2006 12:08:46 +0200
+
+net-snmp (5.2.2-4) unstable; urgency=low
+
+ * Add French translation. Thanks to Thomas Huriaux
+ <thomas.huriaux@gmail.com> (Closes: #357928)
+ * Add Czech translation. Thanks to Miroslav Kure
+ <kurem@upcase.inf.upol.cz> (Closes: #358845)
+ * Add Dutch translation. Thanks to Vincent Zweije
+ <zweije@xs4all.nl> (Closes: #360441)
+ * Add Galician translation. Thanks to Jacobo Tarrio
+ <jtarrio@trasno.net> (Closes: #361778)
+ * Add Portuguese translation. Thanks to Rui Branco
+ <ruipb@debianpt.org> (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 <Peder.Chr.Norgaard@ericsson.com>
+ (Closes: #366817)
+ * Make init script support reloading configuration without
+ restart. (Closes: #367071)
+ * Execute dh_fixperm before dh_strip (Closes: #360253)
+
+ -- Jochen Friedrich <jochen@scram.de> 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
+ <claus.hindsgaul@gmail.com> (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 <jochen@scram.de> 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 <jochen@scram.de> 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
+ <nicolas.francois@centraliens.net> (Closes: #326515, #326530, #326532).
+ * Fix libsnmp9-dev dependencies. Thanks to Ahmed Baizid <ahmed@baizid.org>
+ (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" <Mario.Holbe@TU-Ilmenau.DE> (Closes: #336365)
+ * Run snmpd as snmp user by default (Closes: #275374, #337053)
+ * Depend and Builddepend libsnmpd9-dev on procps. Thanks to
+ Peder Chr. Norgaard <Peder.Chr.Norgaard> for pointing this out.
+ (Closes: #325840)
+ * Fix man page section mismatch found by lintian.
+
+ -- Jochen Friedrich <jochen@scram.de> 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 <hmh@debian.org>.
+
+ -- Jochen Friedrich <jochen@scram.de> 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 <jblache@debian.org> (Closes: #321713)
+
+ -- Jochen Friedrich <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <hmh@debian.org> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <cprice@cs-home.com> for the patch.
+ (Closes: #240502)
+
+ -- Jochen Friedrich <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <jochen@scram.de> Sat, 21 Feb 2004 00:29:06 +0100
+
+net-snmp (5.1-2) unstable; urgency=low
+
+ * Fix IPv6 MIB leaking file handles. Thanks to <kaj.niemi@basen.net>
+ 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
+ <james.samuel@uk.easynet.net> 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 <jochen@scram.de> 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 <jochen@scram.de> 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 <david@debian.org> 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 <david@debian.org> 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
+ <jurij@wooyd.org>.
+ * 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 <phil@fifi.org>.
+ * 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 <david@debian.org> Tue, 14 Oct 2003 18:12:36 -0500
+
+net-snmp (5.0.8-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- David Engel <david@debian.org> 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 <Paul.Hampson@anu.edu.au>
+ * 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 <schepler@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> Mon, 1 Jul 2002 21:36:08 -0500
+
+ucd-snmp (4.2.5-1) unstable; urgency=low
+
+ * New upstream version (closes:145289).
+
+ -- David Engel <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> Sun, 25 Mar 2001 17:51:09 -0600
+
+ucd-snmp (4.2-6) unstable; urgency=low
+
+ * Avoid rerunning autoconf/header (Bug#89033).
+
+ -- David Engel <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> Sat, 22 Jan 2000 20:45:26 -0600
+
+ucd-snmp (4.0.1-5) unstable; urgency=low
+
+ * Install EXAMPLE.conf (Bug#51584).
+
+ -- David Engel <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> Fri, 13 Aug 1999 10:43:20 -0500
+
+ucd-snmp (3.6.2-5) unstable; urgency=low
+
+ * Fixed more interface calculation errors.
+
+ -- David Engel <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> 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 <david@debian.org> Tue, 27 Apr 1999 12:01:30 -0500
+
+snmp (3.6-1) frozen unstable; urgency=low
+
+ * New upstream version (mainly bug fixes).
+
+ -- David Engel <david@debian.org> Fri, 27 Nov 1998 21:59:51 -0600
+
+snmp (3.5-4) unstable; urgency=low
+
+ * Install mib.h header file (Bug#25777).
+
+ -- David Engel <david@debian.org> 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 <david@sw.ods.com> 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 <david@sw.ods.com> 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 <david@sw.ods.com> 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 <david@sw.ods.com> 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 <david@sw.ods.com> 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 <david@sw.ods.com> Tue, 13 May 1997 20:40:37 -0500
+
+
+snmp (3.3-1) unstable; urgency=low
+
+ * Updated to new upstream version.
+
+ -- David Engel <david@sw.ods.com> 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 <david@debian.org> Wed, 19 Feb 1997 20:53:07 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7c559ea
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,167 @@
+Source: net-snmp
+Section: net
+Priority: optional
+Maintainer: Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org>
+Uploaders: Jochen Friedrich <jochen@scram.de>, Thomas Anders <tanders@users.sourceforge.net>, Noah Meyerhans <noahm@debian.org>,
+ Hideki Yamane <henrich@debian.org>
+Build-Depends: debhelper (>= 9), libtool, libwrap0-dev, libssl-dev (>> 0.9.8), perl (>=5.8), libperl-dev,
+ python-all (>= 2.6.6-3~), python-setuptools (>=0.6b3), python2.7-dev,
+ autoconf, automake, autotools-dev, debianutils (>=1.13.1), dh-autoreconf,
+ bash (>=2.05), findutils (>=4.1.20), procps,
+ libbsd-dev [kfreebsd-i386 kfreebsd-amd64],
+ libkvm-dev [kfreebsd-i386 kfreebsd-amd64],
+ libsensors4-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
+ libmysqld-dev, libpci-dev
+Build-Conflicts: libsnmp-dev
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-net-snmp/pkg-net-snmp.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-net-snmp/pkg-net-snmp.git
+XS-Python-Version: 2.7
+Homepage: http://net-snmp.sourceforge.net/
+
+Package: snmpd
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, debconf, lsb-base (>= 3.2-13), libsnmp-base
+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: snmptrapd
+Architecture: any
+Recommends: perl-modules
+Depends: ${shlibs:Depends}, ${misc:Depends}, snmpd
+Breaks: snmpd (<< 5.7.2~dfsg-9)
+Description: Net-SNMP notification receiver
+ The Simple Network Management Protocol (SNMP) provides a framework
+ for the exchange of management information between agents (servers)
+ and clients.
+ .
+ snmptrapd is an SNMP application (daemon) that receives and logs SNMP TRAP
+ and INFORM messages.
+
+Package: snmp
+Architecture: any
+Recommends: perl-modules
+Depends: ${shlibs:Depends}, ${misc:Depends}, libsnmp-base
+Breaks: libsnmp15 (<< 5.7.2~dfsg-0.1)
+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
+Architecture: all
+Replaces: libsnmp-dev (<< 5.4~dfsg), libsnmp9-dev (<< 5.4~dfsg), libsnmp15 (<< 5.7.2~dfsg-5)
+Conflicts: libsnmp-dev (<< 5.4~dfsg), libsnmp9-dev (<< 5.4~dfsg), libsnmp30 (<< 5.7.2~dfsg-5)
+Breaks: libsnmp15 (<< 5.7.2~dfsg-5)
+Depends: ${misc:Depends}
+Suggests: snmp-mibs-downloader
+Multi-Arch: foreign
+Description: SNMP configuration script, 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 net-snmp-config scripts, 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.
+ .
+ NOTE: If you want the OIDs (Object Identifiers) to resolve to their text
+ description, you need to activate the non-free repository and install the
+ "snmp-mibs-downloader" package.
+
+Package: libsnmp30
+Section: libs
+Architecture: any
+Replaces: libsnmp-base (<< 5.4.2.1~dfsg-4), snmp (<< 5.4.3~dfsg-1), libsnmp15
+Breaks: libsnmp15
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, libsnmp-base
+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: libsnmp30-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libsnmp30 (=${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
+Architecture: any
+Replaces: libsnmp9-dev, libsnmp15-dev, snmp (<< 5.4~dfsg), libsnmp-base (<< 5.7.2~dfsg-8.1~)
+Provides: libsnmp9-dev
+Conflicts: libsnmp9-dev, libsnmp15-dev, snmp (<< 5.4~dfsg)
+Breaks: libsnmp-base (<< 5.7.2~dfsg-8.1~)
+Depends: libc6-dev, libsnmp30 (=${binary:Version}), libwrap0-dev, libssl-dev, procps, libkvm-dev [kfreebsd-any], libsensors4-dev [linux-any], ${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
+Architecture: any
+Depends: ${perl:Depends}, ${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: python-netsnmp
+Section: python
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Breaks: libsnmp-python
+Replaces: libsnmp-python
+Provides: libsnmp-python, ${python:Provides}
+XB-Python-Version: ${python:Versions}
+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
+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.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f91058d
--- /dev/null
+++ b/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 <david@debian.org>, from
+sources obtained from http://net-snmp.sourceforge.net/.
+It is now maintained by Jochen Friedrich <jochen@scram.de>.
+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 <bernhard.penz@fabasoft.com>
+
+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.
+
diff --git a/debian/libsnmp-base.dirs b/debian/libsnmp-base.dirs
new file mode 100644
index 0000000..3d29600
--- /dev/null
+++ b/debian/libsnmp-base.dirs
@@ -0,0 +1 @@
+var/lib/snmp
diff --git a/debian/libsnmp-base.docs b/debian/libsnmp-base.docs
new file mode 100644
index 0000000..fc60795
--- /dev/null
+++ b/debian/libsnmp-base.docs
@@ -0,0 +1,6 @@
+FAQ
+NEWS
+README
+README.snmpv3
+README.thread
+mibs/README.mibs
diff --git a/debian/libsnmp-base.install b/debian/libsnmp-base.install
new file mode 100644
index 0000000..2e6946b
--- /dev/null
+++ b/debian/libsnmp-base.install
@@ -0,0 +1,2 @@
+mibs/*.txt usr/share/snmp/mibs
+usr/share/snmp/mib2c-data
diff --git a/debian/libsnmp-base.manpages b/debian/libsnmp-base.manpages
new file mode 100644
index 0000000..5577871
--- /dev/null
+++ b/debian/libsnmp-base.manpages
@@ -0,0 +1,6 @@
+man/mib2c.conf.5
+man/snmp.conf.5
+man/snmp_config.5
+man/snmpd.examples.5
+man/snmpd.internal.5
+man/variables.5
diff --git a/debian/libsnmp-base.postrm b/debian/libsnmp-base.postrm
new file mode 100644
index 0000000..e92244e
--- /dev/null
+++ b/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
diff --git a/debian/libsnmp-base.prerm b/debian/libsnmp-base.prerm
new file mode 100644
index 0000000..a4892c8
--- /dev/null
+++ b/debian/libsnmp-base.prerm
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+set -e
+
+rm -f /usr/share/mibs/netsnmp/.index
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libsnmp-dev.dirs b/debian/libsnmp-dev.dirs
new file mode 100644
index 0000000..230a402
--- /dev/null
+++ b/debian/libsnmp-dev.dirs
@@ -0,0 +1 @@
+etc/snmp
diff --git a/debian/libsnmp-dev.install b/debian/libsnmp-dev.install
new file mode 100644
index 0000000..d9a42cf
--- /dev/null
+++ b/debian/libsnmp-dev.install
@@ -0,0 +1,15 @@
+local/mib2c*.conf etc/snmp
+usr/bin/mib2c
+usr/bin/mib2c-update
+usr/include/*
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+# Install the "broke" headers
+agent/mibgroup/struct.h usr/include/net-snmp/agent
+agent/mibgroup/util_funcs.h usr/include/net-snmp
+agent/mibgroup/mibincl.h usr/include/net-snmp/library
+agent/mibgroup/header_complex.h usr/include/net-snmp/agent
+usr/bin/net-snmp-config
+usr/share/man/man1/net-snmp-config.1
+usr/bin/net-snmp-create-v3-user
+usr/share/man/man1/net-snmp-create-v3-user.1
diff --git a/debian/libsnmp-dev.manpages b/debian/libsnmp-dev.manpages
new file mode 100644
index 0000000..5846936
--- /dev/null
+++ b/debian/libsnmp-dev.manpages
@@ -0,0 +1,3 @@
+man/mib2c.1
+man/mib2c-update.1
+man/*.3
diff --git a/debian/libsnmp-perl.docs b/debian/libsnmp-perl.docs
new file mode 100644
index 0000000..2a69bfd
--- /dev/null
+++ b/debian/libsnmp-perl.docs
@@ -0,0 +1 @@
+perl/SNMP/README
diff --git a/debian/libsnmp-perl.examples b/debian/libsnmp-perl.examples
new file mode 100644
index 0000000..f11e24b
--- /dev/null
+++ b/debian/libsnmp-perl.examples
@@ -0,0 +1 @@
+perl/SNMP/examples/*
diff --git a/debian/libsnmp-perl.install b/debian/libsnmp-perl.install
new file mode 100644
index 0000000..36e0356
--- /dev/null
+++ b/debian/libsnmp-perl.install
@@ -0,0 +1 @@
+usr/lib/perl*
diff --git a/debian/libsnmp-perl.preinst b/debian/libsnmp-perl.preinst
new file mode 100644
index 0000000..696fc08
--- /dev/null
+++ b/debian/libsnmp-perl.preinst
@@ -0,0 +1,30 @@
+#!/bin/sh
+# preinst script for libsnmp-perl
+
+set -e
+
+
+case "$1" in
+ install|upgrade)
+
+ DOCDIR=/usr/share/doc/libsnmp-perl
+ if [ -L $DOCDIR ]; then
+ rm $DOCDIR
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libsnmp30.copyright b/debian/libsnmp30.copyright
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/libsnmp30.copyright
diff --git a/debian/libsnmp30.dirs b/debian/libsnmp30.dirs
new file mode 100644
index 0000000..3d29600
--- /dev/null
+++ b/debian/libsnmp30.dirs
@@ -0,0 +1 @@
+var/lib/snmp
diff --git a/debian/libsnmp30.docs b/debian/libsnmp30.docs
new file mode 100644
index 0000000..f232bba
--- /dev/null
+++ b/debian/libsnmp30.docs
@@ -0,0 +1,9 @@
+AGENT.txt
+FAQ
+NEWS
+README
+README.agentx
+README.snmpv3
+README.thread
+TODO
+local/README.mib2c
diff --git a/debian/libsnmp30.install b/debian/libsnmp30.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libsnmp30.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/libsnmp30.lintian-overrides b/debian/libsnmp30.lintian-overrides
new file mode 100644
index 0000000..6ce8d29
--- /dev/null
+++ b/debian/libsnmp30.lintian-overrides
@@ -0,0 +1 @@
+libsnmp30: hardening-no-relro usr/lib/*/libnetsnmptrapd.so.*
diff --git a/debian/libsnmp30.postinst b/debian/libsnmp30.postinst
new file mode 100644
index 0000000..331af0a
--- /dev/null
+++ b/debian/libsnmp30.postinst
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+set -e
+
+ldconfig
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/patches/02_statistics.patch b/debian/patches/02_statistics.patch
new file mode 100644
index 0000000..a582476
--- /dev/null
+++ b/debian/patches/02_statistics.patch
@@ -0,0 +1,26 @@
+This patch ignores interfaces without statistics.
+
+Index: net-snmp-5.7.2~dfsg/agent/mibgroup/mibII/interfaces.c
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/mibII/interfaces.c 2013-01-07 12:53:22.545808176 +0900
++++ net-snmp-5.7.2~dfsg/agent/mibgroup/mibII/interfaces.c 2013-01-07 12:53:22.541808167 +0900
+@@ -1592,6 +1592,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';
+
+@@ -1624,7 +1628,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;
diff --git a/debian/patches/03_makefiles.patch b/debian/patches/03_makefiles.patch
new file mode 100644
index 0000000..927c798
--- /dev/null
+++ b/debian/patches/03_makefiles.patch
@@ -0,0 +1,69 @@
+Makefile patch to include libwrap and libsensors libraries and install extra
+MIB files.
+
+Index: net-snmp-5.7.2~dfsg/local/Makefile.in
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/local/Makefile.in 2013-01-15 01:05:58.571396020 +0900
++++ net-snmp-5.7.2~dfsg/local/Makefile.in 2013-01-15 01:05:58.567396010 +0900
+@@ -103,7 +103,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.7.2~dfsg/Makefile.top
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/Makefile.top 2013-01-15 01:05:58.571396020 +0900
++++ net-snmp-5.7.2~dfsg/Makefile.top 2013-01-15 01:11:31.544153075 +0900
+@@ -27,6 +27,7 @@
+ snmplibdir = $(datadir)/snmp
+ mibdir = $(snmplibdir)/mibs
+ persistentdir = @PERSISTENT_DIRECTORY@
++sysconfdir = @sysconfdir@
+ DESTDIR = @INSTALL_PREFIX@
+ INSTALL_PREFIX = $(DESTDIR)
+
+Index: net-snmp-5.7.2~dfsg/Makefile.in
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/Makefile.in 2013-01-15 01:05:58.571396020 +0900
++++ net-snmp-5.7.2~dfsg/Makefile.in 2013-01-15 01:09:08.607827737 +0900
+@@ -17,7 +17,7 @@
+
+ INSTALLHEADERS=version.h net-snmp-features.h
+ INCLUDESUBDIR=system
+-INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \
++INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h kfreebsd.h \
+ darwin.h darwin7.h darwin8.h darwin9.h darwin10.h dragonfly.h dynix.h \
+ freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h \
+ freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd.h \
+@@ -170,7 +170,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
+Index: net-snmp-5.7.2~dfsg/mibs/Makefile.in
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/mibs/Makefile.in 2013-01-15 01:05:58.571396020 +0900
++++ net-snmp-5.7.2~dfsg/mibs/Makefile.in 2013-01-15 01:17:21.484984229 +0900
+@@ -48,11 +48,11 @@
+ UCDMIBS = UCD-SNMP-MIB.txt UCD-DEMO-MIB.txt UCD-IPFWACC-MIB.txt \
+ UCD-DLMOD-MIB.txt UCD-DISKIO-MIB.txt
+
++EXTRAMIBS = GNOME-SMI LM-SENSORS-MIB
++
+ DEFAULTMIBS = @default_mibs_install@
+
+-MIBS = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \
+- $(AGENTMIBS) $(IANAMIBS) \
+- $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS)
++MIBS = $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(EXTRAMIBS)
+
+ all: standardall
+
diff --git a/debian/patches/05_searchdirs.patch b/debian/patches/05_searchdirs.patch
new file mode 100644
index 0000000..43f96ec
--- /dev/null
+++ b/debian/patches/05_searchdirs.patch
@@ -0,0 +1,17 @@
+Makefile patch to include libwrap and libsensors libraries and install extra
+MIB files.
+
+--- 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 {
diff --git a/debian/patches/06_extramibs.patch b/debian/patches/06_extramibs.patch
new file mode 100644
index 0000000..792d66e
--- /dev/null
+++ b/debian/patches/06_extramibs.patch
@@ -0,0 +1,94 @@
+Extra MIB files shipped with Debian.
+
+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
diff --git a/debian/patches/07_docfiles.patch b/debian/patches/07_docfiles.patch
new file mode 100644
index 0000000..01dbda2
--- /dev/null
+++ b/debian/patches/07_docfiles.patch
@@ -0,0 +1,103 @@
+Patch documentation files to change paths to Debian specific locations.
+
+Index: net-snmp-5.4.3/FAQ
+===================================================================
+--- net-snmp-5.4.3.orig/FAQ 2010-05-23 22:39:44.000000000 +0200
++++ net-snmp-5.4.3/FAQ 2010-06-04 17:15:28.000000000 +0200
+@@ -108,7 +108,7 @@
+ How do I configure access control?
+ 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?
+ Where should the snmpd.conf file go?
+ Why am I getting "Connection refused"?
+@@ -700,7 +700,7 @@
+ There are two steps required to add a new MIB file to the tools.
+ Firstly, copy the MIB file into the appropriate 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
+ mkdir $HOME/.snmp
+@@ -1396,7 +1396,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)
+@@ -1490,7 +1490,7 @@
+ string to use.
+
+ Some of these (such as MIB information), might be best put in a
+- shared snmp.conf file (typically /usr/local/share/snmp/snmp.conf or
++ 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 probably go in a personal snmp.conf
+@@ -2655,7 +2655,7 @@
+
+ createUser {myUser} MD5 {myPassword} DES
+
+- to the file /var/net-snmp/snmpd.conf (where {myUser} and
++ to the file /var/lib/snmp/snmpd.conf (where {myUser} and
+ {myPassword} are the appropriate values for username and password,
+ _without_ the braces!). Then re-start the snmpd agent.
+
+@@ -2664,7 +2664,7 @@
+ net-snmp-config --create-snmpv3-user
+
+ and follow the prompts given. 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 an SNMPv3
+@@ -2698,16 +2698,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).
+
+
+
+@@ -2728,7 +2728,7 @@
+ -----------------------------------
+
+ 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.
+
+Index: net-snmp-5.4.3/EXAMPLE.conf.def
+===================================================================
+--- net-snmp-5.4.3.orig/EXAMPLE.conf.def 2009-06-01 15:11:07.000000000 +0200
++++ net-snmp-5.4.3/EXAMPLE.conf.def 2010-06-04 17:24:24.000000000 +0200
+@@ -23,7 +23,7 @@
+ # SNMPv3 AUTHENTICATION
+ #
+ # Note that these particular settings don't actually belong here.
+-# They should be copied to the file /var/net-snmp/snmpd.conf
++# They should be copied to the file /var/lib/snmp/snmpd.conf
+ # and the passwords changed, before being uncommented in that file *only*.
+ # Then restart the agent
+
diff --git a/debian/patches/26_kfreebsd.patch b/debian/patches/26_kfreebsd.patch
new file mode 100644
index 0000000..6ff23f0
--- /dev/null
+++ b/debian/patches/26_kfreebsd.patch
@@ -0,0 +1,50 @@
+Preliminary support for kfreebsd.
+Index: net-snmp-5.7.2~dfsg/agent/mibgroup/hardware/cpu/cpu_sysctl.c
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/hardware/cpu/cpu_sysctl.c 2013-01-07 13:18:53.861513650 +0900
++++ net-snmp-5.7.2~dfsg/agent/mibgroup/hardware/cpu/cpu_sysctl.c 2013-01-07 13:21:32.693902019 +0900
+@@ -12,7 +12,7 @@
+ #include <unistd.h>
+ #include <sys/types.h>
+
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ #include <sys/resource.h>
+ #if !defined(CPUSTATES)
+ #include <sys/dkstat.h>
+@@ -83,7 +83,7 @@
+ #elif defined(KERN_CPTIME) /* OpenBSD */
+ #define NETSNMP_KERN_CPU KERN_CPTIME
+
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ #define NETSNMP_KERN_CPU 0 /* dummy value - sysctlnametomib(2) should be used */
+
+ #else
+@@ -117,7 +117,7 @@
+ #define NETSNMP_VM_STATS_TYPE struct uvmexp
+ #endif /* VM_UVMEXP2 || VM_UVMEXP */
+
+-#elif defined(__FreeBSD__) /* FreeBSD */
++#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) /* FreeBSD */
+ #define NETSNMP_VM_STATS VM_METER
+ #define NETSNMP_VM_STATS_TYPE struct vmmeter
+ #define NS_VM_INTR v_intr
+@@ -159,7 +159,7 @@
+ * Don't fight it, Dave - go with the flow....
+ */
+ NETSNMP_CPU_STATS cpu_stats[CPUSTATES];
+-#if !defined(__FreeBSD__) && !defined(__NetBSD__)
++#if !defined(__FreeBSD__) || defined(__FreeBSD_kernel__) && !defined(__NetBSD__)
+ int cpu_mib[] = { CTL_KERN, NETSNMP_KERN_CPU };
+ #endif
+ size_t cpu_size = sizeof(cpu_stats);
+@@ -173,7 +173,7 @@
+ size_t mem_size = sizeof(NETSNMP_VM_STATS_TYPE);
+ netsnmp_cpu_info *cpu = netsnmp_cpu_get_byIdx( -1, 0 );
+
+-#if (defined(__FreeBSD__) || defined(__NetBSD__))
++#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__))
+ sysctlbyname("kern.cp_time", cpu_stats, &cpu_size, NULL, 0);
+ #else
+ sysctl(cpu_mib, 2, cpu_stats, &cpu_size, NULL, 0);
diff --git a/debian/patches/27_kfreebsd_bug625985.patch b/debian/patches/27_kfreebsd_bug625985.patch
new file mode 100644
index 0000000..c23b671
--- /dev/null
+++ b/debian/patches/27_kfreebsd_bug625985.patch
@@ -0,0 +1,18 @@
+Index: net-snmp-5.7.2~dfsg/agent/mibgroup/hardware/memory/memory_freebsd.c
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/hardware/memory/memory_freebsd.c 2013-01-07 14:23:52.000000000 +0900
++++ net-snmp-5.7.2~dfsg/agent/mibgroup/hardware/memory/memory_freebsd.c 2013-01-07 14:23:55.000000000 +0900
+@@ -211,11 +211,12 @@
+
+ #include <sys/conf.h>
+
++kvm_t *kd = NULL;
++
+ int
+ swapmode(long pagesize)
+ {
+ int i, n;
+- static kvm_t *kd = NULL;
+ struct kvm_swap kswap[16];
+ netsnmp_memory_info *mem;
+ char buf[1024];
diff --git a/debian/patches/60_libsensors_api.patch b/debian/patches/60_libsensors_api.patch
new file mode 100644
index 0000000..1fd4a56
--- /dev/null
+++ b/debian/patches/60_libsensors_api.patch
@@ -0,0 +1,211 @@
+Patch from Jonathan Nieder <jrnieder@gmail.com> to update lmsensors API to libsensors4.
+
+Index: net-snmp-5.7.2~dfsg/agent/mibgroup/ucd-snmp/lmSensors.c
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/ucd-snmp/lmSensors.c 2013-01-14 15:20:53.481713884 +0900
++++ net-snmp-5.7.2~dfsg/agent/mibgroup/ucd-snmp/lmSensors.c 2013-01-14 15:34:53.367634884 +0900
+@@ -94,7 +94,6 @@
+ #endif
+ #else
+ #include <sensors/sensors.h>
+- #define CONFIG_FILE_NAME "/etc/sensors.conf"
+ #endif
+
+ #include "lmSensors.h"
+@@ -357,9 +356,7 @@
+ {
+ 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"));
+@@ -371,13 +368,7 @@
+ sensor_array[i].sensor = NULL;
+ }
+
+- if (!fp)
+- {
+- res = 1;
+- goto leaving;
+- }
+-
+- if (sensors_init(fp))
++ if (sensors_init(NULL))
+ {
+ res = 2;
+ goto leaving;
+@@ -395,7 +386,7 @@
+ 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*/
+ {
+@@ -947,7 +938,8 @@
+ #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;
+ unsigned int i = 0;
+
+@@ -969,78 +961,80 @@
+ sensor_array[i].current_len = DEFAULT_SENSORS;
+ } /* end for */
+
+- while ((chip = sensors_get_detected_chips(&chip_nr))) {
+- int a = 0;
+- int b = 0;
+-
+- 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 = 0;
+- _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. */
+-
+- 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 1;
+- } /* end if array->sensor */
+- array->current_len = new_size / sizeof(_sensor);
+- DEBUGMSG(("ucd-snmp/lmSensors", "type #%d increased to %d elements\n", type, (int)array->current_len));
+- } /* end if array->current */
+- strlcpy(array->sensor[array->n].name, label, MAX_NAME);
+- array->sensor[array->n].value = (int) (val * mul);
+- DEBUGMSGTL(("sensors","sensor %s, 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 */
++ while ((chip = sensors_get_detected_chips(NULL, &chip_nr))) {
++ int a = 0;
++ while ((feature = sensors_get_features(chip, &a))) {
++ int b = 0;
++ while ((subfeature = sensors_get_all_subfeatures(chip,
++ feature, &b))) {
++ char *label = NULL;
++ double val;
++
++ if ((subfeature->flags & SENSORS_MODE_R) &&
++ (label = sensors_get_label(chip, feature)) &&
++ !sensors_get_value(chip, subfeature->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. */
++
++ 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 subfeature */
++ } /* end while feature */
+ } /* end while chip */
+ DEBUGMSG(("ucd-snmp/lmSensors", "<= sensor_load\n"));
+ #endif /* end else ie. ifdef everything else */
diff --git a/debian/patches/61_vacm_missing_dependency_check.patch b/debian/patches/61_vacm_missing_dependency_check.patch
new file mode 100644
index 0000000..dd94576
--- /dev/null
+++ b/debian/patches/61_vacm_missing_dependency_check.patch
@@ -0,0 +1,33 @@
+Do not call vacm_standard_views() if the corresponding module was not compiled.
+(applied upstream in changeset 19116)
+
+http://net-snmp.git.sourceforge.net/git/gitweb.cgi?p=net-snmp/net-snmp;a=commitdiff;h=93161743ab8caa5259a945a8d890ae96a99f0b1c;hp=2299559c29fc6493ac2f8836b82683c0904a9b9d
+
+However, it isn't applied newest 5.7.2 source tree... why?
+
+Index: net-snmp-5.7.2~dfsg/apps/snmptrapd_auth.c
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/apps/snmptrapd_auth.c 2013-01-23 11:40:36.267276110 +0900
++++ net-snmp-5.7.2~dfsg/apps/snmptrapd_auth.c 2013-01-23 11:40:36.263276099 +0900
+@@ -27,6 +27,7 @@
+ #endif
+
+ #include <net-snmp/agent/agent_trap.h>
++#include <net-snmp/agent/net-snmp-agent-includes.h>
+
+ /**
+ * initializes the snmptrapd authorization code registering needed
+Index: net-snmp-5.7.2~dfsg/agent/agent_read_config.c
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/agent/agent_read_config.c 2013-01-23 11:38:12.334930631 +0900
++++ net-snmp-5.7.2~dfsg/agent/agent_read_config.c 2013-01-23 11:41:40.083429045 +0900
+@@ -290,6 +290,9 @@
+ snmp_call_callbacks(SNMP_CALLBACK_APPLICATION,
+ SNMPD_CALLBACK_PRE_UPDATE_CONFIG, NULL);
+ free_config();
++#ifdef USING_MIBII_VACM_CONF_MODULE
++ vacm_standard_views(0,0,NULL,NULL);
++#endif
+ read_configs();
+ }
+
diff --git a/debian/patches/62_add_lib_cflags.patch b/debian/patches/62_add_lib_cflags.patch
new file mode 100644
index 0000000..305d777
--- /dev/null
+++ b/debian/patches/62_add_lib_cflags.patch
@@ -0,0 +1,32 @@
+Patch to add option "--base-lib-cflags" to net-snmp-config. This flag returns options needed to link
+against libnetsnmp. In particular, no perl specific options are provided.
+
+It was reported in
+"libsnmp-base: forcing perl headers in net-snmp-config --cflags breaks perl builds"
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502806
+
+
+
+Index: net-snmp-5.7.2~dfsg/net-snmp-config.in
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/net-snmp-config.in 2013-01-14 04:28:45.350028570 +0000
++++ net-snmp-5.7.2~dfsg/net-snmp-config.in 2013-01-14 04:28:45.350028570 +0000
+@@ -140,6 +140,9 @@
+ --base-cflags)
+ echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
+ ;;
++ --base-lib-cflags)
++ echo @LIBCFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
++ ;;
+ --cflags|--cf*)
+ echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
+ ;;
+@@ -643,6 +646,8 @@
+ echo " These options produce the various compilation flags needed when"
+ echo " building external SNMP applications:"
+ echo ""
++ echo " --base-lib-cflags lists additional compilation flags needed for linking"
++ echo " against libsnmp"
+ echo " --base-cflags lists additional compilation flags needed"
+ echo " --cflags lists additional compilation flags needed"
+ echo " (includes -I. and extra developer warning flags)"
diff --git a/debian/patches/64_missing_lib.patch b/debian/patches/64_missing_lib.patch
new file mode 100644
index 0000000..f395e9d
--- /dev/null
+++ b/debian/patches/64_missing_lib.patch
@@ -0,0 +1,45 @@
+Index: net-snmp-5.7.2~dfsg/apps/Makefile.in
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/apps/Makefile.in 2012-10-09 22:28:58.000000000 +0000
++++ net-snmp-5.7.2~dfsg/apps/Makefile.in 2013-01-14 05:56:10.000000000 +0000
+@@ -83,6 +83,8 @@
+ USEAGENTLIBS = $(MIBLIB) $(AGENTLIB) $(USELIBS)
+ MYSQL_LIBS = @MYSQL_LIBS@
+ MYSQL_INCLUDES = @MYSQL_INCLUDES@
++LIBCRYPTO = @LIBCRYPTO@
++LIBWRAP = @LIBWRAP@
+
+ VAL_LIBS = @VAL_LIBS@
+ LIBS = $(USELIBS) $(VAL_LIBS) @LIBS@
+@@ -170,7 +172,7 @@
+ $(LINK) ${CFLAGS} -o $@ snmptest.$(OSUFFIX) ${LDFLAGS} ${LIBS}
+
+ snmptrapd$(EXEEXT): $(TRAPD_OBJECTS) $(USETRAPLIBS) $(INSTALLLIBS)
+- $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS}
++ $(LINK) ${CFLAGS} -o $@ $(TRAPD_OBJECTS) $(INSTALLLIBS) ${LDFLAGS} ${TRAPLIBS} $(LIBWRAP)
+
+ snmptrap$(EXEEXT): snmptrap.$(OSUFFIX) $(USELIBS)
+ $(LINK) ${CFLAGS} -o $@ snmptrap.$(OSUFFIX) ${LDFLAGS} ${LIBS}
+@@ -183,7 +185,7 @@
+ $(LINK) ${CFLAGS} -o $@ snmpset.$(OSUFFIX) ${LDFLAGS} ${LIBS}
+
+ snmpusm$(EXEEXT): snmpusm.$(OSUFFIX) $(USELIBS)
+- $(LINK) ${CFLAGS} -o $@ snmpusm.$(OSUFFIX) ${LDFLAGS} ${LIBS}
++ $(LINK) ${CFLAGS} -o $@ snmpusm.$(OSUFFIX) ${LDFLAGS} ${LIBS} $(LIBCRYPTO)
+
+ snmpvacm$(EXEEXT): snmpvacm.$(OSUFFIX) $(USELIBS)
+ $(LINK) ${CFLAGS} -o $@ snmpvacm.$(OSUFFIX) ${LDFLAGS} ${LIBS}
+Index: net-snmp-5.7.2~dfsg/configure.ac
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/configure.ac 2012-10-09 22:28:58.000000000 +0000
++++ net-snmp-5.7.2~dfsg/configure.ac 2013-01-14 05:56:44.894900017 +0000
+@@ -78,6 +78,9 @@
+
+ AC_SUBST(PARTIALTARGETFLAGS)
+ AC_SUBST(ac_cv_NETSNMP_SYSTEM_INCLUDE_FILE)
++LIBWRAP="$_wraplibs"
++AC_SUBST(LIBWRAP)
++AC_SUBST(LIBCRYPTO)
+
+ AC_CONFIG_FILES([Makefile:Makefile.top:Makefile.in:Makefile.rules])
+ AC_CONFIG_FILES([snmplib/Makefile:Makefile.top:snmplib/Makefile.in:Makefile.rules:snmplib/Makefile.depend])
diff --git a/debian/patches/add_rocommunity6.patch b/debian/patches/add_rocommunity6.patch
new file mode 100644
index 0000000..69bfd10
--- /dev/null
+++ b/debian/patches/add_rocommunity6.patch
@@ -0,0 +1,13 @@
+Index: pkg-net-snmp/EXAMPLE.conf.def
+===================================================================
+--- pkg-net-snmp.orig/EXAMPLE.conf.def 2013-09-04 19:13:13.000000000 +0900
++++ pkg-net-snmp/EXAMPLE.conf.def 2013-09-04 19:13:13.000000000 +0900
+@@ -49,6 +49,8 @@
+ #rocommunity public localhost
+ # Default access to basic system info
+ rocommunity public default -V systemonly
++ # rocommunity6 is for IPv6
++ rocommunity6 public defalut -V systemonly
+
+ # Full access from an example network
+ # Adjust this network address to match your local
diff --git a/debian/patches/after_RFC5378 b/debian/patches/after_RFC5378
new file mode 100644
index 0000000..9bb502e
--- /dev/null
+++ b/debian/patches/after_RFC5378
@@ -0,0 +1,43 @@
+Description: exclude under RFC5378 modules
+Author: Hideki Yamane <henrich@debian.org>
+---
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2013-02-08
+
+--- net-snmp-5.7.2~dfsg.orig/mibs/rfclist
++++ net-snmp-5.7.2~dfsg/mibs/rfclist
+@@ -233,33 +233,3 @@
+ 5190 MIDCOM-MIB
+ 5240 PIM-BSR-MIB
+ 5324 T11-FC-SP-TC-MIB:T11-FC-SP-AUTHENTICATION-MIB:T11-FC-SP-ZONING-MIB:T11-FC-SP-POLICY-MIB:T11-FC-SP-SA-MIB
+-5427 SYSLOG-TC-MIB
+-5428 PKTC-IETF-EVENT-MIB
+-5488 NEMO-MIB
+-5519 MGMD-STD-MIB
+-5525 RSERPOOL-MIB
+-5542 PW-TC-STD-MIB
+-5591 SNMP-TSM-MIB
+-5601 PW-STD-MIB:IANA-PWE3-MIB
+-5602 PW-MPLS-STD-MIB
+-5603 PW-ENET-STD-MIB
+-5604 PW-TDM-MIB
+-5605 PW-ATM-MIB
+-5643 OSPFV3-MIB
+-5650 VDSL2-LINE-TC-MIB:VDSL2-LINE-MIB
+-5676 SYSLOG-MSG-MIB
+-5728 DVB-RCS-MIB
+-5813 FORCES-MIB
+-5815 IPFIX-MIB:IPFIX-SELECTOR-MIB
+-5833 CAPWAP-BASE-MIB
+-5834 CAPWAP-DOT11-MIB
+-5907 NTPv4-MIB
+-6065 SNMP-VACM-AAA-MIB
+-6173 IFCP-MGMT-MIB
+-6240 PW-CEP-STD-MIB
+-6340 FLOAT-TC-MIB
+-6353 SNMP-TLS-TM-MIB
+-6445 MPLS-FRR-GENERAL-STD-MIB:MPLS-FRR-ONE2ONE-STD-MIB:MPLS-FRR-FACILITY-STD-MIB
+-6475 PMIPV6-TC-MIB:PMIPV6-MIB
+-6527 VRRPV3-MIB
+-6615 IPFIX-MIB:IPFIX-SELECTOR-MIB
diff --git a/debian/patches/agentx-crash.patch b/debian/patches/agentx-crash.patch
new file mode 100644
index 0000000..00988cc
--- /dev/null
+++ b/debian/patches/agentx-crash.patch
@@ -0,0 +1,62 @@
+Description: fix snmpd crash via AgentX connection
+
+ taken from Fedora, net-snmp-5.7-agentx-crash.patch
+
+bz729738 - net-snmp dumps core in netsnmp_oid_find_prefix
+bz1038011 - net-snmp: snmpd crashes/hangs when AgentX subagent times-out
+
+commit f9304c83f76202db0e684269ca1af32e43cd9db4
+Author: Jan Safranek <jsafranek@users.sourceforge.net>
+Date: Tue Feb 7 14:53:44 2012 +0100
+
+ CHANGES: PATCH 1633670: fixed snmpd crashing when an AgentX subagent disconnect in the middle of processing of a request.
+
+ I fixed also the memory leak reported in the tracker comments.
+
+
+Origin: vendor
+Forwarded: not-needed
+Last-Update: <YYYY-MM-DD>
+
+--- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/agentx/master.c
++++ net-snmp-5.7.2~dfsg/agent/mibgroup/agentx/master.c
+@@ -219,6 +219,9 @@ agentx_got_response(int operation,
+ if (!cache) {
+ DEBUGMSGTL(("agentx/master", "response too late on session %8p\n",
+ session));
++ /* response is too late, free the cache */
++ if (magic)
++ netsnmp_free_delegated_cache((netsnmp_delegated_cache*) magic);
+ return 0;
+ }
+ requests = cache->requests;
+@@ -606,6 +609,8 @@ agentx_master_handler(netsnmp_mib_handle
+ result = snmp_async_send(ax_session, pdu, agentx_got_response, cb_data);
+ if (result == 0) {
+ snmp_free_pdu(pdu);
++ if (cb_data)
++ netsnmp_free_delegated_cache((netsnmp_delegated_cache*) cb_data);
+ }
+
+ return SNMP_ERR_NOERROR;
+--- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/agentx/master_admin.c
++++ net-snmp-5.7.2~dfsg/agent/mibgroup/agentx/master_admin.c
+@@ -133,11 +133,16 @@ close_agentx_session(netsnmp_session * s
+ * 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"));
++ }
+ }
+ }
+
diff --git a/debian/patches/dropped_25_duplicate_iftable.patch b/debian/patches/dropped_25_duplicate_iftable.patch
new file mode 100644
index 0000000..6d2e841
--- /dev/null
+++ b/debian/patches/dropped_25_duplicate_iftable.patch
@@ -0,0 +1,115 @@
+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 <svens@gmx.de>
+
+-> not applied to current code. need to investigate more
+ Hideki Yamane <henrich@debian.org>
+
+
+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)
+ {
diff --git a/debian/patches/dropped_44_nlist_kvm.patch b/debian/patches/dropped_44_nlist_kvm.patch
new file mode 100644
index 0000000..3ec6670
--- /dev/null
+++ b/debian/patches/dropped_44_nlist_kvm.patch
@@ -0,0 +1,17 @@
+
+Patch from Petr Salinger <Petr.Salinger@seznam.cz>: search nlist() in libkvm.
+
+cannot apply to current code?
+
+--- net-snmp-5.4.3~dfsg.orig/configure.in
++++ net-snmp-5.4.3~dfsg/configure.in
+@@ -2890,6 +2890,9 @@
+ AC_DEFINE(HAVE_LIBKVM, 1, [Define to 1 if you have the `kvm' library (-lkvm).])
+ LAGENTLIBS="$LAGENTLIBS ${_libkvm}"
+ fi
++AC_CHECK_FUNC(nlist, AC_DEFINE(HAVE_NLIST, 1, [Define to 1 if you have the `nlist' function.]),
++ AC_CHECK_LIB(bsd, nlist, AC_DEFINE(HAVE_NLIST, 1, [Define to 1 if you have the `nlist' function.])
++ LAGENTLIBS="$LAGENTLIBS bsd"))
+
+ # DYNAMIC MODULE SUPPORT
+ AC_CHECK_FUNC(dlopen, AC_DEFINE(HAVE_DLOPEN, 1, [Define to 1 if you have the `dlopen' function.]),
diff --git a/debian/patches/fix_logging_option.patch b/debian/patches/fix_logging_option.patch
new file mode 100644
index 0000000..675737f
--- /dev/null
+++ b/debian/patches/fix_logging_option.patch
@@ -0,0 +1,23 @@
+Description: fix man description
+Author: Hideki Yamane <henrich@debian.org>
+
+---
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/616437
+Forwarded: no
+Last-Update: 2013-01-23
+
+--- net-snmp-5.7.2~dfsg.orig/man/snmpd.8.def
++++ net-snmp-5.7.2~dfsg/man/snmpd.8.def
+@@ -78,9 +78,9 @@ To get a list of compiled modules, run t
+ .I "\-Dmib_init \-H"
+ (assuming debugging support has been compiled in).
+ .TP
+-.B \-L[efos]
++.B \-L[eEfFoOsS]
+ Specify where logging output should be directed (standard error or output,
+-to a file or via syslog). See LOGGING OPTIONS in snmpcmd(5) for details.
++to a file or via syslog). See LOGGING OPTIONS in snmpcmd(1) for details.
+ .TP
+ .BR \-m " \fIMIBLIST"
+ Specifies a colon separated list of MIB modules to load for this
diff --git a/debian/patches/fix_man_error.patch b/debian/patches/fix_man_error.patch
new file mode 100644
index 0000000..5cbda9c
--- /dev/null
+++ b/debian/patches/fix_man_error.patch
@@ -0,0 +1,25 @@
+Description: fix man error
+
+ - mib2c.conf
+ http://lintian.debian.org/tags/manpage-has-bad-whatis-entry.html
+
+
+Author: Hideki Yamane <henrich@debian.org>
+
+---
+Origin: vendor
+Forwarded: no
+Last-Update: 2013-01-26
+
+Index: net-snmp-5.7.2~dfsg/man/mib2c.conf.5.in
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/man/mib2c.conf.5.in 2013-01-26 19:04:05.000000000 +0900
++++ net-snmp-5.7.2~dfsg/man/mib2c.conf.5.in 2013-01-26 19:04:05.000000000 +0900
+@@ -1,6 +1,6 @@
+ .TH MIB2C.CONF 5 "28 Apr 2004" VVERSIONINFO "Net-SNMP"
+ .SH NAME
+-mib2c.conf \[em] How to write mib2c.conf files to do ANYTHING based on MIB input.
++mib2c.conf - How to write mib2c.conf files to do ANYTHING based on MIB input.
+ .SH SYNOPSIS
+ % cat > mib2c.test.conf << EOF
+ @foreach $t table@
diff --git a/debian/patches/fix_manpage-has-errors-from-man.patch b/debian/patches/fix_manpage-has-errors-from-man.patch
new file mode 100644
index 0000000..54e8a55
--- /dev/null
+++ b/debian/patches/fix_manpage-has-errors-from-man.patch
@@ -0,0 +1,21 @@
+Description: variables(5) lines over 80 width
+
+$ LC_ALL=C MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z man/variables.5.def > /dev/null
+
+ cause error.
+
+Forwarded: no
+Last-Update: 2014-01-11
+
+--- net-snmp-5.7.2~dfsg.orig/man/variables.5.def
++++ net-snmp-5.7.2~dfsg/man/variables.5.def
+@@ -84,7 +84,8 @@ A variant of this (typically used when w
+ text, rather than running programs), is to combine the name and
+ numeric subidentifier:
+ .RS
+- .iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1).sysDescr(1)
++ .iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).system(1)
++ .sysDescr(1)
+ .RE
+
+ .SS Module-qualified OIDs
diff --git a/debian/patches/fix_manpage-has-errors_break_line.patch b/debian/patches/fix_manpage-has-errors_break_line.patch
new file mode 100644
index 0000000..f642d2b
--- /dev/null
+++ b/debian/patches/fix_manpage-has-errors_break_line.patch
@@ -0,0 +1,43 @@
+Description: fix manpage error
+
+ see http://lintian.debian.org/tags/manpage-has-errors-from-man.html
+
+Author: Hideki Yamane <henrich@debian.org>
+
+---
+Forwarded: no
+Last-Update: 2013-04-26
+
+--- net-snmp-5.7.2~dfsg.orig/man/snmpcmd.1.def
++++ net-snmp-5.7.2~dfsg/man/snmpcmd.1.def
+@@ -888,7 +888,7 @@ The standard prefix for object identifie
+ Defaults to .iso.org.dod.internet.mgmt.mib\-2
+ .IP MIBS
+ The list of MIBs to load. Defaults to
+-SNMPv2\-TC:SNMPv2\-MIB:IF\-MIB:IP\-MIB:TCP\-MIB:UDP\-MIB:SNMP\-VACM\-MIB.
++SNMPv2\-TC\:SNMPv2\-MIB:IF\-MIB:IP\-MIB\:TCP\-MIB\:UDP\-MIB\:SNMP\-VACM\-MIB.
+ Overridden by the
+ .B \-m
+ option.
+--- net-snmp-5.7.2~dfsg.orig/man/netsnmp_mib_api.3.def
++++ net-snmp-5.7.2~dfsg/man/netsnmp_mib_api.3.def
+@@ -277,7 +277,7 @@ A colon separated list of MIB modules to
+ .br
+ The default list of modules will depend on how the Net-SNMP software
+ was originally compiled, but is typically:
+-IP\-MIB:IF\-MIB:TCP\-MIB:UDP\-MIB:SNMPv2\-MIB:RFC1213\-MIB: UCD\-SNMP\-MIB:HOST\-RESOURCES\-MIB
++IP\-MIB\:IF\-MIB\:TCP\-MIB\:UDP\-MIB\:SNMPv2\-MIB\:RFC1213\-MIB\: UCD\-SNMP\-MIB\:HOST\-RESOURCES\-MIB
+ .IP
+ If the value of the
+ .B MIBS
+--- net-snmp-5.7.2~dfsg.orig/man/netsnmp_config_api.3.def
++++ net-snmp-5.7.2~dfsg/man/netsnmp_config_api.3.def
+@@ -365,7 +365,7 @@ function that it should abort the operat
+ SNMPCONFPATH
+ A colon separated list of directories to search for configuration
+ files in.
+-Default: SYSCONFDIR/snmp:DATADIR/snmp:LIBDIR/snmp:$HOME/.snmp
++Default\: SYSCONFDIR/snmp\:DATADIR/snmp\:LIBDIR/snmp\:$HOME/.snmp
+ .SH "SEE ALSO"
+ .BR mib_api "(3), " snmp_api (3)
+ .\" Local Variables:
diff --git a/debian/patches/fix_regular_expression.patch b/debian/patches/fix_regular_expression.patch
new file mode 100644
index 0000000..97f79bb
--- /dev/null
+++ b/debian/patches/fix_regular_expression.patch
@@ -0,0 +1,46 @@
+Description: fix regular expression mismatching
+ setup.py would find library via net-snmp-config, however, its result also
+ matches to "-L/usr/lib/x86_64-linux-gnu" and return "inux-gnu" as library
+ in Debian/Ubuntu enabling Multi-Arch environtment as below.
+>>> import os
+>>> import re
+>>> import string
+>>> import sys
+>>> netsnmp_libs="-Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmp -lcrypto -lm"
+>>> print netsnmp_libs
+-Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmp -lcrypto -lm
+>>> re.findall(r"-l(\S+)", netsnmp_libs)
+['inux-gnu', 'netsnmp', 'crypto', 'm']
+
+ Just inserting space will fix this.
+>>> re.findall(r" -l(\S+)", netsnmp_libs)
+['netsnmp', 'crypto', 'm']
+
+Author: Hideki Yamane <henrich@debian.org>
+
+---
+Origin: vendor
+Forwarded: no
+Last-Update: 2013-01-07
+
+Index: net-snmp-5.7.1~dfsg/python/setup.py
+===================================================================
+--- net-snmp-5.7.1~dfsg.orig/python/setup.py 2013-01-07 11:33:32.346195340 +0900
++++ net-snmp-5.7.1~dfsg/python/setup.py 2013-01-07 11:33:58.654255360 +0900
+@@ -18,14 +18,14 @@
+ netsnmp_libs = os.popen(basedir+'/net-snmp-config --libs').read()
+ libdir = os.popen(basedir+'/net-snmp-config --build-lib-dirs '+basedir).read()
+ incdir = os.popen(basedir+'/net-snmp-config --build-includes '+basedir).read()
+- libs = re.findall(r"-l(\S+)", netsnmp_libs)
++ libs = re.findall(r" -l(\S+)", netsnmp_libs)
+ libdirs = re.findall(r"-L(\S+)", libdir)
+ incdirs = re.findall(r"-I(\S+)", incdir)
+ else:
+ netsnmp_libs = os.popen('net-snmp-config --libs').read()
+ libdirs = re.findall(r"-L(\S+)", netsnmp_libs)
+ incdirs = []
+- libs = re.findall(r"-l(\S+)", netsnmp_libs)
++ libs = re.findall(r" -l(\S+)", netsnmp_libs)
+
+ setup(
+ name="netsnmp-python", version="1.0a1",
diff --git a/debian/patches/fix_snmpcheck_perl_path.patch b/debian/patches/fix_snmpcheck_perl_path.patch
new file mode 100644
index 0000000..7d7b9de
--- /dev/null
+++ b/debian/patches/fix_snmpcheck_perl_path.patch
@@ -0,0 +1,19 @@
+Description: fix snmpcheck shebang
+ Just don't use /usr/local/bin/perl...
+
+Author: Hideki Yamane <henrich@debian.org>
+
+---
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/44373
+Forwarded: not-needed
+Last-Update: 2012-07-17
+
+--- net-snmp-5.7.1~dfsg.orig/local/snmpcheck.def
++++ net-snmp-5.7.1~dfsg/local/snmpcheck.def
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl
+
+ use strict 'refs';
+ require Net::Ping;
diff --git a/debian/patches/fix_spelling_error.patch b/debian/patches/fix_spelling_error.patch
new file mode 100644
index 0000000..b86c706
--- /dev/null
+++ b/debian/patches/fix_spelling_error.patch
@@ -0,0 +1,52 @@
+Description: fix spelling error
+Author: Hideki Yamane <henrich@debian.org>
+
+---
+Origin: vendor
+Forwarded: no
+Last-Update: 2013-01-22
+
+--- net-snmp-5.7.2~dfsg.orig/apps/encode_keychange.c
++++ net-snmp-5.7.2~dfsg/apps/encode_keychange.c
+@@ -403,7 +403,7 @@ usage_to_file(FILE * ofp)
+ "-f will require reading from the stdin/terminal, ignoring a) and b).\n\
+ -P will prevent prompts for passphrases to stdout from being printed.\n\
+ \n\
+- <engineID> is interpreted as a hex string when preceeded by \"0x\",\n\
++ <engineID> is interpreted as a hex string when preceded by \"0x\",\n\
+ otherwise it is created to contain \"text\". If nothing is given,\n\
+ <engineID> is constructed from the first IP address for the local host.\n");
+
+--- net-snmp-5.7.2~dfsg.orig/apps/snmpusm.c
++++ net-snmp-5.7.2~dfsg/apps/snmpusm.c
+@@ -150,7 +150,7 @@ usage(void)
+ fprintf(stderr, "\t\t\t(it won't be active until you active it)\n");
+ fprintf(stderr, "\t-Cx\t\tChange the privacy key.\n");
+ fprintf(stderr, "\t-Ca\t\tChange the authentication key.\n");
+- fprintf(stderr, "\t-Ck\t\tAllows to use localized key (must start with 0x)\n");
++ fprintf(stderr, "\t-Ck\t\tAllows one to use localized key (must start with 0x)\n");
+ fprintf(stderr, "\t\t\tinstead of passphrase.\n");
+ }
+
+--- net-snmp-5.7.2~dfsg.orig/apps/snmpnetstat/inet6.c
++++ net-snmp-5.7.2~dfsg/apps/snmpnetstat/inet6.c
+@@ -333,7 +333,7 @@ icmp6_stats(const char *name)
+ struct stat_table icmp6stats_tbl[] = {
+ {1, "%d total message%s received"},
+ {2, "%d message%s dropped due to errors"},
+- {18, "%d ouput message request%s"},
++ {18, "%d output message request%s"},
+ {19, "%d output message%s discarded"},
+ {0, ""}
+ };
+--- net-snmp-5.7.2~dfsg.orig/apps/snmpnetstat/inet.c
++++ net-snmp-5.7.2~dfsg/apps/snmpnetstat/inet.c
+@@ -445,7 +445,7 @@ icmp_stats(const char *name)
+ struct stat_table icmpstats_tbl[] = {
+ {1, "%d total message%s received"},
+ {2, "%d message%s dropped due to errors"},
+- {14, "%d ouput message request%s"},
++ {14, "%d output message request%s"},
+ {15, "%d output message%s discarded"},
+ {0, ""}
+ };
diff --git a/debian/patches/fix_typo_in_snmpd.conf.patch b/debian/patches/fix_typo_in_snmpd.conf.patch
new file mode 100644
index 0000000..acab1d6
--- /dev/null
+++ b/debian/patches/fix_typo_in_snmpd.conf.patch
@@ -0,0 +1,19 @@
+Description: fix typo
+Author: Hideki Yamane <henrich@debian.org>
+---
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/603593
+Forwarded: no
+Last-Update: 2013-01-23
+
+--- net-snmp-5.7.2~dfsg.orig/EXAMPLE.conf.def
++++ net-snmp-5.7.2~dfsg/EXAMPLE.conf.def
+@@ -63,7 +63,7 @@ view systemonly included .1.3.6.1.2
+ #rwuser authPrivUser priv
+
+ # It's no longer typically necessary to use the full 'com2sec/group/access' configuration
+-# r[ou]user and r[ow]community, together with suitable views, should cover most requirements
++# r[ow]user and r[ow]community, together with suitable views, should cover most requirements
+
+
+
diff --git a/debian/patches/net-snmp-config_multi-arch.patch b/debian/patches/net-snmp-config_multi-arch.patch
new file mode 100644
index 0000000..60b653e
--- /dev/null
+++ b/debian/patches/net-snmp-config_multi-arch.patch
@@ -0,0 +1,32 @@
+Description: enable Multi-Arch support in net-snmp-config
+ specify $DEB_HOST_MULTIARCH to enable Multi-Arch
+
+Author: Hideki Yamane <henrich@debian.org>
+
+---
+Origin: vendor
+Forwarded: no
+Last-Update: 2012-07-18
+
+Index: net-snmp-5.7.2~dfsg/net-snmp-config.in
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/net-snmp-config.in 2013-01-14 16:10:26.524006164 +0900
++++ net-snmp-5.7.2~dfsg/net-snmp-config.in 2013-01-14 16:13:34.584345846 +0900
+@@ -90,14 +90,14 @@
+ --prefix=*)
+ prefix=$optarg
+ NSC_PREFIX=${prefix}
+- NSC_INCLUDEDIR=${prefix}/include
+- NSC_LIBDIR=-L${prefix}/lib
++ NSC_INCLUDEDIR=${prefix}/include/$DEB_HOST_MULTIARC/,${prefix}/include/
++ NSC_LIBDIR=-L${prefix}/lib/$DEB_HOST_MULTIARCH/,${prefix}/lib/
+ ;;
+
+ --exec-prefix=*)
+ exec_prefix=$optarg
+ NSC_EXEC_PREFIX=${exec_prefix}
+- NSC_LIBDIR=-L${exec_prefix}/lib
++ NSC_LIBDIR=-L${exec_prefix}/lib/$DEB_HOST_MULTIARCH/,${prefix}/lib/
+ ;;
+
+ --debug-tokens|--deb*|--dbg*)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5824dcd
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,24 @@
+02_statistics.patch
+03_makefiles.patch
+05_searchdirs.patch
+06_extramibs.patch
+07_docfiles.patch
+26_kfreebsd.patch
+27_kfreebsd_bug625985.patch
+60_libsensors_api.patch
+61_vacm_missing_dependency_check.patch
+62_add_lib_cflags.patch
+64_missing_lib.patch
+fix_snmpcheck_perl_path.patch
+fix_regular_expression.patch
+snmptranslate.1.patch
+fix_spelling_error.patch
+#net-snmp-config_multi-arch.patch
+fix_logging_option.patch
+fix_typo_in_snmpd.conf.patch
+fix_man_error.patch
+after_RFC5378
+fix_manpage-has-errors_break_line.patch
+add_rocommunity6.patch
+fix_manpage-has-errors-from-man.patch
+agentx-crash.patch
diff --git a/debian/patches/snmptranslate.1.patch b/debian/patches/snmptranslate.1.patch
new file mode 100644
index 0000000..b95b933
--- /dev/null
+++ b/debian/patches/snmptranslate.1.patch
@@ -0,0 +1,60 @@
+Description: fix hyphen-used-as-minus-sign
+ fix lintian "hyphen-used-as-minus-sign" warnings.
+
+Author: Hideki Yamane <henrich@debian.org>
+
+---
+Origin: vendor
+Forwarded: no
+Last-Update: 2012-07-17
+
+Index: net-snmp-5.7.2~dfsg/man/snmptranslate.1.def
+===================================================================
+--- net-snmp-5.7.2~dfsg.orig/man/snmptranslate.1.def 2012-10-10 07:28:58.000000000 +0900
++++ net-snmp-5.7.2~dfsg/man/snmptranslate.1.def 2013-01-15 01:19:05.000000000 +0900
+@@ -163,22 +163,22 @@
+ .nf
+ +--system(1)
+ |
+- +-- -R-- String sysDescr(1)
++ +-- \-R-- String sysDescr(1)
+ | Textual Convention: DisplayString
+ | Size: 0..255
+- +-- -R-- ObjID sysObjectID(2)
+- +-- -R-- TimeTicks sysUpTime(3)
+- +-- -RW- String sysContact(4)
++ +-- \-R-- ObjID sysObjectID(2)
++ +-- \-R-- TimeTicks sysUpTime(3)
++ +-- \-RW- String sysContact(4)
+ | Textual Convention: DisplayString
+ | Size: 0..255
+- +-- -RW- String sysName(5)
++ +-- \-RW- String sysName(5)
+ | Textual Convention: DisplayString
+ | Size: 0..255
+- +-- -RW- String sysLocation(6)
++ +-- \-RW- String sysLocation(6)
+ | Textual Convention: DisplayString
+ | Size: 0..255
+- +-- -R-- Integer sysServices(7)
+- +-- -R-- TimeTicks sysORLastChange(8)
++ +-- \-R-- Integer sysServices(7)
++ +-- \-R-- TimeTicks sysORLastChange(8)
+ | Textual Convention: TimeStamp
+ |
+ +--sysORTable(9)
+@@ -186,11 +186,11 @@
+ +--sysOREntry(1)
+ |
+ +-- ---- Integer sysORIndex(1)
+- +-- -R-- ObjID sysORID(2)
+- +-- -R-- String sysORDescr(3)
++ +-- \-R-- ObjID sysORID(2)
++ +-- \-R-- String sysORDescr(3)
+ | Textual Convention: DisplayString
+ | Size: 0..255
+- +-- -R-- TimeTicks sysORUpTime(4)
++ +-- \-R-- TimeTicks sysORUpTime(4)
+ Textual Convention: TimeStamp
+
+ .fi
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..f533bb9
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] snmpd.templates
diff --git a/debian/po/ca.po b/debian/po/ca.po
new file mode 100644
index 0000000..a958752
--- /dev/null
+++ b/debian/po/ca.po
@@ -0,0 +1,52 @@
+# 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 PACKAGE package.
+# Innocent De Marchi <tangram.peces@gmail.com>, 2011
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: 5.4.3~dfsg-2.3\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2011-09-07 17:04+0100\n"
+"Last-Translator: Innocent De Marchi <tangram.peces@gmail.com>\n"
+"Language-Team: Catalan <debian-l10n-catalan@lists.debian.org>\n"
+"Language: ca\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Catalan\n"
+"X-Poedit-Country: Spain\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Canvi dels paràmetres predeterminats des de la versió 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr ""
+"S'han canviat els paràmetres d'arrancada predeterminats de l'agent i dimoni "
+"«snmpd»."
+
+#. 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 ""
+"El dimoni s'engega amb l'usuari «snmp», lligat únicament amb el servidor "
+"local i s'executa amb el suport de multiplexat SNMP (SMUX) desactivat. Cada "
+"un dels paràmetres es poden canviar a «/etc/default/snmpd»."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr "Llegiu «/usr/share/doc/snmpd/NEWS.Debian.gz» per més detalls."
diff --git a/debian/po/cs.po b/debian/po/cs.po
new file mode 100644
index 0000000..1ff7487
--- /dev/null
+++ b/debian/po/cs.po
@@ -0,0 +1,71 @@
+# 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 <kurem@debian.cz>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-05-31 13:24+0100\n"
+"Last-Translator: Grumpa <v.matys@grumpa.net>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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:2001
+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: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 ""
+"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:2001
+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žší"
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644
index 0000000..29b10f5
--- /dev/null
+++ b/debian/po/da.po
@@ -0,0 +1,75 @@
+# 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 <claus.hindsgaul@gmail.com>, 2006, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp debconf\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-06-02 10:05+0200\n"
+"Last-Translator: Claus Hindsgaul <claus.hindsgaul@gmail.com>\n"
+"Language-Team: Danish\n"
+"Language: \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:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Standardindstillinger, der er ndret siden version 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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: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 ""
+"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:2001
+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"
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644
index 0000000..2dd6994
--- /dev/null
+++ b/debian/po/de.po
@@ -0,0 +1,72 @@
+# Translation of net-snmp debconf templates to German
+# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 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: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-05-31 22:02+0200\n"
+"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
+"Language-Team: de <debian-l10n-german@lists.debian.org>\n"
+"Language: \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:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Standardparameter seit Version 5.2.1 gendert"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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: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 ""
+"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:2001
+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"
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644
index 0000000..7ac7651
--- /dev/null
+++ b/debian/po/es.po
@@ -0,0 +1,103 @@
+# 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 (<debian-l10n-spanish@lists.debian.org>)
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp 5.2.3-4\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-06-03 17:39+0200\n"
+"Last-Translator: Javier Fernndez-Sanguino <jfs@debian.org>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"Language: \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:2001
+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:2001
+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: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 ""
+"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:2001
+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"
diff --git a/debian/po/eu.po b/debian/po/eu.po
new file mode 100644
index 0000000..0fc4e54
--- /dev/null
+++ b/debian/po/eu.po
@@ -0,0 +1,51 @@
+# 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 <pi@beobide.net>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp-templates\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-05-31 23:10+0200\n"
+"Last-Translator: Piarres Beobide <pi@beobide.net>\n"
+"Language-Team: Euskara <Librezale@librezale.org>\n"
+"Language: \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:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Lehenetsiriko parametroak aldatu egin dira 5.2.1 bertsiotik"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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: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 ""
+"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:2001
+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."
diff --git a/debian/po/fi.po b/debian/po/fi.po
new file mode 100644
index 0000000..5c0d113
--- /dev/null
+++ b/debian/po/fi.po
@@ -0,0 +1,48 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp_5.4.1~dfsg-4\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-10-29 00:28+0200\n"
+"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
+"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
+"Language: fi\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."
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644
index 0000000..9d3ab21
--- /dev/null
+++ b/debian/po/fr.po
@@ -0,0 +1,53 @@
+# This file is distributed under the same license as the net-snmp package.
+#
+# Copyright (C) 2006, Cédric Favry <bibounot@yahoo.fr>
+# Christian Perrier <bubulle@debian.org>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: fr\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-06-15 07:27+0200\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"Language: fr\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:2001
+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:2001
+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: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 ""
+"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:2001
+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."
diff --git a/debian/po/gl.po b/debian/po/gl.po
new file mode 100644
index 0000000..b13905f
--- /dev/null
+++ b/debian/po/gl.po
@@ -0,0 +1,69 @@
+# Galician translation of net-snmp's debconf templates.
+# This file is distributed under the same license as the net-snmp package.
+# Jacobo Tarrio <jtarrio@debian.org>, 2006, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-05-31 09:37+0200\n"
+"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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:2001
+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: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 ""
+"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:2001
+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"
diff --git a/debian/po/id.po b/debian/po/id.po
new file mode 100644
index 0000000..6f25e8e
--- /dev/null
+++ b/debian/po/id.po
@@ -0,0 +1,43 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp 5.4.3~dfsg-2.4\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2012-01-02 12:55+0700\n"
+"Last-Translator: Mahyuddin Susanto <udienz@ubuntu.com>\n"
+"Language-Team: Debian Indonesia Translator <debian-l10n-indonesian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Indonesian\n"
+"X-Poedit-Country: INDONESIA\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Parameter bawaan berubah sejak versi 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "The default start parameters of the snmpd agent/daemon have been changed."
+msgstr "Parameter bawaan pemulai dari daemon snmpd agend/daemon telah berubah"
+
+#. 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 "Daemon sekarang dimulai dari pengguna snmp, hanya untuk localhost dengan dukungan SNMP multiplexing diaktifkan. Semua ini dapat diubah di /etc/default/snmpd."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr "Mohon lihat /usr/share/doc/snmpd/NEWS.Debian.gz untuk selengkapnya"
+
diff --git a/debian/po/it.po b/debian/po/it.po
new file mode 100644
index 0000000..2e2bb44
--- /dev/null
+++ b/debian/po/it.po
@@ -0,0 +1,49 @@
+# 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 <luca.mo@tiscali.it>, 2006, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp 5.4 italian debconf templates\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-06-09 13:56+0200\n"
+"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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:2001
+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: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 ""
+"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:2001
+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."
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644
index 0000000..56d93c7
--- /dev/null
+++ b/debian/po/ja.po
@@ -0,0 +1,51 @@
+# Copyright (C) 2008 Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org>
+# 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) <henrich@debian.or.jp>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp 5.4.1~dfsg-8.1\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2008-07-31 11:21+0200\n"
+"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "バージョン 5.2.1 からデフォルトのパラメータが変更されました"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr ""
+"snmpd エージェントおよびデーモンのデフォルトの起動パラメータが変更されまし"
+"た。"
+
+#. 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 ""
+"daemon はこれよりユーザ snmp として起動され、localhost のみが通信可能であり、"
+"SNMP マルチプレキシング (SMUX) サポートは無効にされます。これらのパラメータは"
+"すべて個別に /etc/default/snmpd で変更できます。"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr ""
+"詳細については /usr/share/doc/snmpd/NEWS.Debian.gz を参照してください。"
diff --git a/debian/po/ko.po b/debian/po/ko.po
new file mode 100644
index 0000000..6704c86
--- /dev/null
+++ b/debian/po/ko.po
@@ -0,0 +1,52 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: debconf template\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2011-06-11 15:23+0900\n"
+"Last-Translator: si-cheol KO <kosicheol@gmail.com>\n"
+"Language-Team: Korean <debian-l10n-korean@lists.debian.org>\n"
+"Language: ko\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Korean\n"
+"X-Poedit-Country: KOREA, REPUBLIC OF\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "버전 5.2.1 이후부터 기본 파라메터가 변경되었음"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr "SNMP 에이전트/데몬의 기본 시작 파라메터가 변경되었습니다."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+#, fuzzy
+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로 시작되고 로컬호스트에 바인드됩니다. SNMP 멀티플렉싱"
+"(SMUX) 지원은 사용할 수 없습니다. 이런 파라메터들은 /etc/default/snmpd에서 개"
+"별적으로 바꿀 수 있습니다."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr "세부정보는 /usr/share/doc/snmpd/NEWS.Debian.gz파일을 참조하세요."
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644
index 0000000..9016189
--- /dev/null
+++ b/debian/po/nl.po
@@ -0,0 +1,50 @@
+# 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 <zweije@xs4all.nl>, 2006-2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp 5.2.2-3\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2008-01-03 22:16+0000\n"
+"Last-Translator: Vincent Zweije <zweije@xs4all.nl>\n"
+"Language-Team: Debian-Dutch <debian-l10n-dutch@lists.debian.org>\n"
+"Language: \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:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Standaard parameters gewijzigd vanaf versie 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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: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 ""
+"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:2001
+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."
diff --git a/debian/po/pl.po b/debian/po/pl.po
new file mode 100644
index 0000000..b3adb44
--- /dev/null
+++ b/debian/po/pl.po
@@ -0,0 +1,54 @@
+# Translation of net-snmp debconf templates to Polish.
+# Copyright (C) 2011
+# This file is distributed under the same license as the net-snmp package.
+#
+# Michał Kułach <michal.kulach@gmail.com>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2012-02-15 18:38+0100\n"
+"Last-Translator: Michał Kułach <michal.kulach@gmail.com>\n"
+"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.2\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Domyślne parametry zmieniły się od wersji 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr "Domyślne parametry startowe agenta/demona snmpd zmieniły się."
+
+#. 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 ""
+"Demon jest teraz uruchamiany jako użytkownik snmp, powiązany jedynie z "
+"localhost oraz działa z wyłączonym multipleksowaniem SNMP (SMUX). Parametry "
+"te mogą być zmienione w pliku /etc/default/snmpd."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr ""
+"Proszę zapoznać się z /usr/share/doc/snmpd/NEWS.Debian.gz, aby uzyskać więcej "
+"szczegółów."
+
diff --git a/debian/po/pt.po b/debian/po/pt.po
new file mode 100644
index 0000000..0acd55d
--- /dev/null
+++ b/debian/po/pt.po
@@ -0,0 +1,50 @@
+# Portuguese translation of net-snmp debconf messages.
+# This file is distributed under the same license as the net-snmp package.
+# Rui Branco <ruipb@debianpt.org>, 2006.
+# 01-06-2007 - Rui Branco <ruipb@debianpt.org>
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp 5.4~dfsg-2\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-06-01 17:40+0100\n"
+"Last-Translator: Rui Branco <ruipb@debianpt.org>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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:2001
+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: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 ""
+"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:2001
+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."
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644
index 0000000..71e4653
--- /dev/null
+++ b/debian/po/pt_BR.po
@@ -0,0 +1,52 @@
+# 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 <andrelop@debian.org>, 2006.
+# Herbert Parentes Fortes Neto <h_p_f_n@yahoo.com.br>, 2007
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-06-02 09:04:21-0300\n"
+"Last-Translator: Herbert Parentes Fortes Neto <h_p_f_n@yahoo.com.br>\n"
+"Language-Team: l10n portuguese <debian-l10n-portuguese@lists.debian.org>\n"
+"Language: \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:2001
+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:2001
+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: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 ""
+"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:2001
+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."
diff --git a/debian/po/ro.po b/debian/po/ro.po
new file mode 100644
index 0000000..63576a9
--- /dev/null
+++ b/debian/po/ro.po
@@ -0,0 +1,76 @@
+# 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 <stan.ieugen@gmail.com>, 2006.
+# Eddy Petrișor <eddy.petrisor@gmail.com>, 2008.
+msgid ""
+msgstr ""
+"Project-Id-Version: ro\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2008-11-15 04:18+0200\n"
+"Last-Translator: Eddy Petrișor <eddy.petrisor@gmail.com>\n"
+"Language-Team: Romanian <debian-l10n-romanian@lists.debian.org>\n"
+"Language: ro\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:2001
+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:2001
+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: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 ""
+"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:2001
+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ă"
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644
index 0000000..b6a2756
--- /dev/null
+++ b/debian/po/ru.po
@@ -0,0 +1,52 @@
+# 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 <kozlov.y@gmail.com>, 2006, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp_5.2.2-4\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-06-03 12:33+0400\n"
+"Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"Language: ru\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:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Изменение в настройках по умолчанию, начиная с версии 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr "Изменились параметры запуска агента/демона snmpd."
+
+#. 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 ""
+"Теперь демон запускается с правами пользователя snmp, ожидает запросы только "
+"от localhost и при работе мультиплексирование SNMP (SMUX) выключено. Каждую "
+"из этих настроек можно изменить в файле /etc/default/snmpd."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr ""
+"Подробней об этом смотрите в файле /usr/share/doc/snmpd/NEWS.Debian.gz."
diff --git a/debian/po/sk.po b/debian/po/sk.po
new file mode 100644
index 0000000..1024ba4
--- /dev/null
+++ b/debian/po/sk.po
@@ -0,0 +1,50 @@
+# Slovak translations for net-snmp package
+# Slovenské preklady pre balík net-snmp.
+# Copyright (C) 2011 THE net-snmp'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the net-snmp package.
+# Slavko <linux@slavino.sk>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp 5.4.3\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2011-07-21 16:15+0200\n"
+"Last-Translator: Slavko <linux@slavino.sk>\n"
+"Language-Team: Slovak <nomail>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Predvolené parametre boli od verzie 5.2.1 zmenené"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr "Predvolené štartovacie parametre agenta/démona snmpd boli zmenené."
+
+#. 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 ""
+"Démon je teraz spúšťaný pod používateľom snmp, je viazaný len na localhost a "
+"beží s vypnutou podporou multiplexingu SNMP (SMUX). Všetky tieto parametre "
+"môžu byť individuálne zmenené v /etc/default/snmpd."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr "Prosím pozrite si detaily v /usr/share/doc/snmpd/NEWS.Debian.gz."
diff --git a/debian/po/sr.po b/debian/po/sr.po
new file mode 100644
index 0000000..6c36c99
--- /dev/null
+++ b/debian/po/sr.po
@@ -0,0 +1,51 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) 2011
+# This file is distributed under the same license as the net-snmp package.
+# Zlatan Todoric <zlatan.todoric@gmail.com>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Zlatan Todoric <zlatan.todoric@gmail.com>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Подразумијевани параметри су промијењени са верзијом 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr ""
+"Подразумијевани почетни параметри (snmpd) агента/позадинског процеса су "
+"промијењени."
+
+#. 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 ""
+"Позадински процес је сада покренут као корисник (snmp), везује се само "
+"локално и покреће се са искљученом (SNMP multiplexing (SMUX)) подршком. Ови "
+"параметри могубити појединачно промијењени у /etc/default/snmpd."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr ""
+"Молимо вас погледајте /usr/share/doc/snmpd/NEWS.Debian.gz за више детаља."
diff --git a/debian/po/sr@latin.po b/debian/po/sr@latin.po
new file mode 100644
index 0000000..91c32e6
--- /dev/null
+++ b/debian/po/sr@latin.po
@@ -0,0 +1,51 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) 2011
+# This file is distributed under the same license as the net-snmp package.
+# Zlatan Todoric <zlatan.todoric@gmail.com>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Zlatan Todoric <zlatan.todoric@gmail.com>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Podrazumijevani parametri su promijenjeni sa verzijom 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr ""
+"Podrazumijevani početni parametri (snmpd) agenta/pozadinskog procesa su "
+"promijenjeni."
+
+#. 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 ""
+"Pozadinski proces je sada pokrenut kao korisnik (snmp), vezuje se samo "
+"lokalno i pokreće se sa isključenom (SNMP multiplexing (SMUX)) podrškom. Ovi "
+"parametri mogubiti pojedinačno promijenjeni u /etc/default/snmpd."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr ""
+"Molimo vas pogledajte /usr/share/doc/snmpd/NEWS.Debian.gz za više detalja."
diff --git a/debian/po/sv.po b/debian/po/sv.po
new file mode 100644
index 0000000..2cc735d
--- /dev/null
+++ b/debian/po/sv.po
@@ -0,0 +1,71 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp 5.2.2-3\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2008-07-21 19:28+0100\n"
+"Last-Translator: Martin Bagge <brother@bsnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\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:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "Standardparametrar ndrade sedan version 5.2.1"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+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: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 ""
+"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:2001
+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"
diff --git a/debian/po/ta.po b/debian/po/ta.po
new file mode 100644
index 0000000..baaab14
--- /dev/null
+++ b/debian/po/ta.po
@@ -0,0 +1,49 @@
+# 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 <agnihot3@gmail.com>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-06-09 13:31+0530\n"
+"Last-Translator: Dr.T.Vasudevan <agnihot3@gmail.com>\n"
+"Language-Team: TAMIL <ubuntu-l10n-tam@lists.ubuntu.com>\n"
+"Language: \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:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr "பதிப்பு 5.2.1 க்குப் பின் முன்னிருப்பு அளபுருக்கள் மாறி உள்ளன"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr "snmpd agent/daemon இல் துவங்கும் முன்னிருப்பு அளபுருக்கள் மாறி உள்ளன"
+
+#. 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 ""
+"கிங்கரன் இப்போது பயனர் எஸ்என்எம்பி(snmp) ஆக துவங்கி உள் புரவலனை மட்டும் பிணைக்கிறது. "
+"எஸ்என்எம்பி ஒன்று சேர்த்தல் (SMUX) ஆதரவு செயலிழப்புடன் அது இயங்குகிறது. இந்த எல்லா "
+"அளபுருக்களையும் தனித்தனியாக /etc/default/snmpd இல் மாற்றலாம்."
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr "மேல் தகவல்களுக்கு /usr/share/doc/snmpd/NEWS.Debian.gz ஐ காணவும்."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..03a55f7
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,46 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Default parameters changed since version 5.2.1"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid ""
+"The default start parameters of the snmpd agent/daemon have been changed."
+msgstr ""
+
+#. 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 ""
+
+#. Type: note
+#. Description
+#: ../snmpd.templates:2001
+msgid "Please see /usr/share/doc/snmpd/NEWS.Debian.gz for more details."
+msgstr ""
diff --git a/debian/po/vi.po b/debian/po/vi.po
new file mode 100644
index 0000000..935bf76
--- /dev/null
+++ b/debian/po/vi.po
@@ -0,0 +1,52 @@
+# Vietnamese translation for Net SNMP.
+# Copyright © 2007 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2007
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: net-snmp\n"
+"Report-Msgid-Bugs-To: net-snmp@packages.debian.org\n"
+"POT-Creation-Date: 2011-12-10 08:44+0100\n"
+"PO-Revision-Date: 2007-05-31 17:57+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
+"Language: vi\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:2001
+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:2001
+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: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 ""
+"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:2001
+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."
diff --git a/debian/python-netsnmp.install b/debian/python-netsnmp.install
new file mode 100644
index 0000000..80f0c2a
--- /dev/null
+++ b/debian/python-netsnmp.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f21494b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,112 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+# TODO
+# without -pie build fails during perl module build somehow...
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all,-pie
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+LIB_VERSION = 30
+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 = smux ucd-snmp/dlmod mibII/mta_sendmail disman/event-mib
+EXCL_MIB_MODULES =
+
+OLD_MIBS_DIR="/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp"
+MIBS_DIR="/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf"
+
+ifeq (linux,$(DEB_BUILD_ARCH_OS))
+MIB_MODULES += ucd-snmp/diskio ucd-snmp/lmsensorsMib etherlike-mib/dot3StatsTable
+IPV6 = --enable-ipv6
+DEB_DH_GENCONTROL_ARGS=-- -Vos-specific-dev="libsensors4-dev"
+else
+ifeq (kfreebsd,$(DEB_BUILD_ARCH_OS))
+IPV6 = --disable-ipv6
+DEB_DH_GENCONTROL_ARGS=-- -Vos-specific-dev="libkvm-dev"
+endif
+endif
+ifeq (hurd,$(DEB_BUILD_ARCH_OS))
+IPV6 = --enable-ipv6
+EXCL_MIB_MODULES += mibII
+else
+MIB_MODULES += host
+endif
+
+%:
+ dh $@ --with autotools-dev,autoreconf,python2
+
+override_dh_auto_configure:
+ 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-ldflags="$(LDFLAGS)" \
+ --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)" \
+ --with-out-mib-modules="$(EXCL_MIB_MODULES)" \
+ --enable-mfd-rewrites \
+ --with-mnttab=/etc/mtab \
+ --with-mibdirs="\$$HOME/.snmp/mibs:$(MIBS_DIR):$(OLD_MIBS_DIR)" \
+ --with-mysql \
+ --with-defaults
+# --with-python-modules="" # don't specify it, since dh_python2 cannot handle it.
+# --with-dnssec-local-validation # not enabled since libval doesn't exist in Debian yet
+
+override_dh_clean:
+ dh_clean
+ rm -rf `find . -name .libs` \
+ python/build \
+ python/netsnmp_python.egg-info
+
+override_dh_strip:
+ dh_strip -plibsnmp$(LIB_VERSION) --dbg-package=libsnmp$(LIB_VERSION)-dbg
+ dh_strip
+
+override_dh_makeshlibs:
+ dh_makeshlibs -plibsnmp$(LIB_VERSION) -V"libsnmp$(LIB_VERSION) (>= $(COMPAT_VERSION))"
+
+override_dh_install:
+ cd python; python setup.py build --basedir=$(CURDIR) ; \
+ python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb --basedir=$(CURDIR) ; \
+ find $(CURDIR) -name *.pyc -delete
+ install $(CURDIR)/EXAMPLE.conf $(CURDIR)/debian/snmpd/etc/snmp/snmpd.conf
+ dh_install
+
+override_dh_installdocs:
+ dh_installdocs --link-doc=libsnmp$(LIB_VERSION) \
+ -plibsnmp-dev \
+ -plibsnmp$(LIB_VERSION)-dbg \
+ -ppython-netsnmp \
+ -psnmpd \
+ -psnmp
+ dh_installdocs -plibsnmp-perl -ptkmib -plibsnmp-base
+ # dh_installdocs has a bug when --link-doc is called it don't install copyright file to referenced package
+ # so specify to copy it
+ install -d $(CURDIR)/debian/libsnmp$(LIB_VERSION)/usr/share/doc/libsnmp$(LIB_VERSION)/
+ install -m644 debian/copyright $(CURDIR)/debian/libsnmp$(LIB_VERSION)/usr/share/doc/libsnmp$(LIB_VERSION)/
+
+override_dh_fixperms:
+ dh_fixperms
+ chmod -x debian/libsnmp-dev/etc/snmp/*.conf
+ chmod 600 debian/snmpd/etc/snmp/snmp*d.conf
+
+override_dh_auto_test:
+ # prevent test since it fails with network configuration under pbuilder/etc.
+ true
+
+get-orig-source:
+ @uscan --download-version $(UPSTREAM_VERSION) --destdir /tmp --force-download --no-symlink
+ @tar xf /tmp/net-snmp-$(UPSTREAM_VERSION).tar.gz -C /tmp
+ @rm -rf /tmp/net-snmp-$(UPSTREAM_VERSION)/doc
+ @cd /tmp/net-snmp-$(UPSTREAM_VERSION)/mibs; \
+ grep ^iana ianalist | while read iana mibs; do rm -f `echo $$mibs | sed -e s/$$/.txt/`; done; \
+ cat rfclist | while read rfc mibs; do rm -f `echo $$mibs | sed 's/:/.txt /g' | sed 's/$$/.txt/'`; done
+ @rm -f /tmp/net-snmp-$(UPSTREAM_VERSION)/mibs/RFC-1215.txt
+ @cd /tmp; tar cJf net-snmp_$(COMPAT_VERSION).orig.tar.xz net-snmp-$(UPSTREAM_VERSION)
+ @rm -rf /tmp/net-snmp-$(UPSTREAM_VERSION)
diff --git a/debian/snmp.conf b/debian/snmp.conf
new file mode 100644
index 0000000..95a6e6f
--- /dev/null
+++ b/debian/snmp.conf
@@ -0,0 +1,4 @@
+# As the snmp packages come without MIB files due to license reasons, loading
+# of MIBs is disabled by default. If you added the MIBs you can reenable
+# loading them by commenting out the following line.
+mibs :
diff --git a/debian/snmp.install b/debian/snmp.install
new file mode 100644
index 0000000..8290285
--- /dev/null
+++ b/debian/snmp.install
@@ -0,0 +1,5 @@
+debian/snmp.conf etc/snmp/
+usr/bin/snmp*
+usr/bin/encode*
+usr/bin/fixproc
+usr/share/snmp/snmpconf-data/snmp-data
diff --git a/debian/snmp.lintian-overrides b/debian/snmp.lintian-overrides
new file mode 100644
index 0000000..e2f271c
--- /dev/null
+++ b/debian/snmp.lintian-overrides
@@ -0,0 +1 @@
+snmp: description-starts-with-package-name
diff --git a/debian/snmp.manpages b/debian/snmp.manpages
new file mode 100644
index 0000000..0ab3306
--- /dev/null
+++ b/debian/snmp.manpages
@@ -0,0 +1,4 @@
+man/snmp*.1
+man/encode*.1
+man/fixproc.1
+man/traptoemail.1
diff --git a/debian/snmp.postinst b/debian/snmp.postinst
new file mode 100644
index 0000000..da451d0
--- /dev/null
+++ b/debian/snmp.postinst
@@ -0,0 +1,34 @@
+#!/bin/sh
+# postinst script for snmp
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+ configure)
+
+ DOCDIR=/usr/share/doc/snmp
+ DOCLINK=libsnmp30
+
+ if [ -d $DOCDIR ] && [ ! -L $DOCDIR ]; then
+ rmdir $DOCDIR
+ ln -s $DOCLINK $DOCDIR
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/snmp.preinst b/debian/snmp.preinst
new file mode 100644
index 0000000..8f8c754
--- /dev/null
+++ b/debian/snmp.preinst
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+
+install|upgrade)
+ 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
+
+ killall -u snmp 2>/dev/null || true
+
+ ;;
+abort-upgrade)
+ ;;
+
+*)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/snmp.prerm b/debian/snmp.prerm
new file mode 100644
index 0000000..a02114d
--- /dev/null
+++ b/debian/snmp.prerm
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ killall -u snmp 2>/dev/null || true
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/snmpd.config b/debian/snmpd.config
new file mode 100644
index 0000000..209cd96
--- /dev/null
+++ b/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
diff --git a/debian/snmpd.default b/debian/snmpd.default
new file mode 100644
index 0000000..e47dec8
--- /dev/null
+++ b/debian/snmpd.default
@@ -0,0 +1,11 @@
+# This file controls the activity of snmpd
+
+# Don't load any MIBs by default.
+# You might comment this lines once you have the MIBs downloaded.
+export MIBS=
+
+# snmpd control (yes means start daemon).
+SNMPDRUN=yes
+
+# snmpd options (use syslog, close stdin/out/err).
+SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -p /run/snmpd.pid'
diff --git a/debian/snmpd.dirs b/debian/snmpd.dirs
new file mode 100644
index 0000000..230a402
--- /dev/null
+++ b/debian/snmpd.dirs
@@ -0,0 +1 @@
+etc/snmp
diff --git a/debian/snmpd.init b/debian/snmpd.init
new file mode 100644
index 0000000..3275f57
--- /dev/null
+++ b/debian/snmpd.init
@@ -0,0 +1,85 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: snmpd
+# 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 <jochen@scram.de>
+#
+set -e
+
+
+export PATH=/sbin:/usr/sbin:/bin:/usr/bin
+
+test -x /usr/sbin/snmpd || exit 0
+
+# Defaults
+OLD_MIBS_DIR="/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp"
+MIBS_DIR="/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf"
+export MIBDIRS="$MIBS_DIR:$OLD_MIBS_DIR"
+
+SNMP_PID="/run/snmpd.pid"
+SNMPDRUN="yes"
+SNMPDOPTS="-Lsd -Lf /dev/null -p $SNMP_PID"
+
+# Reads config file (will override defaults above)
+[ -r /etc/default/snmpd ] && . /etc/default/snmpd
+
+# Cd to / before starting any daemons.
+cd /
+
+case "$1" in
+ start)
+ log_daemon_msg "Starting SNMP services:"
+ # remove old symlink with previous version
+ if [ -L /var/run/agentx ]; then
+ rm -f /var/run/agentx
+ fi
+ if [ ! -d /var/run/agentx ]; then
+ mkdir -p /var/run/agentx
+ fi
+ 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
+ ;;
+ stop)
+ log_daemon_msg "Stopping SNMP services:"
+ start-stop-daemon --quiet --stop --oknodo --exec --retry 3 /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID
+ log_progress_msg " snmpd"
+ ;;
+ restart)
+ log_daemon_msg "Restarting SNMP services:"
+ start-stop-daemon --quiet --stop --oknodo --exec --retry 3 /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID
+ 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
+ ;;
+ reload|force-reload)
+ log_daemon_msg "Reloading SNMP services:"
+ if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then
+ start-stop-daemon --quiet --stop --signal 1 \
+ --pidfile "$SNMP_PID" --exec /usr/sbin/snmpd
+ log_progress_msg " snmpd"
+ fi
+ ;;
+ status)
+ status=0
+ if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then
+ status_of_proc /usr/sbin/snmpd snmpd || status=$?
+ fi
+ exit $status
+ ;;
+ *)
+ echo "Usage: /etc/init.d/snmpd {start|stop|restart|reload|force-reload|status}"
+ exit 1
+esac
+
+exit 0
diff --git a/debian/snmpd.install b/debian/snmpd.install
new file mode 100644
index 0000000..869de98
--- /dev/null
+++ b/debian/snmpd.install
@@ -0,0 +1,3 @@
+usr/sbin/snmpd
+usr/share/snmp/snmpconf-data/snmpd-data
+usr/share/snmp/snmp_perl.pl
diff --git a/debian/snmpd.lintian-overrides b/debian/snmpd.lintian-overrides
new file mode 100644
index 0000000..8821a55
--- /dev/null
+++ b/debian/snmpd.lintian-overrides
@@ -0,0 +1 @@
+snmpd: non-standard-file-perm etc/snmp/snmpd.conf 0600 != 0644
diff --git a/debian/snmpd.manpages b/debian/snmpd.manpages
new file mode 100644
index 0000000..4b51151
--- /dev/null
+++ b/debian/snmpd.manpages
@@ -0,0 +1,2 @@
+man/snmpd.conf.5
+man/snmpd.8
diff --git a/debian/snmpd.postinst b/debian/snmpd.postinst
new file mode 100644
index 0000000..3bcd8eb
--- /dev/null
+++ b/debian/snmpd.postinst
@@ -0,0 +1,63 @@
+#! /bin/sh
+
+SNMPDIR=/var/lib/snmp
+
+set -e
+
+case "$1" in
+ configure)
+
+ . /usr/share/debconf/confmodule
+ db_version 2.0
+
+ if [ ! getent passwd snmp >/dev/null ]; then
+
+ if [ ! getent group snmp >/dev/null ]; then
+ # no snmp user & group
+ adduser --quiet --system --group --home $SNMPDIR \
+ --shell /usr/sbin/nologin snmp
+ else
+ # no snmp user, but snmp group exists
+ adduser --quiet --system --ingroup snmp --home $SNMPDIR \
+ --shell /usr/sbin/nologin snmp
+ fi
+
+ elif [ ! getent group snmp >/dev/null ]; then
+
+ # snmp user exists but no snmp group
+ addgroup --quiet --system snmp
+
+ # if user is local system user (not LDAP or so), then exec usermod
+ # see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482041#25
+ if [ ! `getent passwd snmp | cut -d':' -f3` -ge 1000 ]; then
+ mkdir -p $SNMPDIR || true
+ usermod -d $SNMPDIR -m -g snmp -s /usr/sbin/nologin snmp
+ fi
+
+ fi
+
+ # Bug#709087
+ DOCDIR=/usr/share/doc/snmpd
+ DOCLINK=libsnmp30
+
+ if [ -d $DOCDIR ] && [ ! -L $DOCDIR ]; then
+ rmdir $DOCDIR
+ ln -s $DOCLINK $DOCDIR
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/snmpd.postrm b/debian/snmpd.postrm
new file mode 100644
index 0000000..b23db23
--- /dev/null
+++ b/debian/snmpd.postrm
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ $1 = purge ]; then
+ rm -f /var/lib/snmp/snmpd.conf*
+ rm -rf /var/run/agentx /var/agentx/master
+ rm -f /var/run/snmpd.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
diff --git a/debian/snmpd.preinst b/debian/snmpd.preinst
new file mode 100644
index 0000000..993dd6b
--- /dev/null
+++ b/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
diff --git a/debian/snmpd.templates b/debian/snmpd.templates
new file mode 100644
index 0000000..da376a8
--- /dev/null
+++ b/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.
diff --git a/debian/snmptrapd.conf b/debian/snmptrapd.conf
new file mode 100644
index 0000000..d037b52
--- /dev/null
+++ b/debian/snmptrapd.conf
@@ -0,0 +1,24 @@
+###############################################################################
+#
+# EXAMPLE-trap.conf:
+# An example configuration file for configuring the Net-SNMP snmptrapd agent.
+#
+###############################################################################
+#
+# This file is intended to only be an example.
+# 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!
+#
+#authCommunity log,execute,net private 
+#authCommunity log,execute,net public
+#
+## send mail when get any events
+#traphandle defalut /usr/bin/traptoemail -s smtp.example.org foobar@example.org
+#
+## send mail when get linkDown
+#traphandle .1.3.6.1.6.3.1.1.5.3 /usr/bin/traptoemail -s smtp.example.org foobar@example.org
diff --git a/debian/snmptrapd.default b/debian/snmptrapd.default
new file mode 100644
index 0000000..3649c48
--- /dev/null
+++ b/debian/snmptrapd.default
@@ -0,0 +1,9 @@
+# This file controls the activity of snmptrapd
+
+# 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 /run/snmptrapd.pid'
diff --git a/debian/snmptrapd.dirs b/debian/snmptrapd.dirs
new file mode 100644
index 0000000..230a402
--- /dev/null
+++ b/debian/snmptrapd.dirs
@@ -0,0 +1 @@
+etc/snmp
diff --git a/debian/snmptrapd.init b/debian/snmptrapd.init
new file mode 100644
index 0000000..f426e13
--- /dev/null
+++ b/debian/snmptrapd.init
@@ -0,0 +1,82 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: 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 Trap daemon
+# Description: NET SNMP (Simple Network Management Protocol) trap daemon
+### END INIT INFO
+#
+# Author: Hideki Yamane <henrich@debian.org>
+# (based on Jochen Friedrich <jochen@scram.de>'s snmpd.init)
+#
+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
+OLD_MIBS_DIR="/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp"
+MIBS_DIR="/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf"
+export MIBDIRS="$MIBS_DIR:$OLD_MIBS_DIR"
+
+TRAPD_PID="/run/snmptrapd.pid"
+TRAPDRUN=no
+TRAPDOPTS="-Lsd -p $TRAPD_PID"
+
+# Reads config file (will override defaults above)
+[ -r /etc/default/snmptrapd ] && . /etc/default/snmptrapd
+
+# Cd to / before starting any daemons.
+cd /
+
+case "$1" in
+ start)
+ log_daemon_msg "Starting SNMP trap services:"
+ 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 SNMP trap services:"
+ start-stop-daemon --quiet --stop --oknodo --exec --retry 3 /usr/sbin/snmptrapd \
+ && [ ! -f $TRAPD_PID ] || rm $TRAPD_PID
+ log_progress_msg " snmptrapd"
+ ;;
+ restart)
+ log_daemon_msg "Restarting SNMP trap services:"
+ start-stop-daemon --quiet --stop --oknodo --exec --retry 3 /usr/sbin/snmptrapd \
+ && [ ! -f $TRAPD_PID ] || rm $TRAPD_PID
+ if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then
+ start-stop-daemon --quiet --start --exec --retry 3 /usr/sbin/snmptrapd -- $TRAPDOPTS
+ log_progress_msg " snmptrapd"
+ fi
+ ;;
+ reload|force-reload)
+ log_daemon_msg "Reloading SNMP trap services:"
+ if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then
+ start-stop-daemon --quiet --stop --signal 1 \
+ --pidfile "$TRAPD_PID" --exec /usr/sbin/snmpd
+ log_progress_msg " snmptrapd"
+ fi
+ ;;
+ status)
+ status=0
+ if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then
+ status_of_proc /usr/sbin/snmptrapd snmptrapd || status=$?
+ fi
+ exit $status
+ ;;
+ *)
+ echo "Usage: /etc/init.d/snmptrapd {start|stop|restart|reload|force-reload|status}"
+ exit 1
+esac
+
+exit 0
diff --git a/debian/snmptrapd.install b/debian/snmptrapd.install
new file mode 100644
index 0000000..3d93a7a
--- /dev/null
+++ b/debian/snmptrapd.install
@@ -0,0 +1,5 @@
+usr/bin/traptoemail
+usr/sbin/snmptrapd
+debian/snmptrapd.conf etc/snmp/
+usr/share/snmp/snmpconf-data/snmptrapd-data
+usr/share/snmp/snmp_perl_trapd.pl
diff --git a/debian/snmptrapd.lintian-overrides b/debian/snmptrapd.lintian-overrides
new file mode 100644
index 0000000..82ce81c
--- /dev/null
+++ b/debian/snmptrapd.lintian-overrides
@@ -0,0 +1 @@
+snmpd: non-standard-file-perm etc/snmp/snmptrapd.conf 0600 != 0644
diff --git a/debian/snmptrapd.manpages b/debian/snmptrapd.manpages
new file mode 100644
index 0000000..ac0d7ab
--- /dev/null
+++ b/debian/snmptrapd.manpages
@@ -0,0 +1,2 @@
+man/snmptrapd.conf.5
+man/snmptrapd.8
diff --git a/debian/snmptrapd.postrm b/debian/snmptrapd.postrm
new file mode 100644
index 0000000..77deff7
--- /dev/null
+++ b/debian/snmptrapd.postrm
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ $1 = purge ]; then
+ rm -f /var/lib/snmp/snmptrapd.conf*
+ rm -f /var/run/snmptrapd.pid
+fi
+
+exit 0
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tkmib.docs b/debian/tkmib.docs
new file mode 100644
index 0000000..e12f653
--- /dev/null
+++ b/debian/tkmib.docs
@@ -0,0 +1,3 @@
+FAQ
+NEWS
+README
diff --git a/debian/tkmib.install b/debian/tkmib.install
new file mode 100644
index 0000000..c3a11bb
--- /dev/null
+++ b/debian/tkmib.install
@@ -0,0 +1,2 @@
+usr/bin/tkmib
+usr/share/man/man1/tkmib.1
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..1c59f60
--- /dev/null
+++ b/debian/upstream/signing-key.asc
@@ -0,0 +1,161 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+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
+ogmrHYcUO4BeOe4bpm5NOA==
+=ZycW
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2562efe
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/~dfsg$// \
+ http://sf.net/net-snmp/net-snmp-([\d+\.]+|\d+)\.tar\.gz