Merge ~sergiodj/ubuntu/+source/net-snmp:merge-5.9.4-dfsg-1-noble into ubuntu/+source/net-snmp:debian/sid

Proposed by Sergio Durigan Junior
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merge reported by: git-ubuntu bot
Merged at revision: 35f817fd1f4458ceee5ca4819869014d82b9513d
Proposed branch: ~sergiodj/ubuntu/+source/net-snmp:merge-5.9.4-dfsg-1-noble
Merge into: ubuntu/+source/net-snmp:debian/sid
Diff against target: 1644 lines (+1375/-3)
7 files modified
debian/changelog (+1149/-0)
debian/control (+3/-2)
debian/patches/add-overlay-support.patch (+26/-0)
debian/patches/series (+2/-0)
debian/patches/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch (+154/-0)
debian/rules (+5/-1)
debian/source.apport (+36/-0)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Bryce Harrington (community) Approve
Canonical Server Reporter Pending
Review via email: mp+457859@code.launchpad.net

Description of the change

This is the merge of net-snmp 5.9.4+dfgs-1 from Debian unstable.

Overall a simple merge. One patch dropped and the other two needed small adjustments.

PPA: https://launchpad.net/~sergiodj/+archive/ubuntu/net-snmp-merge

dep8 results will be posted later.

To post a comment you must log in.
Revision history for this message
Bryce Harrington (bryce) wrote :

  - net-snmp/5.9.4+dfsg-1ubuntu1~ppa1
    + ✅ net-snmp on noble for arm64 @ 02.01.24 23:51:29 Log️ 🗒️
    + ✅ net-snmp on noble for armhf @ 02.01.24 23:45:58 Log️ 🗒️
    + ✅ net-snmp on noble for ppc64el @ 02.01.24 23:42:55 Log️ 🗒️
    + ✅ net-snmp on noble for s390x @ 02.01.24 23:42:58 Log️ 🗒️

Revision history for this message
Bryce Harrington (bryce) wrote :

Changes carried correctly. Builds and tests all look good. Dropped change is present in the upstream git repository.

Only nitpick would be mentioning the version number where it was incorporated, i.e.:

  * Drop changes:
    - d/p/restore-support-for-long-dns-names.patch: Fix snmp requests
      for domains longer than 63 characters (LP #1998461)
      [ Incorporated in upstream release v5.9.4 ]

but that's style preference. Everything else LGTM, +1.

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: sergiodj, bryce
Uploaders: sergiodj, bryce
MP auto-approved

review: Approve
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

On Wednesday, January 03 2024, Bryce Harrington wrote:

> Only nitpick would be mentioning the version number where it was incorporated, i.e.:
>
> * Drop changes:
> - d/p/restore-support-for-long-dns-names.patch: Fix snmp requests
> for domains longer than 63 characters (LP #1998461)
> [ Incorporated in upstream release v5.9.4 ]
>
> but that's style preference. Everything else LGTM, +1.

Thanks, Bryce. I adopted your suggestion.

Uploaded:

$ dput net-snmp_5.9.4+dfsg-1ubuntu1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /home/sergio/work/net-snmp/net-snmp_5.9.4+dfsg-1ubuntu1_source.changes: Valid signature from 106DA1C8C3CBBF14
Checking signature on .dsc
gpg: /home/sergio/work/net-snmp/net-snmp_5.9.4+dfsg-1ubuntu1.dsc: Valid signature from 106DA1C8C3CBBF14
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading net-snmp_5.9.4+dfsg-1ubuntu1.dsc: done.
  Uploading net-snmp_5.9.4+dfsg.orig.tar.xz: done.
  Uploading net-snmp_5.9.4+dfsg-1ubuntu1.debian.tar.xz: done.
  Uploading net-snmp_5.9.4+dfsg-1ubuntu1_source.buildinfo: done.
  Uploading net-snmp_5.9.4+dfsg-1ubuntu1_source.changes: done.
Successfully uploaded packages.

--
Sergio
GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index aa85fed..a8a673d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,22 @@
1net-snmp (5.9.4+dfsg-1ubuntu1) noble; urgency=medium
2
3 * Merge with Debian unstable (LP: #2040402). Remaining changes:
4 - Add apport hook:
5 + d/control: add dh-apport to Build-Depends
6 + d/rules: install the apport hook via debhelper
7 + d/source.apport: apport hook
8 - Fix snmptrapd reconnection issue after hitting MySQL wait_timeout
9 (LP #1999711)
10 + d/p/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
11 - d/p/add-overlay-support.patch: Add Docker's "overlay" filesystem
12 (LP #2007856)
13 * Drop changes:
14 - d/p/restore-support-for-long-dns-names.patch: Fix snmp requests
15 for domains longer than 63 characters (LP #1998461)
16 [ Incorporated upstream release v5.9.4. ]
17
18 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 02 Jan 2024 16:17:02 -0500
19
1net-snmp (5.9.4+dfsg-1) unstable; urgency=medium20net-snmp (5.9.4+dfsg-1) unstable; urgency=medium
221
3 * New upstream release22 * New upstream release
@@ -6,6 +25,44 @@ net-snmp (5.9.4+dfsg-1) unstable; urgency=medium
625
7 -- Craig Small <csmall@debian.org> Sat, 19 Aug 2023 19:36:39 +100026 -- Craig Small <csmall@debian.org> Sat, 19 Aug 2023 19:36:39 +1000
827
28net-snmp (5.9.3+dfsg-2ubuntu3) lunar; urgency=medium
29
30 * d/p/add-overlay-support.patch: Add Docker's "overlay" filesystem
31 (LP: #2007856)
32
33 -- Bryce Harrington <bryce@canonical.com> Wed, 22 Mar 2023 18:42:02 -0700
34
35net-snmp (5.9.3+dfsg-2ubuntu2) lunar; urgency=medium
36
37 * Fix snmptrapd reconnection issue after hitting MySQL wait_timeout
38 (LP: #1999711)
39 - d/p/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
40
41 -- Chengen Du <chengen.du@canonical.com> Thu, 16 Feb 2023 20:16:57 -0300
42
43net-snmp (5.9.3+dfsg-2ubuntu1) lunar; urgency=medium
44
45 * Merge with Debian unstable (LP: #1993419). Remaining changes:
46 - Add apport hook:
47 + d/control: add dh-apport to Build-Depends
48 + d/rules: install the apport hook via debhelper
49 + d/source.apport: apport hook
50 - d/p/restore-support-for-long-dns-names.patch: Fix snmp requests
51 for domains longer than 63 characters (LP #1998461)
52 * Drop changes:
53 - SECURITY UPDATE: DoS via null pointer exception issues
54 + debian/patches/CVE-2022-4479x-1.patch: disallow SET with NULL varbind
55 in agent/snmp_agent.c.
56 + debian/patches/CVE-2022-4479x-2.patch: allow SET with NULL varbind
57 for testing in apps/snmpset.c.
58 + debian/patches/CVE-2022-4479x-3.patch: add test for NULL varbind set
59 in testing/fulltests/default/T0142snmpv2csetnull_simple.
60 + CVE-2022-44792
61 + CVE-2022-44793
62 [ Incorporated by Debian. ]
63
64 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 10 Jan 2023 22:54:16 -0500
65
9net-snmp (5.9.3+dfsg-2) unstable; urgency=medium66net-snmp (5.9.3+dfsg-2) unstable; urgency=medium
1067
11 [ Helmut Grohne ]68 [ Helmut Grohne ]
@@ -28,6 +85,62 @@ net-snmp (5.9.3+dfsg-2) unstable; urgency=medium
2885
29 -- Craig Small <csmall@debian.org> Tue, 03 Jan 2023 13:01:46 +110086 -- Craig Small <csmall@debian.org> Tue, 03 Jan 2023 13:01:46 +1100
3087
88net-snmp (5.9.3+dfsg-1ubuntu5) lunar; urgency=medium
89
90 * d/p/restore-support-for-long-dns-names.patch: Update patch to match upstream
91 version of commit (LP: #1998461)
92
93 -- Lena Voytek <lena.voytek@canonical.com> Mon, 09 Jan 2023 13:37:37 -0700
94
95net-snmp (5.9.3+dfsg-1ubuntu4) lunar; urgency=medium
96
97 * SECURITY UPDATE: DoS via null pointer exception issues
98 - debian/patches/CVE-2022-4479x-1.patch: disallow SET with NULL varbind
99 in agent/snmp_agent.c.
100 - debian/patches/CVE-2022-4479x-2.patch: allow SET with NULL varbind
101 for testing in apps/snmpset.c.
102 - debian/patches/CVE-2022-4479x-3.patch: add test for NULL varbind set
103 in testing/fulltests/default/T0142snmpv2csetnull_simple.
104 - CVE-2022-44792
105 - CVE-2022-44793
106
107 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 09 Jan 2023 09:41:56 -0500
108
109net-snmp (5.9.3+dfsg-1ubuntu3) lunar; urgency=medium
110
111 * d/p/restore-support-for-long-dns-names.patch: Fix snmp requests for domains
112 longer than 63 characters (LP: #1998461)
113
114 -- Lena Voytek <lena.voytek@canonical.com> Mon, 05 Dec 2022 07:47:24 -0700
115
116net-snmp (5.9.3+dfsg-1ubuntu2) lunar; urgency=medium
117
118 * Rebuild against new perlapi-5.36.
119
120 -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 04 Nov 2022 12:17:36 +0100
121
122net-snmp (5.9.3+dfsg-1ubuntu1) kinetic; urgency=medium
123
124 * Merge with Debian unstable (LP: #1987349). Remaining changes:
125 - Add apport hook:
126 + d/control: add dh-apport to Build-Depends
127 + d/rules: install the apport hook via debhelper
128 + d/source.apport: apport hook
129 * Drop changes:
130 - SECURITY UPDATE: Multiple security issus
131 + debian/patches/CVE-2022-248xx-1.patch: fix bounds checking in
132 NET-SNMP-AGENT-MIB, NET-SNMP-VACM-MIB, SNMP-VIEW-BASED-ACM-MIB,
133 SNMP-USER-BASED-SM-MIB in agent/mibgroup/agent/nsLogging.c,
134 agent/mibgroup/agent/nsVacmAccessTable.c,
135 agent/mibgroup/mibII/vacm_vars.c, agent/mibgroup/snmpv3/usmUser.
136 + debian/patches/CVE-2022-248xx-2.patch: recover SET status from
137 delegated request in agent/snmp_agent.c.
138 + CVE-2022-24805, CVE-2022-24806, CVE-2022-24807, CVE-2022-24808,
139 CVE-2022-24809, CVE-2022-24810
140 [ Incorporated upstream. ]
141
142 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 22 Aug 2022 19:37:48 -0400
143
31net-snmp (5.9.3+dfsg-1) unstable; urgency=medium144net-snmp (5.9.3+dfsg-1) unstable; urgency=medium
32145
33 * New upstream source146 * New upstream source
@@ -35,6 +148,42 @@ net-snmp (5.9.3+dfsg-1) unstable; urgency=medium
35148
36 -- Craig Small <csmall@debian.org> Mon, 18 Jul 2022 21:28:38 +1000149 -- Craig Small <csmall@debian.org> Mon, 18 Jul 2022 21:28:38 +1000
37150
151net-snmp (5.9.1+dfsg-4ubuntu2) kinetic; urgency=medium
152
153 * SECURITY UPDATE: Multiple security issus
154 - debian/patches/CVE-2022-248xx-1.patch: fix bounds checking in
155 NET-SNMP-AGENT-MIB, NET-SNMP-VACM-MIB, SNMP-VIEW-BASED-ACM-MIB,
156 SNMP-USER-BASED-SM-MIB in agent/mibgroup/agent/nsLogging.c,
157 agent/mibgroup/agent/nsVacmAccessTable.c,
158 agent/mibgroup/mibII/vacm_vars.c, agent/mibgroup/snmpv3/usmUser.
159 - debian/patches/CVE-2022-248xx-2.patch: recover SET status from
160 delegated request in agent/snmp_agent.c.
161 - CVE-2022-24805, CVE-2022-24806, CVE-2022-24807, CVE-2022-24808,
162 CVE-2022-24809, CVE-2022-24810
163
164 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 25 Jul 2022 13:48:42 -0400
165
166net-snmp (5.9.1+dfsg-4ubuntu1) kinetic; urgency=medium
167
168 * Merge with Debian unstable (LP: #1971295, #1894190). Remaining changes:
169 - Add apport hook:
170 + d/control: add dh-apport to Build-Depends
171 + d/rules: install the apport hook via debhelper
172 + d/source.apport: apport hook
173 * Dropped changes:
174 - d/p/lp1945960-*: backport patches for the OpenSSL3 transition
175 (LP #1945960)
176 [ Included in 5.9.1+dfsg-3 ]
177 - d/p/lp1969623-net-snmp-create-v3-user-Fix-the-snmpd.conf-path.patch:
178 Set ${datarootdir} value in net-snmp-create-v3-user and fix
179 error when creating user. (LP #1969623)
180 [ Included in 5.9.1+dfsg-3 ]
181 - d/control: Build-Depend on libsensors4-dev.
182 [ Unnecessary; libsensors4-dev is a dummy transitional package to
183 libsensors-dev ]
184
185 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 13 Jun 2022 17:36:01 -0400
186
38net-snmp (5.9.1+dfsg-4) unstable; urgency=medium187net-snmp (5.9.1+dfsg-4) unstable; urgency=medium
39188
40 * d/snmpd.postinst: Just chown $SNMP_DIR/snmpd.conf if the file exists.189 * d/snmpd.postinst: Just chown $SNMP_DIR/snmpd.conf if the file exists.
@@ -80,6 +229,45 @@ net-snmp (5.9.1+dfsg-2) unstable; urgency=medium
80229
81 -- Craig Small <csmall@debian.org> Wed, 25 May 2022 22:09:23 +1000230 -- Craig Small <csmall@debian.org> Wed, 25 May 2022 22:09:23 +1000
82231
232net-snmp (5.9.1+dfsg-1ubuntu2.1) jammy; urgency=medium
233
234 * d/p/lp1969623-net-snmp-create-v3-user-Fix-the-snmpd.conf-path.patch:
235 Set ${datarootdir} value in net-snmp-create-v3-user and fix
236 error when creating user. (LP: #1969623)
237
238 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Thu, 21 Apr 2022 16:14:05 -0400
239
240net-snmp (5.9.1+dfsg-1ubuntu2) jammy; urgency=medium
241
242 * No-change rebuild for the perl update.
243
244 -- Matthias Klose <doko@ubuntu.com> Sun, 06 Feb 2022 13:33:00 +0100
245
246net-snmp (5.9.1+dfsg-1ubuntu1) jammy; urgency=medium
247
248 * Merge with Debian unstable (LP: #1946877, #1912390). Remaining changes:
249 - Add apport hook:
250 + d/control: add dh-apport to Build-Depends
251 + d/rules: install the apport hook via debhelper
252 + d/source.apport: apport hook
253 - d/p/lp1945960-*: backport patches for the OpenSSL3 transition
254 (LP #1945960)
255 * Dropped changes, incorporated by Debian:
256 - d/libsnmp-dev.install: Don't install archive (.a) files.
257 The archive files are just temporary files generated in order to
258 create the final shared objects (.so), and we don't need to ship
259 them in the package.
260 * Dropped changes, incorporated upstream:
261 - Fix segmentation fault when certificate contains extension
262 longer than 512 bytes (LP #1912389)
263 + d/p/lp1912389-libsnmp-Handle-certificate-loading-errors-gracefully.patch:
264 Skip certificate if loading fails.
265 + d/p/lp1912389-libsnmp-SSL-Increase-extension-buffer-size-to-preven.patch:
266 Make sure enough space is allocated for extensions longer than
267 512 bytes.
268
269 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 11 Jan 2022 20:39:24 -0500
270
83net-snmp (5.9.1+dfsg-1) unstable; urgency=medium271net-snmp (5.9.1+dfsg-1) unstable; urgency=medium
84272
85 [ Owen Evans ]273 [ Owen Evans ]
@@ -114,6 +302,66 @@ net-snmp (5.9.1+dfsg-1) unstable; urgency=medium
114302
115 -- Craig Small <csmall@debian.org> Mon, 20 Sep 2021 21:35:58 +1000303 -- Craig Small <csmall@debian.org> Mon, 20 Sep 2021 21:35:58 +1000
116304
305net-snmp (5.9+dfsg-3ubuntu4) jammy; urgency=medium
306
307 * d/p/lp1945960-*: backport patches for the OpenSSL3 transition
308 (LP: #1945960)
309
310 -- Simon Chopin <simon.chopin@canonical.com> Wed, 17 Nov 2021 14:58:54 +0100
311
312net-snmp (5.9+dfsg-3ubuntu3) impish; urgency=medium
313
314 * No-change rebuild to build packages with zstd compression.
315
316 -- Matthias Klose <doko@ubuntu.com> Thu, 07 Oct 2021 12:21:20 +0200
317
318net-snmp (5.9+dfsg-3ubuntu2) impish; urgency=medium
319
320 * Fix segmentation fault when certificate contains extension
321 longer than 512 bytes (LP: #1912389)
322 - d/p/lp1912389-libsnmp-Handle-certificate-loading-errors-gracefully.patch:
323 Skip certificate if loading fails.
324 - d/p/lp1912389-libsnmp-SSL-Increase-extension-buffer-size-to-preven.patch:
325 Make sure enough space is allocated for extensions longer than
326 512 bytes.
327
328 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 25 May 2021 19:03:31 -0400
329
330net-snmp (5.9+dfsg-3ubuntu1) hirsute; urgency=medium
331
332 * Merge with Debian unstable. Remaining changes:
333 - Add apport hook:
334 + d/control: add dh-apport to Build-Depends
335 + d/rules: install the apport hook via debhelper
336 + d/source.apport: apport hook
337 * Dropped:
338 - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch:
339 Link libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
340 Williamson <awilliam@redhat.com>.
341 (Closes #886221, LP #1814254)
342 [ Incorporated by Debian. ]
343 - Fix build with mysql-8 (LP #1814270):
344 + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use
345 char instead.
346 [ Incorporated by upstream. ]
347 - Skip autofs entries when calling statfs to prevent autofs
348 being mounted on snmpd startup (LP #1835818):
349 + d/p/autofs-fix-a-recently-introduced-bug.patch
350 + d/p/autofs-skip-autofs-entries.patch
351 [ Incorporated by upstream. ]
352 - d/p/fix-check-hr-filesys-autofs.patch:
353 + On Linux getmntent() is available but getfsstat() not.
354 Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
355 check.
356 [ Incorporated by upstream. ]
357 * Added changes:
358 - d/libsnmp-dev.install: Don't install archive (.a) files.
359 The archive files are just temporary files generated in order to
360 create the final shared objects (.so), and we don't need to ship
361 them in the package.
362
363 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 05 Jan 2021 14:54:24 -0500
364
117net-snmp (5.9+dfsg-3) unstable; urgency=medium365net-snmp (5.9+dfsg-3) unstable; urgency=medium
118366
119 * Source only upload - no changes Closes: #970798367 * Source only upload - no changes Closes: #970798
@@ -145,6 +393,57 @@ net-snmp (5.9+dfsg-1) unstable; urgency=medium
145393
146 -- Craig Small <csmall@debian.org> Sat, 22 Aug 2020 17:11:17 +1000394 -- Craig Small <csmall@debian.org> Sat, 22 Aug 2020 17:11:17 +1000
147395
396net-snmp (5.8+dfsg-5ubuntu2) hirsute; urgency=medium
397
398 * No-change rebuild for the perl update.
399
400 -- Matthias Klose <doko@ubuntu.com> Mon, 09 Nov 2020 10:50:26 +0100
401
402net-snmp (5.8+dfsg-5ubuntu1) groovy; urgency=medium
403
404 * Merge with Debian unstable (LP: #1880724). Remaining changes:
405 - Add apport hook:
406 + d/control: add dh-apport to Build-Depends
407 + d/rules: install the apport hook via debhelper
408 + d/source.apport: apport hook
409 - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch:
410 Link libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
411 Williamson <awilliam@redhat.com>.
412 (Closes #886221, LP #1814254)
413 - Fix build with mysql-8 (LP #1814270):
414 + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use
415 char instead.
416 - Skip autofs entries when calling statfs to prevent autofs
417 being mounted on snmpd startup (LP #1835818):
418 + d/p/autofs-fix-a-recently-introduced-bug.patch
419 + d/p/autofs-skip-autofs-entries.patch
420 - d/p/fix-check-hr-filesys-autofs.patch:
421 + On Linux getmntent() is available but getfsstat() not.
422 Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
423 check.
424 * Dropped changes, incorporated by Debian:
425 - d/p/lp1871307-log-once-proc-net-if_inet6-failure.patch (LP #1871307):
426 + MIB-II: Only log once that opening /proc/net/if_inet6 failed
427 - SECURITY UPDATE: Fix segmentation fault that happens when using the
428 snmpv3 protocol with snmpbulkget. (LP #1877027)
429 + d/p/move-securityStateRef-into-free_securityStateRef.patch:
430 Consolidate the check of the securityStateRef pointer into the
431 free_securityStateRef function.
432 + d/p/prevent-snmpv3-bulkget-errors-double-free.patch:
433 Prevent snmpv3 bulkget errors from becoming resulting in a
434 double free.
435 + d/p/fix-usmStateReference-free.patch:
436 Fix typo on usm_free_usmStateReference from last patch.
437 + d/p/unexport-struct-usmStateReference.patch:
438 Unexport struct usmStateReference and to prevent ABI breakages,
439 since it will be necessary to add a reference count to it.
440 + d/p/introduce-refcount-usmStateReference.patch:
441 Introduce refcount in the struct usmStateReference, and adjust
442 code to properly use the field.
443 + CVE-2019-20892
444
445 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Thu, 06 Aug 2020 11:42:13 -0400
446
148net-snmp (5.8+dfsg-5) unstable; urgency=medium447net-snmp (5.8+dfsg-5) unstable; urgency=medium
149448
150 * Allow extend to be read-only Closes: #966544449 * Allow extend to be read-only Closes: #966544
@@ -210,6 +509,68 @@ net-snmp (5.8+dfsg-3) unstable; urgency=medium
210509
211 -- Craig Small <csmall@debian.org> Thu, 02 Jul 2020 13:38:58 +1000510 -- Craig Small <csmall@debian.org> Thu, 02 Jul 2020 13:38:58 +1000
212511
512net-snmp (5.8+dfsg-2ubuntu3) groovy; urgency=medium
513
514 * SECURITY UPDATE: Fix segmentation fault that happens when using the
515 snmpv3 protocol with snmpbulkget. (LP: #1877027)
516 - d/p/move-securityStateRef-into-free_securityStateRef.patch:
517 Consolidate the check of the securityStateRef pointer into the
518 free_securityStateRef function.
519 - d/p/prevent-snmpv3-bulkget-errors-double-free.patch:
520 Prevent snmpv3 bulkget errors from becoming resulting in a
521 double free.
522 - d/p/fix-usmStateReference-free.patch:
523 Fix typo on usm_free_usmStateReference from last patch.
524 - d/p/unexport-struct-usmStateReference.patch:
525 Unexport struct usmStateReference and to prevent ABI breakages,
526 since it will be necessary to add a reference count to it.
527 - d/p/introduce-refcount-usmStateReference.patch:
528 Introduce refcount in the struct usmStateReference, and adjust
529 code to properly use the field.
530 - CVE-2019-20892
531
532 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 23 Jun 2020 14:37:42 -0400
533
534net-snmp (5.8+dfsg-2ubuntu2) focal; urgency=medium
535
536 * d/p/lp1871307-log-once-proc-net-if_inet6-failure.patch (LP: #1871307):
537 - MIB-II: Only log once that opening /proc/net/if_inet6 failed
538
539 -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Thu, 09 Apr 2020 12:30:45 +0000
540
541net-snmp (5.8+dfsg-2ubuntu1) focal; urgency=medium
542
543 * Merge with Debian unstable (LP: #1855943). Remaining changes:
544 - d/p/fix-check-hr-filesys-autofs.patch (LP #1843036)
545 - Skip autofs entries when calling statfs (LP #1835818):
546 - d/p/autofs-skip-autofs-entries.patch
547 - d/p/autofs-fix-a-recently-introduced-bug.patch
548 [Replaced former Non-upstream patches with clean cherry-pick)
549 - d/p/mysql8-replace-bool.patch: fix build with mysql-8 (LP 1814270)
550 - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch: Link
551 libnetsnmptrapd against MYSQL_LIBS.
552 - Add apport hook.
553 - d/control: add dh-apport to Build-Depends
554 - d/rules: install the apport hook via debhelper
555 - d/source.apport: apport hook
556 * Dropped patches that are upstream and in Debian 5.8+dfsg-2:
557 - d/p/put-paranthesis-around-macros-which-are-expressions.patch
558 (LP #1843036)
559 - Fix build with mysql-8 (LP #1814270):
560 - d/p/mysql-options.patch: use mysql_options if no {my_,}load_defaults
561 was found.
562 - d/p/mysql-init.patch: handle the various mysql init functions.
563 - d/p/mysql8-headers.patch: detect if my_global.h and my_sys.h are
564 available.
565 - d/p/my-load-defaults.patch: properly detect (and use)
566 my_load_defaults().
567 - d/p/snmptrapd_mysql_init: no need to drop this patch anymore
568 (LP #1814254)
569 - d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch
570 (LP #1314760)
571
572 -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Fri, 13 Dec 2019 03:27:52 +0000
573
213net-snmp (5.8+dfsg-2) unstable; urgency=medium574net-snmp (5.8+dfsg-2) unstable; urgency=medium
214575
215 * All MIB directory values removed and just use the default compile-time576 * All MIB directory values removed and just use the default compile-time
@@ -242,6 +603,87 @@ net-snmp (5.8+dfsg-1) unstable; urgency=medium
242603
243 -- Craig Small <csmall@debian.org> Thu, 10 Oct 2019 22:37:15 +1100604 -- Craig Small <csmall@debian.org> Thu, 10 Oct 2019 22:37:15 +1100
244605
606net-snmp (5.7.3+dfsg-5ubuntu6) focal; urgency=medium
607
608 * No-change rebuild for the perl update.
609
610 -- Matthias Klose <doko@ubuntu.com> Fri, 18 Oct 2019 19:37:07 +0000
611
612net-snmp (5.7.3+dfsg-5ubuntu5) eoan; urgency=medium
613
614 * d/p/fix-check-hr-filesys-autofs.patch:
615 - On Linux getmntent() is available but getfsstat() not.
616 Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
617 check.
618
619 -- Eric Desrochers <eric.desrochers@canonical.com> Sat, 07 Sep 2019 16:30:53 +0000
620
621net-snmp (5.7.3+dfsg-5ubuntu4) eoan; urgency=medium
622
623 * d/p/put-paranthesis-around-macros-which-are-expressions.patch:
624 - put paranthesis around macros which are expressions.
625 (LP: #1843036)
626
627 -- Eric Desrochers <eric.desrochers@canonical.com> Fri, 06 Sep 2019 23:15:43 +0000
628
629net-snmp (5.7.3+dfsg-5ubuntu3) eoan; urgency=medium
630
631 * Skip autofs entries when calling statfs to prevent autofs being mounted on
632 snmpd startup (LP: #1835818):
633 - d/p/autofs-skip-autofs-entries.patch
634 - d/p/autofs-fix-a-recently-introduced-bug.patch
635
636 -- Ioanna Alifieraki <ioanna-maria.alifieraki@canonical.com> Wed, 21 Aug 2019 12:22:37 +0100
637
638net-snmp (5.7.3+dfsg-5ubuntu2) eoan; urgency=medium
639
640 * No change rebuild for libmysqlclient21.
641
642 -- Robie Basak <robie.basak@ubuntu.com> Mon, 12 Aug 2019 11:32:18 +0000
643
644net-snmp (5.7.3+dfsg-5ubuntu1) disco; urgency=medium
645
646 * Merge with Debian unstable. Remaining changes:
647 - Add apport hook.
648 + d/control: add dh-apport to Build-Depends
649 + d/rules: install the apport hook via debhelper
650 + d/source.apport: apport hook
651 - d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch:
652 set first hrSWInstalledIndex to 1 to follow RFC 2790 (LP #1314760)
653 * Drop:
654 - SECURITY UPDATE: DoS via NULL pointer exception
655 + debian/patches/CVE-2018-18065.patch: fix logic in
656 agent/helpers/table.c.
657 + CVE-2018-18065
658 [Fixed in 5.7.3+dfsg-4]
659 - d/p/my_load_defaults: use my_load_defaults instead of the
660 libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
661 Tangvald.
662 [Replaced by a more complete patch]
663 - debian/rules: Fix calculation of UPSTREAM_VERSION and COMPAT_VERSION.
664 [No more needed since 5.7.3+dfsg-5]
665 * Added:
666 - d/p/snmptrapd_mysql_init: drop this patch. The first part fixes builds
667 with newer mariadb, which Ubuntu doesn't use, and the second part is
668 an unrelated change which we are fixing in another patch (see #1814254
669 for details).
670 - d/p/0001-Link-libnetsnmptrapd-against-MYSQL_LIBS.patch: Link
671 libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
672 Williamson <awilliam@redhat.com>. (Closes: #886221, LP: #1814254)
673 - Fix build with mysql-8 (LP: #1814270):
674 + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use char
675 instead.
676 + d/p/my-load-defaults.patch: properly detect (and use)
677 my_load_defaults(). This replaces the previous
678 my_load_defaults patch.
679 + d/p/mysql8-headers.patch: detect if my_global.h and my_sys.h are
680 available
681 + d/p/mysql-init.patch: handle the various mysql init functions
682 + d/p/mysql-options.patch: use mysql_options if no {my_,}load_defaults
683 was found.
684
685 -- Andreas Hasenack <andreas@canonical.com> Tue, 05 Feb 2019 16:00:35 -0200
686
245net-snmp (5.7.3+dfsg-5) unstable; urgency=medium687net-snmp (5.7.3+dfsg-5) unstable; urgency=medium
246688
247 * Use debhelper macros for shlibs Closes: #912685689 * Use debhelper macros for shlibs Closes: #912685
@@ -305,6 +747,60 @@ net-snmp (5.7.3+dfsg-2) unstable; urgency=medium
305747
306 -- Craig Small <csmall@debian.org> Sat, 31 Mar 2018 20:00:51 +1100748 -- Craig Small <csmall@debian.org> Sat, 31 Mar 2018 20:00:51 +1100
307749
750net-snmp (5.7.3+dfsg-1.8ubuntu5) disco; urgency=medium
751
752 * No-change rebuild against latest lm-sensors
753
754 -- Jeremy Bicha <jbicha@ubuntu.com> Wed, 02 Jan 2019 17:37:45 -0500
755
756net-snmp (5.7.3+dfsg-1.8ubuntu4) disco; urgency=medium
757
758 * debian/rules: Fix calculation of UPSTREAM_VERSION and COMPAT_VERSION.
759
760 -- Adam Conrad <adconrad@ubuntu.com> Mon, 05 Nov 2018 13:22:39 -0700
761
762net-snmp (5.7.3+dfsg-1.8ubuntu3.18.10.1) cosmic-security; urgency=medium
763
764 * SECURITY UPDATE: DoS via NULL pointer exception
765 - debian/patches/CVE-2018-18065.patch: fix logic in
766 agent/helpers/table.c.
767 - CVE-2018-18065
768
769 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 22 Oct 2018 08:03:49 -0400
770
771net-snmp (5.7.3+dfsg-1.8ubuntu3) bionic; urgency=medium
772
773 * d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch:
774 set first hrSWInstalledIndex to 1 to follow RFC 2790 (LP: #1314760)
775
776 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 20 Feb 2018 15:24:41 +0100
777
778net-snmp (5.7.3+dfsg-1.8ubuntu2) bionic; urgency=high
779
780 * No change rebuild against openssl1.1.
781
782 -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 06 Feb 2018 17:54:39 +0000
783
784net-snmp (5.7.3+dfsg-1.8ubuntu1) bionic; urgency=medium
785
786 * Merge with Debian unstable (LP: #1742518). Remaining changes:
787 - Add apport hook.
788 + d/control: add dh-apport to Build-Depends
789 + d/rules: install the apport hook via debhelper
790 + d/source.apport: apport hook
791 - d/p/my_load_defaults: use my_load_defaults instead of the
792 libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
793 Tangvald.
794 * Dropped:
795 - Avoid installing links in rc[06].d.
796 [It's not clear what it was trying to solve (no details or bug
797 number), but update-rc.d no longer takes start/stop arguments and
798 this delta was actually resulting in warnings during the installation.
799 Also, Ubuntu is using systemd now and this package has systemd service
800 files.]
801
802 -- Andreas Hasenack <andreas@canonical.com> Thu, 11 Jan 2018 16:07:07 -0200
803
308net-snmp (5.7.3+dfsg-1.8) unstable; urgency=medium804net-snmp (5.7.3+dfsg-1.8) unstable; urgency=medium
309805
310 * Non-maintainer upload.806 * Non-maintainer upload.
@@ -316,6 +812,43 @@ net-snmp (5.7.3+dfsg-1.8) unstable; urgency=medium
316812
317 -- Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Sat, 23 Dec 2017 23:48:23 +0100813 -- Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Sat, 23 Dec 2017 23:48:23 +0100
318814
815net-snmp (5.7.3+dfsg-1.7ubuntu1) artful; urgency=medium
816
817 * Merge with Debian unstable (LP: #1712569). Remaining changes:
818 - Add apport hook.
819 + d/control: add dh-apport to Build-Depends
820 + d/rules: install the apport hook via debhelper
821 + d/source.apport: apport hook
822 - Avoid installing links in rc[06].d.
823 - d/p/my_load_defaults: use my_load_defaults instead of the
824 libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
825 Tangvald.
826 * Drop:
827 - SECURITY UPDATE: denial of service and possible code execution via
828 incompletely parsed varBind variables
829 + debian/patches/CVE-2015-5621.patch: don't return incorrectly parsed
830 varbinds in snmplib/snmp_api.c.
831 + CVE-2015-5621
832 [Added by Debian as 0025-Bug-788964-net-snmp-snmp_pdu_parse-DoS.patch
833 in 5.7.3+dfsg-1.1]
834 - debian/snmp.preinst:
835 It turns out that the original motivation why killall was added is gone.
836 So we can just remove the killall introduced by Ubuntu LP #573391
837 (Closes: #781257, LP #1245604)
838 [Fixed in Debian 5.7.3+dfsg-1.1]
839 - Fix "FTBFS with Perl 5.24: error: conflicting types for 'U64'":
840 add patch from upstream git which removes the U64 typedef from the
841 Net-SNMP header files.
842 Thanks to Niky Tyni for extracting the patch.
843 (Closes: #825014)
844 [Fixed in Debian 5.7.3+dfsg-1.5]
845 - Additionally add another patch from upstream git which fixes
846 perl/*/Makefile.PL to fix build failures with Perl 5.24.
847 Cf. https://sourceforge.net/p/net-snmp/bugs/2712/
848 [Fixed in Debian 5.7.3+dfsg-1.5]
849
850 -- Andreas Hasenack <andreas@canonical.com> Wed, 23 Aug 2017 10:29:35 -0300
851
319net-snmp (5.7.3+dfsg-1.7) unstable; urgency=medium852net-snmp (5.7.3+dfsg-1.7) unstable; urgency=medium
320853
321 [ Niels Thykier ]854 [ Niels Thykier ]
@@ -439,6 +972,68 @@ net-snmp (5.7.3+dfsg-1.1) unstable; urgency=medium
439972
440 -- Steinar H. Gunderson <sesse@debian.org> Tue, 29 Mar 2016 10:30:24 +0200973 -- Steinar H. Gunderson <sesse@debian.org> Tue, 29 Mar 2016 10:30:24 +0200
441974
975net-snmp (5.7.3+dfsg-1ubuntu6) artful; urgency=medium
976
977 * No-change rebuild for perl 5.26.0.
978
979 -- Matthias Klose <doko@ubuntu.com> Wed, 26 Jul 2017 20:11:36 +0000
980
981net-snmp (5.7.3+dfsg-1ubuntu5) zesty; urgency=medium
982
983 * Cherry-pick two patches from Debian's 5.7.3+dfsg-1.5:
984 * Fix "FTBFS with Perl 5.24: error: conflicting types for 'U64'":
985 add patch from upstream git which removes the U64 typedef from the
986 Net-SNMP header files.
987 Thanks to Niky Tyni for extracting the patch.
988 (Closes: #825014)
989 * Additionally add another patch from upstream git which fixes
990 perl/*/Makefile.PL to fix build failures with Perl 5.24.
991 Cf. https://sourceforge.net/p/net-snmp/bugs/2712/
992
993 -- Iain Lane <iain@orangesquash.org.uk> Tue, 25 Oct 2016 10:28:38 +0100
994
995net-snmp (5.7.3+dfsg-1ubuntu4) xenial; urgency=medium
996
997 * Rebuild against libmysqlclient20.
998 * d/p/my_load_defaults: use my_load_defaults instead of the
999 libmysqlclient-internal load_defaults (LP: #1565003). Thanks to Lars
1000 Tangvald.
1001
1002 -- Robie Basak <robie.basak@ubuntu.com> Tue, 05 Apr 2016 15:17:35 +0000
1003
1004net-snmp (5.7.3+dfsg-1ubuntu3) xenial; urgency=medium
1005
1006 * Rebuild for Perl 5.22.1.
1007
1008 -- Colin Watson <cjwatson@ubuntu.com> Fri, 18 Dec 2015 01:20:38 +0000
1009
1010net-snmp (5.7.3+dfsg-1ubuntu2) wily; urgency=medium
1011
1012 * debian/snmp.preinst:
1013 It turns out that the original motivation why killall was added is gone.
1014 So we can just remove the killall introduced by Ubuntu LP #573391
1015 (Closes: #781257, LP: #1245604)
1016
1017 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 09 Oct 2015 13:18:25 +0200
1018
1019net-snmp (5.7.3+dfsg-1ubuntu1) wily; urgency=medium
1020
1021 * Resynchronise with Debian. Remaining changes:
1022 - Add apport hook.
1023 - Avoid installing links in rc[06].d.
1024 * Dropped patches included in new version:
1025 - debian/patches/00upstream-btrfs.patch
1026 - debian/patches/CVE-2012-6151.patch
1027 - debian/patches/CVE-2014-2284.patch
1028 - debian/patches/CVE-2014-2285.patch
1029 * SECURITY UPDATE: denial of service and possible code execution via
1030 incompletely parsed varBind variables
1031 - debian/patches/CVE-2015-5621.patch: don't return incorrectly parsed
1032 varbinds in snmplib/snmp_api.c.
1033 - CVE-2015-5621
1034
1035 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 17 Aug 2015 12:58:43 -0400
1036
442net-snmp (5.7.3+dfsg-1) unstable; urgency=medium1037net-snmp (5.7.3+dfsg-1) unstable; urgency=medium
4431038
444 * Imported Upstream version 5.7.3+dfsg1039 * Imported Upstream version 5.7.3+dfsg
@@ -570,6 +1165,56 @@ net-snmp (5.7.2.1~dfsg-1) experimental; urgency=medium
5701165
571 -- Hideki Yamane <henrich@debian.org> Sun, 30 Mar 2014 19:58:39 +09001166 -- Hideki Yamane <henrich@debian.org> Sun, 30 Mar 2014 19:58:39 +0900
5721167
1168net-snmp (5.7.2~dfsg-8.1ubuntu5) utopic; urgency=medium
1169
1170 * Backport from 5.7.2.1~dfsg-6.1:
1171 - Fix "hardcodes /usr/lib/perl5":
1172 Make debian/libsnmp-perl.install executable and use
1173 $Config{vendorarch} to get the perl library directory. Patch from Niko
1174 Tyni.
1175 (Closes: #751918)
1176
1177 -- Colin Watson <cjwatson@ubuntu.com> Wed, 20 Aug 2014 11:16:35 +0100
1178
1179net-snmp (5.7.2~dfsg-8.1ubuntu4) utopic; urgency=medium
1180
1181 * Rebuild for Perl 5.20.0.
1182
1183 -- Colin Watson <cjwatson@ubuntu.com> Wed, 20 Aug 2014 00:21:26 +0100
1184
1185net-snmp (5.7.2~dfsg-8.1ubuntu3) trusty; urgency=medium
1186
1187 * SECURITY UPDATE: denial of service via AgentX subagent timeout
1188 - debian/patches/CVE-2012-6151.patch: track cancelled sessions in
1189 agent/mibgroup/agentx/{master.c,master_admin.c}, agent/snmp_agent.c,
1190 include/net-snmp/agent/snmp_agent.h.
1191 - CVE-2012-6151
1192 * SECURITY UPDATE: denial of service when ICMP-MIB is in use
1193 - debian/patches/CVE-2014-2284.patch: fix ICMP mib table handling in
1194 agent/mibgroup/mibII/icmp.c, agent/mibgroup/mibII/kernel_linux.*.
1195 - CVE-2014-2284
1196 * SECURITY UPDATE: denial of service in perl trap handler
1197 - debian/patches/CVE-2014-2285.patch: handle empty community string in
1198 perl/TrapReceiver/TrapReceiver.xs.
1199 - CVE-2014-2285
1200
1201 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 08 Apr 2014 08:17:14 -0400
1202
1203net-snmp (5.7.2~dfsg-8.1ubuntu2) trusty; urgency=medium
1204
1205 * Add 00upstream-btrfs.patch: Add btrfs support to hrFSTable. Cherrypicked
1206 from upstream, by way of Nafallo Bjälevik. Thanks! (LP: #1289503)
1207
1208 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 12 Mar 2014 13:24:18 +0100
1209
1210net-snmp (5.7.2~dfsg-8.1ubuntu1) trusty; urgency=low
1211
1212 * Resynchronise with Debian. Remaining changes:
1213 - Add apport hook.
1214 - Avoid installing links in rc[06].d.
1215
1216 -- Colin Watson <cjwatson@ubuntu.com> Tue, 29 Oct 2013 06:29:46 -0700
1217
573net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low1218net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low
5741219
575 * Non-maintainer upload.1220 * Non-maintainer upload.
@@ -579,6 +1224,25 @@ net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low
5791224
580 -- Laurent Bigonville <bigon@debian.org> Sat, 13 Jul 2013 17:13:09 +02001225 -- Laurent Bigonville <bigon@debian.org> Sat, 13 Jul 2013 17:13:09 +0200
5811226
1227net-snmp (5.7.2~dfsg-8ubuntu2) trusty; urgency=low
1228
1229 * Rebuild for Perl 5.18.
1230
1231 -- Colin Watson <cjwatson@ubuntu.com> Mon, 21 Oct 2013 12:30:05 +0100
1232
1233net-snmp (5.7.2~dfsg-8ubuntu1) saucy; urgency=low
1234
1235 * Merge from Debian unstable (LP: #1200516). Remaining changes:
1236 + Add apport hook (LP: #533603):
1237 - debian/source.apport: apport hook
1238 - debian/control: Build-depends on dh-apport.
1239 - debian/rules:
1240 + Add --with apport.
1241 + override_dh_apport to install hook on snmpd package only.
1242 * Call dh_installinit correctly to avoid installing links in rc[06].d
1243
1244 -- Yolanda Robla <yolanda.robla@canonical.com> Fri, 12 Jul 2013 09:47:12 +0200
1245
582net-snmp (5.7.2~dfsg-8) unstable; urgency=low1246net-snmp (5.7.2~dfsg-8) unstable; urgency=low
5831247
584 * add libsnmp-perl.preinst to deal with empty directory by libsnmp151248 * add libsnmp-perl.preinst to deal with empty directory by libsnmp15
@@ -627,6 +1291,18 @@ net-snmp (5.7.2~dfsg-5) unstable; urgency=low
6271291
628 -- Hideki Yamane <henrich@debian.org> Sun, 19 May 2013 23:09:52 +09001292 -- Hideki Yamane <henrich@debian.org> Sun, 19 May 2013 23:09:52 +0900
6291293
1294net-snmp (5.7.2~dfsg-4ubuntu1) saucy; urgency=low
1295
1296 * Merge from Debian unstable. Remaining changes:
1297 - debian/rules: Don't stop service in runlevels 0 and 6.
1298 - debian/snmpd.init: LSBify the init script.
1299 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1300 by snmp user before install/uninstall.
1301 - Add apport hook.
1302 * debian/patches/ubuntu-fix-lp-587828.patch: Drop. Fixed upstream.
1303
1304 -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 16 May 2013 21:01:27 -0400
1305
630net-snmp (5.7.2~dfsg-4) unstable; urgency=low1306net-snmp (5.7.2~dfsg-4) unstable; urgency=low
6311307
632 * debian/snmpd.{init,default,postinst}1308 * debian/snmpd.{init,default,postinst}
@@ -807,6 +1483,20 @@ net-snmp (5.7.2~dfsg-1~0.1) experimental; urgency=low
8071483
808 -- Hideki Yamane <henrich@debian.org> Sun, 27 Jan 2013 11:57:29 +09001484 -- Hideki Yamane <henrich@debian.org> Sun, 27 Jan 2013 11:57:29 +0900
8091485
1486net-snmp (5.4.3~dfsg-2.7ubuntu1) raring; urgency=low
1487
1488 * Merge from Debian unstable. Remaining changes:
1489 - debian/rules: Don't stop service in runlevels 0 and 6.
1490 - debian/snmpd.init: LSBify the init script.
1491 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1492 by snmp user before install/uninstall.
1493 - Add apport hook.
1494 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1495 arches
1496 - debian/{control,rules}: Use dh_python2
1497
1498 -- Logan Rosen <logatronico@gmail.com> Tue, 04 Dec 2012 16:57:00 -0500
1499
810net-snmp (5.4.3~dfsg-2.7) unstable; urgency=low1500net-snmp (5.4.3~dfsg-2.7) unstable; urgency=low
8111501
812 * Non-maintainer upload.1502 * Non-maintainer upload.
@@ -823,6 +1513,35 @@ net-snmp (5.4.3~dfsg-2.6) unstable; urgency=low
8231513
824 -- David Prévot <taffit@debian.org> Sun, 18 Nov 2012 09:24:30 -04001514 -- David Prévot <taffit@debian.org> Sun, 18 Nov 2012 09:24:30 -0400
8251515
1516net-snmp (5.4.3~dfsg-2.5ubuntu1) quantal; urgency=low
1517
1518 * Merge from Debian unstable. Remaining changes:
1519 - debian/rules: Don't stop service in runlevels 0 and 6.
1520 - debian/snmpd.init: LSBify the init script.
1521 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1522 by snmp user before install/uninstall.
1523 - Add apport hook.
1524 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1525 arches
1526 - debian/{control,rules}: Use dh_python2
1527 * Dropped changes:
1528 - debian/patches/50_use_bash.patch: Patch wasn't actually being
1529 applied, and upstream apparently fixed this in 5.4.2.
1530 - debian/patches/52_fix_snmpcmd_1_typo.patch: Patch wasn't actually
1531 being applied, and fix is included in 56_manpage.patch.
1532 - debian/snmpd.postinst: Source debconf before doing work: included in
1533 debian package now.
1534 - debian/patches/99-fix-ubuntu-div0.patch: wasn't applied.
1535 - debian/patches/CVE-2008-6123.*: wasn't applied.
1536 - debian/patches/CVE-2012-2141.patch: use debian's patch.
1537 - debian/README.Debian-source: this change is irrelevant since we
1538 use the debian tarball as-is.
1539 - debian/rules: removed misc irrelevant and undocumented changes.
1540 - debian/snmpd.postinst: no longer need to remove shutdown and reboot
1541 links since this is from Maverick-era.
1542
1543 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 20 Jun 2012 09:45:11 -0400
1544
826net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium1545net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium
8271546
828 * Non-maintainer upload by the Security Team.1547 * Non-maintainer upload by the Security Team.
@@ -838,6 +1557,34 @@ net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium
8381557
839 -- Luk Claes <luk@debian.org> Sun, 27 May 2012 17:22:01 +02001558 -- Luk Claes <luk@debian.org> Sun, 27 May 2012 17:22:01 +0200
8401559
1560net-snmp (5.4.3~dfsg-2.4ubuntu2) quantal; urgency=low
1561
1562 * SECURITY UPDATE: denial of service via SNMP GET with non-existent
1563 extension table entry
1564 - debian/patches/CVE-2012-2141.patch: validate line_idx in
1565 agent/mibgroup/agent/extend.c.
1566 - CVE-2012-2141
1567
1568 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 22 May 2012 16:30:48 -0400
1569
1570net-snmp (5.4.3~dfsg-2.4ubuntu1) precise; urgency=low
1571
1572 * Merge from Debian testing. Remaining changes:
1573 - net-snmp-config: Use bash.
1574 - Removed multiuser option when calling update-rc.d.
1575 - debian/snmpd.init: LSBify the init script.
1576 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
1577 snmpcmd.1.
1578 - debian/snmpd.postinst: Source debconf before doing work.
1579 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1580 by snmp user before install/uninstall.
1581 - Add apport hook.
1582 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1583 arches
1584 - debian/rules: Use dh_python2
1585
1586 -- Chuck Short <zulcss@ubuntu.com> Mon, 23 Jan 2012 09:44:25 -0500
1587
841net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low1588net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low
8421589
843 * Non-maintainer upload.1590 * Non-maintainer upload.
@@ -851,6 +1598,35 @@ net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low
8511598
852 -- Christian Perrier <bubulle@debian.org> Mon, 19 Dec 2011 07:34:31 +01001599 -- Christian Perrier <bubulle@debian.org> Mon, 19 Dec 2011 07:34:31 +0100
8531600
1601net-snmp (5.4.3~dfsg-2.3ubuntu3) precise; urgency=low
1602
1603 * Build using dh_python2.
1604
1605 -- Matthias Klose <doko@ubuntu.com> Wed, 14 Dec 2011 15:48:05 +0100
1606
1607net-snmp (5.4.3~dfsg-2.3ubuntu2) precise; urgency=low
1608
1609 * Rebuild for Perl 5.14.
1610
1611 -- Colin Watson <cjwatson@ubuntu.com> Tue, 15 Nov 2011 20:49:15 +0000
1612
1613net-snmp (5.4.3~dfsg-2.3ubuntu1) precise; urgency=low
1614
1615 * Merge from debian unstable. Remaining changes:
1616 - net-snmp-config: Use bash.
1617 - Removed multiuser option when calling update-rc.d.
1618 - debian/snmpd.init: LSBify the init script.
1619 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
1620 snmpcmd.1.
1621 - debian/snmpd.postinst: Source debconf before doing work.
1622 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1623 by snmp user before install/uninstall.
1624 - Add apport hook.
1625 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1626 arches.
1627
1628 -- Chuck Short <zulcss@ubuntu.com> Sat, 27 Aug 2011 18:10:55 +0000
1629
854net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low1630net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low
8551631
856 * Non-maintainer upload.1632 * Non-maintainer upload.
@@ -860,6 +1636,23 @@ net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low
8601636
861 -- Stephen Gran <sgran@debian.org> Sat, 27 Aug 2011 09:10:09 +00001637 -- Stephen Gran <sgran@debian.org> Sat, 27 Aug 2011 09:10:09 +0000
8621638
1639net-snmp (5.4.3~dfsg-2.2ubuntu1) oneiric; urgency=low
1640
1641 * Resynchronise with Debian (LP: #780149). Remaining changes:
1642 - net-snmp-config: Use bash.
1643 - Removed multiuser option when calling update-rc.d.
1644 - debian/snmpd.init: LSBify the init script.
1645 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
1646 snmpcmd.1.
1647 - debian/snmpd.postinst: Source debconf before doing work.
1648 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1649 by snmp user before install/uninstall.
1650 - Add apport hook.
1651 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1652 arches.
1653
1654 -- Colin Watson <cjwatson@ubuntu.com> Tue, 10 May 2011 06:14:05 +0100
1655
863net-snmp (5.4.3~dfsg-2.2) unstable; urgency=high1656net-snmp (5.4.3~dfsg-2.2) unstable; urgency=high
8641657
865 * Non-maintainer upload.1658 * Non-maintainer upload.
@@ -884,6 +1677,35 @@ net-snmp (5.4.3~dfsg-2.1) unstable; urgency=high
8841677
885 -- Cyril Brulebois <kibi@debian.org> Sat, 07 May 2011 12:14:26 +02001678 -- Cyril Brulebois <kibi@debian.org> Sat, 07 May 2011 12:14:26 +0200
8861679
1680net-snmp (5.4.3~dfsg-2ubuntu2) oneiric; urgency=low
1681
1682 * Rebuild for Perl 5.12.
1683
1684 -- Colin Watson <cjwatson@ubuntu.com> Sat, 07 May 2011 23:29:06 +0100
1685
1686net-snmp (5.4.3~dfsg-2ubuntu1) natty; urgency=low
1687
1688 * Merge from debian unstable. Remaining changes:
1689 - Set Ubuntu maintainer address.
1690 - net-snmp-config: Use bash (LP: #104738)
1691 - Removed multiuser option when calling update-rc.d (LP: #254261)
1692 - debian/snmpd.init: LSBify the init script.
1693 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
1694 (LP: #250459)
1695 - debian/snmpd.postinst: source debconf before doing work. (LP: #589056)
1696 - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
1697 snmp user before install/uninstall (LP: #573391)
1698 - Add apport hook (LP: #533603):
1699 - debian/control: Build-depends on dh-apport.
1700 - debian/rules:
1701 + Add --with apport.
1702 + override_dh_apport to install hook on snmpd package only.
1703 - debian/patches/ubntu-fix-lp-58728.patch: Fix row creation for 64bit
1704 arches. (LP: #587828)
1705 - Fix build failures with ld --no-add-needed.
1706
1707 -- Chuck Short <zulcss@ubuntu.com> Thu, 06 Jan 2011 00:35:28 +0000
1708
887net-snmp (5.4.3~dfsg-2) unstable; urgency=high1709net-snmp (5.4.3~dfsg-2) unstable; urgency=high
8881710
889 * Add libperl-dev to libsnmp-dev dependencies (Closes: #608794)1711 * Add libperl-dev to libsnmp-dev dependencies (Closes: #608794)
@@ -893,6 +1715,55 @@ net-snmp (5.4.3~dfsg-2) unstable; urgency=high
8931715
894 -- Jochen Friedrich <jochen@scram.de> Wed, 05 Jan 2011 13:03:32 +01001716 -- Jochen Friedrich <jochen@scram.de> Wed, 05 Jan 2011 13:03:32 +0100
8951717
1718net-snmp (5.4.3~dfsg-1ubuntu5) natty; urgency=low
1719
1720 * Fix build failure with ld --no-add-needed.
1721
1722 -- Matthias Klose <doko@ubuntu.com> Fri, 03 Dec 2010 23:45:33 +0000
1723
1724net-snmp (5.4.3~dfsg-1ubuntu4) natty; urgency=low
1725
1726 * Rebuild to add support for python 2.7.
1727
1728 -- Matthias Klose <doko@ubuntu.com> Fri, 03 Dec 2010 00:05:05 +0000
1729
1730net-snmp (5.4.3~dfsg-1ubuntu3) maverick; urgency=low
1731
1732 * debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches.
1733 (LP: #587828)
1734
1735 -- Chuck Short <zulcss@ubuntu.com> Wed, 25 Aug 2010 10:18:45 -0400
1736
1737net-snmp (5.4.3~dfsg-1ubuntu2) maverick; urgency=low
1738
1739 * No-change rebuild against current debhelper to drop sizable upstream
1740 changelog.
1741
1742 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 02 Aug 2010 08:34:07 +0200
1743
1744net-snmp (5.4.3~dfsg-1ubuntu1) maverick; urgency=low
1745
1746 * Merge from debian unstable. Remaining changes:
1747 - Set Ubuntu maintainer address.
1748 - net-snmp-config: Use bash. (LP: #104738)
1749 - Removed multiuser option when calling update-rc.d. (LP: #254261)
1750 - debian/snmpd.init: LSBify the init script.
1751 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
1752 (LP: #250459)
1753 - debian/snmpd.postinst: source debconf before doing work, LP: #589056
1754 - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
1755 snmp user before install/uninstall, LP: #573391
1756 - Add apport hook (LP: #533603):
1757 - debian/{snmp,snmpd}.apport: Added.
1758 - debian/control: Build-depends on dh-apport.
1759 - debian/rules:
1760 + Add --with apport.
1761 + override_dh_apport to install hook on snmpd package only.
1762 * Dropped patches:
1763 - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero..
1764
1765 -- Chuck Short <zulcss@ubuntu.com> Mon, 28 Jun 2010 14:59:36 -0400
1766
896net-snmp (5.4.3~dfsg-1) unstable; urgency=low1767net-snmp (5.4.3~dfsg-1) unstable; urgency=low
8971768
898 * New upstream version (Closes: #559109)1769 * New upstream version (Closes: #559109)
@@ -950,6 +1821,73 @@ net-snmp (5.4.2.1~dfsg-4) unstable; urgency=low
9501821
951 -- Jochen Friedrich <jochen@scram.de> Tue, 01 Dec 2009 18:40:38 +01001822 -- Jochen Friedrich <jochen@scram.de> Tue, 01 Dec 2009 18:40:38 +0100
9521823
1824net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu4) maverick; urgency=low
1825
1826 * debian/snmpd.postinst: source debconf before doing work, LP: #589056
1827 * debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
1828 snmp user before install/uninstall, LP: #573391
1829
1830 -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 22 Jun 2010 14:04:48 -0500
1831
1832net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu3) maverick; urgency=low
1833
1834 * SECURITY UPDATE: access restriction bypass
1835 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516801
1836 - http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=17367
1837 - CVE-2008-6123
1838
1839 -- Corey Wright <undefined@pobox.com> Mon, 31 May 2010 00:00:29 -0500
1840
1841net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu2) lucid; urgency=low
1842
1843 * Add apport hook (LP: #533603):
1844 - debian/{snmp,snmpd}.apport: Added.
1845 - debian/control: Build-depends on dh-apport.
1846 - debian/rules:
1847 + Add --with apport.
1848 + override_dh_apport to install hook on snmpd package only.
1849
1850 -- Andres Rodriguez <andreserl@ubuntu.com> Sun, 28 Mar 2010 00:25:13 -0400
1851
1852net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu1) lucid; urgency=low
1853
1854 * Repackage upstream tarball to re-add the MIBs: even if they are not
1855 modifiable (which is questionable), this is not a reason to keep them
1856 out of Ubuntu main.
1857 * Revert the changes to prompt about MIB downloads.
1858 * Call dh_installinit correctly to avoid installing links in rc[06].d
1859 * Temporarily re-add postinst snippet to clean up rc[06].d links left by
1860 the previous upload.
1861 * Fix egg name listed in debian/rules, apparently needed to fix another
1862 build failure.
1863
1864 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 12 Dec 2009 00:05:34 -0800
1865
1866net-snmp (5.4.2.1~dfsg-3ubuntu2) lucid; urgency=low
1867
1868 * Fix FTBFS.
1869
1870 -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Nov 2009 13:20:26 -0500
1871
1872net-snmp (5.4.2.1~dfsg-3ubuntu1) lucid; urgency=low
1873
1874 * Merge from debian testing. Remaining changes:
1875 - Set Ubuntu maintainer address.
1876 - net-snmp-config: Use bash. (LP: #104738)
1877 - Removed multiuser option when calling update-rc.d. (LP: #254261)
1878 - debian/snmpd.init: LSBify the init script.
1879 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
1880 (LP: #250459)
1881 - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.
1882 (LP: #426813).
1883 * Dropped patches:
1884 - debian/patches/101-fix-ipalias.patch: Applied upstream.
1885 - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream.
1886 - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream.
1887 - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed.
1888
1889 -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Nov 2009 01:27:00 +0000
1890
953net-snmp (5.4.2.1~dfsg-3) unstable; urgency=low1891net-snmp (5.4.2.1~dfsg-3) unstable; urgency=low
9541892
955 * Fix typo in NEWS.1893 * Fix typo in NEWS.
@@ -1014,6 +1952,67 @@ net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low
10141952
1015 -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 18:29:10 +01001953 -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 18:29:10 +0100
10161954
1955net-snmp (5.4.1~dfsg-12ubuntu7) karmic; urgency=low
1956
1957 * debian/patches/99-fix-ubuntu-div0.patch: Fix division by zero.
1958 (LP: #426813).
1959
1960 -- Chuck Short <zulcss@ubuntu.com> Mon, 28 Sep 2009 14:02:16 -0400
1961
1962net-snmp (5.4.1~dfsg-12ubuntu6) karmic; urgency=low
1963
1964 * debian/patches/101-fix-ipalias.patch : Fix flooding syslog -
1965 Syslog fills with hundreds of these errors if you have a network
1966 interface, e.g. eth2, with no IP address, but you have an alias,
1967 e.g. eth2:1, that does have an IP address (and netmask).
1968 (LP: #270713)
1969 * debian/patches/103-fix-ubuntu-lmsensors.patch: Point to the right
1970 place for /etc/sensors3.conf. (LP: #192745)
1971
1972 -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Sep 2009 12:19:41 -0400
1973
1974net-snmp (5.4.1~dfsg-12ubuntu5) karmic; urgency=low
1975
1976 * debian/patches/99-fix-perl-counter-in-subagent.patch: Fix for Counter64 in
1977 perl subagent. (LP: #406171)
1978
1979 -- Chuck Short <zulcss@ubuntu.com> Fri, 04 Sep 2009 12:10:01 -0500
1980
1981net-snmp (5.4.1~dfsg-12ubuntu4) karmic; urgency=low
1982
1983 * debian/patches/99-fix-net-snmp-syslog.patch: Fixes "invalid syslog facility".
1984 (LP: #369577)
1985
1986 -- Chuck Short <zulcss@ubuntu.com> Wed, 24 Jun 2009 14:44:51 -0400
1987
1988net-snmp (5.4.1~dfsg-12ubuntu3) jaunty; urgency=low
1989
1990 * No-change rebuild to fix lpia shared library dependencies.
1991
1992 -- Colin Watson <cjwatson@ubuntu.com> Thu, 19 Mar 2009 13:00:18 +0000
1993
1994net-snmp (5.4.1~dfsg-12ubuntu2) jaunty; urgency=low
1995
1996 * Python 2.6 transition, debian/rules (LP: #338556):
1997 - Include /usr/share/python/python.mk.
1998 - Use py_sitename and py_setup_install_args macros to install all python
1999 stuffs in the right places (/usr/lib/python*/*-packages/) and rebuild.
2000
2001 -- Alessio Treglia <quadrispro@ubuntu.com> Thu, 12 Mar 2009 00:38:57 +0100
2002
2003net-snmp (5.4.1~dfsg-12ubuntu1) jaunty; urgency=low
2004
2005 * Merge from debian unstable, remaining changes:
2006 - Set Ubuntu maintainer address.
2007 - net-snmp-config: Use bash. LP: #104738)
2008 * Removed multiuser option when calling update-rc.d (LP: #254261).
2009 * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1
2010 (LP: #250459)
2011 * debian/snmp.init: LSBify the snmpd.init script. Add status notification,
2012 based on initial patch by Gary Coady. (LP: #43575)
2013
2014 -- Chuck Short <zulcss@ubuntu.com> Wed, 17 Dec 2008 00:58:14 +0000
2015
1017net-snmp (5.4.1~dfsg-12) unstable; urgency=high2016net-snmp (5.4.1~dfsg-12) unstable; urgency=high
10182017
1019 * Urgency high because of RC bug fix.2018 * Urgency high because of RC bug fix.
@@ -1024,6 +2023,21 @@ net-snmp (5.4.1~dfsg-12) unstable; urgency=high
10242023
1025 -- Jochen Friedrich <jochen@scram.de> Tue, 16 Dec 2008 15:29:28 +01002024 -- Jochen Friedrich <jochen@scram.de> Tue, 16 Dec 2008 15:29:28 +0100
10262025
2026net-snmp (5.4.1~dfsg-11ubuntu1) jaunty; urgency=low
2027
2028 * Merge from debian unstable, remaining changes:
2029 - Set Ubuntu maintainer address.
2030 - net-snmp-config. Use bash (LP: #104738)
2031 * Removed multiuser option when calling update-rc.d (LP: #254261).
2032 * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1
2033 (LP: #250459)
2034 * debian/snmp.init: LSBify the snmpd.init script. Add status notification,
2035 based on inital patch by Gary Coady. (LP: #43575)
2036 * Dropped debian/patches/51_CVE-2008-0960.patch: Use debian's instead.
2037 * Dropped debian/patches/54_fix_registration_error.patch: Use debian's instead.
2038
2039 -- Chuck Short <zulcss@ubuntu.com> Wed, 05 Nov 2008 02:59:05 +0000
2040
1027net-snmp (5.4.1~dfsg-11) unstable; urgency=high2041net-snmp (5.4.1~dfsg-11) unstable; urgency=high
10282042
1029 * This update fixes the following security issue:2043 * This update fixes the following security issue:
@@ -1071,6 +2085,69 @@ net-snmp (5.4.1~dfsg-8) unstable; urgency=low
10712085
1072 -- Jochen Friedrich <jochen@scram.de> Tue, 03 Jun 2008 13:06:57 +02002086 -- Jochen Friedrich <jochen@scram.de> Tue, 03 Jun 2008 13:06:57 +0200
10732087
2088net-snmp (5.4.1~dfsg-7.1ubuntu6) intrepid; urgency=low
2089
2090 * debian/snmpd.init: Fix snmpd script error. (LP: #270961)
2091
2092 -- Chuck Short <zulcss@ubuntu.com> Mon, 22 Sep 2008 14:18:08 -0400
2093
2094net-snmp (5.4.1~dfsg-7.1ubuntu5) intrepid; urgency=low
2095
2096 * debian/snmpd.init: LSBify the snmpd.init script. And add status
2097 notification, based on inital patch by Gary Coady. (LP: #43575)
2098 * debian/patches/54_fix_registration_error.patch: Surpresses annoying
2099 registrations in startup. (LP: #200614)
2100
2101 -- Chuck Short <zulcss@ubuntu.com> Fri, 12 Sep 2008 13:21:40 -0400
2102
2103net-snmp (5.4.1~dfsg-7.1ubuntu4) intrepid; urgency=low
2104
2105 * Fix lsb headers in init script: stop in single user mode
2106 (LP: #254261).
2107
2108 -- Mathias Gug <mathiaz@ubuntu.com> Thu, 21 Aug 2008 23:07:59 -0400
2109
2110net-snmp (5.4.1~dfsg-7.1ubuntu3) intrepid; urgency=low
2111
2112 [ Salvatore Palma ]
2113 * Add 52_fix_snmpcmd_1_typo.patch patch to adjust a typo in
2114 snmpcmd.1 (LP: #250459).
2115
2116 [ Mathias Gug ]
2117 * Remove multiuser option when calling update-rc.d. (LP: #254261).
2118
2119 -- Mathias Gug <mathiaz@ubuntu.com> Tue, 12 Aug 2008 23:03:05 -0400
2120
2121net-snmp (5.4.1~dfsg-7.1ubuntu2) intrepid; urgency=low
2122
2123 * SECURITY UPDATE: HMAC authentication spoofing.
2124 * debian/patches/51_CVE-2008-0960.patch: fixes HMAC authentication spoofing.
2125 * debian/patches/52_use_right_config_file.patch: Use the right configuration
2126 file for lmsensors. (LP: #192745)
2127
2128 -- Chuck Short <zulcss@ubuntu.com> Mon, 16 Jun 2008 15:47:18 +0000
2129
2130net-snmp (5.4.1~dfsg-7.1ubuntu1) intrepid; urgency=low
2131
2132 * Merge from debian unstable, remaining changes:
2133 - Set Ubuntu maintainer address.
2134 - net-snmp-config: Use bash. LP: #104738.
2135 - Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to
2136 libsnmp-base to avoid file confict on dapper->hardy upgrades.
2137 (LP: #203610)
2138
2139 -- Chuck Short <zulcss@ubuntu.com> Tue, 27 May 2008 13:06:56 -0500
2140
2141net-snmp (5.4.1~dfsg-7.1) unstable; urgency=high
2142
2143 * Non-maintainer upload by the Security Team.
2144 * Fix buffer overflow in the python and perl module (__snprint_value
2145 function)that can be exploited via large OCTETSTRING in an
2146 attribute value pair (AVP) leading to arbitrary code
2147 execution (CVE-2008-2292; Closes: #482333).
2148
2149 -- Nico Golde <nion@debian.org> Sat, 24 May 2008 13:12:16 +0200
2150
1074net-snmp (5.4.1~dfsg-7) unstable; urgency=low2151net-snmp (5.4.1~dfsg-7) unstable; urgency=low
10752152
1076 * Add some more Conflicts: and Replaces: magic to allow moving2153 * Add some more Conflicts: and Replaces: magic to allow moving
@@ -1106,6 +2183,41 @@ net-snmp (5.4.1~dfsg-5) unstable; urgency=low
11062183
1107 -- Jochen Friedrich <jochen@scram.de> Fri, 28 Dec 2007 12:43:21 +01002184 -- Jochen Friedrich <jochen@scram.de> Fri, 28 Dec 2007 12:43:21 +0100
11082185
2186net-snmp (5.4.1~dfsg-4ubuntu4) hardy; urgency=low
2187
2188 * Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to
2189 libsnmp-base to avoid file confict on dapper->hardy upgrades
2190 (LP: #203610)
2191
2192 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 18 Mar 2008 17:47:13 +0100
2193
2194net-snmp (5.4.1~dfsg-4ubuntu3) hardy; urgency=low
2195
2196 * Rebuild with recent python-central.
2197 * Set Ubuntu maintainer address.
2198
2199 -- Matthias Klose <doko@ubuntu.com> Mon, 10 Mar 2008 12:46:06 +0000
2200
2201net-snmp (5.4.1~dfsg-4ubuntu2) hardy; urgency=low
2202
2203 * net-snmp-config: Use bash. LP: #104738.
2204
2205 -- Matthias Klose <doko@ubuntu.com> Wed, 06 Feb 2008 14:45:12 +0000
2206
2207net-snmp (5.4.1~dfsg-4ubuntu1) hardy; urgency=low
2208
2209 * Merge from debian unstable.
2210 * Remaining Ubuntu changes:
2211 - Remove stop links from rc0 and rc6
2212 - Munge Maintainer field as per spec.
2213 * Ubuntu changes dropped:
2214 - Symlink common files between the packages, CDBS ought to handle that
2215 for us automatically.
2216 * The latest Debian changes has dropped history from the changelog. Slot in
2217 the Ubuntu changes as best I can.
2218
2219 -- Steve Kowalik <stevenk@ubuntu.com> Sat, 08 Dec 2007 14:59:50 +1100
2220
1109net-snmp (5.4.1~dfsg-4) unstable; urgency=low2221net-snmp (5.4.1~dfsg-4) unstable; urgency=low
11102222
1111 * Do it right this time.2223 * Do it right this time.
@@ -1193,6 +2305,30 @@ net-snmp (5.4~dfsg-1) experimental; urgency=low
11932305
1194 -- Jochen Friedrich <jochen@scram.de> Fri, 13 Apr 2007 16:16:02 +02002306 -- Jochen Friedrich <jochen@scram.de> Fri, 13 Apr 2007 16:16:02 +0200
11952307
2308net-snmp (5.3.1-6ubuntu2) gutsy; urgency=low
2309
2310 * Do not install the upstream changelog in libsnmp10 and libsnmp-base.
2311 * Symlink files common in libsnmp10 and libsnmp-base.
2312
2313 -- Matthias Klose <doko@ubuntu.com> Fri, 05 Oct 2007 14:55:58 +0200
2314
2315net-snmp (5.3.1-6ubuntu1) gutsy; urgency=low
2316
2317 * Merge from Debian unstable.
2318 * Remaining Ubuntu changes:
2319 - Remove stop links from rc0 and rc6
2320 - Munge Maintainer field as per spec.
2321
2322 -- Steve Kowalik <stevenk@ubuntu.com> Wed, 23 May 2007 08:58:46 +1000
2323
2324net-snmp (5.3.1-5ubuntu1) gutsy; urgency=low
2325
2326 * Merge from Debian unstable.
2327 * Remaining Ubuntu changes:
2328 - Remove stop links from rc0 and rc6
2329 * Munge Maintainer field as per spec.
2330
2331 -- Steve Kowalik <stevenk@ubuntu.com> Thu, 10 May 2007 22:20:23 +1000
11962332
1197net-snmp (5.3.1-3) unstable; urgency=low2333net-snmp (5.3.1-3) unstable; urgency=low
11982334
@@ -1249,6 +2385,19 @@ net-snmp (5.3.1-1) experimental; urgency=low
12492385
1250 -- Jochen Friedrich <jochen@scram.de> Wed, 26 Jul 2006 12:08:46 +02002386 -- Jochen Friedrich <jochen@scram.de> Wed, 26 Jul 2006 12:08:46 +0200
12512387
2388net-snmp (5.2.3-4ubuntu1) feisty; urgency=low
2389
2390 * Merge from debian unstable, remaining changes:
2391 - remove stop links from rc0 and rc6
2392
2393 -- Scott James Remnant <scott@ubuntu.com> Tue, 28 Nov 2006 12:29:34 +0000
2394
2395net-snmp (5.2.2-5ubuntu1) edgy; urgency=low
2396
2397 * Remove stop script symlinks from rc0 and rc6.
2398
2399 -- Scott James Remnant <scott@ubuntu.com> Fri, 15 Sep 2006 17:32:44 +0100
2400
1252net-snmp (5.2.2-4) unstable; urgency=low2401net-snmp (5.2.2-4) unstable; urgency=low
12532402
1254 * Add French translation. Thanks to Thomas Huriaux2403 * Add French translation. Thanks to Thomas Huriaux
diff --git a/debian/control b/debian/control
index e940a85..287de31 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: net-snmp1Source: net-snmp
2Section: net2Section: net
3Priority: optional3Priority: optional
4Maintainer: Craig Small <csmall@debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Craig Small <csmall@debian.org>
5Build-Depends: debhelper-compat (= 12),6Build-Depends: debhelper-compat (= 12),
6 libtool, libwrap0-dev, libssl-dev, perl:any, perl-xs-dev,7 libtool, libwrap0-dev, libssl-dev, perl:any, perl-xs-dev,
7 autoconf, automake, procps,8 autoconf, automake, procps,
@@ -9,7 +10,7 @@ Build-Depends: debhelper-compat (= 12),
9 libbsd-dev [kfreebsd-i386 kfreebsd-amd64],10 libbsd-dev [kfreebsd-i386 kfreebsd-amd64],
10 libkvm-dev [kfreebsd-i386 kfreebsd-amd64],11 libkvm-dev [kfreebsd-i386 kfreebsd-amd64],
11 libsensors-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],12 libsensors-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
12 default-libmysqlclient-dev, libpci-dev13 default-libmysqlclient-dev, libpci-dev, dh-apport
13Build-Conflicts: libsnmp-dev14Build-Conflicts: libsnmp-dev
14Standards-Version: 4.6.115Standards-Version: 4.6.1
15Vcs-Git: https://salsa.debian.org/debian/net-snmp.git16Vcs-Git: https://salsa.debian.org/debian/net-snmp.git
diff --git a/debian/patches/add-overlay-support.patch b/debian/patches/add-overlay-support.patch
16new file mode 10064417new file mode 100644
index 0000000..daa3d45
--- /dev/null
+++ b/debian/patches/add-overlay-support.patch
@@ -0,0 +1,26 @@
1From 798f206561b7de4bc54453c01ffd21de8ae59c87 Mon Sep 17 00:00:00 2001
2From: Istvan Papp <istvan.papp.27182@gmail.com>
3Date: Wed, 15 Feb 2023 09:51:45 +0100
4Subject: [PATCH] HOST-RESOURCES-MIB: Add overlay support
5
6Fixes: #525
7
8Origin: Upstream, https://github.com/net-snmp/net-snmp/commit/798f206561b7de4bc54453c01ffd21de8ae59c87
9Bug: https://github.com/net-snmp/net-snmp/issues/525
10Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/2007856
11Reviewed-By: Bryce Harrington <bryce@canonical.com>
12Last-Updated: 2023-03-22
13---
14 agent/mibgroup/hardware/fsys/fsys_mntent.c | 1 +
15 1 file changed, 1 insertion(+)
16
17--- net-snmp.orig/agent/mibgroup/hardware/fsys/fsys_mntent.c 2024-01-02 16:15:30.802485163 -0500
18+++ net-snmp/agent/mibgroup/hardware/fsys/fsys_mntent.c 2024-01-02 16:15:30.798485195 -0500
19@@ -87,6 +87,7 @@ static const char *other_fs[] = {
20 "nssvol",
21 "nvmfs",
22 "ocfs2",
23+ "overlay",
24 "reiserfs",
25 "simfs",
26 "tmpfs",
diff --git a/debian/patches/series b/debian/patches/series
index e06a6c9..22ea048 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -41,3 +41,5 @@ snmptrapd_correct_mysql_includes
41makefile_trap_needs_agent41makefile_trap_needs_agent
42includes_fix_national_encoding42includes_fix_national_encoding
43configure_fix_version43configure_fix_version
44snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
45add-overlay-support.patch
diff --git a/debian/patches/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch b/debian/patches/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
44new file mode 10064446new file mode 100644
index 0000000..a97b898
--- /dev/null
+++ b/debian/patches/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
@@ -0,0 +1,154 @@
1From: Chengen Du <chengen.du@canonical.com>
2Date: Wed, 23 Nov 2022 14:11:36 +0800
3Subject: apps/snmptrap: Fix mysql reconnection after hitting wait_timeout
4
5 MySQL v8.0 supports ER_CLIENT_INTERACTION_TIMEOUT, which is not handled
6 in snmptrapd
7
8Origin: upstream, https://github.com/net-snmp/net-snmp/pull/484/files
9Bug-Ubuntu: https://bugs.launchpad.net/bugs/1999711
10Last-Update: 2022-12-15
11--- net-snmp.orig/apps/snmptrapd_sql.c 2024-01-02 16:05:28.287582057 -0500
12+++ net-snmp/apps/snmptrapd_sql.c 2024-01-02 16:10:47.144801801 -0500
13@@ -248,6 +248,13 @@ netsnmp_sql_disconnected(void)
14 }
15 }
16
17+static bool
18+netsnmp_sql_server_disconnected(int err)
19+{
20+ // CR_SERVER_GONE_ERROR | CR_SERVER_LOST | ER_CLIENT_INTERACTION_TIMEOUT
21+ return CR_SERVER_GONE_ERROR == err || CR_SERVER_LOST == err || 4031 == err;
22+}
23+
24 /*
25 * convenience function to log mysql errors
26 */
27@@ -255,17 +262,20 @@ static void
28 netsnmp_sql_error(const char *message)
29 {
30 u_int err = mysql_errno(_sql.conn);
31- snmp_log(LOG_ERR, "%s\n", message);
32- if (_sql.conn != NULL) {
33+
34+ if (0 == _sql.connected || !netsnmp_sql_server_disconnected(err)) {
35+ snmp_log(LOG_ERR, "%s\n", message);
36+ if (_sql.conn != NULL) {
37 #if MYSQL_VERSION_ID >= 40101
38- snmp_log(LOG_ERR, "Error %u (%s): %s\n",
39- err, mysql_sqlstate(_sql.conn), mysql_error(_sql.conn));
40+ snmp_log(LOG_ERR, "Error %u (%s): %s\n",
41+ err, mysql_sqlstate(_sql.conn), mysql_error(_sql.conn));
42 #else
43- snmp(LOG_ERR, "Error %u: %s\n",
44- mysql_errno(_sql.conn), mysql_error(_sql.conn));
45+ snmp(LOG_ERR, "Error %u: %s\n",
46+ mysql_errno(_sql.conn), mysql_error(_sql.conn));
47 #endif
48+ }
49 }
50- if (CR_SERVER_GONE_ERROR == err)
51+ if (netsnmp_sql_server_disconnected(err))
52 netsnmp_sql_disconnected();
53 }
54
55@@ -277,14 +287,15 @@ netsnmp_sql_stmt_error (MYSQL_STMT *stmt
56 {
57 u_int err = mysql_errno(_sql.conn);
58
59- snmp_log(LOG_ERR, "%s\n", message);
60- if (stmt) {
61- snmp_log(LOG_ERR, "SQL Error %u (%s): %s\n",
62- mysql_stmt_errno(stmt), mysql_stmt_sqlstate(stmt),
63- mysql_stmt_error(stmt));
64+ if (0 == _sql.connected || !netsnmp_sql_server_disconnected(err)) {
65+ snmp_log(LOG_ERR, "%s\n", message);
66+ if (stmt) {
67+ snmp_log(LOG_ERR, "SQL Error %u (%s): %s\n",
68+ mysql_stmt_errno(stmt), mysql_stmt_sqlstate(stmt),
69+ mysql_stmt_error(stmt));
70+ }
71 }
72-
73- if (CR_SERVER_GONE_ERROR == err)
74+ if (netsnmp_sql_server_disconnected(err))
75 netsnmp_sql_disconnected();
76 }
77
78@@ -307,15 +318,6 @@ netsnmp_mysql_cleanup(void)
79 CONTAINER_FREE(_sql.queue);
80 _sql.queue = NULL;
81
82- if (_sql.trap_stmt) {
83- mysql_stmt_close(_sql.trap_stmt);
84- _sql.trap_stmt = NULL;
85- }
86- if (_sql.vb_stmt) {
87- mysql_stmt_close(_sql.vb_stmt);
88- _sql.vb_stmt = NULL;
89- }
90-
91 /** disconnect from server */
92 netsnmp_sql_disconnected();
93
94@@ -373,6 +375,21 @@ netsnmp_mysql_connect(void)
95
96 DEBUGMSGTL(("sql:connection","connecting\n"));
97
98+ if (_sql.conn) {
99+ mysql_close(_sql.conn);
100+ _sql.conn = NULL;
101+ }
102+
103+ _sql.conn = mysql_init (NULL);
104+ if (_sql.conn == NULL) {
105+ netsnmp_sql_error("mysql_init() failed (out of memory?)");
106+ goto err;
107+ }
108+
109+#if HAVE_MYSQL_OPTIONS
110+ mysql_options(_sql.conn, MYSQL_READ_DEFAULT_GROUP, "snmptrapd");
111+#endif
112+
113 /** connect to server */
114 if (mysql_real_connect (_sql.conn, _sql.host_name, _sql.user_name,
115 _sql.password, _sql.db_name, _sql.port_num,
116@@ -549,16 +566,6 @@ netsnmp_mysql_init(void)
117 #endif
118 _vbind[VBIND_VAL].length = &_vbind[VBIND_VAL].buffer_length;
119
120- _sql.conn = mysql_init (NULL);
121- if (_sql.conn == NULL) {
122- netsnmp_sql_error("mysql_init() failed (out of memory?)");
123- return -1;
124- }
125-
126-#ifdef HAVE_MYSQL_OPTIONS
127- mysql_options(_sql.conn, MYSQL_READ_DEFAULT_GROUP, "snmptrapd");
128-#endif
129-
130 /** try to connect; we'll try again later if we fail */
131 (void) netsnmp_mysql_connect();
132
133@@ -1115,6 +1122,8 @@ _sql_process_queue(u_int dontcare, void
134 (void) netsnmp_mysql_connect();
135 }
136
137+ bool sql_has_connected = _sql.connected;
138+
139 CONTAINER_FOR_EACH(_sql.queue, (netsnmp_container_obj_func*)_sql_save,
140 NULL);
141
142@@ -1128,8 +1137,10 @@ _sql_process_queue(u_int dontcare, void
143 }
144 }
145
146- CONTAINER_CLEAR(_sql.queue, (netsnmp_container_obj_func*)_sql_buf_free,
147- NULL);
148+ if (!sql_has_connected || _sql.connected) {
149+ CONTAINER_CLEAR(_sql.queue, (netsnmp_container_obj_func*)_sql_buf_free,
150+ NULL);
151+ }
152 }
153
154 #else
diff --git a/debian/rules b/debian/rules
index 34d8509..63862b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,7 +33,7 @@ export PERL5LIB=/usr/lib/$(DEB_HOST_MULTIARCH)/perl/cross-config-$(shell perl -M
33endif33endif
3434
35%:35%:
36 dh $@36 dh $@ --with apport
3737
38# The net-snmp Makefiles cannot handle parallel builds38# The net-snmp Makefiles cannot handle parallel builds
39override_dh_auto_build:39override_dh_auto_build:
@@ -94,6 +94,10 @@ override_dh_fixperms-arch:
94 chmod -x debian/libsnmp-dev/etc/snmp/*.conf94 chmod -x debian/libsnmp-dev/etc/snmp/*.conf
95 chmod 640 debian/snmpd/etc/snmp/snmp*d.conf95 chmod 640 debian/snmpd/etc/snmp/snmp*d.conf
9696
97.PHONY: override_dh_apport
98override_dh_apport:
99 dh_apport -psnmpd
100
97override_dh_auto_test:101override_dh_auto_test:
98 # prevent test since it fails with network configuration under pbuilder/etc.102 # prevent test since it fails with network configuration under pbuilder/etc.
99 true103 true
diff --git a/debian/source.apport b/debian/source.apport
100new file mode 100644104new file mode 100644
index 0000000..f4b55f8
--- /dev/null
+++ b/debian/source.apport
@@ -0,0 +1,36 @@
1#!/usr/bin/python
2
3'''apport hook for net-snmp
4
5(c) 2010 Andres Rodriguez
6Author: Andres Rodriguez <andreserl@ubuntu.com>
7
8This program is free software; you can redistribute it and/or modify it
9under the terms of the GNU General Public License as published by the
10Free Software Foundation; either version 2 of the License, or (at your
11option) any later version. See http://www.gnu.org/copyleft/gpl.html for
12the full text of the license.
13'''
14
15from apport.hookutils import *
16import re
17
18def add_info(report, ui):
19 response = ui.yesno("The contents of your /etc/snmp/snmpd.conf and "
20 "your /etc/snmp/snmptrapd.conf files may help "
21 "developers diagnose your bug more quickly. "
22 "However, they may contain sensitive information. "
23 "Do you want to include them in your bug report?")
24
25 if response == None: # user cancelled
26 raise StopIteration
27
28 elif response == True:
29 attach_conffiles(report, 'snmpd')
30
31 # get version
32 report['SNMPVersion'] = root_command_output(['/usr/sbin/snmpd', '-v'])
33
34 # get syslog stuff
35 report['SyslogSnmpd'] = recent_syslog(re.compile('snmpd\['))
36 report['SyslogSnmptrapd'] = recent_syslog(re.compile('snmptrapd\['))

Subscribers

People subscribed via source and target branches