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
1diff --git a/debian/changelog b/debian/changelog
2index aa85fed..a8a673d 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,22 @@
6+net-snmp (5.9.4+dfsg-1ubuntu1) noble; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #2040402). Remaining changes:
9+ - Add apport hook:
10+ + d/control: add dh-apport to Build-Depends
11+ + d/rules: install the apport hook via debhelper
12+ + d/source.apport: apport hook
13+ - Fix snmptrapd reconnection issue after hitting MySQL wait_timeout
14+ (LP #1999711)
15+ + d/p/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
16+ - d/p/add-overlay-support.patch: Add Docker's "overlay" filesystem
17+ (LP #2007856)
18+ * Drop changes:
19+ - d/p/restore-support-for-long-dns-names.patch: Fix snmp requests
20+ for domains longer than 63 characters (LP #1998461)
21+ [ Incorporated upstream release v5.9.4. ]
22+
23+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 02 Jan 2024 16:17:02 -0500
24+
25 net-snmp (5.9.4+dfsg-1) unstable; urgency=medium
26
27 * New upstream release
28@@ -6,6 +25,44 @@ net-snmp (5.9.4+dfsg-1) unstable; urgency=medium
29
30 -- Craig Small <csmall@debian.org> Sat, 19 Aug 2023 19:36:39 +1000
31
32+net-snmp (5.9.3+dfsg-2ubuntu3) lunar; urgency=medium
33+
34+ * d/p/add-overlay-support.patch: Add Docker's "overlay" filesystem
35+ (LP: #2007856)
36+
37+ -- Bryce Harrington <bryce@canonical.com> Wed, 22 Mar 2023 18:42:02 -0700
38+
39+net-snmp (5.9.3+dfsg-2ubuntu2) lunar; urgency=medium
40+
41+ * Fix snmptrapd reconnection issue after hitting MySQL wait_timeout
42+ (LP: #1999711)
43+ - d/p/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
44+
45+ -- Chengen Du <chengen.du@canonical.com> Thu, 16 Feb 2023 20:16:57 -0300
46+
47+net-snmp (5.9.3+dfsg-2ubuntu1) lunar; urgency=medium
48+
49+ * Merge with Debian unstable (LP: #1993419). Remaining changes:
50+ - Add apport hook:
51+ + d/control: add dh-apport to Build-Depends
52+ + d/rules: install the apport hook via debhelper
53+ + d/source.apport: apport hook
54+ - d/p/restore-support-for-long-dns-names.patch: Fix snmp requests
55+ for domains longer than 63 characters (LP #1998461)
56+ * Drop changes:
57+ - SECURITY UPDATE: DoS via null pointer exception issues
58+ + debian/patches/CVE-2022-4479x-1.patch: disallow SET with NULL varbind
59+ in agent/snmp_agent.c.
60+ + debian/patches/CVE-2022-4479x-2.patch: allow SET with NULL varbind
61+ for testing in apps/snmpset.c.
62+ + debian/patches/CVE-2022-4479x-3.patch: add test for NULL varbind set
63+ in testing/fulltests/default/T0142snmpv2csetnull_simple.
64+ + CVE-2022-44792
65+ + CVE-2022-44793
66+ [ Incorporated by Debian. ]
67+
68+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 10 Jan 2023 22:54:16 -0500
69+
70 net-snmp (5.9.3+dfsg-2) unstable; urgency=medium
71
72 [ Helmut Grohne ]
73@@ -28,6 +85,62 @@ net-snmp (5.9.3+dfsg-2) unstable; urgency=medium
74
75 -- Craig Small <csmall@debian.org> Tue, 03 Jan 2023 13:01:46 +1100
76
77+net-snmp (5.9.3+dfsg-1ubuntu5) lunar; urgency=medium
78+
79+ * d/p/restore-support-for-long-dns-names.patch: Update patch to match upstream
80+ version of commit (LP: #1998461)
81+
82+ -- Lena Voytek <lena.voytek@canonical.com> Mon, 09 Jan 2023 13:37:37 -0700
83+
84+net-snmp (5.9.3+dfsg-1ubuntu4) lunar; urgency=medium
85+
86+ * SECURITY UPDATE: DoS via null pointer exception issues
87+ - debian/patches/CVE-2022-4479x-1.patch: disallow SET with NULL varbind
88+ in agent/snmp_agent.c.
89+ - debian/patches/CVE-2022-4479x-2.patch: allow SET with NULL varbind
90+ for testing in apps/snmpset.c.
91+ - debian/patches/CVE-2022-4479x-3.patch: add test for NULL varbind set
92+ in testing/fulltests/default/T0142snmpv2csetnull_simple.
93+ - CVE-2022-44792
94+ - CVE-2022-44793
95+
96+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 09 Jan 2023 09:41:56 -0500
97+
98+net-snmp (5.9.3+dfsg-1ubuntu3) lunar; urgency=medium
99+
100+ * d/p/restore-support-for-long-dns-names.patch: Fix snmp requests for domains
101+ longer than 63 characters (LP: #1998461)
102+
103+ -- Lena Voytek <lena.voytek@canonical.com> Mon, 05 Dec 2022 07:47:24 -0700
104+
105+net-snmp (5.9.3+dfsg-1ubuntu2) lunar; urgency=medium
106+
107+ * Rebuild against new perlapi-5.36.
108+
109+ -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 04 Nov 2022 12:17:36 +0100
110+
111+net-snmp (5.9.3+dfsg-1ubuntu1) kinetic; urgency=medium
112+
113+ * Merge with Debian unstable (LP: #1987349). Remaining changes:
114+ - Add apport hook:
115+ + d/control: add dh-apport to Build-Depends
116+ + d/rules: install the apport hook via debhelper
117+ + d/source.apport: apport hook
118+ * Drop changes:
119+ - SECURITY UPDATE: Multiple security issus
120+ + debian/patches/CVE-2022-248xx-1.patch: fix bounds checking in
121+ NET-SNMP-AGENT-MIB, NET-SNMP-VACM-MIB, SNMP-VIEW-BASED-ACM-MIB,
122+ SNMP-USER-BASED-SM-MIB in agent/mibgroup/agent/nsLogging.c,
123+ agent/mibgroup/agent/nsVacmAccessTable.c,
124+ agent/mibgroup/mibII/vacm_vars.c, agent/mibgroup/snmpv3/usmUser.
125+ + debian/patches/CVE-2022-248xx-2.patch: recover SET status from
126+ delegated request in agent/snmp_agent.c.
127+ + CVE-2022-24805, CVE-2022-24806, CVE-2022-24807, CVE-2022-24808,
128+ CVE-2022-24809, CVE-2022-24810
129+ [ Incorporated upstream. ]
130+
131+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 22 Aug 2022 19:37:48 -0400
132+
133 net-snmp (5.9.3+dfsg-1) unstable; urgency=medium
134
135 * New upstream source
136@@ -35,6 +148,42 @@ net-snmp (5.9.3+dfsg-1) unstable; urgency=medium
137
138 -- Craig Small <csmall@debian.org> Mon, 18 Jul 2022 21:28:38 +1000
139
140+net-snmp (5.9.1+dfsg-4ubuntu2) kinetic; urgency=medium
141+
142+ * SECURITY UPDATE: Multiple security issus
143+ - debian/patches/CVE-2022-248xx-1.patch: fix bounds checking in
144+ NET-SNMP-AGENT-MIB, NET-SNMP-VACM-MIB, SNMP-VIEW-BASED-ACM-MIB,
145+ SNMP-USER-BASED-SM-MIB in agent/mibgroup/agent/nsLogging.c,
146+ agent/mibgroup/agent/nsVacmAccessTable.c,
147+ agent/mibgroup/mibII/vacm_vars.c, agent/mibgroup/snmpv3/usmUser.
148+ - debian/patches/CVE-2022-248xx-2.patch: recover SET status from
149+ delegated request in agent/snmp_agent.c.
150+ - CVE-2022-24805, CVE-2022-24806, CVE-2022-24807, CVE-2022-24808,
151+ CVE-2022-24809, CVE-2022-24810
152+
153+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 25 Jul 2022 13:48:42 -0400
154+
155+net-snmp (5.9.1+dfsg-4ubuntu1) kinetic; urgency=medium
156+
157+ * Merge with Debian unstable (LP: #1971295, #1894190). Remaining changes:
158+ - Add apport hook:
159+ + d/control: add dh-apport to Build-Depends
160+ + d/rules: install the apport hook via debhelper
161+ + d/source.apport: apport hook
162+ * Dropped changes:
163+ - d/p/lp1945960-*: backport patches for the OpenSSL3 transition
164+ (LP #1945960)
165+ [ Included in 5.9.1+dfsg-3 ]
166+ - d/p/lp1969623-net-snmp-create-v3-user-Fix-the-snmpd.conf-path.patch:
167+ Set ${datarootdir} value in net-snmp-create-v3-user and fix
168+ error when creating user. (LP #1969623)
169+ [ Included in 5.9.1+dfsg-3 ]
170+ - d/control: Build-Depend on libsensors4-dev.
171+ [ Unnecessary; libsensors4-dev is a dummy transitional package to
172+ libsensors-dev ]
173+
174+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Mon, 13 Jun 2022 17:36:01 -0400
175+
176 net-snmp (5.9.1+dfsg-4) unstable; urgency=medium
177
178 * d/snmpd.postinst: Just chown $SNMP_DIR/snmpd.conf if the file exists.
179@@ -80,6 +229,45 @@ net-snmp (5.9.1+dfsg-2) unstable; urgency=medium
180
181 -- Craig Small <csmall@debian.org> Wed, 25 May 2022 22:09:23 +1000
182
183+net-snmp (5.9.1+dfsg-1ubuntu2.1) jammy; urgency=medium
184+
185+ * d/p/lp1969623-net-snmp-create-v3-user-Fix-the-snmpd.conf-path.patch:
186+ Set ${datarootdir} value in net-snmp-create-v3-user and fix
187+ error when creating user. (LP: #1969623)
188+
189+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Thu, 21 Apr 2022 16:14:05 -0400
190+
191+net-snmp (5.9.1+dfsg-1ubuntu2) jammy; urgency=medium
192+
193+ * No-change rebuild for the perl update.
194+
195+ -- Matthias Klose <doko@ubuntu.com> Sun, 06 Feb 2022 13:33:00 +0100
196+
197+net-snmp (5.9.1+dfsg-1ubuntu1) jammy; urgency=medium
198+
199+ * Merge with Debian unstable (LP: #1946877, #1912390). Remaining changes:
200+ - Add apport hook:
201+ + d/control: add dh-apport to Build-Depends
202+ + d/rules: install the apport hook via debhelper
203+ + d/source.apport: apport hook
204+ - d/p/lp1945960-*: backport patches for the OpenSSL3 transition
205+ (LP #1945960)
206+ * Dropped changes, incorporated by Debian:
207+ - d/libsnmp-dev.install: Don't install archive (.a) files.
208+ The archive files are just temporary files generated in order to
209+ create the final shared objects (.so), and we don't need to ship
210+ them in the package.
211+ * Dropped changes, incorporated upstream:
212+ - Fix segmentation fault when certificate contains extension
213+ longer than 512 bytes (LP #1912389)
214+ + d/p/lp1912389-libsnmp-Handle-certificate-loading-errors-gracefully.patch:
215+ Skip certificate if loading fails.
216+ + d/p/lp1912389-libsnmp-SSL-Increase-extension-buffer-size-to-preven.patch:
217+ Make sure enough space is allocated for extensions longer than
218+ 512 bytes.
219+
220+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 11 Jan 2022 20:39:24 -0500
221+
222 net-snmp (5.9.1+dfsg-1) unstable; urgency=medium
223
224 [ Owen Evans ]
225@@ -114,6 +302,66 @@ net-snmp (5.9.1+dfsg-1) unstable; urgency=medium
226
227 -- Craig Small <csmall@debian.org> Mon, 20 Sep 2021 21:35:58 +1000
228
229+net-snmp (5.9+dfsg-3ubuntu4) jammy; urgency=medium
230+
231+ * d/p/lp1945960-*: backport patches for the OpenSSL3 transition
232+ (LP: #1945960)
233+
234+ -- Simon Chopin <simon.chopin@canonical.com> Wed, 17 Nov 2021 14:58:54 +0100
235+
236+net-snmp (5.9+dfsg-3ubuntu3) impish; urgency=medium
237+
238+ * No-change rebuild to build packages with zstd compression.
239+
240+ -- Matthias Klose <doko@ubuntu.com> Thu, 07 Oct 2021 12:21:20 +0200
241+
242+net-snmp (5.9+dfsg-3ubuntu2) impish; urgency=medium
243+
244+ * Fix segmentation fault when certificate contains extension
245+ longer than 512 bytes (LP: #1912389)
246+ - d/p/lp1912389-libsnmp-Handle-certificate-loading-errors-gracefully.patch:
247+ Skip certificate if loading fails.
248+ - d/p/lp1912389-libsnmp-SSL-Increase-extension-buffer-size-to-preven.patch:
249+ Make sure enough space is allocated for extensions longer than
250+ 512 bytes.
251+
252+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 25 May 2021 19:03:31 -0400
253+
254+net-snmp (5.9+dfsg-3ubuntu1) hirsute; urgency=medium
255+
256+ * Merge with Debian unstable. Remaining changes:
257+ - Add apport hook:
258+ + d/control: add dh-apport to Build-Depends
259+ + d/rules: install the apport hook via debhelper
260+ + d/source.apport: apport hook
261+ * Dropped:
262+ - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch:
263+ Link libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
264+ Williamson <awilliam@redhat.com>.
265+ (Closes #886221, LP #1814254)
266+ [ Incorporated by Debian. ]
267+ - Fix build with mysql-8 (LP #1814270):
268+ + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use
269+ char instead.
270+ [ Incorporated by upstream. ]
271+ - Skip autofs entries when calling statfs to prevent autofs
272+ being mounted on snmpd startup (LP #1835818):
273+ + d/p/autofs-fix-a-recently-introduced-bug.patch
274+ + d/p/autofs-skip-autofs-entries.patch
275+ [ Incorporated by upstream. ]
276+ - d/p/fix-check-hr-filesys-autofs.patch:
277+ + On Linux getmntent() is available but getfsstat() not.
278+ Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
279+ check.
280+ [ Incorporated by upstream. ]
281+ * Added changes:
282+ - d/libsnmp-dev.install: Don't install archive (.a) files.
283+ The archive files are just temporary files generated in order to
284+ create the final shared objects (.so), and we don't need to ship
285+ them in the package.
286+
287+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 05 Jan 2021 14:54:24 -0500
288+
289 net-snmp (5.9+dfsg-3) unstable; urgency=medium
290
291 * Source only upload - no changes Closes: #970798
292@@ -145,6 +393,57 @@ net-snmp (5.9+dfsg-1) unstable; urgency=medium
293
294 -- Craig Small <csmall@debian.org> Sat, 22 Aug 2020 17:11:17 +1000
295
296+net-snmp (5.8+dfsg-5ubuntu2) hirsute; urgency=medium
297+
298+ * No-change rebuild for the perl update.
299+
300+ -- Matthias Klose <doko@ubuntu.com> Mon, 09 Nov 2020 10:50:26 +0100
301+
302+net-snmp (5.8+dfsg-5ubuntu1) groovy; urgency=medium
303+
304+ * Merge with Debian unstable (LP: #1880724). Remaining changes:
305+ - Add apport hook:
306+ + d/control: add dh-apport to Build-Depends
307+ + d/rules: install the apport hook via debhelper
308+ + d/source.apport: apport hook
309+ - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch:
310+ Link libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
311+ Williamson <awilliam@redhat.com>.
312+ (Closes #886221, LP #1814254)
313+ - Fix build with mysql-8 (LP #1814270):
314+ + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use
315+ char instead.
316+ - Skip autofs entries when calling statfs to prevent autofs
317+ being mounted on snmpd startup (LP #1835818):
318+ + d/p/autofs-fix-a-recently-introduced-bug.patch
319+ + d/p/autofs-skip-autofs-entries.patch
320+ - d/p/fix-check-hr-filesys-autofs.patch:
321+ + On Linux getmntent() is available but getfsstat() not.
322+ Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
323+ check.
324+ * Dropped changes, incorporated by Debian:
325+ - d/p/lp1871307-log-once-proc-net-if_inet6-failure.patch (LP #1871307):
326+ + MIB-II: Only log once that opening /proc/net/if_inet6 failed
327+ - SECURITY UPDATE: Fix segmentation fault that happens when using the
328+ snmpv3 protocol with snmpbulkget. (LP #1877027)
329+ + d/p/move-securityStateRef-into-free_securityStateRef.patch:
330+ Consolidate the check of the securityStateRef pointer into the
331+ free_securityStateRef function.
332+ + d/p/prevent-snmpv3-bulkget-errors-double-free.patch:
333+ Prevent snmpv3 bulkget errors from becoming resulting in a
334+ double free.
335+ + d/p/fix-usmStateReference-free.patch:
336+ Fix typo on usm_free_usmStateReference from last patch.
337+ + d/p/unexport-struct-usmStateReference.patch:
338+ Unexport struct usmStateReference and to prevent ABI breakages,
339+ since it will be necessary to add a reference count to it.
340+ + d/p/introduce-refcount-usmStateReference.patch:
341+ Introduce refcount in the struct usmStateReference, and adjust
342+ code to properly use the field.
343+ + CVE-2019-20892
344+
345+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Thu, 06 Aug 2020 11:42:13 -0400
346+
347 net-snmp (5.8+dfsg-5) unstable; urgency=medium
348
349 * Allow extend to be read-only Closes: #966544
350@@ -210,6 +509,68 @@ net-snmp (5.8+dfsg-3) unstable; urgency=medium
351
352 -- Craig Small <csmall@debian.org> Thu, 02 Jul 2020 13:38:58 +1000
353
354+net-snmp (5.8+dfsg-2ubuntu3) groovy; urgency=medium
355+
356+ * SECURITY UPDATE: Fix segmentation fault that happens when using the
357+ snmpv3 protocol with snmpbulkget. (LP: #1877027)
358+ - d/p/move-securityStateRef-into-free_securityStateRef.patch:
359+ Consolidate the check of the securityStateRef pointer into the
360+ free_securityStateRef function.
361+ - d/p/prevent-snmpv3-bulkget-errors-double-free.patch:
362+ Prevent snmpv3 bulkget errors from becoming resulting in a
363+ double free.
364+ - d/p/fix-usmStateReference-free.patch:
365+ Fix typo on usm_free_usmStateReference from last patch.
366+ - d/p/unexport-struct-usmStateReference.patch:
367+ Unexport struct usmStateReference and to prevent ABI breakages,
368+ since it will be necessary to add a reference count to it.
369+ - d/p/introduce-refcount-usmStateReference.patch:
370+ Introduce refcount in the struct usmStateReference, and adjust
371+ code to properly use the field.
372+ - CVE-2019-20892
373+
374+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 23 Jun 2020 14:37:42 -0400
375+
376+net-snmp (5.8+dfsg-2ubuntu2) focal; urgency=medium
377+
378+ * d/p/lp1871307-log-once-proc-net-if_inet6-failure.patch (LP: #1871307):
379+ - MIB-II: Only log once that opening /proc/net/if_inet6 failed
380+
381+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Thu, 09 Apr 2020 12:30:45 +0000
382+
383+net-snmp (5.8+dfsg-2ubuntu1) focal; urgency=medium
384+
385+ * Merge with Debian unstable (LP: #1855943). Remaining changes:
386+ - d/p/fix-check-hr-filesys-autofs.patch (LP #1843036)
387+ - Skip autofs entries when calling statfs (LP #1835818):
388+ - d/p/autofs-skip-autofs-entries.patch
389+ - d/p/autofs-fix-a-recently-introduced-bug.patch
390+ [Replaced former Non-upstream patches with clean cherry-pick)
391+ - d/p/mysql8-replace-bool.patch: fix build with mysql-8 (LP 1814270)
392+ - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch: Link
393+ libnetsnmptrapd against MYSQL_LIBS.
394+ - Add apport hook.
395+ - d/control: add dh-apport to Build-Depends
396+ - d/rules: install the apport hook via debhelper
397+ - d/source.apport: apport hook
398+ * Dropped patches that are upstream and in Debian 5.8+dfsg-2:
399+ - d/p/put-paranthesis-around-macros-which-are-expressions.patch
400+ (LP #1843036)
401+ - Fix build with mysql-8 (LP #1814270):
402+ - d/p/mysql-options.patch: use mysql_options if no {my_,}load_defaults
403+ was found.
404+ - d/p/mysql-init.patch: handle the various mysql init functions.
405+ - d/p/mysql8-headers.patch: detect if my_global.h and my_sys.h are
406+ available.
407+ - d/p/my-load-defaults.patch: properly detect (and use)
408+ my_load_defaults().
409+ - d/p/snmptrapd_mysql_init: no need to drop this patch anymore
410+ (LP #1814254)
411+ - d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch
412+ (LP #1314760)
413+
414+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Fri, 13 Dec 2019 03:27:52 +0000
415+
416 net-snmp (5.8+dfsg-2) unstable; urgency=medium
417
418 * All MIB directory values removed and just use the default compile-time
419@@ -242,6 +603,87 @@ net-snmp (5.8+dfsg-1) unstable; urgency=medium
420
421 -- Craig Small <csmall@debian.org> Thu, 10 Oct 2019 22:37:15 +1100
422
423+net-snmp (5.7.3+dfsg-5ubuntu6) focal; urgency=medium
424+
425+ * No-change rebuild for the perl update.
426+
427+ -- Matthias Klose <doko@ubuntu.com> Fri, 18 Oct 2019 19:37:07 +0000
428+
429+net-snmp (5.7.3+dfsg-5ubuntu5) eoan; urgency=medium
430+
431+ * d/p/fix-check-hr-filesys-autofs.patch:
432+ - On Linux getmntent() is available but getfsstat() not.
433+ Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
434+ check.
435+
436+ -- Eric Desrochers <eric.desrochers@canonical.com> Sat, 07 Sep 2019 16:30:53 +0000
437+
438+net-snmp (5.7.3+dfsg-5ubuntu4) eoan; urgency=medium
439+
440+ * d/p/put-paranthesis-around-macros-which-are-expressions.patch:
441+ - put paranthesis around macros which are expressions.
442+ (LP: #1843036)
443+
444+ -- Eric Desrochers <eric.desrochers@canonical.com> Fri, 06 Sep 2019 23:15:43 +0000
445+
446+net-snmp (5.7.3+dfsg-5ubuntu3) eoan; urgency=medium
447+
448+ * Skip autofs entries when calling statfs to prevent autofs being mounted on
449+ snmpd startup (LP: #1835818):
450+ - d/p/autofs-skip-autofs-entries.patch
451+ - d/p/autofs-fix-a-recently-introduced-bug.patch
452+
453+ -- Ioanna Alifieraki <ioanna-maria.alifieraki@canonical.com> Wed, 21 Aug 2019 12:22:37 +0100
454+
455+net-snmp (5.7.3+dfsg-5ubuntu2) eoan; urgency=medium
456+
457+ * No change rebuild for libmysqlclient21.
458+
459+ -- Robie Basak <robie.basak@ubuntu.com> Mon, 12 Aug 2019 11:32:18 +0000
460+
461+net-snmp (5.7.3+dfsg-5ubuntu1) disco; urgency=medium
462+
463+ * Merge with Debian unstable. Remaining changes:
464+ - Add apport hook.
465+ + d/control: add dh-apport to Build-Depends
466+ + d/rules: install the apport hook via debhelper
467+ + d/source.apport: apport hook
468+ - d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch:
469+ set first hrSWInstalledIndex to 1 to follow RFC 2790 (LP #1314760)
470+ * Drop:
471+ - SECURITY UPDATE: DoS via NULL pointer exception
472+ + debian/patches/CVE-2018-18065.patch: fix logic in
473+ agent/helpers/table.c.
474+ + CVE-2018-18065
475+ [Fixed in 5.7.3+dfsg-4]
476+ - d/p/my_load_defaults: use my_load_defaults instead of the
477+ libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
478+ Tangvald.
479+ [Replaced by a more complete patch]
480+ - debian/rules: Fix calculation of UPSTREAM_VERSION and COMPAT_VERSION.
481+ [No more needed since 5.7.3+dfsg-5]
482+ * Added:
483+ - d/p/snmptrapd_mysql_init: drop this patch. The first part fixes builds
484+ with newer mariadb, which Ubuntu doesn't use, and the second part is
485+ an unrelated change which we are fixing in another patch (see #1814254
486+ for details).
487+ - d/p/0001-Link-libnetsnmptrapd-against-MYSQL_LIBS.patch: Link
488+ libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
489+ Williamson <awilliam@redhat.com>. (Closes: #886221, LP: #1814254)
490+ - Fix build with mysql-8 (LP: #1814270):
491+ + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use char
492+ instead.
493+ + d/p/my-load-defaults.patch: properly detect (and use)
494+ my_load_defaults(). This replaces the previous
495+ my_load_defaults patch.
496+ + d/p/mysql8-headers.patch: detect if my_global.h and my_sys.h are
497+ available
498+ + d/p/mysql-init.patch: handle the various mysql init functions
499+ + d/p/mysql-options.patch: use mysql_options if no {my_,}load_defaults
500+ was found.
501+
502+ -- Andreas Hasenack <andreas@canonical.com> Tue, 05 Feb 2019 16:00:35 -0200
503+
504 net-snmp (5.7.3+dfsg-5) unstable; urgency=medium
505
506 * Use debhelper macros for shlibs Closes: #912685
507@@ -305,6 +747,60 @@ net-snmp (5.7.3+dfsg-2) unstable; urgency=medium
508
509 -- Craig Small <csmall@debian.org> Sat, 31 Mar 2018 20:00:51 +1100
510
511+net-snmp (5.7.3+dfsg-1.8ubuntu5) disco; urgency=medium
512+
513+ * No-change rebuild against latest lm-sensors
514+
515+ -- Jeremy Bicha <jbicha@ubuntu.com> Wed, 02 Jan 2019 17:37:45 -0500
516+
517+net-snmp (5.7.3+dfsg-1.8ubuntu4) disco; urgency=medium
518+
519+ * debian/rules: Fix calculation of UPSTREAM_VERSION and COMPAT_VERSION.
520+
521+ -- Adam Conrad <adconrad@ubuntu.com> Mon, 05 Nov 2018 13:22:39 -0700
522+
523+net-snmp (5.7.3+dfsg-1.8ubuntu3.18.10.1) cosmic-security; urgency=medium
524+
525+ * SECURITY UPDATE: DoS via NULL pointer exception
526+ - debian/patches/CVE-2018-18065.patch: fix logic in
527+ agent/helpers/table.c.
528+ - CVE-2018-18065
529+
530+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 22 Oct 2018 08:03:49 -0400
531+
532+net-snmp (5.7.3+dfsg-1.8ubuntu3) bionic; urgency=medium
533+
534+ * d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch:
535+ set first hrSWInstalledIndex to 1 to follow RFC 2790 (LP: #1314760)
536+
537+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 20 Feb 2018 15:24:41 +0100
538+
539+net-snmp (5.7.3+dfsg-1.8ubuntu2) bionic; urgency=high
540+
541+ * No change rebuild against openssl1.1.
542+
543+ -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 06 Feb 2018 17:54:39 +0000
544+
545+net-snmp (5.7.3+dfsg-1.8ubuntu1) bionic; urgency=medium
546+
547+ * Merge with Debian unstable (LP: #1742518). Remaining changes:
548+ - Add apport hook.
549+ + d/control: add dh-apport to Build-Depends
550+ + d/rules: install the apport hook via debhelper
551+ + d/source.apport: apport hook
552+ - d/p/my_load_defaults: use my_load_defaults instead of the
553+ libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
554+ Tangvald.
555+ * Dropped:
556+ - Avoid installing links in rc[06].d.
557+ [It's not clear what it was trying to solve (no details or bug
558+ number), but update-rc.d no longer takes start/stop arguments and
559+ this delta was actually resulting in warnings during the installation.
560+ Also, Ubuntu is using systemd now and this package has systemd service
561+ files.]
562+
563+ -- Andreas Hasenack <andreas@canonical.com> Thu, 11 Jan 2018 16:07:07 -0200
564+
565 net-snmp (5.7.3+dfsg-1.8) unstable; urgency=medium
566
567 * Non-maintainer upload.
568@@ -316,6 +812,43 @@ net-snmp (5.7.3+dfsg-1.8) unstable; urgency=medium
569
570 -- Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Sat, 23 Dec 2017 23:48:23 +0100
571
572+net-snmp (5.7.3+dfsg-1.7ubuntu1) artful; urgency=medium
573+
574+ * Merge with Debian unstable (LP: #1712569). Remaining changes:
575+ - Add apport hook.
576+ + d/control: add dh-apport to Build-Depends
577+ + d/rules: install the apport hook via debhelper
578+ + d/source.apport: apport hook
579+ - Avoid installing links in rc[06].d.
580+ - d/p/my_load_defaults: use my_load_defaults instead of the
581+ libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
582+ Tangvald.
583+ * Drop:
584+ - SECURITY UPDATE: denial of service and possible code execution via
585+ incompletely parsed varBind variables
586+ + debian/patches/CVE-2015-5621.patch: don't return incorrectly parsed
587+ varbinds in snmplib/snmp_api.c.
588+ + CVE-2015-5621
589+ [Added by Debian as 0025-Bug-788964-net-snmp-snmp_pdu_parse-DoS.patch
590+ in 5.7.3+dfsg-1.1]
591+ - debian/snmp.preinst:
592+ It turns out that the original motivation why killall was added is gone.
593+ So we can just remove the killall introduced by Ubuntu LP #573391
594+ (Closes: #781257, LP #1245604)
595+ [Fixed in Debian 5.7.3+dfsg-1.1]
596+ - Fix "FTBFS with Perl 5.24: error: conflicting types for 'U64'":
597+ add patch from upstream git which removes the U64 typedef from the
598+ Net-SNMP header files.
599+ Thanks to Niky Tyni for extracting the patch.
600+ (Closes: #825014)
601+ [Fixed in Debian 5.7.3+dfsg-1.5]
602+ - Additionally add another patch from upstream git which fixes
603+ perl/*/Makefile.PL to fix build failures with Perl 5.24.
604+ Cf. https://sourceforge.net/p/net-snmp/bugs/2712/
605+ [Fixed in Debian 5.7.3+dfsg-1.5]
606+
607+ -- Andreas Hasenack <andreas@canonical.com> Wed, 23 Aug 2017 10:29:35 -0300
608+
609 net-snmp (5.7.3+dfsg-1.7) unstable; urgency=medium
610
611 [ Niels Thykier ]
612@@ -439,6 +972,68 @@ net-snmp (5.7.3+dfsg-1.1) unstable; urgency=medium
613
614 -- Steinar H. Gunderson <sesse@debian.org> Tue, 29 Mar 2016 10:30:24 +0200
615
616+net-snmp (5.7.3+dfsg-1ubuntu6) artful; urgency=medium
617+
618+ * No-change rebuild for perl 5.26.0.
619+
620+ -- Matthias Klose <doko@ubuntu.com> Wed, 26 Jul 2017 20:11:36 +0000
621+
622+net-snmp (5.7.3+dfsg-1ubuntu5) zesty; urgency=medium
623+
624+ * Cherry-pick two patches from Debian's 5.7.3+dfsg-1.5:
625+ * Fix "FTBFS with Perl 5.24: error: conflicting types for 'U64'":
626+ add patch from upstream git which removes the U64 typedef from the
627+ Net-SNMP header files.
628+ Thanks to Niky Tyni for extracting the patch.
629+ (Closes: #825014)
630+ * Additionally add another patch from upstream git which fixes
631+ perl/*/Makefile.PL to fix build failures with Perl 5.24.
632+ Cf. https://sourceforge.net/p/net-snmp/bugs/2712/
633+
634+ -- Iain Lane <iain@orangesquash.org.uk> Tue, 25 Oct 2016 10:28:38 +0100
635+
636+net-snmp (5.7.3+dfsg-1ubuntu4) xenial; urgency=medium
637+
638+ * Rebuild against libmysqlclient20.
639+ * d/p/my_load_defaults: use my_load_defaults instead of the
640+ libmysqlclient-internal load_defaults (LP: #1565003). Thanks to Lars
641+ Tangvald.
642+
643+ -- Robie Basak <robie.basak@ubuntu.com> Tue, 05 Apr 2016 15:17:35 +0000
644+
645+net-snmp (5.7.3+dfsg-1ubuntu3) xenial; urgency=medium
646+
647+ * Rebuild for Perl 5.22.1.
648+
649+ -- Colin Watson <cjwatson@ubuntu.com> Fri, 18 Dec 2015 01:20:38 +0000
650+
651+net-snmp (5.7.3+dfsg-1ubuntu2) wily; urgency=medium
652+
653+ * debian/snmp.preinst:
654+ It turns out that the original motivation why killall was added is gone.
655+ So we can just remove the killall introduced by Ubuntu LP #573391
656+ (Closes: #781257, LP: #1245604)
657+
658+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 09 Oct 2015 13:18:25 +0200
659+
660+net-snmp (5.7.3+dfsg-1ubuntu1) wily; urgency=medium
661+
662+ * Resynchronise with Debian. Remaining changes:
663+ - Add apport hook.
664+ - Avoid installing links in rc[06].d.
665+ * Dropped patches included in new version:
666+ - debian/patches/00upstream-btrfs.patch
667+ - debian/patches/CVE-2012-6151.patch
668+ - debian/patches/CVE-2014-2284.patch
669+ - debian/patches/CVE-2014-2285.patch
670+ * SECURITY UPDATE: denial of service and possible code execution via
671+ incompletely parsed varBind variables
672+ - debian/patches/CVE-2015-5621.patch: don't return incorrectly parsed
673+ varbinds in snmplib/snmp_api.c.
674+ - CVE-2015-5621
675+
676+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 17 Aug 2015 12:58:43 -0400
677+
678 net-snmp (5.7.3+dfsg-1) unstable; urgency=medium
679
680 * Imported Upstream version 5.7.3+dfsg
681@@ -570,6 +1165,56 @@ net-snmp (5.7.2.1~dfsg-1) experimental; urgency=medium
682
683 -- Hideki Yamane <henrich@debian.org> Sun, 30 Mar 2014 19:58:39 +0900
684
685+net-snmp (5.7.2~dfsg-8.1ubuntu5) utopic; urgency=medium
686+
687+ * Backport from 5.7.2.1~dfsg-6.1:
688+ - Fix "hardcodes /usr/lib/perl5":
689+ Make debian/libsnmp-perl.install executable and use
690+ $Config{vendorarch} to get the perl library directory. Patch from Niko
691+ Tyni.
692+ (Closes: #751918)
693+
694+ -- Colin Watson <cjwatson@ubuntu.com> Wed, 20 Aug 2014 11:16:35 +0100
695+
696+net-snmp (5.7.2~dfsg-8.1ubuntu4) utopic; urgency=medium
697+
698+ * Rebuild for Perl 5.20.0.
699+
700+ -- Colin Watson <cjwatson@ubuntu.com> Wed, 20 Aug 2014 00:21:26 +0100
701+
702+net-snmp (5.7.2~dfsg-8.1ubuntu3) trusty; urgency=medium
703+
704+ * SECURITY UPDATE: denial of service via AgentX subagent timeout
705+ - debian/patches/CVE-2012-6151.patch: track cancelled sessions in
706+ agent/mibgroup/agentx/{master.c,master_admin.c}, agent/snmp_agent.c,
707+ include/net-snmp/agent/snmp_agent.h.
708+ - CVE-2012-6151
709+ * SECURITY UPDATE: denial of service when ICMP-MIB is in use
710+ - debian/patches/CVE-2014-2284.patch: fix ICMP mib table handling in
711+ agent/mibgroup/mibII/icmp.c, agent/mibgroup/mibII/kernel_linux.*.
712+ - CVE-2014-2284
713+ * SECURITY UPDATE: denial of service in perl trap handler
714+ - debian/patches/CVE-2014-2285.patch: handle empty community string in
715+ perl/TrapReceiver/TrapReceiver.xs.
716+ - CVE-2014-2285
717+
718+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 08 Apr 2014 08:17:14 -0400
719+
720+net-snmp (5.7.2~dfsg-8.1ubuntu2) trusty; urgency=medium
721+
722+ * Add 00upstream-btrfs.patch: Add btrfs support to hrFSTable. Cherrypicked
723+ from upstream, by way of Nafallo Bjälevik. Thanks! (LP: #1289503)
724+
725+ -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 12 Mar 2014 13:24:18 +0100
726+
727+net-snmp (5.7.2~dfsg-8.1ubuntu1) trusty; urgency=low
728+
729+ * Resynchronise with Debian. Remaining changes:
730+ - Add apport hook.
731+ - Avoid installing links in rc[06].d.
732+
733+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 29 Oct 2013 06:29:46 -0700
734+
735 net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low
736
737 * Non-maintainer upload.
738@@ -579,6 +1224,25 @@ net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low
739
740 -- Laurent Bigonville <bigon@debian.org> Sat, 13 Jul 2013 17:13:09 +0200
741
742+net-snmp (5.7.2~dfsg-8ubuntu2) trusty; urgency=low
743+
744+ * Rebuild for Perl 5.18.
745+
746+ -- Colin Watson <cjwatson@ubuntu.com> Mon, 21 Oct 2013 12:30:05 +0100
747+
748+net-snmp (5.7.2~dfsg-8ubuntu1) saucy; urgency=low
749+
750+ * Merge from Debian unstable (LP: #1200516). Remaining changes:
751+ + Add apport hook (LP: #533603):
752+ - debian/source.apport: apport hook
753+ - debian/control: Build-depends on dh-apport.
754+ - debian/rules:
755+ + Add --with apport.
756+ + override_dh_apport to install hook on snmpd package only.
757+ * Call dh_installinit correctly to avoid installing links in rc[06].d
758+
759+ -- Yolanda Robla <yolanda.robla@canonical.com> Fri, 12 Jul 2013 09:47:12 +0200
760+
761 net-snmp (5.7.2~dfsg-8) unstable; urgency=low
762
763 * add libsnmp-perl.preinst to deal with empty directory by libsnmp15
764@@ -627,6 +1291,18 @@ net-snmp (5.7.2~dfsg-5) unstable; urgency=low
765
766 -- Hideki Yamane <henrich@debian.org> Sun, 19 May 2013 23:09:52 +0900
767
768+net-snmp (5.7.2~dfsg-4ubuntu1) saucy; urgency=low
769+
770+ * Merge from Debian unstable. Remaining changes:
771+ - debian/rules: Don't stop service in runlevels 0 and 6.
772+ - debian/snmpd.init: LSBify the init script.
773+ - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
774+ by snmp user before install/uninstall.
775+ - Add apport hook.
776+ * debian/patches/ubuntu-fix-lp-587828.patch: Drop. Fixed upstream.
777+
778+ -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 16 May 2013 21:01:27 -0400
779+
780 net-snmp (5.7.2~dfsg-4) unstable; urgency=low
781
782 * debian/snmpd.{init,default,postinst}
783@@ -807,6 +1483,20 @@ net-snmp (5.7.2~dfsg-1~0.1) experimental; urgency=low
784
785 -- Hideki Yamane <henrich@debian.org> Sun, 27 Jan 2013 11:57:29 +0900
786
787+net-snmp (5.4.3~dfsg-2.7ubuntu1) raring; urgency=low
788+
789+ * Merge from Debian unstable. Remaining changes:
790+ - debian/rules: Don't stop service in runlevels 0 and 6.
791+ - debian/snmpd.init: LSBify the init script.
792+ - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
793+ by snmp user before install/uninstall.
794+ - Add apport hook.
795+ - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
796+ arches
797+ - debian/{control,rules}: Use dh_python2
798+
799+ -- Logan Rosen <logatronico@gmail.com> Tue, 04 Dec 2012 16:57:00 -0500
800+
801 net-snmp (5.4.3~dfsg-2.7) unstable; urgency=low
802
803 * Non-maintainer upload.
804@@ -823,6 +1513,35 @@ net-snmp (5.4.3~dfsg-2.6) unstable; urgency=low
805
806 -- David Prévot <taffit@debian.org> Sun, 18 Nov 2012 09:24:30 -0400
807
808+net-snmp (5.4.3~dfsg-2.5ubuntu1) quantal; urgency=low
809+
810+ * Merge from Debian unstable. Remaining changes:
811+ - debian/rules: Don't stop service in runlevels 0 and 6.
812+ - debian/snmpd.init: LSBify the init script.
813+ - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
814+ by snmp user before install/uninstall.
815+ - Add apport hook.
816+ - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
817+ arches
818+ - debian/{control,rules}: Use dh_python2
819+ * Dropped changes:
820+ - debian/patches/50_use_bash.patch: Patch wasn't actually being
821+ applied, and upstream apparently fixed this in 5.4.2.
822+ - debian/patches/52_fix_snmpcmd_1_typo.patch: Patch wasn't actually
823+ being applied, and fix is included in 56_manpage.patch.
824+ - debian/snmpd.postinst: Source debconf before doing work: included in
825+ debian package now.
826+ - debian/patches/99-fix-ubuntu-div0.patch: wasn't applied.
827+ - debian/patches/CVE-2008-6123.*: wasn't applied.
828+ - debian/patches/CVE-2012-2141.patch: use debian's patch.
829+ - debian/README.Debian-source: this change is irrelevant since we
830+ use the debian tarball as-is.
831+ - debian/rules: removed misc irrelevant and undocumented changes.
832+ - debian/snmpd.postinst: no longer need to remove shutdown and reboot
833+ links since this is from Maverick-era.
834+
835+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 20 Jun 2012 09:45:11 -0400
836+
837 net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium
838
839 * Non-maintainer upload by the Security Team.
840@@ -838,6 +1557,34 @@ net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium
841
842 -- Luk Claes <luk@debian.org> Sun, 27 May 2012 17:22:01 +0200
843
844+net-snmp (5.4.3~dfsg-2.4ubuntu2) quantal; urgency=low
845+
846+ * SECURITY UPDATE: denial of service via SNMP GET with non-existent
847+ extension table entry
848+ - debian/patches/CVE-2012-2141.patch: validate line_idx in
849+ agent/mibgroup/agent/extend.c.
850+ - CVE-2012-2141
851+
852+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 22 May 2012 16:30:48 -0400
853+
854+net-snmp (5.4.3~dfsg-2.4ubuntu1) precise; urgency=low
855+
856+ * Merge from Debian testing. Remaining changes:
857+ - net-snmp-config: Use bash.
858+ - Removed multiuser option when calling update-rc.d.
859+ - debian/snmpd.init: LSBify the init script.
860+ - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
861+ snmpcmd.1.
862+ - debian/snmpd.postinst: Source debconf before doing work.
863+ - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
864+ by snmp user before install/uninstall.
865+ - Add apport hook.
866+ - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
867+ arches
868+ - debian/rules: Use dh_python2
869+
870+ -- Chuck Short <zulcss@ubuntu.com> Mon, 23 Jan 2012 09:44:25 -0500
871+
872 net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low
873
874 * Non-maintainer upload.
875@@ -851,6 +1598,35 @@ net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low
876
877 -- Christian Perrier <bubulle@debian.org> Mon, 19 Dec 2011 07:34:31 +0100
878
879+net-snmp (5.4.3~dfsg-2.3ubuntu3) precise; urgency=low
880+
881+ * Build using dh_python2.
882+
883+ -- Matthias Klose <doko@ubuntu.com> Wed, 14 Dec 2011 15:48:05 +0100
884+
885+net-snmp (5.4.3~dfsg-2.3ubuntu2) precise; urgency=low
886+
887+ * Rebuild for Perl 5.14.
888+
889+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 15 Nov 2011 20:49:15 +0000
890+
891+net-snmp (5.4.3~dfsg-2.3ubuntu1) precise; urgency=low
892+
893+ * Merge from debian unstable. Remaining changes:
894+ - net-snmp-config: Use bash.
895+ - Removed multiuser option when calling update-rc.d.
896+ - debian/snmpd.init: LSBify the init script.
897+ - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
898+ snmpcmd.1.
899+ - debian/snmpd.postinst: Source debconf before doing work.
900+ - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
901+ by snmp user before install/uninstall.
902+ - Add apport hook.
903+ - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
904+ arches.
905+
906+ -- Chuck Short <zulcss@ubuntu.com> Sat, 27 Aug 2011 18:10:55 +0000
907+
908 net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low
909
910 * Non-maintainer upload.
911@@ -860,6 +1636,23 @@ net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low
912
913 -- Stephen Gran <sgran@debian.org> Sat, 27 Aug 2011 09:10:09 +0000
914
915+net-snmp (5.4.3~dfsg-2.2ubuntu1) oneiric; urgency=low
916+
917+ * Resynchronise with Debian (LP: #780149). Remaining changes:
918+ - net-snmp-config: Use bash.
919+ - Removed multiuser option when calling update-rc.d.
920+ - debian/snmpd.init: LSBify the init script.
921+ - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
922+ snmpcmd.1.
923+ - debian/snmpd.postinst: Source debconf before doing work.
924+ - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
925+ by snmp user before install/uninstall.
926+ - Add apport hook.
927+ - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
928+ arches.
929+
930+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 10 May 2011 06:14:05 +0100
931+
932 net-snmp (5.4.3~dfsg-2.2) unstable; urgency=high
933
934 * Non-maintainer upload.
935@@ -884,6 +1677,35 @@ net-snmp (5.4.3~dfsg-2.1) unstable; urgency=high
936
937 -- Cyril Brulebois <kibi@debian.org> Sat, 07 May 2011 12:14:26 +0200
938
939+net-snmp (5.4.3~dfsg-2ubuntu2) oneiric; urgency=low
940+
941+ * Rebuild for Perl 5.12.
942+
943+ -- Colin Watson <cjwatson@ubuntu.com> Sat, 07 May 2011 23:29:06 +0100
944+
945+net-snmp (5.4.3~dfsg-2ubuntu1) natty; urgency=low
946+
947+ * Merge from debian unstable. Remaining changes:
948+ - Set Ubuntu maintainer address.
949+ - net-snmp-config: Use bash (LP: #104738)
950+ - Removed multiuser option when calling update-rc.d (LP: #254261)
951+ - debian/snmpd.init: LSBify the init script.
952+ - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
953+ (LP: #250459)
954+ - debian/snmpd.postinst: source debconf before doing work. (LP: #589056)
955+ - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
956+ snmp user before install/uninstall (LP: #573391)
957+ - Add apport hook (LP: #533603):
958+ - debian/control: Build-depends on dh-apport.
959+ - debian/rules:
960+ + Add --with apport.
961+ + override_dh_apport to install hook on snmpd package only.
962+ - debian/patches/ubntu-fix-lp-58728.patch: Fix row creation for 64bit
963+ arches. (LP: #587828)
964+ - Fix build failures with ld --no-add-needed.
965+
966+ -- Chuck Short <zulcss@ubuntu.com> Thu, 06 Jan 2011 00:35:28 +0000
967+
968 net-snmp (5.4.3~dfsg-2) unstable; urgency=high
969
970 * Add libperl-dev to libsnmp-dev dependencies (Closes: #608794)
971@@ -893,6 +1715,55 @@ net-snmp (5.4.3~dfsg-2) unstable; urgency=high
972
973 -- Jochen Friedrich <jochen@scram.de> Wed, 05 Jan 2011 13:03:32 +0100
974
975+net-snmp (5.4.3~dfsg-1ubuntu5) natty; urgency=low
976+
977+ * Fix build failure with ld --no-add-needed.
978+
979+ -- Matthias Klose <doko@ubuntu.com> Fri, 03 Dec 2010 23:45:33 +0000
980+
981+net-snmp (5.4.3~dfsg-1ubuntu4) natty; urgency=low
982+
983+ * Rebuild to add support for python 2.7.
984+
985+ -- Matthias Klose <doko@ubuntu.com> Fri, 03 Dec 2010 00:05:05 +0000
986+
987+net-snmp (5.4.3~dfsg-1ubuntu3) maverick; urgency=low
988+
989+ * debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches.
990+ (LP: #587828)
991+
992+ -- Chuck Short <zulcss@ubuntu.com> Wed, 25 Aug 2010 10:18:45 -0400
993+
994+net-snmp (5.4.3~dfsg-1ubuntu2) maverick; urgency=low
995+
996+ * No-change rebuild against current debhelper to drop sizable upstream
997+ changelog.
998+
999+ -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 02 Aug 2010 08:34:07 +0200
1000+
1001+net-snmp (5.4.3~dfsg-1ubuntu1) maverick; urgency=low
1002+
1003+ * Merge from debian unstable. Remaining changes:
1004+ - Set Ubuntu maintainer address.
1005+ - net-snmp-config: Use bash. (LP: #104738)
1006+ - Removed multiuser option when calling update-rc.d. (LP: #254261)
1007+ - debian/snmpd.init: LSBify the init script.
1008+ - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
1009+ (LP: #250459)
1010+ - debian/snmpd.postinst: source debconf before doing work, LP: #589056
1011+ - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
1012+ snmp user before install/uninstall, LP: #573391
1013+ - Add apport hook (LP: #533603):
1014+ - debian/{snmp,snmpd}.apport: Added.
1015+ - debian/control: Build-depends on dh-apport.
1016+ - debian/rules:
1017+ + Add --with apport.
1018+ + override_dh_apport to install hook on snmpd package only.
1019+ * Dropped patches:
1020+ - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero..
1021+
1022+ -- Chuck Short <zulcss@ubuntu.com> Mon, 28 Jun 2010 14:59:36 -0400
1023+
1024 net-snmp (5.4.3~dfsg-1) unstable; urgency=low
1025
1026 * New upstream version (Closes: #559109)
1027@@ -950,6 +1821,73 @@ net-snmp (5.4.2.1~dfsg-4) unstable; urgency=low
1028
1029 -- Jochen Friedrich <jochen@scram.de> Tue, 01 Dec 2009 18:40:38 +0100
1030
1031+net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu4) maverick; urgency=low
1032+
1033+ * debian/snmpd.postinst: source debconf before doing work, LP: #589056
1034+ * debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
1035+ snmp user before install/uninstall, LP: #573391
1036+
1037+ -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 22 Jun 2010 14:04:48 -0500
1038+
1039+net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu3) maverick; urgency=low
1040+
1041+ * SECURITY UPDATE: access restriction bypass
1042+ - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516801
1043+ - http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=17367
1044+ - CVE-2008-6123
1045+
1046+ -- Corey Wright <undefined@pobox.com> Mon, 31 May 2010 00:00:29 -0500
1047+
1048+net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu2) lucid; urgency=low
1049+
1050+ * Add apport hook (LP: #533603):
1051+ - debian/{snmp,snmpd}.apport: Added.
1052+ - debian/control: Build-depends on dh-apport.
1053+ - debian/rules:
1054+ + Add --with apport.
1055+ + override_dh_apport to install hook on snmpd package only.
1056+
1057+ -- Andres Rodriguez <andreserl@ubuntu.com> Sun, 28 Mar 2010 00:25:13 -0400
1058+
1059+net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu1) lucid; urgency=low
1060+
1061+ * Repackage upstream tarball to re-add the MIBs: even if they are not
1062+ modifiable (which is questionable), this is not a reason to keep them
1063+ out of Ubuntu main.
1064+ * Revert the changes to prompt about MIB downloads.
1065+ * Call dh_installinit correctly to avoid installing links in rc[06].d
1066+ * Temporarily re-add postinst snippet to clean up rc[06].d links left by
1067+ the previous upload.
1068+ * Fix egg name listed in debian/rules, apparently needed to fix another
1069+ build failure.
1070+
1071+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 12 Dec 2009 00:05:34 -0800
1072+
1073+net-snmp (5.4.2.1~dfsg-3ubuntu2) lucid; urgency=low
1074+
1075+ * Fix FTBFS.
1076+
1077+ -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Nov 2009 13:20:26 -0500
1078+
1079+net-snmp (5.4.2.1~dfsg-3ubuntu1) lucid; urgency=low
1080+
1081+ * Merge from debian testing. Remaining changes:
1082+ - Set Ubuntu maintainer address.
1083+ - net-snmp-config: Use bash. (LP: #104738)
1084+ - Removed multiuser option when calling update-rc.d. (LP: #254261)
1085+ - debian/snmpd.init: LSBify the init script.
1086+ - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
1087+ (LP: #250459)
1088+ - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.
1089+ (LP: #426813).
1090+ * Dropped patches:
1091+ - debian/patches/101-fix-ipalias.patch: Applied upstream.
1092+ - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream.
1093+ - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream.
1094+ - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed.
1095+
1096+ -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Nov 2009 01:27:00 +0000
1097+
1098 net-snmp (5.4.2.1~dfsg-3) unstable; urgency=low
1099
1100 * Fix typo in NEWS.
1101@@ -1014,6 +1952,67 @@ net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low
1102
1103 -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 18:29:10 +0100
1104
1105+net-snmp (5.4.1~dfsg-12ubuntu7) karmic; urgency=low
1106+
1107+ * debian/patches/99-fix-ubuntu-div0.patch: Fix division by zero.
1108+ (LP: #426813).
1109+
1110+ -- Chuck Short <zulcss@ubuntu.com> Mon, 28 Sep 2009 14:02:16 -0400
1111+
1112+net-snmp (5.4.1~dfsg-12ubuntu6) karmic; urgency=low
1113+
1114+ * debian/patches/101-fix-ipalias.patch : Fix flooding syslog -
1115+ Syslog fills with hundreds of these errors if you have a network
1116+ interface, e.g. eth2, with no IP address, but you have an alias,
1117+ e.g. eth2:1, that does have an IP address (and netmask).
1118+ (LP: #270713)
1119+ * debian/patches/103-fix-ubuntu-lmsensors.patch: Point to the right
1120+ place for /etc/sensors3.conf. (LP: #192745)
1121+
1122+ -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Sep 2009 12:19:41 -0400
1123+
1124+net-snmp (5.4.1~dfsg-12ubuntu5) karmic; urgency=low
1125+
1126+ * debian/patches/99-fix-perl-counter-in-subagent.patch: Fix for Counter64 in
1127+ perl subagent. (LP: #406171)
1128+
1129+ -- Chuck Short <zulcss@ubuntu.com> Fri, 04 Sep 2009 12:10:01 -0500
1130+
1131+net-snmp (5.4.1~dfsg-12ubuntu4) karmic; urgency=low
1132+
1133+ * debian/patches/99-fix-net-snmp-syslog.patch: Fixes "invalid syslog facility".
1134+ (LP: #369577)
1135+
1136+ -- Chuck Short <zulcss@ubuntu.com> Wed, 24 Jun 2009 14:44:51 -0400
1137+
1138+net-snmp (5.4.1~dfsg-12ubuntu3) jaunty; urgency=low
1139+
1140+ * No-change rebuild to fix lpia shared library dependencies.
1141+
1142+ -- Colin Watson <cjwatson@ubuntu.com> Thu, 19 Mar 2009 13:00:18 +0000
1143+
1144+net-snmp (5.4.1~dfsg-12ubuntu2) jaunty; urgency=low
1145+
1146+ * Python 2.6 transition, debian/rules (LP: #338556):
1147+ - Include /usr/share/python/python.mk.
1148+ - Use py_sitename and py_setup_install_args macros to install all python
1149+ stuffs in the right places (/usr/lib/python*/*-packages/) and rebuild.
1150+
1151+ -- Alessio Treglia <quadrispro@ubuntu.com> Thu, 12 Mar 2009 00:38:57 +0100
1152+
1153+net-snmp (5.4.1~dfsg-12ubuntu1) jaunty; urgency=low
1154+
1155+ * Merge from debian unstable, remaining changes:
1156+ - Set Ubuntu maintainer address.
1157+ - net-snmp-config: Use bash. LP: #104738)
1158+ * Removed multiuser option when calling update-rc.d (LP: #254261).
1159+ * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1
1160+ (LP: #250459)
1161+ * debian/snmp.init: LSBify the snmpd.init script. Add status notification,
1162+ based on initial patch by Gary Coady. (LP: #43575)
1163+
1164+ -- Chuck Short <zulcss@ubuntu.com> Wed, 17 Dec 2008 00:58:14 +0000
1165+
1166 net-snmp (5.4.1~dfsg-12) unstable; urgency=high
1167
1168 * Urgency high because of RC bug fix.
1169@@ -1024,6 +2023,21 @@ net-snmp (5.4.1~dfsg-12) unstable; urgency=high
1170
1171 -- Jochen Friedrich <jochen@scram.de> Tue, 16 Dec 2008 15:29:28 +0100
1172
1173+net-snmp (5.4.1~dfsg-11ubuntu1) jaunty; urgency=low
1174+
1175+ * Merge from debian unstable, remaining changes:
1176+ - Set Ubuntu maintainer address.
1177+ - net-snmp-config. Use bash (LP: #104738)
1178+ * Removed multiuser option when calling update-rc.d (LP: #254261).
1179+ * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1
1180+ (LP: #250459)
1181+ * debian/snmp.init: LSBify the snmpd.init script. Add status notification,
1182+ based on inital patch by Gary Coady. (LP: #43575)
1183+ * Dropped debian/patches/51_CVE-2008-0960.patch: Use debian's instead.
1184+ * Dropped debian/patches/54_fix_registration_error.patch: Use debian's instead.
1185+
1186+ -- Chuck Short <zulcss@ubuntu.com> Wed, 05 Nov 2008 02:59:05 +0000
1187+
1188 net-snmp (5.4.1~dfsg-11) unstable; urgency=high
1189
1190 * This update fixes the following security issue:
1191@@ -1071,6 +2085,69 @@ net-snmp (5.4.1~dfsg-8) unstable; urgency=low
1192
1193 -- Jochen Friedrich <jochen@scram.de> Tue, 03 Jun 2008 13:06:57 +0200
1194
1195+net-snmp (5.4.1~dfsg-7.1ubuntu6) intrepid; urgency=low
1196+
1197+ * debian/snmpd.init: Fix snmpd script error. (LP: #270961)
1198+
1199+ -- Chuck Short <zulcss@ubuntu.com> Mon, 22 Sep 2008 14:18:08 -0400
1200+
1201+net-snmp (5.4.1~dfsg-7.1ubuntu5) intrepid; urgency=low
1202+
1203+ * debian/snmpd.init: LSBify the snmpd.init script. And add status
1204+ notification, based on inital patch by Gary Coady. (LP: #43575)
1205+ * debian/patches/54_fix_registration_error.patch: Surpresses annoying
1206+ registrations in startup. (LP: #200614)
1207+
1208+ -- Chuck Short <zulcss@ubuntu.com> Fri, 12 Sep 2008 13:21:40 -0400
1209+
1210+net-snmp (5.4.1~dfsg-7.1ubuntu4) intrepid; urgency=low
1211+
1212+ * Fix lsb headers in init script: stop in single user mode
1213+ (LP: #254261).
1214+
1215+ -- Mathias Gug <mathiaz@ubuntu.com> Thu, 21 Aug 2008 23:07:59 -0400
1216+
1217+net-snmp (5.4.1~dfsg-7.1ubuntu3) intrepid; urgency=low
1218+
1219+ [ Salvatore Palma ]
1220+ * Add 52_fix_snmpcmd_1_typo.patch patch to adjust a typo in
1221+ snmpcmd.1 (LP: #250459).
1222+
1223+ [ Mathias Gug ]
1224+ * Remove multiuser option when calling update-rc.d. (LP: #254261).
1225+
1226+ -- Mathias Gug <mathiaz@ubuntu.com> Tue, 12 Aug 2008 23:03:05 -0400
1227+
1228+net-snmp (5.4.1~dfsg-7.1ubuntu2) intrepid; urgency=low
1229+
1230+ * SECURITY UPDATE: HMAC authentication spoofing.
1231+ * debian/patches/51_CVE-2008-0960.patch: fixes HMAC authentication spoofing.
1232+ * debian/patches/52_use_right_config_file.patch: Use the right configuration
1233+ file for lmsensors. (LP: #192745)
1234+
1235+ -- Chuck Short <zulcss@ubuntu.com> Mon, 16 Jun 2008 15:47:18 +0000
1236+
1237+net-snmp (5.4.1~dfsg-7.1ubuntu1) intrepid; urgency=low
1238+
1239+ * Merge from debian unstable, remaining changes:
1240+ - Set Ubuntu maintainer address.
1241+ - net-snmp-config: Use bash. LP: #104738.
1242+ - Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to
1243+ libsnmp-base to avoid file confict on dapper->hardy upgrades.
1244+ (LP: #203610)
1245+
1246+ -- Chuck Short <zulcss@ubuntu.com> Tue, 27 May 2008 13:06:56 -0500
1247+
1248+net-snmp (5.4.1~dfsg-7.1) unstable; urgency=high
1249+
1250+ * Non-maintainer upload by the Security Team.
1251+ * Fix buffer overflow in the python and perl module (__snprint_value
1252+ function)that can be exploited via large OCTETSTRING in an
1253+ attribute value pair (AVP) leading to arbitrary code
1254+ execution (CVE-2008-2292; Closes: #482333).
1255+
1256+ -- Nico Golde <nion@debian.org> Sat, 24 May 2008 13:12:16 +0200
1257+
1258 net-snmp (5.4.1~dfsg-7) unstable; urgency=low
1259
1260 * Add some more Conflicts: and Replaces: magic to allow moving
1261@@ -1106,6 +2183,41 @@ net-snmp (5.4.1~dfsg-5) unstable; urgency=low
1262
1263 -- Jochen Friedrich <jochen@scram.de> Fri, 28 Dec 2007 12:43:21 +0100
1264
1265+net-snmp (5.4.1~dfsg-4ubuntu4) hardy; urgency=low
1266+
1267+ * Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to
1268+ libsnmp-base to avoid file confict on dapper->hardy upgrades
1269+ (LP: #203610)
1270+
1271+ -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 18 Mar 2008 17:47:13 +0100
1272+
1273+net-snmp (5.4.1~dfsg-4ubuntu3) hardy; urgency=low
1274+
1275+ * Rebuild with recent python-central.
1276+ * Set Ubuntu maintainer address.
1277+
1278+ -- Matthias Klose <doko@ubuntu.com> Mon, 10 Mar 2008 12:46:06 +0000
1279+
1280+net-snmp (5.4.1~dfsg-4ubuntu2) hardy; urgency=low
1281+
1282+ * net-snmp-config: Use bash. LP: #104738.
1283+
1284+ -- Matthias Klose <doko@ubuntu.com> Wed, 06 Feb 2008 14:45:12 +0000
1285+
1286+net-snmp (5.4.1~dfsg-4ubuntu1) hardy; urgency=low
1287+
1288+ * Merge from debian unstable.
1289+ * Remaining Ubuntu changes:
1290+ - Remove stop links from rc0 and rc6
1291+ - Munge Maintainer field as per spec.
1292+ * Ubuntu changes dropped:
1293+ - Symlink common files between the packages, CDBS ought to handle that
1294+ for us automatically.
1295+ * The latest Debian changes has dropped history from the changelog. Slot in
1296+ the Ubuntu changes as best I can.
1297+
1298+ -- Steve Kowalik <stevenk@ubuntu.com> Sat, 08 Dec 2007 14:59:50 +1100
1299+
1300 net-snmp (5.4.1~dfsg-4) unstable; urgency=low
1301
1302 * Do it right this time.
1303@@ -1193,6 +2305,30 @@ net-snmp (5.4~dfsg-1) experimental; urgency=low
1304
1305 -- Jochen Friedrich <jochen@scram.de> Fri, 13 Apr 2007 16:16:02 +0200
1306
1307+net-snmp (5.3.1-6ubuntu2) gutsy; urgency=low
1308+
1309+ * Do not install the upstream changelog in libsnmp10 and libsnmp-base.
1310+ * Symlink files common in libsnmp10 and libsnmp-base.
1311+
1312+ -- Matthias Klose <doko@ubuntu.com> Fri, 05 Oct 2007 14:55:58 +0200
1313+
1314+net-snmp (5.3.1-6ubuntu1) gutsy; urgency=low
1315+
1316+ * Merge from Debian unstable.
1317+ * Remaining Ubuntu changes:
1318+ - Remove stop links from rc0 and rc6
1319+ - Munge Maintainer field as per spec.
1320+
1321+ -- Steve Kowalik <stevenk@ubuntu.com> Wed, 23 May 2007 08:58:46 +1000
1322+
1323+net-snmp (5.3.1-5ubuntu1) gutsy; urgency=low
1324+
1325+ * Merge from Debian unstable.
1326+ * Remaining Ubuntu changes:
1327+ - Remove stop links from rc0 and rc6
1328+ * Munge Maintainer field as per spec.
1329+
1330+ -- Steve Kowalik <stevenk@ubuntu.com> Thu, 10 May 2007 22:20:23 +1000
1331
1332 net-snmp (5.3.1-3) unstable; urgency=low
1333
1334@@ -1249,6 +2385,19 @@ net-snmp (5.3.1-1) experimental; urgency=low
1335
1336 -- Jochen Friedrich <jochen@scram.de> Wed, 26 Jul 2006 12:08:46 +0200
1337
1338+net-snmp (5.2.3-4ubuntu1) feisty; urgency=low
1339+
1340+ * Merge from debian unstable, remaining changes:
1341+ - remove stop links from rc0 and rc6
1342+
1343+ -- Scott James Remnant <scott@ubuntu.com> Tue, 28 Nov 2006 12:29:34 +0000
1344+
1345+net-snmp (5.2.2-5ubuntu1) edgy; urgency=low
1346+
1347+ * Remove stop script symlinks from rc0 and rc6.
1348+
1349+ -- Scott James Remnant <scott@ubuntu.com> Fri, 15 Sep 2006 17:32:44 +0100
1350+
1351 net-snmp (5.2.2-4) unstable; urgency=low
1352
1353 * Add French translation. Thanks to Thomas Huriaux
1354diff --git a/debian/control b/debian/control
1355index e940a85..287de31 100644
1356--- a/debian/control
1357+++ b/debian/control
1358@@ -1,7 +1,8 @@
1359 Source: net-snmp
1360 Section: net
1361 Priority: optional
1362-Maintainer: Craig Small <csmall@debian.org>
1363+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
1364+XSBC-Original-Maintainer: Craig Small <csmall@debian.org>
1365 Build-Depends: debhelper-compat (= 12),
1366 libtool, libwrap0-dev, libssl-dev, perl:any, perl-xs-dev,
1367 autoconf, automake, procps,
1368@@ -9,7 +10,7 @@ Build-Depends: debhelper-compat (= 12),
1369 libbsd-dev [kfreebsd-i386 kfreebsd-amd64],
1370 libkvm-dev [kfreebsd-i386 kfreebsd-amd64],
1371 libsensors-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
1372- default-libmysqlclient-dev, libpci-dev
1373+ default-libmysqlclient-dev, libpci-dev, dh-apport
1374 Build-Conflicts: libsnmp-dev
1375 Standards-Version: 4.6.1
1376 Vcs-Git: https://salsa.debian.org/debian/net-snmp.git
1377diff --git a/debian/patches/add-overlay-support.patch b/debian/patches/add-overlay-support.patch
1378new file mode 100644
1379index 0000000..daa3d45
1380--- /dev/null
1381+++ b/debian/patches/add-overlay-support.patch
1382@@ -0,0 +1,26 @@
1383+From 798f206561b7de4bc54453c01ffd21de8ae59c87 Mon Sep 17 00:00:00 2001
1384+From: Istvan Papp <istvan.papp.27182@gmail.com>
1385+Date: Wed, 15 Feb 2023 09:51:45 +0100
1386+Subject: [PATCH] HOST-RESOURCES-MIB: Add overlay support
1387+
1388+Fixes: #525
1389+
1390+Origin: Upstream, https://github.com/net-snmp/net-snmp/commit/798f206561b7de4bc54453c01ffd21de8ae59c87
1391+Bug: https://github.com/net-snmp/net-snmp/issues/525
1392+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/2007856
1393+Reviewed-By: Bryce Harrington <bryce@canonical.com>
1394+Last-Updated: 2023-03-22
1395+---
1396+ agent/mibgroup/hardware/fsys/fsys_mntent.c | 1 +
1397+ 1 file changed, 1 insertion(+)
1398+
1399+--- net-snmp.orig/agent/mibgroup/hardware/fsys/fsys_mntent.c 2024-01-02 16:15:30.802485163 -0500
1400++++ net-snmp/agent/mibgroup/hardware/fsys/fsys_mntent.c 2024-01-02 16:15:30.798485195 -0500
1401+@@ -87,6 +87,7 @@ static const char *other_fs[] = {
1402+ "nssvol",
1403+ "nvmfs",
1404+ "ocfs2",
1405++ "overlay",
1406+ "reiserfs",
1407+ "simfs",
1408+ "tmpfs",
1409diff --git a/debian/patches/series b/debian/patches/series
1410index e06a6c9..22ea048 100644
1411--- a/debian/patches/series
1412+++ b/debian/patches/series
1413@@ -41,3 +41,5 @@ snmptrapd_correct_mysql_includes
1414 makefile_trap_needs_agent
1415 includes_fix_national_encoding
1416 configure_fix_version
1417+snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
1418+add-overlay-support.patch
1419diff --git a/debian/patches/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch b/debian/patches/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
1420new file mode 100644
1421index 0000000..a97b898
1422--- /dev/null
1423+++ b/debian/patches/snmptrapd-mysql-reconnection-after-hitting-wait_timeout.patch
1424@@ -0,0 +1,154 @@
1425+From: Chengen Du <chengen.du@canonical.com>
1426+Date: Wed, 23 Nov 2022 14:11:36 +0800
1427+Subject: apps/snmptrap: Fix mysql reconnection after hitting wait_timeout
1428+
1429+ MySQL v8.0 supports ER_CLIENT_INTERACTION_TIMEOUT, which is not handled
1430+ in snmptrapd
1431+
1432+Origin: upstream, https://github.com/net-snmp/net-snmp/pull/484/files
1433+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1999711
1434+Last-Update: 2022-12-15
1435+--- net-snmp.orig/apps/snmptrapd_sql.c 2024-01-02 16:05:28.287582057 -0500
1436++++ net-snmp/apps/snmptrapd_sql.c 2024-01-02 16:10:47.144801801 -0500
1437+@@ -248,6 +248,13 @@ netsnmp_sql_disconnected(void)
1438+ }
1439+ }
1440+
1441++static bool
1442++netsnmp_sql_server_disconnected(int err)
1443++{
1444++ // CR_SERVER_GONE_ERROR | CR_SERVER_LOST | ER_CLIENT_INTERACTION_TIMEOUT
1445++ return CR_SERVER_GONE_ERROR == err || CR_SERVER_LOST == err || 4031 == err;
1446++}
1447++
1448+ /*
1449+ * convenience function to log mysql errors
1450+ */
1451+@@ -255,17 +262,20 @@ static void
1452+ netsnmp_sql_error(const char *message)
1453+ {
1454+ u_int err = mysql_errno(_sql.conn);
1455+- snmp_log(LOG_ERR, "%s\n", message);
1456+- if (_sql.conn != NULL) {
1457++
1458++ if (0 == _sql.connected || !netsnmp_sql_server_disconnected(err)) {
1459++ snmp_log(LOG_ERR, "%s\n", message);
1460++ if (_sql.conn != NULL) {
1461+ #if MYSQL_VERSION_ID >= 40101
1462+- snmp_log(LOG_ERR, "Error %u (%s): %s\n",
1463+- err, mysql_sqlstate(_sql.conn), mysql_error(_sql.conn));
1464++ snmp_log(LOG_ERR, "Error %u (%s): %s\n",
1465++ err, mysql_sqlstate(_sql.conn), mysql_error(_sql.conn));
1466+ #else
1467+- snmp(LOG_ERR, "Error %u: %s\n",
1468+- mysql_errno(_sql.conn), mysql_error(_sql.conn));
1469++ snmp(LOG_ERR, "Error %u: %s\n",
1470++ mysql_errno(_sql.conn), mysql_error(_sql.conn));
1471+ #endif
1472++ }
1473+ }
1474+- if (CR_SERVER_GONE_ERROR == err)
1475++ if (netsnmp_sql_server_disconnected(err))
1476+ netsnmp_sql_disconnected();
1477+ }
1478+
1479+@@ -277,14 +287,15 @@ netsnmp_sql_stmt_error (MYSQL_STMT *stmt
1480+ {
1481+ u_int err = mysql_errno(_sql.conn);
1482+
1483+- snmp_log(LOG_ERR, "%s\n", message);
1484+- if (stmt) {
1485+- snmp_log(LOG_ERR, "SQL Error %u (%s): %s\n",
1486+- mysql_stmt_errno(stmt), mysql_stmt_sqlstate(stmt),
1487+- mysql_stmt_error(stmt));
1488++ if (0 == _sql.connected || !netsnmp_sql_server_disconnected(err)) {
1489++ snmp_log(LOG_ERR, "%s\n", message);
1490++ if (stmt) {
1491++ snmp_log(LOG_ERR, "SQL Error %u (%s): %s\n",
1492++ mysql_stmt_errno(stmt), mysql_stmt_sqlstate(stmt),
1493++ mysql_stmt_error(stmt));
1494++ }
1495+ }
1496+-
1497+- if (CR_SERVER_GONE_ERROR == err)
1498++ if (netsnmp_sql_server_disconnected(err))
1499+ netsnmp_sql_disconnected();
1500+ }
1501+
1502+@@ -307,15 +318,6 @@ netsnmp_mysql_cleanup(void)
1503+ CONTAINER_FREE(_sql.queue);
1504+ _sql.queue = NULL;
1505+
1506+- if (_sql.trap_stmt) {
1507+- mysql_stmt_close(_sql.trap_stmt);
1508+- _sql.trap_stmt = NULL;
1509+- }
1510+- if (_sql.vb_stmt) {
1511+- mysql_stmt_close(_sql.vb_stmt);
1512+- _sql.vb_stmt = NULL;
1513+- }
1514+-
1515+ /** disconnect from server */
1516+ netsnmp_sql_disconnected();
1517+
1518+@@ -373,6 +375,21 @@ netsnmp_mysql_connect(void)
1519+
1520+ DEBUGMSGTL(("sql:connection","connecting\n"));
1521+
1522++ if (_sql.conn) {
1523++ mysql_close(_sql.conn);
1524++ _sql.conn = NULL;
1525++ }
1526++
1527++ _sql.conn = mysql_init (NULL);
1528++ if (_sql.conn == NULL) {
1529++ netsnmp_sql_error("mysql_init() failed (out of memory?)");
1530++ goto err;
1531++ }
1532++
1533++#if HAVE_MYSQL_OPTIONS
1534++ mysql_options(_sql.conn, MYSQL_READ_DEFAULT_GROUP, "snmptrapd");
1535++#endif
1536++
1537+ /** connect to server */
1538+ if (mysql_real_connect (_sql.conn, _sql.host_name, _sql.user_name,
1539+ _sql.password, _sql.db_name, _sql.port_num,
1540+@@ -549,16 +566,6 @@ netsnmp_mysql_init(void)
1541+ #endif
1542+ _vbind[VBIND_VAL].length = &_vbind[VBIND_VAL].buffer_length;
1543+
1544+- _sql.conn = mysql_init (NULL);
1545+- if (_sql.conn == NULL) {
1546+- netsnmp_sql_error("mysql_init() failed (out of memory?)");
1547+- return -1;
1548+- }
1549+-
1550+-#ifdef HAVE_MYSQL_OPTIONS
1551+- mysql_options(_sql.conn, MYSQL_READ_DEFAULT_GROUP, "snmptrapd");
1552+-#endif
1553+-
1554+ /** try to connect; we'll try again later if we fail */
1555+ (void) netsnmp_mysql_connect();
1556+
1557+@@ -1115,6 +1122,8 @@ _sql_process_queue(u_int dontcare, void
1558+ (void) netsnmp_mysql_connect();
1559+ }
1560+
1561++ bool sql_has_connected = _sql.connected;
1562++
1563+ CONTAINER_FOR_EACH(_sql.queue, (netsnmp_container_obj_func*)_sql_save,
1564+ NULL);
1565+
1566+@@ -1128,8 +1137,10 @@ _sql_process_queue(u_int dontcare, void
1567+ }
1568+ }
1569+
1570+- CONTAINER_CLEAR(_sql.queue, (netsnmp_container_obj_func*)_sql_buf_free,
1571+- NULL);
1572++ if (!sql_has_connected || _sql.connected) {
1573++ CONTAINER_CLEAR(_sql.queue, (netsnmp_container_obj_func*)_sql_buf_free,
1574++ NULL);
1575++ }
1576+ }
1577+
1578+ #else
1579diff --git a/debian/rules b/debian/rules
1580index 34d8509..63862b3 100755
1581--- a/debian/rules
1582+++ b/debian/rules
1583@@ -33,7 +33,7 @@ export PERL5LIB=/usr/lib/$(DEB_HOST_MULTIARCH)/perl/cross-config-$(shell perl -M
1584 endif
1585
1586 %:
1587- dh $@
1588+ dh $@ --with apport
1589
1590 # The net-snmp Makefiles cannot handle parallel builds
1591 override_dh_auto_build:
1592@@ -94,6 +94,10 @@ override_dh_fixperms-arch:
1593 chmod -x debian/libsnmp-dev/etc/snmp/*.conf
1594 chmod 640 debian/snmpd/etc/snmp/snmp*d.conf
1595
1596+.PHONY: override_dh_apport
1597+override_dh_apport:
1598+ dh_apport -psnmpd
1599+
1600 override_dh_auto_test:
1601 # prevent test since it fails with network configuration under pbuilder/etc.
1602 true
1603diff --git a/debian/source.apport b/debian/source.apport
1604new file mode 100644
1605index 0000000..f4b55f8
1606--- /dev/null
1607+++ b/debian/source.apport
1608@@ -0,0 +1,36 @@
1609+#!/usr/bin/python
1610+
1611+'''apport hook for net-snmp
1612+
1613+(c) 2010 Andres Rodriguez
1614+Author: Andres Rodriguez <andreserl@ubuntu.com>
1615+
1616+This program is free software; you can redistribute it and/or modify it
1617+under the terms of the GNU General Public License as published by the
1618+Free Software Foundation; either version 2 of the License, or (at your
1619+option) any later version. See http://www.gnu.org/copyleft/gpl.html for
1620+the full text of the license.
1621+'''
1622+
1623+from apport.hookutils import *
1624+import re
1625+
1626+def add_info(report, ui):
1627+ response = ui.yesno("The contents of your /etc/snmp/snmpd.conf and "
1628+ "your /etc/snmp/snmptrapd.conf files may help "
1629+ "developers diagnose your bug more quickly. "
1630+ "However, they may contain sensitive information. "
1631+ "Do you want to include them in your bug report?")
1632+
1633+ if response == None: # user cancelled
1634+ raise StopIteration
1635+
1636+ elif response == True:
1637+ attach_conffiles(report, 'snmpd')
1638+
1639+ # get version
1640+ report['SNMPVersion'] = root_command_output(['/usr/sbin/snmpd', '-v'])
1641+
1642+ # get syslog stuff
1643+ report['SyslogSnmpd'] = recent_syslog(re.compile('snmpd\['))
1644+ report['SyslogSnmptrapd'] = recent_syslog(re.compile('snmptrapd\['))

Subscribers

People subscribed via source and target branches