Lu zhiping
81793af677
changed debian/source/format to native
2022-06-27 15:01:27 +08:00
Ubuntu Developers
ece77a0814
MIB-II: Only log once that opening /proc/net/if_inet6 failed
...
If IPv6 has been disabled (ipv6.disable=1) then opening /proc/net/if_inet6
fails. Only log this once instead of thousand of times a day.
Reported-by: Fif <lefif@users.sourceforge.net>
Origin: upstream, https://sourceforge.net/p/net-snmp/code/ci/cd09fd8252
Bug: https://sourceforge.net/p/net-snmp/bugs/2903/
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1871307
Reviewed-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Last-Update: 2020-04-09
Gbp-Pq: Name lp1871307-log-once-proc-net-if_inet6-failure.patch
2022-06-27 15:01:27 +08:00
Ubuntu Developers
d4e577609c
HOST-MIB, hr_filesys: Fix Check_HR_FileSys_AutoFs()
...
On Linux getmntent() is available but getfsstat() not. Hence remove #if
HAVE_GETFSSTAT from around the HRFS_type check.
See also https://sourceforge.net/p/net-snmp/patches/1350/ .
Fixes: cf41e6e91015 ("HOST-MIB: Skip autofs entries").
Author: Bart Van Assche <bvanassche@acm.org>
Origin: upstream, bcb1a6b8af
Bug: https://sourceforge.net/p/net-snmp/patches/1350/
Bug-Ubuntu: https://launchpad.net/bugs/1843036
Gbp-Pq: Name fix-check-hr-filesys-autofs.patch
2022-06-27 15:01:27 +08:00
Ubuntu Developers
dbaba49fae
autofs-fix-a-recently-introduced-bug
...
HOST-MIB: Fix a recently introduced bug
Fixes: cf41e6e91015 ("HOST-MIB: Skip autofs entries")
Note: this bug was not introduced by Josef but by me.
Description: HOST-MIB: Fix a recently introduced bug
Author: Bart Van Assche <bvanassche@acm.org>
Origin: upstream, https://github.com/net-snmp/net-snmp/commit/a0df31c18c
Applied-Upstream: v5.8.rc4-386-ga0df31c18 (drop after v5.8.1.pre1)
Bug: https://sourceforge.net/p/net-snmp/bugs/2968/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935325
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1835818
Reviewed-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Last-Update: 2019-12-16
Gbp-Pq: Name autofs-fix-a-recently-introduced-bug.patch
2022-06-27 15:01:27 +08:00
Ubuntu Developers
4c3eb1f675
autofs-skip-autofs-entries
...
HOST-MIB: Skip autofs entries
Do not call statfs() for autofs entries.
See also https://sourceforge.net/p/net-snmp/patches/1350/ .
See also https://sourceforge.net/p/net-snmp/bugs/2968/ .
[ bvanassche: Made several small edits ]
Description: HOST-MIB: Skip autofs entries
Author: Josef Ridky <jridky@redhat.com>
Origin: upstream, https://github.com/net-snmp/net-snmp/commit/cf41e6e910
Applied-Upstream: v5.8.rc4-366-gcf41e6e91 (drop after v5.8.1.pre1)
Bug: https://sourceforge.net/p/net-snmp/bugs/2968/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935325
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1835818
Reviewed-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Last-Update: 2019-12-16
Gbp-Pq: Name autofs-skip-autofs-entries.patch
2022-06-27 15:01:27 +08:00
Ubuntu Developers
f6da980015
mysql8-replace-bool
...
apps/snmptrapd_sql: Fix build against MySQL 8
See also https://sourceforge.net/p/net-snmp/bugs/2922/ .
[bvanassche: changed 'int' into 'char']
Description: apps/snmptrapd_sql: Fix build against MySQL 8
Author: Andreas Hasenack <ahasenack2@users.sourceforge.net>
Origin: upstream, https://github.com/net-snmp/net-snmp/commit/9f4af8c42d
Bug: https://sourceforge.net/p/net-snmp/bugs/2922/
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1814270
Applied-Upstream: v5.8.rc4-180-g9f4af8c42 (drop after v5.8.1.pre1)
Reviewed-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Last-Update: 2019-12-16
Gbp-Pq: Name mysql8-replace-bool.patch
2022-06-27 15:01:27 +08:00
Adam Williamson
b5f41b33ec
[PATCH] Link libnetsnmptrapd against MYSQL_LIBS
...
When building with MySQL (MariaDB) support, this library must
be linked against the MySQL client library, or else it will
have unresolved symbols.
Origin: https://bugzilla.redhat.com/attachment.cgi?id=1301954
Bug: https://sourceforge.net/p/net-snmp/bugs/2792/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886221
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1814254
Reviewed By: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Last-Update: 2019-12-12
Gbp-Pq: Name Link-libnetsnmptrapd-against-MYSQL_LIBS.patch
2022-06-27 15:01:27 +08:00
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