Commit Graph

34 Commits

Author SHA1 Message Date
Craig Small 06e0671ab2 Makefile add correct flags
The sedscript creation was missing CPPGLAGS
More seriously the libnetsnmptrapd library linking was missing LDFLAGS
Bug: https://github.com/net-snmp/net-snmp/issues/29
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-10-16

Gbp-Pq: Name apps_makefile_use_ldflags
2022-06-27 15:01:27 +08:00
Pik Master a7a4ddc4d3 Change logging on ia_addr message
Message about error with subcontainers is just debug, not a filtered by
keyword debug. This (along with logging options set to high in the init 
script) made snmpd very chatty.
Origin: upstream, http://sourceforge.net/p/net-snmp/patches/1322/
Bug-Debian: https://bugs.debian.org/684721
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-10-10

Gbp-Pq: Name snmplib_error_subcontainer
2022-06-27 15:01:27 +08:00
Ubuntu Developers ee89d11176 netsnmp_mib_api_3_groff
Gbp-Pq: Name netsnmp_mib_api_3_groff
2022-06-27 15:01:27 +08:00
Ubuntu Developers 66e6086fd8 snmpcmd_1_groff
Gbp-Pq: Name snmpcmd_1_groff
2022-06-27 15:01:26 +08:00
Ubuntu Developers 2cccd4038c Set default port of 0 when parsing addresses
Default port should be zero when address parsing so other parts of the
library can set the emphereal source port.
Origin: 06a02b7c70
Bug: https://sourceforge.net/p/net-snmp/bugs/2978/
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-09-30

Gbp-Pq: Name parsing_default_port
2022-06-27 15:01:26 +08:00
Craig Small 56d07bb97a Make snmpd pidfile word-readable
Almost all pid files are mode 644, including snmptrapd. For some unknown
reason, snmpd had mode 0600.  Now it has 644 like everyone else.
Bug-Debian: https://bugs.debian.org/528103
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-04-30

Gbp-Pq: Name snmpd_pidfile_mode
2022-06-27 15:01:26 +08:00
Craig Small 2cbf8070e2 Correct snmpwalk args in snmpcheck
snmpcheck used the old command line arguments for snmpwalk giving an
error and no data.

Closes: #898197

References:
 https://bugs.kali.org/view.php?id=4655

Gbp-Pq: Name snmpwalk_args_in_snmpcheck
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team d36c9222cd Fix engineID reprobe
Do not probe for engineID when we already know it
Reviewed-by: Craig Small <csmall@debian.org>
Last-Updated: 2019-02-07

Gbp-Pq: Name fix_engineid_reprobe.diff
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 1d3b111af5 callback_print
Gbp-Pq: Name callback_print.diff
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 8822c0fff5 Fix perl bulk gets
Reviewed-by: Craig Small <csmall@debian.org>
Last-Updated: 2019-02-07

Gbp-Pq: Name fix_perl_bulk_gets.diff
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 729a6dbca8 Let Perl access EngineID
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name let_perl_access_engineid.diff
2022-06-27 15:01:26 +08:00
Hideki Yamane 39e66f80fb fix #455707 traptoemail use FQDN
Gbp-Pq: Name 0027-fix-455707-traptoemail-use-FQDN.patch
2022-06-27 15:01:26 +08:00
Hideki Yamane e709391ab6 fix Bug#785380 incorrect date format
Gbp-Pq: Name 0026-fix-Bug-785380-incorrect-date-format.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team d7e1294035 fix-request-id-0
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name fix-request-id-0.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 018ff47475 add_rocommunity6
Gbp-Pq: Name add_rocommunity6.patch
2022-06-27 15:01:26 +08:00
Hideki Yamane 90d7afabac Fix man page groff errors
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name fix_manpage-has-errors_break_line.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team d8edc97cba fix_typo_in_snmpd.conf
Gbp-Pq: Name fix_typo_in_snmpd.conf.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 30918de356 Spelling Errors
Fix some minor spelling errors in the code
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name fix_spelling_error.patch
2022-06-27 15:01:26 +08:00
Hideki Yamane 80cd5c7202 snmptranslate.1 groff errors
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name snmptranslate.1.patch
2022-06-27 15:01:26 +08:00
Hideki Yamane 6eecf339c0 Fix regular expression
>>> 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']
Reviewed-by: Craig Small <csmall@debian.org>
LAst-Update: 2019-02-07

Gbp-Pq: Name fix_regular_expression.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team f515fd834b fix_snmpcheck_perl_path
Author: Hideki Yamane <henrich@debian.org>

Gbp-Pq: Name fix_snmpcheck_perl_path.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 4c8dc390fb Add missing libraries to Makefile
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name 64_missing_lib.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team be8a1111c0 Add base-lib-cflags option
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
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name 62_add_lib_cflags.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team f2b2e9e7fd _libsensors_api
Patch from Jonathan Nieder <jrnieder@gmail.com> to update lmsensors API to libsensors4.

Gbp-Pq: Name 60_libsensors_api.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 4376c7aa08 ICMP parameters for kFreeBSD
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name 27_kfreebsd.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 1e85beac1b Preliminary support for kfreebsd.
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name 26_kfreebsd.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 9adb25a92f Document paths
Patch documentation files to change paths to Debian specific locations.
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name 07_docfiles.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 155a022dab _extramibs
Extra MIB files shipped with Debian.

Gbp-Pq: Name 06_extramibs.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 74e80c9376 _searchdirs
Makefile patch to include libwrap and libsensors libraries and install extra
MIB files.

Gbp-Pq: Name 05_searchdirs.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 7a42910835 Update Makefiles
Makefile patch to include libwrap and libsensors libraries and install
extra MIB files.
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name 03_makefiles.patch
2022-06-27 15:01:26 +08:00
Net-SNMP Packaging Team 01543d3031 Ignore interfaces without statistics
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-02-07

Gbp-Pq: Name 02_statistics.patch
2022-06-27 15:01:26 +08:00
Craig Small db974ed3d6 Use perl path directly
Original script used /usr/bin/env perl to find the interpreter. This is
against Debian policy 10.4
Last-Update: 2019-01-05

Gbp-Pq: Name pingmib_perl_path
2022-06-27 15:01:26 +08:00
openKylinBot f09a1a2694 Import Debian changes 5.8+dfsg-ok1
net-snmp (5.8+dfsg-ok1) yangtze; urgency=medium

  * Build for openKylin.
2022-06-27 15:01:12 +08:00
Lu zhiping f031e13d35 Import Upstream version 5.8+dfsg 2022-06-27 15:01:12 +08:00