debian/0000775000000000000000000000000012320764537007201 5ustar debian/libsnmp-perl.examples0000664000000000000000000000002512153747054013341 0ustar perl/SNMP/examples/* debian/snmptrapd.conf0000664000000000000000000000124712153747054012063 0ustar ############################################################################### # # EXAMPLE-trap.conf: # An example configuration file for configuring the Net-SNMP snmptrapd agent. # ############################################################################### # # This file is intended to only be an example. If, however, you want # to use it, it should be placed in /etc/snmp/snmptrapd.conf. # When the snmptrapd agent starts up, this is where it will look for it. # # All lines beginning with a '#' are comments and are intended for you # to read. All other lines are configuration commands for the agent. # # PLEASE: read the snmptrapd.conf(5) manual page as well! # debian/TODO0000664000000000000000000000166212153747054007675 0ustar * 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 debian/control0000664000000000000000000001456212233734026010605 0ustar Source: net-snmp Section: net Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Net-SNMP Packaging Team Uploaders: Jochen Friedrich , Thomas Anders , Noah Meyerhans , Hideki Yamane 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, dh-apport Build-Conflicts: libsnmp-dev Standards-Version: 3.9.4 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: 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. debian/snmpd.postrm0000664000000000000000000000117512153747054011573 0ustar #! /bin/sh set -e #DEBHELPER# if [ $1 = purge ]; then rm -f /var/lib/snmp/snmpd.conf* rm -f /var/lib/snmp/snmptrapd.conf* rm -rf /var/run/agentx rm -f /var/run/snmpd.pid rm -f /var/run/snmptrapd.pid if getent passwd snmp >/dev/null; then if [ -x /usr/sbin/deluser ]; then deluser --quiet --system snmp else echo "Can't remove user snmp. Please remove this user by hand." fi fi if getent group snmp >/dev/null; then if [ -x /usr/sbin/delgroup ]; then delgroup --quiet --system snmp else echo "Can't remove group snmp. Please remove this group by hand." fi fi fi exit 0 debian/snmpd.preinst0000664000000000000000000000026112146245402011716 0ustar #! /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 debian/python-netsnmp.install0000664000000000000000000000003312153747054013567 0ustar debian/tmp/usr/lib/python* debian/libsnmp-perl.install0000664000000000000000000000001612153747054013171 0ustar usr/lib/perl* debian/snmp.manpages0000664000000000000000000000007212153747054011671 0ustar man/snmp*.1 man/encode*.1 man/fixproc.1 man/traptoemail.1 debian/libsnmp-dev.dirs0000664000000000000000000000001112153747054012273 0ustar etc/snmp debian/snmpd.postinst0000664000000000000000000000142612153747054012131 0ustar #! /bin/sh set -e case "$1" in configure) . /usr/share/debconf/confmodule db_version 2.0 if ! getent group snmp >/dev/null ; then deluser --quiet --system snmp fi adduser --quiet --system --group --no-create-home --home /var/lib/snmp snmp chown -R snmp:snmp /var/lib/snmp # 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 debian/libsnmp-base.prerm0000664000000000000000000000011612146245402012611 0ustar #! /bin/sh set -e rm -f /usr/share/mibs/netsnmp/.index #DEBHELPER# exit 0 debian/libsnmp-dev.manpages0000664000000000000000000000004712153747054013136 0ustar man/mib2c.1 man/mib2c-update.1 man/*.3 debian/po/0000775000000000000000000000000012146245402007606 5ustar debian/po/nl.po0000664000000000000000000000343612146245402010565 0ustar # Debian net-snmp po-debconf translation. # Copyright (C) 2006-2008 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the net-snmp package. # Vincent Zweije , 2006-2008. # msgid "" msgstr "" "Project-Id-Version: net-snmp 5.2.2-3\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Debian-Dutch \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." debian/po/pt_BR.po0000664000000000000000000000360512146245402011160 0ustar # net-snmp's Brazilian Portuguese debconf template translation. # Copyright (C) 2006, André Luís Lopes. # This file is distributed under the same license as the net-snmp package. # André Luís Lopes , 2006. # Herbert Parentes Fortes Neto , 2007 # msgid "" msgstr "" "Project-Id-Version: net-snmp\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: l10n portuguese \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." debian/po/sr@latin.po0000664000000000000000000000331112146245402011720 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) 2011 # This file is distributed under the same license as the net-snmp package. # Zlatan Todoric , 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 \n" "Language-Team: LANGUAGE \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." debian/po/es.po0000664000000000000000000000777512146245402010575 0ustar # net-snmp po-debconf translation to spanish # Copyright (C) 2006 Software in the Public Interest, SPI Inc. # This file is distributed under the same license as the net-snmp package. # # Changes: # - Initial translation # Javier Fernndez-Sanguino , 2006 # - Reviewers # Fernando Cerezal # # # Traductores, si no conoce el formato PO, merece la pena leer la # documentacin de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traduccin al espaol, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traduccin de Debian al espaol # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traduccin en # http://www.debian.org/intl/spanish/notas # # - La gua de traduccin de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # # Si tiene dudas o consultas sobre esta traduccin consulte con el ltimo # traductor (campo Last-Translator) y ponga en copia a la lista de # traduccin de Debian al espaol () # msgid "" msgstr "" "Project-Id-Version: net-snmp 5.2.3-4\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Debian Spanish \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" debian/po/ta.po0000664000000000000000000000450412146245402010555 0ustar # translation of net-snmp.po to TAMIL # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Dr.T.Vasudevan , 2007. msgid "" msgstr "" "Project-Id-Version: net-snmp\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: TAMIL \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 ஐ காணவும்." debian/po/sk.po0000664000000000000000000000345212146245402010567 0ustar # 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 , 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 \n" "Language-Team: Slovak \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." debian/po/ru.po0000664000000000000000000000416612146245402010603 0ustar # translation of net-snmp_ru.po to Russian # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # # Yuri Kozlov , 2006, 2007. msgid "" msgstr "" "Project-Id-Version: net-snmp_5.2.2-4\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Russian \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." debian/po/pl.po0000664000000000000000000000355112146245402010565 0ustar # 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 , 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 \n" "Language-Team: Polish \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." debian/po/fr.po0000664000000000000000000000352412146245402010561 0ustar # This file is distributed under the same license as the net-snmp package. # # Copyright (C) 2006, Cédric Favry # Christian Perrier , 2007. msgid "" msgstr "" "Project-Id-Version: fr\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: French \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." debian/po/da.po0000664000000000000000000000601012146245402010527 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Claus Hindsgaul , 2006, 2007. msgid "" msgstr "" "Project-Id-Version: net-snmp debconf\n" "Report-Msgid-Bugs-To: 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 \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" debian/po/it.po0000664000000000000000000000343512146245402010567 0ustar # Italian (it) translation of debconf templates for net-snmp # Copyright (C) 2006 Software in the Public Interest # This file is distributed under the same license as the net-snmp package. # Luca Monducci , 2006, 2007. # msgid "" msgstr "" "Project-Id-Version: net-snmp 5.4 italian debconf templates\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Italian \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." debian/po/pt.po0000664000000000000000000000336312146245402010576 0ustar # Portuguese translation of net-snmp debconf messages. # This file is distributed under the same license as the net-snmp package. # Rui Branco , 2006. # 01-06-2007 - Rui Branco # # msgid "" msgstr "" "Project-Id-Version: net-snmp 5.4~dfsg-2\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Portuguese \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." debian/po/cs.po0000664000000000000000000000570112146245402010556 0ustar # Czech translation of net-snmp debconf messages # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the net-snmp package. # Miroslav Kure , 2006. # msgid "" msgstr "" "Project-Id-Version: net-snmp\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Czech \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žší" debian/po/ro.po0000664000000000000000000000613112146245402010567 0ustar # translation of ro.po to Romanian # Romanian translation of net-snmp. # Copyright (C) 2006 THE net-snmp'S COPYRIGHT HOLDER # This file is distributed under the same license as the net-snmp package. # # Stan Ioan-Eugen , 2006. # Eddy Petrișor , 2008. msgid "" msgstr "" "Project-Id-Version: ro\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Romanian \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ă" debian/po/gl.po0000664000000000000000000000552512146245402010557 0ustar # Galician translation of net-snmp's debconf templates. # This file is distributed under the same license as the net-snmp package. # Jacobo Tarrio , 2006, 2007. # msgid "" msgstr "" "Project-Id-Version: net-snmp\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Galician \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" debian/po/ca.po0000664000000000000000000000353112146245402010533 0ustar # 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 , 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 \n" "Language-Team: Catalan \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." debian/po/ko.po0000664000000000000000000000356112146245402010564 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: 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 \n" "Language-Team: Korean \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파일을 참조하세요." debian/po/POTFILES.in0000664000000000000000000000005212146245402011360 0ustar [type: gettext/rfc822deb] snmpd.templates debian/po/eu.po0000664000000000000000000000337712146245402010571 0ustar # translation of net-snmp-templates.po to Euskara # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Piarres Beobide , 2007. msgid "" msgstr "" "Project-Id-Version: net-snmp-templates\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Euskara \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." debian/po/fi.po0000664000000000000000000000320412146245402010543 0ustar 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 \n" "Language-Team: Finnish \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." debian/po/templates.pot0000664000000000000000000000242512146245402012333 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: LANGUAGE \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 "" debian/po/vi.po0000664000000000000000000000362312146245402010570 0ustar # Vietnamese translation for Net SNMP. # Copyright © 2007 Free Software Foundation, Inc. # Clytie Siddall , 2007 # msgid "" msgstr "" "Project-Id-Version: net-snmp\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Vietnamese \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." debian/po/ja.po0000664000000000000000000000373712146245402010552 0ustar # Copyright (C) 2008 Net-SNMP Packaging Team # as net-snmp Debian package's copyright holder. # This file is distributed under the same license as the net-snmp package. # Hideki Yamane (Debian-JP) , 2008. # msgid "" msgstr "" "Project-Id-Version: net-snmp 5.4.1~dfsg-8.1\n" "Report-Msgid-Bugs-To: 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) \n" "Language-Team: Japanese \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 を参照してください。" debian/po/de.po0000664000000000000000000000571612146245402010547 0ustar # Translation of net-snmp debconf templates to German # Copyright (C) Helge Kreutzmann , 2006, 2007. # This file is distributed under the same license as the net-snmp package. # msgid "" msgstr "" "Project-Id-Version: net-snmp 5.4~dfsg-2\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: de \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" debian/po/sv.po0000664000000000000000000000550512146245402010603 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: net-snmp 5.2.2-3\n" "Report-Msgid-Bugs-To: 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 \n" "Language-Team: Swedish \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" debian/po/id.po0000664000000000000000000000330512146245402010543 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: net-snmp 5.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 \n" "Language-Team: Debian Indonesia Translator \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" debian/po/sr.po0000664000000000000000000000372512146245402010601 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) 2011 # This file is distributed under the same license as the net-snmp package. # Zlatan Todoric , 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 \n" "Language-Team: LANGUAGE \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 за више детаља." debian/snmpd.config0000664000000000000000000000045512146245402011504 0ustar #! /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 debian/libsnmp30.lintian-overrides0000664000000000000000000000007512153747054014371 0ustar libsnmp30: hardening-no-relro usr/lib/*/libnetsnmptrapd.so.* debian/changelog0000664000000000000000000022466512320764362011066 0ustar net-snmp (5.7.2~dfsg-8.1ubuntu3) trusty; urgency=medium * SECURITY UPDATE: denial of service via AgentX subagent timeout - debian/patches/CVE-2012-6151.patch: track cancelled sessions in agent/mibgroup/agentx/{master.c,master_admin.c}, agent/snmp_agent.c, include/net-snmp/agent/snmp_agent.h. - CVE-2012-6151 * SECURITY UPDATE: denial of service when ICMP-MIB is in use - debian/patches/CVE-2014-2284.patch: fix ICMP mib table handling in agent/mibgroup/mibII/icmp.c, agent/mibgroup/mibII/kernel_linux.*. - CVE-2014-2284 * SECURITY UPDATE: denial of service in perl trap handler - debian/patches/CVE-2014-2285.patch: handle empty community string in perl/TrapReceiver/TrapReceiver.xs. - CVE-2014-2285 -- Marc Deslauriers Tue, 08 Apr 2014 08:17:14 -0400 net-snmp (5.7.2~dfsg-8.1ubuntu2) trusty; urgency=medium * Add 00upstream-btrfs.patch: Add btrfs support to hrFSTable. Cherrypicked from upstream, by way of Nafallo Bjälevik. Thanks! (LP: #1289503) -- Martin Pitt Wed, 12 Mar 2014 13:24:18 +0100 net-snmp (5.7.2~dfsg-8.1ubuntu1) trusty; urgency=low * Resynchronise with Debian. Remaining changes: - Add apport hook. - Avoid installing links in rc[06].d. -- Colin Watson Tue, 29 Oct 2013 06:29:46 -0700 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 Sat, 13 Jul 2013 17:13:09 +0200 net-snmp (5.7.2~dfsg-8ubuntu2) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 12:30:05 +0100 net-snmp (5.7.2~dfsg-8ubuntu1) saucy; urgency=low * Merge from Debian unstable (LP: #1200516). Remaining changes: + Add apport hook (LP: #533603): - debian/source.apport: apport hook - debian/control: Build-depends on dh-apport. - debian/rules: + Add --with apport. + override_dh_apport to install hook on snmpd package only. * Call dh_installinit correctly to avoid installing links in rc[06].d -- Yolanda Robla Fri, 12 Jul 2013 09:47:12 +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 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 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 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 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 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 Sun, 19 May 2013 23:09:52 +0900 net-snmp (5.7.2~dfsg-4ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - debian/rules: Don't stop service in runlevels 0 and 6. - debian/snmpd.init: LSBify the init script. - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned by snmp user before install/uninstall. - Add apport hook. * debian/patches/ubuntu-fix-lp-587828.patch: Drop. Fixed upstream. -- Andres Rodriguez Thu, 16 May 2013 21:01:27 -0400 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 and Vincent Bernat for reporting -- Hideki Yamane 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 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 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 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 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 - 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 Sun, 27 Jan 2013 11:57:29 +0900 net-snmp (5.4.3~dfsg-2.7ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - debian/rules: Don't stop service in runlevels 0 and 6. - debian/snmpd.init: LSBify the init script. - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned by snmp user before install/uninstall. - Add apport hook. - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches - debian/{control,rules}: Use dh_python2 -- Logan Rosen Tue, 04 Dec 2012 16:57:00 -0500 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 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 Sun, 18 Nov 2012 09:24:30 -0400 net-snmp (5.4.3~dfsg-2.5ubuntu1) quantal; urgency=low * Merge from Debian unstable. Remaining changes: - debian/rules: Don't stop service in runlevels 0 and 6. - debian/snmpd.init: LSBify the init script. - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned by snmp user before install/uninstall. - Add apport hook. - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches - debian/{control,rules}: Use dh_python2 * Dropped changes: - debian/patches/50_use_bash.patch: Patch wasn't actually being applied, and upstream apparently fixed this in 5.4.2. - debian/patches/52_fix_snmpcmd_1_typo.patch: Patch wasn't actually being applied, and fix is included in 56_manpage.patch. - debian/snmpd.postinst: Source debconf before doing work: included in debian package now. - debian/patches/99-fix-ubuntu-div0.patch: wasn't applied. - debian/patches/CVE-2008-6123.*: wasn't applied. - debian/patches/CVE-2012-2141.patch: use debian's patch. - debian/README.Debian-source: this change is irrelevant since we use the debian tarball as-is. - debian/rules: removed misc irrelevant and undocumented changes. - debian/snmpd.postinst: no longer need to remove shutdown and reboot links since this is from Maverick-era. -- Marc Deslauriers Wed, 20 Jun 2012 09:45:11 -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 Sun, 27 May 2012 17:22:01 +0200 net-snmp (5.4.3~dfsg-2.4ubuntu2) quantal; urgency=low * SECURITY UPDATE: denial of service via SNMP GET with non-existent extension table entry - debian/patches/CVE-2012-2141.patch: validate line_idx in agent/mibgroup/agent/extend.c. - CVE-2012-2141 -- Marc Deslauriers Tue, 22 May 2012 16:30:48 -0400 net-snmp (5.4.3~dfsg-2.4ubuntu1) precise; urgency=low * Merge from Debian testing. Remaining changes: - net-snmp-config: Use bash. - Removed multiuser option when calling update-rc.d. - debian/snmpd.init: LSBify the init script. - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1. - debian/snmpd.postinst: Source debconf before doing work. - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned by snmp user before install/uninstall. - Add apport hook. - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches - debian/rules: Use dh_python2 -- Chuck Short Mon, 23 Jan 2012 09:44:25 -0500 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 Mon, 19 Dec 2011 07:34:31 +0100 net-snmp (5.4.3~dfsg-2.3ubuntu3) precise; urgency=low * Build using dh_python2. -- Matthias Klose Wed, 14 Dec 2011 15:48:05 +0100 net-snmp (5.4.3~dfsg-2.3ubuntu2) precise; urgency=low * Rebuild for Perl 5.14. -- Colin Watson Tue, 15 Nov 2011 20:49:15 +0000 net-snmp (5.4.3~dfsg-2.3ubuntu1) precise; urgency=low * Merge from debian unstable. Remaining changes: - net-snmp-config: Use bash. - Removed multiuser option when calling update-rc.d. - debian/snmpd.init: LSBify the init script. - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1. - debian/snmpd.postinst: Source debconf before doing work. - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned by snmp user before install/uninstall. - Add apport hook. - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches. -- Chuck Short Sat, 27 Aug 2011 18:10:55 +0000 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 for the patch (closes: #610306) -- Stephen Gran Sat, 27 Aug 2011 09:10:09 +0000 net-snmp (5.4.3~dfsg-2.2ubuntu1) oneiric; urgency=low * Resynchronise with Debian (LP: #780149). Remaining changes: - net-snmp-config: Use bash. - Removed multiuser option when calling update-rc.d. - debian/snmpd.init: LSBify the init script. - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1. - debian/snmpd.postinst: Source debconf before doing work. - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned by snmp user before install/uninstall. - Add apport hook. - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches. -- Colin Watson Tue, 10 May 2011 06:14:05 +0100 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 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 Sat, 07 May 2011 12:14:26 +0200 net-snmp (5.4.3~dfsg-2ubuntu2) oneiric; urgency=low * Rebuild for Perl 5.12. -- Colin Watson Sat, 07 May 2011 23:29:06 +0100 net-snmp (5.4.3~dfsg-2ubuntu1) natty; urgency=low * Merge from debian unstable. Remaining changes: - Set Ubuntu maintainer address. - net-snmp-config: Use bash (LP: #104738) - Removed multiuser option when calling update-rc.d (LP: #254261) - debian/snmpd.init: LSBify the init script. - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1 (LP: #250459) - debian/snmpd.postinst: source debconf before doing work. (LP: #589056) - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by snmp user before install/uninstall (LP: #573391) - Add apport hook (LP: #533603): - debian/control: Build-depends on dh-apport. - debian/rules: + Add --with apport. + override_dh_apport to install hook on snmpd package only. - debian/patches/ubntu-fix-lp-58728.patch: Fix row creation for 64bit arches. (LP: #587828) - Fix build failures with ld --no-add-needed. -- Chuck Short Thu, 06 Jan 2011 00:35:28 +0000 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 Wed, 05 Jan 2011 13:03:32 +0100 net-snmp (5.4.3~dfsg-1ubuntu5) natty; urgency=low * Fix build failure with ld --no-add-needed. -- Matthias Klose Fri, 03 Dec 2010 23:45:33 +0000 net-snmp (5.4.3~dfsg-1ubuntu4) natty; urgency=low * Rebuild to add support for python 2.7. -- Matthias Klose Fri, 03 Dec 2010 00:05:05 +0000 net-snmp (5.4.3~dfsg-1ubuntu3) maverick; urgency=low * debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches. (LP: #587828) -- Chuck Short Wed, 25 Aug 2010 10:18:45 -0400 net-snmp (5.4.3~dfsg-1ubuntu2) maverick; urgency=low * No-change rebuild against current debhelper to drop sizable upstream changelog. -- Martin Pitt Mon, 02 Aug 2010 08:34:07 +0200 net-snmp (5.4.3~dfsg-1ubuntu1) maverick; urgency=low * Merge from debian unstable. Remaining changes: - Set Ubuntu maintainer address. - net-snmp-config: Use bash. (LP: #104738) - Removed multiuser option when calling update-rc.d. (LP: #254261) - debian/snmpd.init: LSBify the init script. - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1 (LP: #250459) - debian/snmpd.postinst: source debconf before doing work, LP: #589056 - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by snmp user before install/uninstall, LP: #573391 - Add apport hook (LP: #533603): - debian/{snmp,snmpd}.apport: Added. - debian/control: Build-depends on dh-apport. - debian/rules: + Add --with apport. + override_dh_apport to install hook on snmpd package only. * Dropped patches: - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.. -- Chuck Short Mon, 28 Jun 2010 14:59:36 -0400 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 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 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 (Closes: #557244). * Applied patch from Jakub Wilk 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 for hurd-i386 support. Closes: #530289. * Provide a new option --base-lib-cflags for CFLAGS without perl dependent stuff. (Closes: #502806) -- Jochen Friedrich Tue, 01 Dec 2009 18:40:38 +0100 net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu4) maverick; urgency=low * debian/snmpd.postinst: source debconf before doing work, LP: #589056 * debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by snmp user before install/uninstall, LP: #573391 -- Dustin Kirkland Tue, 22 Jun 2010 14:04:48 -0500 net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu3) maverick; urgency=low * SECURITY UPDATE: access restriction bypass - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516801 - http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=17367 - CVE-2008-6123 -- Corey Wright Mon, 31 May 2010 00:00:29 -0500 net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu2) lucid; urgency=low * Add apport hook (LP: #533603): - debian/{snmp,snmpd}.apport: Added. - debian/control: Build-depends on dh-apport. - debian/rules: + Add --with apport. + override_dh_apport to install hook on snmpd package only. -- Andres Rodriguez Sun, 28 Mar 2010 00:25:13 -0400 net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu1) lucid; urgency=low * Repackage upstream tarball to re-add the MIBs: even if they are not modifiable (which is questionable), this is not a reason to keep them out of Ubuntu main. * Revert the changes to prompt about MIB downloads. * Call dh_installinit correctly to avoid installing links in rc[06].d * Temporarily re-add postinst snippet to clean up rc[06].d links left by the previous upload. * Fix egg name listed in debian/rules, apparently needed to fix another build failure. -- Steve Langasek Sat, 12 Dec 2009 00:05:34 -0800 net-snmp (5.4.2.1~dfsg-3ubuntu2) lucid; urgency=low * Fix FTBFS. -- Chuck Short Thu, 26 Nov 2009 13:20:26 -0500 net-snmp (5.4.2.1~dfsg-3ubuntu1) lucid; urgency=low * Merge from debian testing. Remaining changes: - Set Ubuntu maintainer address. - net-snmp-config: Use bash. (LP: #104738) - Removed multiuser option when calling update-rc.d. (LP: #254261) - debian/snmpd.init: LSBify the init script. - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1 (LP: #250459) - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero. (LP: #426813). * Dropped patches: - debian/patches/101-fix-ipalias.patch: Applied upstream. - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream. - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream. - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed. -- Chuck Short Thu, 26 Nov 2009 01:27:00 +0000 net-snmp (5.4.2.1~dfsg-3) unstable; urgency=low * Fix typo in NEWS. * Add make to libsnmp-base dependency (Closes: #556632). * Use dh7 build system instead of cdbs (Closes: #552976). * Fix man page .so links so they get installed correctly. * Replace download host for RFCs for a faster one and add some better documentation that this step takes some time and that it can be repeated in case of a problem. (Closes: #556633, #556778, #556787, #556788) -- Jochen Friedrich Wed, 18 Nov 2009 16:54:11 +0100 net-snmp (5.4.2.1~dfsg-2) unstable; urgency=low * Add upstream patch R17470 to fix debugging output and numeric OID reporting. (Closes: #524203, #509562) Thanks to Luca Ferroni for the patch. * Fix long description of debug package. * Switch to libsensors4. (Closes: #518898) Thanks to Jonathan Nieder for the patch. -- Jochen Friedrich Thu, 12 Nov 2009 16:17:40 +0100 net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low * New upstream version - includes patch for CVE-2008-6123 (Closes: #516801) * remove patches applied upstream: - 55_cve2008_4309.patch - 54_fix_xen.patch - 53_fix_python_regression.patch - 52_suppress_registration_warnings.patch - 51_allow_g_groupname.patch - 50_cve2008_0960.patch - 49_cve2008_2292_python.patch - 48_cve2008_2292_perl.patch - 47_prevent_partial_inserts.patch - 46_ifname_crop.patch - 45_process_race.patch - 43_snmp_logging.patch - 41_snmptrapd_close_handles.patch * Updated patches: - 31_silence_subcontainer.patch: Use upstream changeset 17254 - 25_duplicate_iftable.patch: Regenerated - 03_makefiles.patch: Install Makefile.mib * Removed non-free MIBS from distribution (Closes: #498475) * Add debug package * Implement "status" action in the init.d script. (Closes: #528107) Thanks to Peter Eisentraut for the patch * Fix LSB dependencies (Closes: #541366). Thanks to Petter Reinholdtsen for the patch. * Let snmpd run as group snmp (Closes: #520724). Thanks to Russell Coker for the patch. * Update standards version to 3.8.3. * Get rid off lintian warnings. * Fix memory leak when multiple interfaces have the same IPv6 address, such as link-local addresses when VLAN subinterfaces are in use. (Closes: #531056). Thanks to John Morrissey for the patch. * Rework build system (Closes: #528106) * Change default configuration to make snmp daemons run without MIBs. -- Jochen Friedrich Mon, 09 Nov 2009 18:29:10 +0100 net-snmp (5.4.1~dfsg-12ubuntu7) karmic; urgency=low * debian/patches/99-fix-ubuntu-div0.patch: Fix division by zero. (LP: #426813). -- Chuck Short Mon, 28 Sep 2009 14:02:16 -0400 net-snmp (5.4.1~dfsg-12ubuntu6) karmic; urgency=low * debian/patches/101-fix-ipalias.patch : Fix flooding syslog - Syslog fills with hundreds of these errors if you have a network interface, e.g. eth2, with no IP address, but you have an alias, e.g. eth2:1, that does have an IP address (and netmask). (LP: #270713) * debian/patches/103-fix-ubuntu-lmsensors.patch: Point to the right place for /etc/sensors3.conf. (LP: #192745) -- Chuck Short Mon, 14 Sep 2009 12:19:41 -0400 net-snmp (5.4.1~dfsg-12ubuntu5) karmic; urgency=low * debian/patches/99-fix-perl-counter-in-subagent.patch: Fix for Counter64 in perl subagent. (LP: #406171) -- Chuck Short Fri, 04 Sep 2009 12:10:01 -0500 net-snmp (5.4.1~dfsg-12ubuntu4) karmic; urgency=low * debian/patches/99-fix-net-snmp-syslog.patch: Fixes "invalid syslog facility". (LP: #369577) -- Chuck Short Wed, 24 Jun 2009 14:44:51 -0400 net-snmp (5.4.1~dfsg-12ubuntu3) jaunty; urgency=low * No-change rebuild to fix lpia shared library dependencies. -- Colin Watson Thu, 19 Mar 2009 13:00:18 +0000 net-snmp (5.4.1~dfsg-12ubuntu2) jaunty; urgency=low * Python 2.6 transition, debian/rules (LP: #338556): - Include /usr/share/python/python.mk. - Use py_sitename and py_setup_install_args macros to install all python stuffs in the right places (/usr/lib/python*/*-packages/) and rebuild. -- Alessio Treglia Thu, 12 Mar 2009 00:38:57 +0100 net-snmp (5.4.1~dfsg-12ubuntu1) jaunty; urgency=low * Merge from debian unstable, remaining changes: - Set Ubuntu maintainer address. - net-snmp-config: Use bash. LP: #104738) * Removed multiuser option when calling update-rc.d (LP: #254261). * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1 (LP: #250459) * debian/snmp.init: LSBify the snmpd.init script. Add status notification, based on initial patch by Gary Coady. (LP: #43575) -- Chuck Short Wed, 17 Dec 2008 00:58:14 +0000 net-snmp (5.4.1~dfsg-12) unstable; urgency=high * Urgency high because of RC bug fix. * Modify start action so it doesn't fail if the service is already running. (Closes: #505237) * Update Romanian translation (Closes: #505767) Thanks to Eddy Petrișor . -- Jochen Friedrich Tue, 16 Dec 2008 15:29:28 +0100 net-snmp (5.4.1~dfsg-11ubuntu1) jaunty; urgency=low * Merge from debian unstable, remaining changes: - Set Ubuntu maintainer address. - net-snmp-config. Use bash (LP: #104738) * Removed multiuser option when calling update-rc.d (LP: #254261). * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1 (LP: #250459) * debian/snmp.init: LSBify the snmpd.init script. Add status notification, based on inital patch by Gary Coady. (LP: #43575) * Dropped debian/patches/51_CVE-2008-0960.patch: Use debian's instead. * Dropped debian/patches/54_fix_registration_error.patch: Use debian's instead. -- Chuck Short Wed, 05 Nov 2008 02:59:05 +0000 net-snmp (5.4.1~dfsg-11) unstable; urgency=high * This update fixes the following security issue: - CVE-2008-4309: A bug in the getbulk handling code could let anyone with even minimal access crash the agent. (Closes: #504150) -- Jochen Friedrich Mon, 03 Nov 2008 17:58:35 +0100 net-snmp (5.4.1~dfsg-10) unstable; urgency=high * Fix python regression introduced by fix of CVE-2008-2292 (Closes: #497656) * Fix xen dom0 problems (Closes: #500717) -- Jochen Friedrich Mon, 06 Oct 2008 22:35:57 +0200 net-snmp (5.4.1~dfsg-9) unstable; urgency=low * Ack NMU (Closes: #485945) * Updated standards version to 3.8.0 (no changes) * Update debconf translations: o sv: Martin Bagge (Closes: #491778) o ja: Hideki Yamane (Debian-JP) (Closes: #494118) * Add patch to support -g {groupname} (Closes: #441871, #468577, #485948) * Add official patch to suppress annoying warning in syslog (Closes: #493281) * Fix default stop section in LSB header of start script. -- Jochen Friedrich Fri, 29 Aug 2008 18:13:49 +0200 net-snmp (5.4.1~dfsg-8.1) unstable; urgency=high * Non-maintainer upload by the Security Team. * This update fixes the following security issue: - CVE-2008-0960: The authentication code relies on the client specified HMAC length which makes it easier for an attacker to match a correct HMAC and authentication if a single byte HMAC is supplied (Closes: #485945) -- Nico Golde Thu, 12 Jun 2008 22:22:52 +0200 net-snmp (5.4.1~dfsg-8) unstable; urgency=low * NACK NMU as the patch broke perl (Closes: #483588) * Really fix CVE-2008-2292 using two upstream patches (Closes: #482333) * Update nl translation (Closes: #460587) * Update patch for support of long interface names to upstream version -- Jochen Friedrich Tue, 03 Jun 2008 13:06:57 +0200 net-snmp (5.4.1~dfsg-7.1ubuntu6) intrepid; urgency=low * debian/snmpd.init: Fix snmpd script error. (LP: #270961) -- Chuck Short Mon, 22 Sep 2008 14:18:08 -0400 net-snmp (5.4.1~dfsg-7.1ubuntu5) intrepid; urgency=low * debian/snmpd.init: LSBify the snmpd.init script. And add status notification, based on inital patch by Gary Coady. (LP: #43575) * debian/patches/54_fix_registration_error.patch: Surpresses annoying registrations in startup. (LP: #200614) -- Chuck Short Fri, 12 Sep 2008 13:21:40 -0400 net-snmp (5.4.1~dfsg-7.1ubuntu4) intrepid; urgency=low * Fix lsb headers in init script: stop in single user mode (LP: #254261). -- Mathias Gug Thu, 21 Aug 2008 23:07:59 -0400 net-snmp (5.4.1~dfsg-7.1ubuntu3) intrepid; urgency=low [ Salvatore Palma ] * Add 52_fix_snmpcmd_1_typo.patch patch to adjust a typo in snmpcmd.1 (LP: #250459). [ Mathias Gug ] * Remove multiuser option when calling update-rc.d. (LP: #254261). -- Mathias Gug Tue, 12 Aug 2008 23:03:05 -0400 net-snmp (5.4.1~dfsg-7.1ubuntu2) intrepid; urgency=low * SECURITY UPDATE: HMAC authentication spoofing. * debian/patches/51_CVE-2008-0960.patch: fixes HMAC authentication spoofing. * debian/patches/52_use_right_config_file.patch: Use the right configuration file for lmsensors. (LP: #192745) -- Chuck Short Mon, 16 Jun 2008 15:47:18 +0000 net-snmp (5.4.1~dfsg-7.1ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - Set Ubuntu maintainer address. - net-snmp-config: Use bash. LP: #104738. - Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to libsnmp-base to avoid file confict on dapper->hardy upgrades. (LP: #203610) -- Chuck Short Tue, 27 May 2008 13:06:56 -0500 net-snmp (5.4.1~dfsg-7.1) unstable; urgency=high * Non-maintainer upload by the Security Team. * Fix buffer overflow in the python and perl module (__snprint_value function)that can be exploited via large OCTETSTRING in an attribute value pair (AVP) leading to arbitrary code execution (CVE-2008-2292; Closes: #482333). -- Nico Golde Sat, 24 May 2008 13:12:16 +0200 net-snmp (5.4.1~dfsg-7) unstable; urgency=low * Add some more Conflicts: and Replaces: magic to allow moving net-snmp-config to libsnmp-base. (Really Closes: #443420, #443396, #261686) * Update debhelper to version 6 * Add patch for support of long interface names (Closes: #468260) Thanks to Jonathan Steinert for the patch. * Add upstream patch to avoid a crash on pppoe tunnels (Closes: #451294) * Convert copyright to UTF-8. * Fix spelling error in NEWS: deamon -> daemon. -- Jochen Friedrich Tue, 29 Apr 2008 18:37:23 +0200 net-snmp (5.4.1~dfsg-6) unstable; urgency=low * Add Noah Meyerhans as uploader * Add upstream patch for process regression (Closes: #460050) * Fix build system for Perl 5.10 (Closes: #463059) -- Jochen Friedrich Tue, 29 Jan 2008 14:43:18 +0100 net-snmp (5.4.1~dfsg-5) unstable; urgency=low * Add upstream changeset 16721: o snmplib: PATCH: 1806336: fix -LS option parsing (Closes: #444986) * Add patch from Petr Salinger : o search nlist() in libkvm. (Closes: #449550) * Add finish translation from Esko Arajärvi . (Closes: #448421). * Updated standards version to 3.7.3 o Add Homepage tag o rename XS-Vcs-* to Vcs-* -- Jochen Friedrich Fri, 28 Dec 2007 12:43:21 +0100 net-snmp (5.4.1~dfsg-4ubuntu4) hardy; urgency=low * Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to libsnmp-base to avoid file confict on dapper->hardy upgrades (LP: #203610) -- Michael Vogt Tue, 18 Mar 2008 17:47:13 +0100 net-snmp (5.4.1~dfsg-4ubuntu3) hardy; urgency=low * Rebuild with recent python-central. * Set Ubuntu maintainer address. -- Matthias Klose Mon, 10 Mar 2008 12:46:06 +0000 net-snmp (5.4.1~dfsg-4ubuntu2) hardy; urgency=low * net-snmp-config: Use bash. LP: #104738. -- Matthias Klose Wed, 06 Feb 2008 14:45:12 +0000 net-snmp (5.4.1~dfsg-4ubuntu1) hardy; urgency=low * Merge from debian unstable. * Remaining Ubuntu changes: - Remove stop links from rc0 and rc6 - Munge Maintainer field as per spec. * Ubuntu changes dropped: - Symlink common files between the packages, CDBS ought to handle that for us automatically. * The latest Debian changes has dropped history from the changelog. Slot in the Ubuntu changes as best I can. -- Steve Kowalik Sat, 08 Dec 2007 14:59:50 +1100 net-snmp (5.4.1~dfsg-4) unstable; urgency=low * Do it right this time. -- Jochen Friedrich Fri, 21 Sep 2007 21:20:30 +0200 net-snmp (5.4.1~dfsg-3) unstable; urgency=low * Add some Conflicts: and Replaces: magic to allow moving net-snmp-config to libsnmp-base. (Closes: #443420, #443396, #261686) -- Jochen Friedrich Fri, 21 Sep 2007 16:47:48 +0200 net-snmp (5.4.1~dfsg-2) unstable; urgency=low * Fixed extra MIB patch, so the extra MIBS are really added to the Debian package. * Update of GNOME-SMI (fixed a typo in the actual OID) * Finally move 5.4.1 to unstable (Closes: #441948, #264938, #416965) * Fixed snmp.install to not include mib2c-update. * Fixed clean target. -- Jochen Friedrich Thu, 20 Sep 2007 16:40:28 +0200 net-snmp (5.4.1~dfsg-1) experimental; urgency=low * New upstream version * Remove patches included in new upstream. * Fix double inclusion of net-snmp-config man page * Include stuff from 5.3.1-8: o Rearrange snmpd.postrm to not run deluser twice. o Add lintian override for false alarm caused by the Smith review project. o Add patch to snmptrapd to close its file handles (Closes: #391203) -- Jochen Friedrich Thu, 02 Aug 2007 14:43:20 +0200 net-snmp (5.4~dfsg-2) experimental; urgency=low [ Christian Perrier ] * Debconf templates and debian/control reviewed by the debian-l10n- english team as part of the Smith review project. Closes: #426232 * Debconf translation updates: - Galician. Closes: #426836 - Vietnamese. Closes: #426842 - Czech. Closes: #426864 - Swedish. Closes: #426882 - Basque. Closes: #426933 - Portuguese. Closes: #427065 - Danish. Closes: #427158 - Spanish. Closes: #427377 - German. Closes: #427542 - Russian. Closes: #427820 - Italian. Closes: #428151 - Brazilian Portuguese. Closes: #428885, #428886 - Tamil. Closes: #428969 - French. Closes: #429814 [ Jochen Friedrich ] * Include stuff from 5.3.1-6: o Rename dev Package to libsnmp-dev as suggested by Kurt Roeckx and Steve Langasek * Remove old template entry (Closes: #422972) * Set PATH in init script (Closes: #429442) -- Jochen Friedrich Tue, 03 Jul 2007 14:54:00 +0200 net-snmp (5.4~dfsg-1) experimental; urgency=low [ Jochen Friedrich ] * New upstream version (Closes: #279670, #412924, #416965) * Remove official patches from 5.3.1 tree * Add official patches o memory leaks in ipAddress and CirdRoute tables (SF #1610155) o tcp connection table leaks fds (SF #1611524) * Patch from upstream svn for snmpd.8 man page * Add python module [ Thomas Anders ] * Change makefile patch for 5.4.rc3 * Change docfile patch for 5.4 -- Jochen Friedrich Fri, 13 Apr 2007 16:16:02 +0200 net-snmp (5.3.1-6ubuntu2) gutsy; urgency=low * Do not install the upstream changelog in libsnmp10 and libsnmp-base. * Symlink files common in libsnmp10 and libsnmp-base. -- Matthias Klose Fri, 05 Oct 2007 14:55:58 +0200 net-snmp (5.3.1-6ubuntu1) gutsy; urgency=low * Merge from Debian unstable. * Remaining Ubuntu changes: - Remove stop links from rc0 and rc6 - Munge Maintainer field as per spec. -- Steve Kowalik Wed, 23 May 2007 08:58:46 +1000 net-snmp (5.3.1-5ubuntu1) gutsy; urgency=low * Merge from Debian unstable. * Remaining Ubuntu changes: - Remove stop links from rc0 and rc6 * Munge Maintainer field as per spec. -- Steve Kowalik Thu, 10 May 2007 22:20:23 +1000 net-snmp (5.3.1-3) unstable; urgency=low * Move AgentX socket to RFC location. * Update pktinfo patch from Jan Andres * Add official patches. o disabling agentX breaks snmptrapd auth (SF #1527661) o SNMP.pm gettable() patch (SF #1532044) o 8 byte IpAddress value for 64bit non-linux systems (SF #1550635) o memory leaks in ipAddress and CirdRoute tables (SF #1610160) * Synchronize tree to 5.2.3-7. o Don't fail postrm on non-existant deluser (Closes: #398540) o Add German debconf translation (Closes: #397823) Thanks to Helge Kreutzmann . o Add Italian debconf translation (Closes: #398047) Thanks to Luca Monducci . o Add patch to hardcode mount table location (Closes: #370132) o Add Romanian translation (Closes: #403949) Thanks to stan ioan-eugen . o Update patch from Petr Salinger for kFreeBSD and Hurd support. (Closes: #402116) o Fix restart of snmpd (Closes: #402568, #401306) o Add Spanish translation (Closes: #402685) Thanks to Javier Fernández-Sanguino Peña o Add Brazilian Portuguese translation (Closes: #403549) Thanks to André Luís Lopes" o Don't fail postrm on non-existant deluser (Closes: #398540) o Add LSB section to startup file. o Add Thomas Anders as co-Maintainer. o Add missing copyrights to copyright file. o Fix spelling errors and wrong path names in documentation. -- Jochen Friedrich Wed, 11 Apr 2007 13:04:00 +0200 net-snmp (5.3.1-2) experimental; urgency=low * Add kfreebsd support. Thanks to Petr Salinger (Closes: #380252) * Add Russian translation. Thanks to Yuri Kozlov (Closes: #380300) * Update Czech translation. Thanks to Miroslav Kure (Closes: #380528) -- Jochen Friedrich Mon, 31 Jul 2006 16:57:13 +0200 net-snmp (5.3.1-1) experimental; urgency=low * New upstream version (Closes: #358079, #252893) * Convert build system to cdbs. (Closes: #323074) * Add patch from Lars Ellenberg to answer with the same IP address the request was sent to. (Closes: #111263) * Add patch from Sven Schnelle to prevent duplicate iftable entries (Closes: #368617) -- Jochen Friedrich Wed, 26 Jul 2006 12:08:46 +0200 net-snmp (5.2.3-4ubuntu1) feisty; urgency=low * Merge from debian unstable, remaining changes: - remove stop links from rc0 and rc6 -- Scott James Remnant Tue, 28 Nov 2006 12:29:34 +0000 net-snmp (5.2.2-5ubuntu1) edgy; urgency=low * Remove stop script symlinks from rc0 and rc6. -- Scott James Remnant Fri, 15 Sep 2006 17:32:44 +0100 net-snmp (5.2.2-4) unstable; urgency=low * Add French translation. Thanks to Thomas Huriaux (Closes: #357928) * Add Czech translation. Thanks to Miroslav Kure (Closes: #358845) * Add Dutch translation. Thanks to Vincent Zweije (Closes: #360441) * Add Galician translation. Thanks to Jacobo Tarrio (Closes: #361778) * Add Portuguese translation. Thanks to Rui Branco (Closes: #375018) * Add patch from upstream to correct sysObjectID. (Closes: #363399, #374065) * Rearrange snmpd.postrm to not run deluser twice. * Change build-depends to not depend on automake but on automake1.9 (Closes: #376561) * Build with -Wall (Closes: #323074) * Add patch to make -Z support zero values. Path thanks to Peder Chr. Norgaard (Closes: #366817) * Make init script support reloading configuration without restart. (Closes: #367071) * Execute dh_fixperm before dh_strip (Closes: #360253) -- Jochen Friedrich Tue, 4 Jul 2006 15:23:54 +0200 net-snmp (5.2.2-3) unstable; urgency=low * Add short description to debconf templates (Closes: #355119) * Add Danish translation. Thanks to Claus Hindsgaul (Closes: #355375) * Add patch to add m4 directory with extracted net-snmp specific aclocal definitions. Required to make libtool work correctly (Closes: #355850, #536123) -- Jochen Friedrich Sat, 11 Mar 2006 12:10:10 +0100 net-snmp (5.2.2-2) unstable; urgency=low * Redo CVS Checkout from alioth (Closes: #354779) -- Jochen Friedrich Wed, 01 Mar 2006 20:32:01 +0100 net-snmp (5.2.2-1) unstable; urgency=low * New upstream release * Added man page for snmpnetstat53 * Fix typos in man pages. Thanks to Nicolas François (Closes: #326515, #326530, #326532). * Fix libsnmp9-dev dependencies. Thanks to Ahmed Baizid (Closes: #343577). * Listen on 127.0.0.1 by default and turn off SMUX port in /etc/defaults/snmpd. (Closes: #294309, #314907, #216108) * Remove dangling symlinks /etc/doc/snmp[d] -> libsnmp5 which might eventually be left over from old packages. Thanks to "Mario 'BitKoenig' Holbe" (Closes: #336365) * Run snmpd as snmp user by default (Closes: #275374, #337053) * Depend and Builddepend libsnmpd9-dev on procps. Thanks to Peder Chr. Norgaard for pointing this out. (Closes: #325840) * Fix man page section mismatch found by lintian. -- Jochen Friedrich Wed, 23 Feb 2006 15:05:32 +0100 net-snmp (5.2.1.2-4) unstable; urgency=low * Version builddep on libssl-dev and rebuild, for openssl transition Closes: #334010 Thanks to Henrique de Moraes Holschuh . -- Jochen Friedrich Sat, 15 Oct 2005 09:24:26 +0200 net-snmp (5.2.1.2-3) unstable; urgency=low * Apply official library-version-update-5.2.1.2.patch to clean up the version mess (Closes: #322500) * Replace error_snmp6.patch by upstream systemstats-snmp6.patch * Added upstream inetNetToMedia-01.patch (Closes: #323038) * Added ipaddress_linux.c-in_len-out_len-type.patch from Julien BLACHE (Closes: #321713) -- Jochen Friedrich Mon, 5 Sep 2005 21:19:30 +0200 net-snmp (5.2.1.2-2) unstable; urgency=low * Don't print error message if ipv6 module is not loaded. (Closes: #319741) * Added conflicts against all packages using libsnmp5 due to upstream changing the binary API without increasing SONAME. See: #322500 -- Jochen Friedrich Thu, 28 Jul 2005 20:19:09 +0200 net-snmp (5.2.1.2-1) unstable; urgency=low * New upstream release (Closes: #293902). Contains fix for CAN-2005-2177 * Acknowledge NMU (Closes: #302195, #302386). Many thanks to Henrique de Moraes Holschuh for his quick action! * Including ucd-snmp/diskio (Closes: #264938) * Don't relink libraries (Closes: #243870) * Link against libsensors on all archs again (Closes: 304103) * Include fixproc (Closes: #310692) * Updated standards version to 3.6.2 * Change to patch based build system (Closes: #292412) * Updated GNOME-SMI.txt -- Jochen Friedrich Wed, 20 Jul 2005 21:47:32 +0200 net-snmp (5.1.2-6.1) unstable; urgency=emergency * NMU (with permission from maintainer) * debian/rules: clean up libdir in all .la files installed to /usr/lib, so as to avoid breaking all libtool builds (closes: #302195). -- Henrique de Moraes Holschuh Thu, 31 Mar 2005 12:14:11 -0300 net-snmp (5.1.2-6) unstable; urgency=medium * Backed out the unauthorized MIB changes. lm-sensors updates. Closes: #274624, Downgrades: #249904 * Fixed debian/fixman to not mangle the man pages (Closes: #273779). * Fixed snmpset.1 man page. Thanks to Nicolas François (nicolas.francois@centraliens.net (Closes: #274431) * Fix from CVS for v3 enginetime wrapping problem (Closes: #271543). * Backed out patch to skip over interfaces without stats. This might have an impact on #254571, #261701. Should be retested. -- Jochen Friedrich Fri, 1 Oct 2004 12:54:23 +0200 net-snmp (5.1.2-5) unstable; urgency=medium * Commented out remaining MemShared message Thanks to Johan Thelmén (Really closes: #244721) * New version of lm-sensors from upstream (Thanks to Mike Slifcak). lm-sensors is now enabled again on i386. Closes: #264442, #267691, #249839, #249904, 266270 -- Jochen Friedrich Thu, 23 Sep 2004 18:45:41 +0200 net-snmp (5.1.2-4) unstable; urgency=medium * Fix from CVS for scanning 64bit counters from /proc (Closes: #210364) -- Jochen Friedrich Fri, 27 Aug 2004 10:12:07 +0200 net-snmp (5.1.2-3) unstable; urgency=high * Fixed init script to not depend on defaults file (Closes: #267414) -- Jochen Friedrich Mon, 23 Aug 2004 17:27:47 +0200 net-snmp (5.1.2-2) unstable; urgency=medium * Disable lm-sensors support for i386 once again as it's not yet mature enough for sarge: - It seems to trash memory: (Downgrades: #264442) - It doesn't work as expected: #249839, #249904 - It is a likely candidate for memory leakage (at least it looks like the result of sensors_get_label() is never freed) -- Jochen Friedrich Tue, 17 Aug 2004 00:11:58 +0200 net-snmp (5.1.2-1) unstable; urgency=low * New upstream release (Closes: #237890, #236326, #217306, #261624) o Linux 2.6 improvements (Closes: #225253, #244721) o Misc 64bit processor fixes. o Misc perl build and install fixes. o Minor improvements to snmpnetstat (IPv6 output) o Minor improvements to snmpdelta (error reporting) * snmp now recommends perl-modules (Closes: #261687) * added watch file. * fixed some lintian errors and warnings. -- Jochen Friedrich Tue, 10 Aug 2004 11:18:31 +0200 net-snmp (5.1.1-2) unstable; urgency=low * Fix dependency of lm-sensors * Remove library circular dependency (Closes: #229132) -- Jochen Friedrich Fri, 9 Apr 2004 10:52:34 +0200 net-snmp (5.1.1-1) unstable; urgency=low * New upstream release (Closes: #232602, #238129) o Improvements on 64 bit architectures. o A few minor memory leaks fixed. o An extremely large number of minor bug fixes. o Many perl module specific bug fixes. o snmpd will safely handle more signals. * Enabled and fixed lm-sensors, this time for real. Thanks to Christopher Price for the patch. (Closes: #240502) -- Jochen Friedrich Tue, 6 Apr 2004 23:27:52 +0200 net-snmp (5.1-5) unstable; urgency=low * Enabled lm-sensors support again. * Fixed libsnmp-base postinst -> postrm (Closes: #236405) -- Jochen Friedrich Sat, 13 Mar 2004 09:39:17 +0100 net-snmp (5.1-4) unstable; urgency=low * Really fixed libwrap inclusion in net-snmp-config.in (Closes: #232396) -- Jochen Friedrich Mon, 23 Feb 2004 17:20:21 +0100 net-snmp (5.1-3) unstable; urgency=low * Applied patch from CVS to fix HOST-RESOURCES-MIB. (Closes: #232374) * Applied patch from CVS to fix output of strings containing CR or LF chars (bug 864367 on SF). (Closes: #218210) * Applied patch from CVS to fix syslog output. * Disabled lm-sensors support until kernel module issues are resolved. -- Jochen Friedrich Sat, 21 Feb 2004 00:29:06 +0100 net-snmp (5.1-2) unstable; urgency=low * Fix IPv6 MIB leaking file handles. Thanks to for pointing out the patch at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=85071. (Closes: #159495) * Fixed snmpd.defaults. Thanks to James Samuel for the patch. (Closes: #232394) * Fixed libwrap inclusion in net-snmp-config.in (Closes: #232396) * Updated shlibs to match version 5.1 (Closes: #232422) -- Jochen Friedrich Thu, 12 Feb 2004 19:30:57 +0100 net-snmp (5.1-1) unstable; urgency=low * New upstream release (Closes: #224382) * New maintainer (Closes: #230679) * Bumped standards version to 3.6.1 * Ack old NMUs (Closes: #182426, #186834, #183041) * Updated GNOME-SMI.txt * Removed duplicate conffiles * Fixed description to make litian happy -- Jochen Friedrich Mon, 9 Feb 2004 23:38:57 +0100 net-snmp (5.0.9-3) unstable; urgency=low * Only support lm-sensors on i386 (closes: #216500). -- David Engel Wed, 19 Nov 2003 14:13:02 -0600 net-snmp (5.0.9-2) unstable; urgency=low * Fixed problem with libsnmp5 depending on itself. * Make sure sysconfdir is defined (fixes bad path in manpages). * Fixed problem overwriting MIBs (closes: #216034). -- David Engel Thu, 16 Oct 2003 14:09:38 -0500 net-snmp (5.0.9-1) unstable; urgency=low * New upstream version (closes: #214660) - snmp.conf(5) man page is now corrected (closes: #185888). - Incorrect behaviour of snmpd allowing to bypass the access restrictions using snmpbulkget is corrected (closes: #205952). * Updated the debian/copyright file. * Changed to work with current libtool and autoconf (closes: $208380). * Link libraries with complete dependencies (closes: #199166). * Updated package descriptions (closes: #210122, closes: #210017, closes: #209704, closes: #209857, closes: #209905, closes: #209839). * Added manpages for net-snmp-config, snmpvacm, encode_keychange (closes: #182996) and tkmib (closes: #130684) from Jurij Smakov . * Fixed mib2c to look for config files in the correct places. * Enabled support for the lm-sensors MIB (closes: #204543). * Use the process name instead of the command-line when matching processes with proc config file directives (closes: #204542) from Philippe Troin . * Really enabled dlmod support (closes: #180639). * Don't use obsolete SO_BSDCOMPAT sockopt (closes: #201853). * Don't print SMUX passwords in log file (closes: #195622). * Fixed typo in default snmpd.conf (closes: #185366). * Don't include build paths in SNMP.so (closes: #184610). * Added the BGP4, OSPF and RIPv2 MIBs. * Ignore interfaces with no statistics (closes: #159321). * Added the GNOME SMI (closes: #196340). -- David Engel Tue, 14 Oct 2003 18:12:36 -0500 net-snmp (5.0.8-1) unstable; urgency=low * New upstream version. -- David Engel Wed, 14 May 2003 17:02:42 -0500 net-snmp (5.0.7-1.1) unstable; urgency=low * NMU based on patches by Paul Hampson * Add proper dependencies to libsnmp5-dev. Closes: #183041. * Use updated libtool for mips/mipsel. Closes: #182426. * Run debian/fixman.sh using bash. Closes: #186834. -- Daniel Schepler Sat, 26 Apr 2003 16:52:18 -0700 net-snmp (5.0.7-1) unstable; urgency=low * New upstream version (closes:177127, closes:154323, closes:154322). * Enabled dlmod support in snmpd (closes:180639). * Use current config.guess and config.sub (closes:172501). -- David Engel Sun, 23 Feb 2003 23:01:45 -0600 net-snmp (5.0.6-1) unstable; urgency=low * New upstream version. * Use autoconf2.13 (closes:157117, closes:162441, closes:162781). * Commented out example proc, exec, disk and load statements in the default snmpd.conf (closes:164028). Users can re-enable them if desired. * Added a note to README.Debian about the new snmpcmd command line syntax regarding community strings (closes:160198). -- David Engel Wed, 23 Oct 2002 09:20:11 -0500 net-snmp (5.0.3-2) unstable; urgency=low * Rebuild with perl 5.8. * Install additional UCD compatibility headers (closes: #156166). -- David Engel Sun, 1 Sep 2002 21:35:12 -0500 net-snmp (5.0.3-1) unstable; urgency=low * New upstream version. * Linked libraries with libcrypto and libwrap to get proper dependencies. Updated net-snmp-config accordingly (closes: #155153). * Included the UCD compatibility headers and library (closes: #155133). * Fixed bad snmpinform symlink (closes: #155196). * Fixed mib2c to look in /etc/snmp for config files (closes: #155157). -- David Engel Mon, 5 Aug 2002 21:01:27 -0500 net-snmp (5.0.2a-1) unstable; urgency=low * New upstream version (closes: #147761). * Added missing -f in init script. -- David Engel Mon, 1 Jul 2002 21:36:08 -0500 ucd-snmp (4.2.5-1) unstable; urgency=low * New upstream version (closes:145289). -- David Engel Tue, 14 May 2002 19:31:02 -0500 ucd-snmp (4.2.4-2) unstable; urgency=low * Made libucdmibs depend on libwrap (closes:144521). -- David Engel Thu, 25 Apr 2002 15:27:40 -0500 ucd-snmp (4.2.4-1) unstable; urgency=low * New upstream version. * Rebuilt with SSL since cryto can now go in main. * Explicitly use bash for the fixman script (closes:133652). * Don't use LD_RUN_PATH in perl/SNMP.so. * Fixed parsing of "-p udp:" in snmpd (closes:141176). -- David Engel Tue, 23 Apr 2002 20:50:25 -0500 ucd-snmp (4.2.3-2) unstable; urgency=high * Fixed potential buffer overflow in snmpnetstat (close:129243). * Updated upstream URL in debian/copyright file (close:125669). -- David Engel Mon, 28 Jan 2002 21:24:59 -0600 ucd-snmp (4.2.3-1) unstable; urgency=low * New upstream version (closes:122331). * Changed the snmpd syslog message when interface statistics are not available from LOG_ERR to LOG_DEBUG (closes:121555). * Added a note in README.Debian about changes to ucd-snmp-includes.h (closes:121095). -- David Engel Sat, 8 Dec 2001 20:11:34 -0600 ucd-snmp (4.2.2-1) unstable; urgency=low * New upstream version (closes:111966, closes:112005, closes:112073, closes:118795, closes:118848). * Removed Build-Depends on essential sed package (closes:111212). * Added the ucd-snmp.m4 autoconf file (closes:112078). * Moved mib2c from libsnmp-perl to libsnmp4.2-dev (closes:112393). * Remove /var/lib/snmp if libsnmp-base is purged (closes:113729). * Fixed int/size_t errors in mib_api man page (closes:114478). * Added a blurb in README.Debian about snmpconf (closes:115378). * Enabled smux support. * Moved the agentx socket from /var/agentx/master to /var/run/agents for FHS compatibility (closes:120015). -- David Engel Mon, 19 Nov 2001 13:33:59 -0600 ucd-snmp (4.2.1-6) testing unstable; urgency=high * Fixed LD_LIBRARY_PATH build problem when running under fakeroot (closes:107565, closes:104044). * Applied ucd-snmp-4.2.1-security*.patch from Caldera to fix potential buffer overflow, temp file race and group permission problems (closes:109345, closes:109733). * Documented the -s option in the snmpd manpage (closes:109639). * Changed the FAQ to reference /usr and /etc instead of /usr/lcoal (closes:107758). * Removed duplicate build dependency on libtool (closes:107476). Changed build dependency from perl5 to perl (>=5.6) (closes:107575). * Fixed minor typo in snmpd manpage (closes:106326). * Added symlinks for missing man pages (closes:99614) and renamed section 3 and 5 man pages to *.[35]snmp to aboid possible conflicts with other packages. * Applied ucd-snmp-4.2-ia64.patch from RedHat to properly set the return length of IP addresses on 64-bit architectures. -- David Engel Sun, 2 Sep 2001 22:47:30 -0500 ucd-snmp (4.2.1-5) unstable; urgency=low * Rebuilt without SSL (closes:98306, closes:102429). Will look into doing a non-US version with SSL. -- David Engel Sat, 7 Jul 2001 20:53:16 -0500 ucd-snmp (4.2.1-4) unstable; urgency=low * Fixed bug uncovered by libtool upgrade which caused snmpd not to build (closes:97965). -- David Engel Fri, 18 May 2001 20:49:14 -0500 ucd-snmp (4.2.1-3) unstable; urgency=low * Installed the libsnmp-perl module into the perl vendor directory (closes:95530). * Updated the description of the libsnmp-base package (closes:97170). * Upgraded to libtool 1.4 (closes:97660). -- David Engel Thu, 17 May 2001 20:16:17 -0500 ucd-snmp (4.2.1-2) unstable; urgency=low * Enabled SSL support. * Included the agent libraries in the -dev package to allow for building agent extensions. -- David Engel Tue, 15 May 2001 20:15:56 -0500 ucd-snmp (4.2.1-1) unstable; urgency=low * New upstream version. * Gave up and added autoconf and libtool to Build-Depends: (closes:92103). * Fixed mib2c to use /etc/snmp instead of /usr/share/snmp. -- David Engel Wed, 11 Apr 2001 23:39:52 -0500 ucd-snmp (4.2-7) unstable; urgency=low * Fixed long standing bug where mibs were not processed if the .index file was not present (closes: 89597). * Fixed starting of snmptrapd to be controlled by TRAPDRUN like it was intended and documented (closes: 90621). -- David Engel Sun, 25 Mar 2001 17:51:09 -0600 ucd-snmp (4.2-6) unstable; urgency=low * Avoid rerunning autoconf/header (Bug#89033). -- David Engel Sun, 11 Mar 2001 17:08:41 -0600 ucd-snmp (4.2-5) unstable; urgency=low * Fixed IBM S/390 build (Bug#88559). -- David Engel Tue, 6 Mar 2001 19:56:11 -0600 ucd-snmp (4.2-4) unstable; urgency=low * Fixed build installs into the live filesystem (Bug#87015). -- David Engel Sun, 25 Feb 2001 22:12:21 -0600 ucd-snmp (4.2-3) unstable; urgency=low * Removed the Pre-Depends for snmpd since it didn't fix the problem I was trying to solve (Bug#85573). -- David Engel Tue, 20 Feb 2001 20:08:41 -0600 ucd-snmp (4.2-2) unstable; urgency=low * Created new libsnmp-base package to allow future libsnmpX.Y packages to coexist (Bug#31253). * Added a slight delay after stopping the daemons to let them completely exit before restarting them (Bug#84696). * Added a /etc/default/snmpd file to control daemon activity. * Hopefully fixed strange error starting snmpd (Bug#58411). * Changed package priorities to optional to match the overrides file. * Added tkmib and libsnmp-perl packages (Bug#78942). -- David Engel Sun, 4 Feb 2001 13:27:26 -0600 ucd-snmp (4.2-1) unstable; urgency=low * New upstream version (Bug#82876). * Enabled ipv6 support (Bug#82879). * Updated to packaging standard 3.2.1 (Bug#82878). * Added BRIDGE- and SOURCE-ROUTING-MIBs (Bug#62696). -- David Engel Sun, 21 Jan 2001 12:52:02 -0600 ucd-snmp (4.1.2-2) unstable; urgency=low * Added real counter objects to the IPFWCHAINS MIB (George Bonser). * Don't resolve addresses to names in the IPFWCHAINS MIB (George Bonser). * Update the IPFWCHAINS MIB information properly. * Use /dev/null as logfile to force closing of std* (Bug#71959, Bug#66898). * Added a README.Debian file describing issues that are specific to Debian (Bug#70421, Bug#66477). -- David Engel Sun, 19 Nov 2000 21:39:38 -0600 ucd-snmp (4.1.2-1) unstable; urgency=low * New upstream version. * Fixed segfault in snmpd on processes with long command lines (Bug#64333). -- David Engel Mon, 22 May 2000 20:06:48 -0500 ucd-snmp (4.1.1-3) unstable; urgency=low * Added the ipfwchains MIB module (Bug#63252). -- David Engel Sat, 29 Apr 2000 21:36:34 -0500 ucd-snmp (4.1.1-2) frozen unstable; urgency=low * Fixed incorrect .so directives in man3 pages which caused several error messages from man_db. -- David Engel Sat, 8 Apr 2000 11:48:23 -0500 ucd-snmp (4.1.1-1) frozen unstable; urgency=low * New upstream version (Bug#60427). * Fixed memory leaks in snmpd (Bug#49809). * Installed snmpv3.h (Bug#60594). * Turned on syslog logging in snmpd (Bug#60611). -- David Engel Sat, 25 Mar 2000 20:45:07 -0600 ucd-snmp (4.0.1-9) frozen unstable; urgency=low * Fixed more serious build problems (Bug#60381). -- David Engel Tue, 14 Mar 2000 21:34:36 -0600 ucd-snmp (4.0.1-8) frozen unstable; urgency=low * Removed execute permission from header files. (Bug#60369). -- David Engel Tue, 14 Mar 2000 11:30:41 -0600 ucd-snmp (4.0.1-7) frozen unstable; urgency=low * Backported important fixes from 4.1-1 to get into frozen. * Removed hidden snmpd dependency on rpm (Bug#56471). * Removed bad paths in snmpd (Bug#56498). * Fixed segfault in snmpdelta (Bug#57486). -- David Engel Sun, 13 Feb 2000 12:52:53 -0600 ucd-snmp (4.0.1-6) frozen unstable; urgency=low * Issue a warning about retoring the default snmpd configuration when upgrading from the older, incompatible version (Bug#55883). -- David Engel Sat, 22 Jan 2000 20:45:26 -0600 ucd-snmp (4.0.1-5) unstable; urgency=low * Install EXAMPLE.conf (Bug#51584). -- David Engel Thu, 2 Dec 1999 19:55:00 -0600 ucd-snmp (4.0.1-4) unstable; urgency=low * Change persistent directory to /var/lib/snmp (Bug#48151). * Used LCD_TIME_SYNC_OPT. -- David Engel Mon, 25 Oct 1999 11:29:17 -0500 ucd-snmp (4.0.1-3) unstable; urgency=low * Removed snmpcheck, at least for now (Bug#44373). * Fixed shlibs file (Bug#45577). * Fixed build problems (Bug#45758). * Use FHS /usr/share/{doc,man}. -- David Engel Mon, 27 Sep 1999 20:50:55 -0500 ucd-snmp (4.0.1-2) unstable; urgency=low * Fixed parse error in the default snmpd.conf file. * Rebuilt with shared libwrap. -- David Engel Fri, 27 Aug 1999 20:59:19 -0500 ucd-snmp (4.0.1-1) unstable; urgency=low * New upstream version. * Switched back to normal soname since it no longer conflicts with the old one. -- David Engel Wed, 25 Aug 1999 20:26:03 -0500 ucd-snmp (3.6.2-8) unstable; urgency=low * Removed execute bit from MIB files (Bug#43300). * Partially reverted previous interface fixes for 2.0 kernels. -- David Engel Sat, 21 Aug 1999 23:08:26 -0500 ucd-snmp (3.6.2-7) unstable; urgency=low * Fixed incompete arg checking (Bug#43126). * Fixed ASN.1 length parsing on alpha (William Brioschi). -- David Engel Wed, 18 Aug 1999 09:58:40 -0500 ucd-snmp (3.6.2-6) unstable; urgency=low * Re-did some previous fixes properly. -- David Engel Fri, 13 Aug 1999 10:43:20 -0500 ucd-snmp (3.6.2-5) unstable; urgency=low * Fixed more interface calculation errors. -- David Engel Thu, 12 Aug 1999 20:27:39 -0500 ucd-snmp (3.6.2-4) unstable; urgency=low * Fixed the calculation of if{In,Out}Octets under Linux 2.2. * Moved the .5 manpages to the libucdsnmp package (Bug#42759 and Bug#42765). * Started the snmptrapd daemon to replace the old snmptraplogd package functionality (Bug#42792). -- David Engel Tue, 10 Aug 1999 19:37:28 -0500 ucd-snmp (3.6.2-3) unstable; urgency=low * Applied upstream patches 3, 4, 9 and 10. -- David Engel Fri, 6 Aug 1999 21:59:43 -0500 ucd-snmp (3.6.2-2) unstable; urgency=low * Don't use --disable-debugging. * Fix calculation of ifNumber as interfaces are added and removed (Bug#42452). * Don't process packets in snmpd when recvfrom returns an error (Bug#42465). -- David Engel Thu, 5 Aug 1999 20:33:28 -0500 ucd-snmp (3.6.2-1) unstable; urgency=low * Switched to UCD SNMP. * Use debhelper. -- David Engel Sat, 24 Jul 1999 20:33:10 -0500 snmp (3.6-3) unstable; urgency=low * Split the snmpd agent into a separate package so the apps can be installed without it (Bug#37560). * Reduced the amount of information reported by the snmpd agent by default (Bug#37169). -- David Engel Wed, 19 May 1999 21:50:33 -0500 snmp (3.6-2) unstable; urgency=low * Include libsnmp.a (Bug#34826). * Change CWD to / before starting snmpd (Bug#35977). -- David Engel Tue, 27 Apr 1999 12:01:30 -0500 snmp (3.6-1) frozen unstable; urgency=low * New upstream version (mainly bug fixes). -- David Engel Fri, 27 Nov 1998 21:59:51 -0600 snmp (3.5-4) unstable; urgency=low * Install mib.h header file (Bug#25777). -- David Engel Wed, 19 Aug 1998 20:48:44 -0500 snmp (3.5-3) frozen unstable; urgency=low * Check for the existence of the rc script before running it in the prerm script (Bug#21565). -- David Engel Mon, 11 May 1998 15:44:17 -0500 snmp (3.5-2) unstable; urgency=low * Remove old /usr/doc/snmp directory in preinst. Is is now a symlink to /usr/doc/libsnmp3.5. * Fixed MIB parsing bug (Bug#19225). -- David Engel Sat, 14 Mar 1998 14:24:50 -0600 snmp (3.5-1) unstable; urgency=low * New upstream version. * Add libsnmp3.5 and libsnmp3.5-dev packages (Bug#16557). * Explicitly link libsnmp.so.* with -lc (Bug#18315). * Add restart|reload|force-reload support to init.d script (Bug#17118). -- David Engel Wed, 18 Feb 1998 12:00:00 -0500 snmp (3.4-2) unstable; urgency=low * Enable full dumping of debug packets. * Change /etc/snmpd.conf to mode 600. -- David Engel Mon, 8 Dec 1997 13:43:41 -0600 snmp (3.4-1) unstable; urgency=low * Updated to new upstream version. * Fixes Bug#9855, Bug#11161 and Bug#11688. -- David Engel Thu, 7 Aug 1997 16:44:00 -0500 snmp (3.3-2) unstable; urgency=low * Built with libc6. * Updated init.d script messages to current standards. -- David Engel Tue, 13 May 1997 20:40:37 -0500 snmp (3.3-1) unstable; urgency=low * Updated to new upstream version. -- David Engel Mon, 31 Mar 1997 19:13:44 -0600 snmp (3.2-2) unstable; urgency=low * Converted to new packaging standards. * Removed development files. They may be reappear in a -dev package sometime in the future. -- David Engel Wed, 19 Feb 1997 20:53:07 -0600 debian/source.apport0000664000000000000000000000241512233734026011723 0ustar #!/usr/bin/python '''apport hook for net-snmp (c) 2010 Andres Rodriguez Author: Andres Rodriguez This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See http://www.gnu.org/copyleft/gpl.html for the full text of the license. ''' from apport.hookutils import * import re def add_info(report, ui): response = ui.yesno("The contents of your /etc/snmp/snmpd.conf and " "your /etc/snmp/snmptrapd.conf files may help " "developers diagnose your bug more quickly. " "However, it may contain sensitive information. " "Do you want to include it in your bug report?") if response == None: # user cancelled raise StopIteration elif response == True: attach_conffiles(report, 'snmpd') # get version report['SNMPVersion'] = root_command_output(['/usr/sbin/snmpd', '-v']) # get syslog stuff report['SyslogSnmpd'] = recent_syslog(re.compile('snmpd\[')) report['SyslogSnmptrapd'] = recent_syslog(re.compile('snmptrapd\[')) debian/libsnmp30.install0000664000000000000000000000002412153747054012373 0ustar usr/lib/*/lib*.so.* debian/libsnmp-base.postrm0000664000000000000000000000017212146245402013012 0ustar #! /bin/sh set -e # Remove /var/lib/snmp if being purged. [ "$1" = purge ] && rm -fr /var/lib/snmp #DEBHELPER# exit 0 debian/libsnmp30.dirs0000664000000000000000000000001512153747054011666 0ustar var/lib/snmp debian/tkmib.docs0000664000000000000000000000002012146245402011140 0ustar FAQ NEWS README debian/snmpd.install0000664000000000000000000000027512153747054011715 0ustar debian/snmptrapd.conf etc/snmp/ usr/sbin/* usr/share/snmp/snmpconf-data/snmpd-data usr/share/snmp/snmpconf-data/snmptrapd-data usr/share/snmp/snmp_perl.pl usr/share/snmp/snmp_perl_trapd.pl debian/source/0000775000000000000000000000000012146245402010470 5ustar debian/source/format0000664000000000000000000000001412146245402011676 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000212153747054010376 0ustar 9 debian/snmpd.default0000664000000000000000000000123412153747054011667 0ustar # This file controls the activity of snmpd and snmptrapd # 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 /var/run/snmpd.pid' # snmptrapd control (yes means start daemon). As of net-snmp version # 5.0, master agentx support must be enabled in snmpd before snmptrapd # can be run. See snmpd.conf(5) for how to do this. TRAPDRUN=no # snmptrapd options (use syslog). TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' debian/snmp.preinst0000664000000000000000000000053712153747054011570 0ustar #!/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 debian/snmpd.dirs0000664000000000000000000000001112153747054011174 0ustar etc/snmp debian/libsnmp30.postinst0000664000000000000000000000006212153747054012612 0ustar #! /bin/sh set -e ldconfig #DEBHELPER# exit 0 debian/patches/0000775000000000000000000000000012320763471010624 5ustar debian/patches/fix_manpage-has-errors_break_line.patch0000664000000000000000000000311412153747054020363 0ustar Description: fix manpage error see http://lintian.debian.org/tags/manpage-has-errors-from-man.html Author: Hideki Yamane --- 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: debian/patches/26_kfreebsd.patch0000664000000000000000000000400012153747054013736 0ustar 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 #include -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #include #if !defined(CPUSTATES) #include @@ -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); debian/patches/62_add_lib_cflags.patch0000664000000000000000000000261712153747054015062 0ustar 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)" debian/patches/02_statistics.patch0000664000000000000000000000207412153747054014346 0ustar 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; debian/patches/fix_spelling_error.patch0000664000000000000000000000424612153747054015552 0ustar Description: fix spelling error Author: Hideki Yamane --- 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\ - is interpreted as a hex string when preceeded by \"0x\",\n\ + is interpreted as a hex string when preceded by \"0x\",\n\ otherwise it is created to contain \"text\". If nothing is given,\n\ 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, ""} }; debian/patches/CVE-2012-6151.patch0000664000000000000000000002521512320763445013244 0ustar Description: fix denial of service via AgentX subagent timeout Origin: based on RedHat's backport of upstream commits. Thanks! Origin: backport, http://sourceforge.net/p/net-snmp/code/ci/f9304c83f76202db0e684269ca1af32e43cd9db4 Origin: backport, http://sourceforge.net/p/net-snmp/code/ci/793d596838ff7cb48a73b675d62897c56c9e62df Bug: http://sourceforge.net/p/net-snmp/bugs/2411/ Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731625 Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-6151 Index: net-snmp-5.7.2~dfsg/agent/mibgroup/agentx/master.c =================================================================== --- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/agentx/master.c 2012-10-09 18:28:58.000000000 -0400 +++ net-snmp-5.7.2~dfsg/agent/mibgroup/agentx/master.c 2014-03-11 09:16:01.212180291 -0400 @@ -219,7 +219,10 @@ if (!cache) { DEBUGMSGTL(("agentx/master", "response too late on session %8p\n", session)); - return 0; + /* response is too late, free the cache */ + if (magic) + netsnmp_free_delegated_cache((netsnmp_delegated_cache*) magic); + return 1; } requests = cache->requests; @@ -606,6 +609,8 @@ 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; Index: net-snmp-5.7.2~dfsg/agent/mibgroup/agentx/master_admin.c =================================================================== --- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/agentx/master_admin.c 2012-10-09 18:28:58.000000000 -0400 +++ net-snmp-5.7.2~dfsg/agent/mibgroup/agentx/master_admin.c 2014-03-11 09:15:22.624179258 -0400 @@ -133,11 +133,16 @@ * requests, so that the delegated request will be completed and * further requests can be processed */ - netsnmp_remove_delegated_requests_for_session(session); + while (netsnmp_remove_delegated_requests_for_session(session)) { + DEBUGMSGTL(("agentx/master", "Continue removing delegated reqests\n")); + } + if (session->subsession != NULL) { netsnmp_session *subsession = session->subsession; for(; subsession; subsession = subsession->next) { - netsnmp_remove_delegated_requests_for_session(subsession); + while (netsnmp_remove_delegated_requests_for_session(subsession)) { + DEBUGMSGTL(("agentx/master", "Continue removing delegated subsession reqests\n")); + } } } @@ -153,6 +158,7 @@ for (sp = session->subsession; sp != NULL; sp = sp->next) { if (sp->sessid == sessid) { + netsnmp_remove_delegated_requests_for_session(sp); unregister_mibs_by_session(sp); unregister_index_by_session(sp); unregister_sysORTable_by_session(sp); Index: net-snmp-5.7.2~dfsg/agent/snmp_agent.c =================================================================== --- net-snmp-5.7.2~dfsg.orig/agent/snmp_agent.c 2012-10-09 18:28:58.000000000 -0400 +++ net-snmp-5.7.2~dfsg/agent/snmp_agent.c 2014-03-11 09:17:09.304182115 -0400 @@ -1446,6 +1446,7 @@ netsnmp_free_cachemap(asp->cache_store); asp->cache_store = NULL; } + agent_snmp_session_release_cancelled(asp); SNMP_FREE(asp); } @@ -1457,6 +1458,10 @@ if (NULL == asp->treecache) return 0; + + if (agent_snmp_session_is_cancelled(asp)) { + return 0; + } for (i = 0; i <= asp->treecache_num; i++) { for (request = asp->treecache[i].requests_begin; request; @@ -1535,39 +1540,48 @@ netsnmp_remove_delegated_requests_for_session(netsnmp_session *sess) { netsnmp_agent_session *asp; - int count = 0; + int total_count = 0; for (asp = agent_delegated_list; asp; asp = asp->next) { /* * check each request */ + int i; + int count = 0; netsnmp_request_info *request; - for(request = asp->requests; request; request = request->next) { - /* - * check session - */ - netsnmp_assert(NULL!=request->subtree); - if(request->subtree->session != sess) - continue; + for (i = 0; i <= asp->treecache_num; i++) { + for (request = asp->treecache[i].requests_begin; request; + request = request->next) { + /* + * check session + */ + netsnmp_assert(NULL!=request->subtree); + if(request->subtree->session != sess) + continue; - /* - * matched! mark request as done - */ - netsnmp_request_set_error(request, SNMP_ERR_GENERR); - ++count; + /* + * matched! mark request as done + */ + netsnmp_request_set_error(request, SNMP_ERR_GENERR); + ++count; + } + } + if (count) { + agent_snmp_session_mark_cancelled(asp); + total_count += count; } } /* * if we found any, that request may be finished now */ - if(count) { + if(total_count) { DEBUGMSGTL(("snmp_agent", "removed %d delegated request(s) for session " - "%8p\n", count, sess)); - netsnmp_check_outstanding_agent_requests(); + "%8p\n", total_count, sess)); + netsnmp_check_delegated_requests(); } - return count; + return total_count; } int @@ -2739,19 +2753,11 @@ return final_status; } -/* - * loop through our sessions known delegated sessions and check to see - * if they've completed yet. If there are no more delegated sessions, - * check for and process any queued requests - */ void -netsnmp_check_outstanding_agent_requests(void) +netsnmp_check_delegated_requests(void) { netsnmp_agent_session *asp, *prev_asp = NULL, *next_asp = NULL; - /* - * deal with delegated requests - */ for (asp = agent_delegated_list; asp; asp = next_asp) { next_asp = asp->next; /* save in case we clean up asp */ if (!netsnmp_check_for_delegated(asp)) { @@ -2790,6 +2796,22 @@ prev_asp = asp; } } +} + +/* + * loop through our sessions known delegated sessions and check to see + * if they've completed yet. If there are no more delegated sessions, + * check for and process any queued requests + */ +void +netsnmp_check_outstanding_agent_requests(void) +{ + netsnmp_agent_session *asp; + + /* + * deal with delegated requests + */ + netsnmp_check_delegated_requests(); /* * if we are processing a set and there are more delegated @@ -2819,7 +2841,8 @@ netsnmp_processing_set = netsnmp_agent_queued_list; DEBUGMSGTL(("snmp_agent", "SET request remains queued while " - "delegated requests finish, asp = %8p\n", asp)); + "delegated requests finish, asp = %8p\n", + agent_delegated_list)); break; } #endif /* NETSNMP_NO_WRITE_SUPPORT */ @@ -2880,6 +2903,10 @@ case SNMP_MSG_GETBULK: case SNMP_MSG_GETNEXT: netsnmp_check_all_requests_status(asp, 0); + if (agent_snmp_session_is_cancelled(asp)) { + DEBUGMSGTL(("snmp_agent","canceling next walk for asp %p\n", asp)); + break; + } handle_getnext_loop(asp); if (netsnmp_check_for_delegated(asp) && netsnmp_check_transaction_id(asp->pdu->transid) != @@ -3836,3 +3863,71 @@ } #endif /* NETSNMP_FEATURE_REMOVE_SET_ALL_REQUESTS_ERROR */ /** @} */ + + +/* + * Ugly hack to fix bug #950602 and preserve ABI + * (the official patch adds netsnmp_agent_session->flags). + * We must create parallel database of netsnmp_agent_sessions + * and put cancelled requests there instead of marking + * netsnmp_agent_session->flags. + */ +static netsnmp_agent_session **cancelled_agent_snmp_sessions; +static int cancelled_agent_snmp_sessions_count; +static int cancelled_agent_snmp_sessions_max; + +int +agent_snmp_session_mark_cancelled(netsnmp_agent_session *session) +{ + DEBUGMSGTL(("agent:cancelled", "Cancelling session %p\n", session)); + if (!session) + return 0; + if (cancelled_agent_snmp_sessions_count + 1 > cancelled_agent_snmp_sessions_max) { + netsnmp_agent_session **aux; + int max = cancelled_agent_snmp_sessions_max + 10; + aux = realloc(cancelled_agent_snmp_sessions, sizeof(netsnmp_agent_session*) * max); + if (!aux) + return SNMP_ERR_GENERR; + cancelled_agent_snmp_sessions = aux; + cancelled_agent_snmp_sessions_max = max; + } + cancelled_agent_snmp_sessions[cancelled_agent_snmp_sessions_count] = session; + cancelled_agent_snmp_sessions_count++; + return 0; +} + +int +agent_snmp_session_is_cancelled(netsnmp_agent_session *session) +{ + int i; + for (i=0; i: search nlist() in libkvm. 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.]), debian/patches/61_vacm_missing_dependency_check.patch0000664000000000000000000000257112153747054020175 0ustar 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 +#include /** * 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(); } debian/patches/dropped_25_duplicate_iftable.patch0000664000000000000000000001061212153747054017333 0ustar 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 -> not applied to current code. need to investigate more Hideki Yamane 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) { debian/patches/fix_logging_option.patch0000664000000000000000000000136012153747054015534 0ustar Description: fix man description Author: Hideki Yamane --- 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 debian/patches/00upstream-btrfs.patch0000664000000000000000000000263212310050724014753 0ustar Bug 965348 - HOST-RESOURCES-MIB::hrFS* not includes btrfs commit da1fef382591ff45dc92eb3b95a6bfeff9ecfa4f Author: Jan Safranek Date: Tue May 21 09:13:41 2013 +0200 CHANGES: snmpd: Added btrfs support to hrFSTable diff -up net-snmp-5.7.2/agent/mibgroup/hardware/fsys/fsys_mntent.c.btrfs net-snmp-5.7.2/agent/mibgroup/hardware/fsys/fsys_mntent.c --- net-snmp-5.7.2/agent/mibgroup/hardware/fsys/fsys_mntent.c.btrfs 2012-10-10 00:28:58.000000000 +0200 +++ net-snmp-5.7.2/agent/mibgroup/hardware/fsys/fsys_mntent.c 2013-05-21 09:22:11.457405066 +0200 @@ -139,6 +139,7 @@ _fsys_type( char *typename ) !strcmp(typename, MNTTYPE_REISERFS) || !strcmp(typename, MNTTYPE_OCFS2) || !strcmp(typename, MNTTYPE_CVFS) || + !strcmp(typename, MNTTYPE_BTRFS) || !strcmp(typename, MNTTYPE_LOFS)) return NETSNMP_FS_TYPE_OTHER; diff -up net-snmp-5.7.2/agent/mibgroup/hardware/fsys/mnttypes.h.btrfs net-snmp-5.7.2/agent/mibgroup/hardware/fsys/mnttypes.h --- net-snmp-5.7.2/agent/mibgroup/hardware/fsys/mnttypes.h.btrfs 2012-10-10 00:28:58.000000000 +0200 +++ net-snmp-5.7.2/agent/mibgroup/hardware/fsys/mnttypes.h 2013-05-21 09:22:33.758303373 +0200 @@ -142,6 +142,9 @@ #ifndef MNTTYPE_CVFS #define MNTTYPE_CVFS "cvfs" #endif +#ifndef MNTTYPE_BTRFS +#define MNTTYPE_BTRFS "btrfs" +#endif /* * File systems to skip debian/patches/series0000664000000000000000000000113212320763471012036 0ustar 00upstream-btrfs.patch 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 CVE-2012-6151.patch CVE-2014-2284.patch CVE-2014-2285.patch debian/patches/60_libsensors_api.patch0000664000000000000000000002146412153747054015200 0ustar Patch from Jonathan Nieder 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 - #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 */ debian/patches/net-snmp-config_multi-arch.patch0000664000000000000000000000204212153747054016777 0ustar Description: enable Multi-Arch support in net-snmp-config specify $DEB_HOST_MULTIARCH to enable Multi-Arch Author: Hideki Yamane --- 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*) debian/patches/CVE-2014-2284.patch0000664000000000000000000001272712320763460013252 0ustar commit a1fd64716f6794c55c34d77e618210238a73bfa1 Author: Wes Hardaker Date: Wed Feb 19 15:21:57 2014 -0800 bug fix from fenner: fix ICMP mib table handling on linux Index: net-snmp-5.7.2~dfsg/agent/mibgroup/mibII/icmp.c =================================================================== --- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/mibII/icmp.c 2014-03-11 09:17:48.404183162 -0400 +++ net-snmp-5.7.2~dfsg/agent/mibgroup/mibII/icmp.c 2014-03-11 09:17:48.396183162 -0400 @@ -106,10 +106,20 @@ int flags; }; +#ifdef linux +/* Linux keeps track of all possible message types */ +#define ICMP_MSG_STATS_IPV4_COUNT 256 +#else #define ICMP_MSG_STATS_IPV4_COUNT 11 +#endif #ifdef NETSNMP_ENABLE_IPV6 +#ifdef linux +/* Linux keeps track of all possible message types */ +#define ICMP_MSG_STATS_IPV6_COUNT 256 +#else #define ICMP_MSG_STATS_IPV6_COUNT 14 +#endif #else #define ICMP_MSG_STATS_IPV6_COUNT 0 #endif /* NETSNMP_ENABLE_IPV6 */ @@ -177,7 +187,7 @@ inc = 0; linux_read_icmp_msg_stat(&v4icmp, &v4icmpmsg, &flag); if (flag) { - while (254 != k) { + while (255 >= k) { if (v4icmpmsg.vals[k].InType) { icmp_msg_stats_table[i].ipVer = 1; icmp_msg_stats_table[i].icmpMsgStatsType = k; @@ -267,7 +277,7 @@ inc = 0; linux_read_icmp6_msg_stat(&v6icmp, &v6icmpmsg, &flag); if (flag) { - while (254 != k) { + while (255 >= k) { if (v6icmpmsg.vals[k].InType) { icmp_msg_stats_table[i].ipVer = 2; icmp_msg_stats_table[i].icmpMsgStatsType = k; @@ -1050,6 +1060,12 @@ continue; table_info = netsnmp_extract_table_info(request); subid = table_info->colnum; + DEBUGMSGTL(( "mibII/icmpStatsTable", "oid: " )); + DEBUGMSGOID(( "mibII/icmpStatsTable", request->requestvb->name, + request->requestvb->name_length )); + DEBUGMSG(( "mibII/icmpStatsTable", " In %d InErr %d Out %d OutErr %d\n", + entry->icmpStatsInMsgs, entry->icmpStatsInErrors, + entry->icmpStatsOutMsgs, entry->icmpStatsOutErrors )); switch (subid) { case ICMP_STAT_INMSG: @@ -1117,6 +1133,11 @@ continue; table_info = netsnmp_extract_table_info(request); subid = table_info->colnum; + DEBUGMSGTL(( "mibII/icmpMsgStatsTable", "oid: " )); + DEBUGMSGOID(( "mibII/icmpMsgStatsTable", request->requestvb->name, + request->requestvb->name_length )); + DEBUGMSG(( "mibII/icmpMsgStatsTable", " In %d Out %d Flags 0x%x\n", + entry->icmpMsgStatsInPkts, entry->icmpMsgStatsOutPkts, entry->flags )); switch (subid) { case ICMP_MSG_STAT_IN_PKTS: Index: net-snmp-5.7.2~dfsg/agent/mibgroup/mibII/kernel_linux.c =================================================================== --- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/mibII/kernel_linux.c 2014-03-11 09:17:48.404183162 -0400 +++ net-snmp-5.7.2~dfsg/agent/mibgroup/mibII/kernel_linux.c 2014-03-11 09:17:48.396183162 -0400 @@ -81,9 +81,9 @@ index = strtol(token, &delim, 0); if (ERANGE == errno) { continue; - } else if (index > LONG_MAX) { + } else if (index > 255) { continue; - } else if (index < LONG_MIN) { + } else if (index < 0) { continue; } if (NULL == (token = strtok_r(dataptr, " ", &saveptr1))) @@ -94,9 +94,9 @@ index = strtol(token, &delim, 0); if (ERANGE == errno) { continue; - } else if (index > LONG_MAX) { + } else if (index > 255) { continue; - } else if (index < LONG_MIN) { + } else if (index < 0) { continue; } if(NULL == (token = strtok_r(dataptr, " ", &saveptr1))) @@ -426,14 +426,21 @@ vals = name; if (NULL != icmp6msgstat) { + int type; if (0 == strncmp(name, "Icmp6OutType", 12)) { strsep(&vals, "e"); - icmp6msgstat->vals[atoi(vals)].OutType = stats; + type = atoi(vals); + if ( type < 0 || type > 255 ) + continue; + icmp6msgstat->vals[type].OutType = stats; *support = 1; continue; } else if (0 == strncmp(name, "Icmp6InType", 11)) { strsep(&vals, "e"); - icmp6msgstat->vals[atoi(vals)].InType = stats; + type = atoi(vals); + if ( type < 0 || type > 255 ) + continue; + icmp6msgstat->vals[type].InType = stats; *support = 1; continue; } Index: net-snmp-5.7.2~dfsg/agent/mibgroup/mibII/kernel_linux.h =================================================================== --- net-snmp-5.7.2~dfsg.orig/agent/mibgroup/mibII/kernel_linux.h 2014-03-11 09:17:48.404183162 -0400 +++ net-snmp-5.7.2~dfsg/agent/mibgroup/mibII/kernel_linux.h 2014-03-11 09:17:48.396183162 -0400 @@ -121,11 +121,11 @@ /* Lets use wrapper structures for future expansion */ struct icmp4_msg_mib { - struct icmp_msg_mib vals[255]; + struct icmp_msg_mib vals[256]; }; struct icmp6_msg_mib { - struct icmp_msg_mib vals[255]; + struct icmp_msg_mib vals[256]; }; struct udp_mib { debian/patches/fix_man_error.patch0000664000000000000000000000144612153747054014507 0ustar Description: fix man error - mib2c.conf http://lintian.debian.org/tags/manpage-has-bad-whatis-entry.html Author: Hideki Yamane --- 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@ debian/patches/05_searchdirs.patch0000664000000000000000000000105712153747054014306 0ustar 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 { debian/patches/64_missing_lib.patch0000664000000000000000000000366412153747054014471 0ustar 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]) debian/patches/CVE-2014-2285.patch0000664000000000000000000000343112320763471013245 0ustar commit 76e8d6d100320629d8a23be4b0128619600c919d Author: Jan Safranek Date: Thu Mar 6 09:21:51 2014 +0100 CHANGES: snmpd: PATCH: 1275: from Viliam Púčik: fixed Perl trap handler when processing trap with empty community string. diff --git a/perl/TrapReceiver/TrapReceiver.xs b/perl/TrapReceiver/TrapReceiver.xs index e11ef27..8713efd 100644 --- a/perl/TrapReceiver/TrapReceiver.xs +++ b/perl/TrapReceiver/TrapReceiver.xs @@ -81,18 +81,18 @@ int perl_trapd_handler( netsnmp_pdu *pdu, STOREPDUi("securitymodel", pdu->securityModel); STOREPDUi("securitylevel", pdu->securityLevel); STOREPDU("contextName", - newSVpv(pdu->contextName, pdu->contextNameLen)); + newSVpv(pdu->contextName ? pdu->contextName : "", pdu->contextNameLen)); STOREPDU("contextEngineID", - newSVpv((char *) pdu->contextEngineID, + newSVpv(pdu->contextEngineID ? (char *) pdu->contextEngineID : "", pdu->contextEngineIDLen)); STOREPDU("securityEngineID", - newSVpv((char *) pdu->securityEngineID, + newSVpv(pdu->securityEngineID ? (char *) pdu->securityEngineID : "", pdu->securityEngineIDLen)); STOREPDU("securityName", - newSVpv((char *) pdu->securityName, pdu->securityNameLen)); + newSVpv(pdu->securityName ? (char *) pdu->securityName : "", pdu->securityNameLen)); } else { STOREPDU("community", - newSVpv((char *) pdu->community, pdu->community_len)); + newSVpv(pdu->community ? (char *) pdu->community : "", pdu->community_len)); } if (transport && transport->f_fmtaddr) { debian/patches/27_kfreebsd_bug625985.patch0000664000000000000000000000114412153747054015305 0ustar 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 +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]; debian/patches/03_makefiles.patch0000664000000000000000000000563212153747054014120 0ustar 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 debian/patches/fix_typo_in_snmpd.conf.patch0000664000000000000000000000117012153747054016323 0ustar Description: fix typo Author: Hideki Yamane --- 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 debian/patches/fix_regular_expression.patch0000664000000000000000000000342612153747054016443 0ustar 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 --- 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", debian/patches/06_extramibs.patch0000664000000000000000000000436412153747054014162 0ustar 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 debian/patches/07_docfiles.patch0000664000000000000000000001052012153747054013744 0ustar 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 debian/patches/snmptranslate.1.patch0000664000000000000000000000372112153747054014705 0ustar Description: fix hyphen-used-as-minus-sign fix lintian "hyphen-used-as-minus-sign" warnings. Author: Hideki Yamane --- 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 debian/patches/fix_snmpcheck_perl_path.patch0000664000000000000000000000064512153747054016534 0ustar Description: fix snmpcheck shebang Just don't use /usr/local/bin/perl... Author: Hideki Yamane --- 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; debian/patches/after_RFC53780000664000000000000000000000214712153747054012700 0ustar Description: exclude under RFC5378 modules Author: Hideki Yamane --- 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 debian/snmp.postinst0000664000000000000000000000111012153747054011753 0ustar #!/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 debian/libsnmp-base.docs0000664000000000000000000000007512153747054012430 0ustar FAQ NEWS README README.snmpv3 README.thread mibs/README.mibs debian/libsnmp30.copyright0000664000000000000000000000000012153747054012727 0ustar debian/libsnmp30.docs0000664000000000000000000000013412153747054011657 0ustar AGENT.txt FAQ NEWS README README.agentx README.snmpv3 README.thread TODO local/README.mib2c debian/NEWS0000664000000000000000000000456412146245402007700 0ustar 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 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 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 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 Fri, 20 Jan 2006 15:11:07 +0100 debian/tkmib.install0000664000000000000000000000005112153747054011672 0ustar usr/bin/tkmib usr/share/man/man1/tkmib.1 debian/libsnmp-dev.install0000664000000000000000000000063712172541442013010 0ustar 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 debian/copyright0000664000000000000000000003053612146245402011132 0ustar This is the Debian GNU/Linux prepackaged version of Net-SNMP. This package was put together by David Engel , from sources obtained from http://net-snmp.sourceforge.net/. It is now maintained by Jochen Friedrich . As of version 5.4, the upstream sources contain non DFSG-free RFCs in the doc directory which has been removed for Debian. Copyright: Various copyrights apply to this package, listed in various separate parts below. Please make sure that you read all the parts. Up until 2001, the project was based at UC Davis, and the first part covers all code written during this time. From 2001 onwards, the project has been based at SourceForge, and Networks Associates Technology, Inc hold the copyright on behalf of the wider Net-SNMP community, covering all derivative work done since then. An additional copyright section has been added as Part 3 below also under a BSD license for the work contributed by Cambridge Broadband Ltd. to the project since 2001. An additional copyright section has been added as Part 4 below also under a BSD license for the work contributed by Sun Microsystems, Inc. to the project since 2003. Code has been contributed to this project by many people over the years it has been in development, and a full list of contributors can be found in the README file under the THANKS section. ---- Part 1: CMU/UCD copyright notice: (BSD like) ----- Copyright 1989, 1991, 1992 by Carnegie Mellon University Derivative Work - 1996, 1998-2000 Copyright 1996, 1998-2000 The Regents of the University of California All Rights Reserved Permission to use, copy, modify and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of CMU and The Regents of the University of California not be used in advertising or publicity pertaining to distribution of the software without specific written permission. CMU AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL CMU OR THE REGENTS OF THE UNIVERSITY OF CALIFORNIA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM THE LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ---- Part 2: Networks Associates Technology, Inc copyright notice (BSD) ----- Copyright (c) 2001-2003, Networks Associates Technology, Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Networks Associates Technology, Inc nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---- Part 3: Cambridge Broadband Ltd. copyright notice (BSD) ----- Portions of this code are copyright (c) 2001-2003, Cambridge Broadband Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name of Cambridge Broadband Ltd. may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---- Part 4: Sun Microsystems, Inc. copyright notice (BSD) ----- Copyright © 2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. Use is subject to license terms below. This distribution may include materials developed by third parties. Sun, Sun Microsystems, the Sun logo and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Sun Microsystems, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---- Part 5: Sparta, Inc copyright notice (BSD) ----- Copyright (c) 2003-2006, Sparta, Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Sparta, Inc nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---- Part 6: Cisco/BUPTNIC copyright notice (BSD) ----- Copyright (c) 2004, Cisco, Inc and Information Network Center of Beijing University of Posts and Telecommunications. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Cisco, Inc, Beijing University of Posts and Telecommunications, nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---- Part 7: Fabasoft R&D Software GmbH & Co KG copyright notice (BSD) ----- Copyright (c) Fabasoft R&D Software GmbH & Co KG, 2003 oss@fabasoft.com Author: Bernhard Penz Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name of Fabasoft R&D Software GmbH & Co KG or any of its subsidiaries, brand or product names may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/libsnmp-base.dirs0000664000000000000000000000001512146245402012423 0ustar var/lib/snmp debian/watch0000664000000000000000000000014512146245402010221 0ustar version=3 opts=dversionmangle=s/~dfsg$// \ http://sf.net/net-snmp/net-snmp-([\d+\.]+|\d+)\.tar\.gz debian/snmp.prerm0000664000000000000000000000040012153747054011216 0ustar #!/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 debian/snmp.lintian-overrides0000664000000000000000000000005312146245402013523 0ustar snmp: description-starts-with-package-name debian/README.Debian0000664000000000000000000000174412153747054011247 0ustar 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 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. debian/snmpd.lintian-overrides0000664000000000000000000000020212153747054013673 0ustar snmpd: non-standard-file-perm etc/snmp/snmpd.conf 0600 != 0644 snmpd: non-standard-file-perm etc/snmp/snmptrapd.conf 0600 != 0644 debian/snmp.install0000664000000000000000000000020412153747054011541 0ustar debian/snmp.conf etc/snmp/ usr/bin/snmp* usr/bin/encode* usr/bin/fixproc usr/bin/traptoemail usr/share/snmp/snmpconf-data/snmp-data debian/libsnmp-perl.preinst0000664000000000000000000000066712153747054013223 0ustar #!/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 debian/README.Debian-source0000664000000000000000000000057112146245402012532 0ustar 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. debian/libsnmp-base.manpages0000664000000000000000000000015512153747054013272 0ustar man/mib2c.conf.5 man/snmp.conf.5 man/snmp_config.5 man/snmpd.examples.5 man/snmpd.internal.5 man/variables.5 debian/snmpd.manpages0000664000000000000000000000010312153747054012030 0ustar man/snmpd.conf.5 man/snmptrapd.conf.5 man/snmpd.8 man/snmptrapd.8 debian/libsnmp-base.install0000664000000000000000000000007112172541442013134 0ustar mibs/*.txt usr/share/snmp/mibs usr/share/snmp/mib2c-data debian/snmpd.templates0000664000000000000000000000140012146245402012224 0ustar # 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. debian/libsnmp-perl.docs0000664000000000000000000000002112146245402012437 0ustar perl/SNMP/README debian/snmp.conf0000664000000000000000000000032312153747054011022 0ustar # 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 : debian/snmpd.init0000664000000000000000000000705412153747054011214 0ustar #! /bin/sh -e ### BEGIN INIT INFO # Provides: snmpd snmptrapd # Required-Start: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: SNMP agents # Description: NET SNMP (Simple Network Management Protocol) Agents ### END INIT INFO # # Author: Jochen Friedrich # set -e . /lib/lsb/init-functions export PATH=/sbin:/usr/sbin:/bin:/usr/bin test -x /usr/sbin/snmpd || exit 0 test -x /usr/sbin/snmptrapd || exit 0 # Defaults 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" TRAPD_PID="/run/snmptrapd.pid" SNMPDRUN="yes" SNMPDOPTS="-Lsd -Lf /dev/null -p $SNMP_PID" TRAPDRUN=no TRAPDOPTS="-Lsd -p $TRAPD_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 network management 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 if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then start-stop-daemon --quiet --start --oknodo --exec /usr/sbin/snmptrapd \ -- $TRAPDOPTS log_progress_msg " snmptrapd" fi ;; stop) log_daemon_msg "Stopping network management services:" start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID log_progress_msg " snmpd" start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd && [ ! -f $TRAPD_PID ] || rm $TRAPD_PID log_progress_msg " snmptrapd" ;; restart) log_daemon_msg "Restarting network management services:" start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmptrapd && [ ! -f $TRAPD_PID ] || rm $TRAPD_PID # Allow the daemons time to exit completely. sleep 2 if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- $SNMPDOPTS log_progress_msg " snmpd" fi if [ "$TRAPDRUN" = "yes" -a -f /etc/snmp/snmptrapd.conf ]; then # Allow snmpd time to start up. sleep 1 start-stop-daemon --quiet --start --exec /usr/sbin/snmptrapd -- $TRAPDOPTS log_progress_msg " snmptrapd" fi ;; reload|force-reload) log_daemon_msg "Reloading network management services:" if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then start-stop-daemon --quiet --stop --signal 1 \ --pidfile /var/run/snmpd.pid --exec /usr/sbin/snmpd log_progress_msg " snmpd" fi ;; status) status=0 if [ "$SNMPDRUN" = "yes" -a -f /etc/snmp/snmpd.conf ]; then status_of_proc /usr/sbin/snmpd snmpd || status=$? fi 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/snmpd {start|stop|restart|reload|force-reload|status}" exit 1 esac exit 0 debian/-m/0000775000000000000000000000000012144657417007514 5ustar debian/rules0000775000000000000000000001063112233734026010253 0ustar #!/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 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,apport 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 .PHONY: override_dh_installinit override_dh_installinit: dh_installinit -u"start 20 2 3 4 5 . stop 20 1 ." .PHONY: override_dh_apport override_dh_apport: dh_apport -psnmpd 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)