Merge ~sergiodj/ubuntu/+source/net-snmp:merge-5.9.1-jammy into ubuntu/+source/net-snmp:debian/sid

Proposed by Sergio Durigan Junior
Status: Merged
Merge reported by: Sergio Durigan Junior
Merged at revision: cb289636f03c6bbb4dabac250ecb0ba87ce25072
Proposed branch: ~sergiodj/ubuntu/+source/net-snmp:merge-5.9.1-jammy
Merge into: ubuntu/+source/net-snmp:debian/sid
Diff against target: 1374 lines (+1132/-4)
7 files modified
debian/changelog (+986/-0)
debian/control (+4/-3)
debian/patches/lp1945960-Fix-the-build-against-OpenSSL-3.0.patch (+33/-0)
debian/patches/lp1945960-configure-static-linking-Fix-SSL-checks.patch (+66/-0)
debian/patches/series (+2/-0)
debian/rules (+5/-1)
debian/source.apport (+36/-0)
Reviewer Review Type Date Requested Status
Andreas Hasenack Approve
Canonical Server Pending
Review via email: mp+413995@code.launchpad.net

Description of the change

This is the merge of net-snmp 5.9.1 from Debian unstable.

This merge is relatively straightforward; we currently have net-snmp 5.9 in Ubuntu. Fortunately, it allows us to drop two changes from our delta: one which was a backport from an upstream patch that is now present on 5.9.1, and another which was incorporated in the Debian package.

Another good thing is that bug #1912390 is also fixed with this merge (kudos to Bryce for leaving a reminder in the merge bug).

We still have to carry the OpenSSL 3 patches because they haven't been included in this release. They will become redundant in the next one, though.

There's a PPA with the proposed changes here:

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

autopkgtest is still OK:

autopkgtest [21:04:04]: @@@@@@@@@@@@@@@@@@@@ summary
command1 PASS (superficial)
trap PASS

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Looks good, +1

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote (last edit ):

Actually, one thing to check. This change introduced in the new debian version:

@@ -121,6 +122,7 @@ Depends: libc6-dev, libsnmp40 (=${binary:Version}), libnetsnmptrapd40 (=${binary
          libwrap0-dev, libssl-dev, procps,
          libkvm-dev [kfreebsd-any], libsensors-dev [linux-any], ${misc:Depends},
          libpci-dev
+Recommends: libsnmp-perl
 Description: SNMP (Simple Network Management Protocol) development files
  The Simple Network Management Protocol (SNMP) provides a framework
  for the exchange of management information between agents (servers)

git diff -U10 sergiodj/lp1946877/old/debian..sergiodj/lp1946877/new/debian -- debian/control

That's adding Recommends: libsnmp-perl to libsnmp-dev. libsnmp-perl is in universe, and libsnmp-dev is in main. I don't think that's allowed, we will have to change that to Suggests afaik, can you confirm? I'll flip this to "needs fixing" until you analyze it.

Revision history for this message
Andreas Hasenack (ahasenack) :
review: Needs Fixing
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

So the new dependency is
 libsnmp-dev | 5.9+dfsg-3ubuntu4 | jammy | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
to
 libsnmp-perl | 5.9+dfsg-3ubuntu4 | jammy/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x

But the only reason to have libsnmp-dev:

$ reverse-depends --release jammy libsnmp-dev
Reverse-Depends
* libgvm-dev
* libifstat-dev

Is because -dev and -doc are auto-included by germinate unless you do something about it.

See
https://people.canonical.com/~ubuntu-archive/germinate-output/ubuntu.jammy/all

libsnmp-dev | net-snmp | Rescued from net-snmp | Ubuntu Developers <email address hidden> | 205104 | 1282

Whenever you see rescued that is due to the auto-inclusion.
We can handle that without delta on the package by adding an extra-exclude to

https://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu/tree/supported#n124
We can review that change in the team and push it (core-dev) then this won't be a problem on upload.

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

On Wednesday, January 12 2022, Christian Ehrhardt  wrote:

> So the new dependency is
> libsnmp-dev | 5.9+dfsg-3ubuntu4 | jammy | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
> to
> libsnmp-perl | 5.9+dfsg-3ubuntu4 | jammy/universe | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x

Thank you for catching this, Andreas. And thank you Christian for the
further explanation.

> But the only reason to have libsnmp-dev:
>
> $ reverse-depends --release jammy libsnmp-dev
> Reverse-Depends
> * libgvm-dev
> * libifstat-dev
>
> Is because -dev and -doc are auto-included by germinate unless you do something about it.
>
> See
> https://people.canonical.com/~ubuntu-archive/germinate-output/ubuntu.jammy/all
>
> libsnmp-dev | net-snmp | Rescued from net-snmp | Ubuntu Developers
> <email address hidden> | 205104 | 1282
>
> Whenever you see rescued that is due to the auto-inclusion.
> We can handle that without delta on the package by adding an extra-exclude to
>
> https://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu/tree/supported#n124
> We can review that change in the team and push it (core-dev) then this won't be a problem on upload.

Ah, got it. I will file an MP against the ubuntu-seeds/+git/ubuntu repo
and mark you guys to review it.

Thanks,

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

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

On Wednesday, January 12 2022, Sergio Durigan Junior wrote:

> Ah, got it. I will file an MP against the ubuntu-seeds/+git/ubuntu repo
> and mark you guys to review it.

MP filed: https://code.launchpad.net/~sergiodj/ubuntu-seeds/+git/ubuntu/+merge/414063

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

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

Alright, now that the ubuntu-seeds MP has been merged, I think it is OK to proceed with this one.

Andreas, I talked to Christian during standup and he's happy with the MP. Judging from your comments, I understand that you were a +1 modulo the libsnmp-perl thing, which has since been resolved. Therefore, I'm going to go ahead and upload the package. Thanks both of you for the reviews.

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

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

yes, should be good

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This migrated a long time ago, could you please set the MP status to "merged"?

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

On Monday, March 07 2022, Andreas Hasenack wrote:

> This migrated a long time ago, could you please set the MP status to "merged"?

Done, thanks.

--
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 7b90f06..7d2874b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,28 @@
1net-snmp (5.9.1+dfsg-1ubuntu1) jammy; urgency=medium
2
3 * Merge with Debian unstable (LP: #1946877, #1912390). 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 - d/p/lp1945960-*: backport patches for the OpenSSL3 transition
9 (LP #1945960)
10 * Dropped changes, incorporated by Debian:
11 - d/libsnmp-dev.install: Don't install archive (.a) files.
12 The archive files are just temporary files generated in order to
13 create the final shared objects (.so), and we don't need to ship
14 them in the package.
15 * Dropped changes, incorporated upstream:
16 - Fix segmentation fault when certificate contains extension
17 longer than 512 bytes (LP #1912389)
18 + d/p/lp1912389-libsnmp-Handle-certificate-loading-errors-gracefully.patch:
19 Skip certificate if loading fails.
20 + d/p/lp1912389-libsnmp-SSL-Increase-extension-buffer-size-to-preven.patch:
21 Make sure enough space is allocated for extensions longer than
22 512 bytes.
23
24 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 11 Jan 2022 20:39:24 -0500
25
1net-snmp (5.9.1+dfsg-1) unstable; urgency=medium26net-snmp (5.9.1+dfsg-1) unstable; urgency=medium
227
3 [ Owen Evans ]28 [ Owen Evans ]
@@ -32,6 +57,66 @@ net-snmp (5.9.1+dfsg-1) unstable; urgency=medium
3257
33 -- Craig Small <csmall@debian.org> Mon, 20 Sep 2021 21:35:58 +100058 -- Craig Small <csmall@debian.org> Mon, 20 Sep 2021 21:35:58 +1000
3459
60net-snmp (5.9+dfsg-3ubuntu4) jammy; urgency=medium
61
62 * d/p/lp1945960-*: backport patches for the OpenSSL3 transition
63 (LP: #1945960)
64
65 -- Simon Chopin <simon.chopin@canonical.com> Wed, 17 Nov 2021 14:58:54 +0100
66
67net-snmp (5.9+dfsg-3ubuntu3) impish; urgency=medium
68
69 * No-change rebuild to build packages with zstd compression.
70
71 -- Matthias Klose <doko@ubuntu.com> Thu, 07 Oct 2021 12:21:20 +0200
72
73net-snmp (5.9+dfsg-3ubuntu2) impish; urgency=medium
74
75 * Fix segmentation fault when certificate contains extension
76 longer than 512 bytes (LP: #1912389)
77 - d/p/lp1912389-libsnmp-Handle-certificate-loading-errors-gracefully.patch:
78 Skip certificate if loading fails.
79 - d/p/lp1912389-libsnmp-SSL-Increase-extension-buffer-size-to-preven.patch:
80 Make sure enough space is allocated for extensions longer than
81 512 bytes.
82
83 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 25 May 2021 19:03:31 -0400
84
85net-snmp (5.9+dfsg-3ubuntu1) hirsute; urgency=medium
86
87 * Merge with Debian unstable. Remaining changes:
88 - Add apport hook:
89 + d/control: add dh-apport to Build-Depends
90 + d/rules: install the apport hook via debhelper
91 + d/source.apport: apport hook
92 * Dropped:
93 - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch:
94 Link libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
95 Williamson <awilliam@redhat.com>.
96 (Closes #886221, LP #1814254)
97 [ Incorporated by Debian. ]
98 - Fix build with mysql-8 (LP #1814270):
99 + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use
100 char instead.
101 [ Incorporated by upstream. ]
102 - Skip autofs entries when calling statfs to prevent autofs
103 being mounted on snmpd startup (LP #1835818):
104 + d/p/autofs-fix-a-recently-introduced-bug.patch
105 + d/p/autofs-skip-autofs-entries.patch
106 [ Incorporated by upstream. ]
107 - d/p/fix-check-hr-filesys-autofs.patch:
108 + On Linux getmntent() is available but getfsstat() not.
109 Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
110 check.
111 [ Incorporated by upstream. ]
112 * Added changes:
113 - d/libsnmp-dev.install: Don't install archive (.a) files.
114 The archive files are just temporary files generated in order to
115 create the final shared objects (.so), and we don't need to ship
116 them in the package.
117
118 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 05 Jan 2021 14:54:24 -0500
119
35net-snmp (5.9+dfsg-3) unstable; urgency=medium120net-snmp (5.9+dfsg-3) unstable; urgency=medium
36121
37 * Source only upload - no changes Closes: #970798122 * Source only upload - no changes Closes: #970798
@@ -63,6 +148,57 @@ net-snmp (5.9+dfsg-1) unstable; urgency=medium
63148
64 -- Craig Small <csmall@debian.org> Sat, 22 Aug 2020 17:11:17 +1000149 -- Craig Small <csmall@debian.org> Sat, 22 Aug 2020 17:11:17 +1000
65150
151net-snmp (5.8+dfsg-5ubuntu2) hirsute; urgency=medium
152
153 * No-change rebuild for the perl update.
154
155 -- Matthias Klose <doko@ubuntu.com> Mon, 09 Nov 2020 10:50:26 +0100
156
157net-snmp (5.8+dfsg-5ubuntu1) groovy; urgency=medium
158
159 * Merge with Debian unstable (LP: #1880724). Remaining changes:
160 - Add apport hook:
161 + d/control: add dh-apport to Build-Depends
162 + d/rules: install the apport hook via debhelper
163 + d/source.apport: apport hook
164 - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch:
165 Link libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
166 Williamson <awilliam@redhat.com>.
167 (Closes #886221, LP #1814254)
168 - Fix build with mysql-8 (LP #1814270):
169 + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use
170 char instead.
171 - Skip autofs entries when calling statfs to prevent autofs
172 being mounted on snmpd startup (LP #1835818):
173 + d/p/autofs-fix-a-recently-introduced-bug.patch
174 + d/p/autofs-skip-autofs-entries.patch
175 - d/p/fix-check-hr-filesys-autofs.patch:
176 + On Linux getmntent() is available but getfsstat() not.
177 Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
178 check.
179 * Dropped changes, incorporated by Debian:
180 - d/p/lp1871307-log-once-proc-net-if_inet6-failure.patch (LP #1871307):
181 + MIB-II: Only log once that opening /proc/net/if_inet6 failed
182 - SECURITY UPDATE: Fix segmentation fault that happens when using the
183 snmpv3 protocol with snmpbulkget. (LP #1877027)
184 + d/p/move-securityStateRef-into-free_securityStateRef.patch:
185 Consolidate the check of the securityStateRef pointer into the
186 free_securityStateRef function.
187 + d/p/prevent-snmpv3-bulkget-errors-double-free.patch:
188 Prevent snmpv3 bulkget errors from becoming resulting in a
189 double free.
190 + d/p/fix-usmStateReference-free.patch:
191 Fix typo on usm_free_usmStateReference from last patch.
192 + d/p/unexport-struct-usmStateReference.patch:
193 Unexport struct usmStateReference and to prevent ABI breakages,
194 since it will be necessary to add a reference count to it.
195 + d/p/introduce-refcount-usmStateReference.patch:
196 Introduce refcount in the struct usmStateReference, and adjust
197 code to properly use the field.
198 + CVE-2019-20892
199
200 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Thu, 06 Aug 2020 11:42:13 -0400
201
66net-snmp (5.8+dfsg-5) unstable; urgency=medium202net-snmp (5.8+dfsg-5) unstable; urgency=medium
67203
68 * Allow extend to be read-only Closes: #966544204 * Allow extend to be read-only Closes: #966544
@@ -128,6 +264,68 @@ net-snmp (5.8+dfsg-3) unstable; urgency=medium
128264
129 -- Craig Small <csmall@debian.org> Thu, 02 Jul 2020 13:38:58 +1000265 -- Craig Small <csmall@debian.org> Thu, 02 Jul 2020 13:38:58 +1000
130266
267net-snmp (5.8+dfsg-2ubuntu3) groovy; urgency=medium
268
269 * SECURITY UPDATE: Fix segmentation fault that happens when using the
270 snmpv3 protocol with snmpbulkget. (LP: #1877027)
271 - d/p/move-securityStateRef-into-free_securityStateRef.patch:
272 Consolidate the check of the securityStateRef pointer into the
273 free_securityStateRef function.
274 - d/p/prevent-snmpv3-bulkget-errors-double-free.patch:
275 Prevent snmpv3 bulkget errors from becoming resulting in a
276 double free.
277 - d/p/fix-usmStateReference-free.patch:
278 Fix typo on usm_free_usmStateReference from last patch.
279 - d/p/unexport-struct-usmStateReference.patch:
280 Unexport struct usmStateReference and to prevent ABI breakages,
281 since it will be necessary to add a reference count to it.
282 - d/p/introduce-refcount-usmStateReference.patch:
283 Introduce refcount in the struct usmStateReference, and adjust
284 code to properly use the field.
285 - CVE-2019-20892
286
287 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Tue, 23 Jun 2020 14:37:42 -0400
288
289net-snmp (5.8+dfsg-2ubuntu2) focal; urgency=medium
290
291 * d/p/lp1871307-log-once-proc-net-if_inet6-failure.patch (LP: #1871307):
292 - MIB-II: Only log once that opening /proc/net/if_inet6 failed
293
294 -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Thu, 09 Apr 2020 12:30:45 +0000
295
296net-snmp (5.8+dfsg-2ubuntu1) focal; urgency=medium
297
298 * Merge with Debian unstable (LP: #1855943). Remaining changes:
299 - d/p/fix-check-hr-filesys-autofs.patch (LP #1843036)
300 - Skip autofs entries when calling statfs (LP #1835818):
301 - d/p/autofs-skip-autofs-entries.patch
302 - d/p/autofs-fix-a-recently-introduced-bug.patch
303 [Replaced former Non-upstream patches with clean cherry-pick)
304 - d/p/mysql8-replace-bool.patch: fix build with mysql-8 (LP 1814270)
305 - d/p/Link-libnetsnmptrapd-against-MYSQL_LIBS.patch: Link
306 libnetsnmptrapd against MYSQL_LIBS.
307 - Add apport hook.
308 - d/control: add dh-apport to Build-Depends
309 - d/rules: install the apport hook via debhelper
310 - d/source.apport: apport hook
311 * Dropped patches that are upstream and in Debian 5.8+dfsg-2:
312 - d/p/put-paranthesis-around-macros-which-are-expressions.patch
313 (LP #1843036)
314 - Fix build with mysql-8 (LP #1814270):
315 - d/p/mysql-options.patch: use mysql_options if no {my_,}load_defaults
316 was found.
317 - d/p/mysql-init.patch: handle the various mysql init functions.
318 - d/p/mysql8-headers.patch: detect if my_global.h and my_sys.h are
319 available.
320 - d/p/my-load-defaults.patch: properly detect (and use)
321 my_load_defaults().
322 - d/p/snmptrapd_mysql_init: no need to drop this patch anymore
323 (LP #1814254)
324 - d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch
325 (LP #1314760)
326
327 -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Fri, 13 Dec 2019 03:27:52 +0000
328
131net-snmp (5.8+dfsg-2) unstable; urgency=medium329net-snmp (5.8+dfsg-2) unstable; urgency=medium
132330
133 * All MIB directory values removed and just use the default compile-time331 * All MIB directory values removed and just use the default compile-time
@@ -160,6 +358,87 @@ net-snmp (5.8+dfsg-1) unstable; urgency=medium
160358
161 -- Craig Small <csmall@debian.org> Thu, 10 Oct 2019 22:37:15 +1100359 -- Craig Small <csmall@debian.org> Thu, 10 Oct 2019 22:37:15 +1100
162360
361net-snmp (5.7.3+dfsg-5ubuntu6) focal; urgency=medium
362
363 * No-change rebuild for the perl update.
364
365 -- Matthias Klose <doko@ubuntu.com> Fri, 18 Oct 2019 19:37:07 +0000
366
367net-snmp (5.7.3+dfsg-5ubuntu5) eoan; urgency=medium
368
369 * d/p/fix-check-hr-filesys-autofs.patch:
370 - On Linux getmntent() is available but getfsstat() not.
371 Hence remove #if HAVE_GETFSSTAT from around the HRFS_type
372 check.
373
374 -- Eric Desrochers <eric.desrochers@canonical.com> Sat, 07 Sep 2019 16:30:53 +0000
375
376net-snmp (5.7.3+dfsg-5ubuntu4) eoan; urgency=medium
377
378 * d/p/put-paranthesis-around-macros-which-are-expressions.patch:
379 - put paranthesis around macros which are expressions.
380 (LP: #1843036)
381
382 -- Eric Desrochers <eric.desrochers@canonical.com> Fri, 06 Sep 2019 23:15:43 +0000
383
384net-snmp (5.7.3+dfsg-5ubuntu3) eoan; urgency=medium
385
386 * Skip autofs entries when calling statfs to prevent autofs being mounted on
387 snmpd startup (LP: #1835818):
388 - d/p/autofs-skip-autofs-entries.patch
389 - d/p/autofs-fix-a-recently-introduced-bug.patch
390
391 -- Ioanna Alifieraki <ioanna-maria.alifieraki@canonical.com> Wed, 21 Aug 2019 12:22:37 +0100
392
393net-snmp (5.7.3+dfsg-5ubuntu2) eoan; urgency=medium
394
395 * No change rebuild for libmysqlclient21.
396
397 -- Robie Basak <robie.basak@ubuntu.com> Mon, 12 Aug 2019 11:32:18 +0000
398
399net-snmp (5.7.3+dfsg-5ubuntu1) disco; urgency=medium
400
401 * Merge with Debian unstable. Remaining changes:
402 - Add apport hook.
403 + d/control: add dh-apport to Build-Depends
404 + d/rules: install the apport hook via debhelper
405 + d/source.apport: apport hook
406 - d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch:
407 set first hrSWInstalledIndex to 1 to follow RFC 2790 (LP #1314760)
408 * Drop:
409 - SECURITY UPDATE: DoS via NULL pointer exception
410 + debian/patches/CVE-2018-18065.patch: fix logic in
411 agent/helpers/table.c.
412 + CVE-2018-18065
413 [Fixed in 5.7.3+dfsg-4]
414 - d/p/my_load_defaults: use my_load_defaults instead of the
415 libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
416 Tangvald.
417 [Replaced by a more complete patch]
418 - debian/rules: Fix calculation of UPSTREAM_VERSION and COMPAT_VERSION.
419 [No more needed since 5.7.3+dfsg-5]
420 * Added:
421 - d/p/snmptrapd_mysql_init: drop this patch. The first part fixes builds
422 with newer mariadb, which Ubuntu doesn't use, and the second part is
423 an unrelated change which we are fixing in another patch (see #1814254
424 for details).
425 - d/p/0001-Link-libnetsnmptrapd-against-MYSQL_LIBS.patch: Link
426 libnetsnmptrapd against MYSQL_LIBS. Thanks to Adam
427 Williamson <awilliam@redhat.com>. (Closes: #886221, LP: #1814254)
428 - Fix build with mysql-8 (LP: #1814270):
429 + d/p/mysql8-replace-bool.patch: newer mysql dropped my_bool, use char
430 instead.
431 + d/p/my-load-defaults.patch: properly detect (and use)
432 my_load_defaults(). This replaces the previous
433 my_load_defaults patch.
434 + d/p/mysql8-headers.patch: detect if my_global.h and my_sys.h are
435 available
436 + d/p/mysql-init.patch: handle the various mysql init functions
437 + d/p/mysql-options.patch: use mysql_options if no {my_,}load_defaults
438 was found.
439
440 -- Andreas Hasenack <andreas@canonical.com> Tue, 05 Feb 2019 16:00:35 -0200
441
163net-snmp (5.7.3+dfsg-5) unstable; urgency=medium442net-snmp (5.7.3+dfsg-5) unstable; urgency=medium
164443
165 * Use debhelper macros for shlibs Closes: #912685444 * Use debhelper macros for shlibs Closes: #912685
@@ -223,6 +502,60 @@ net-snmp (5.7.3+dfsg-2) unstable; urgency=medium
223502
224 -- Craig Small <csmall@debian.org> Sat, 31 Mar 2018 20:00:51 +1100503 -- Craig Small <csmall@debian.org> Sat, 31 Mar 2018 20:00:51 +1100
225504
505net-snmp (5.7.3+dfsg-1.8ubuntu5) disco; urgency=medium
506
507 * No-change rebuild against latest lm-sensors
508
509 -- Jeremy Bicha <jbicha@ubuntu.com> Wed, 02 Jan 2019 17:37:45 -0500
510
511net-snmp (5.7.3+dfsg-1.8ubuntu4) disco; urgency=medium
512
513 * debian/rules: Fix calculation of UPSTREAM_VERSION and COMPAT_VERSION.
514
515 -- Adam Conrad <adconrad@ubuntu.com> Mon, 05 Nov 2018 13:22:39 -0700
516
517net-snmp (5.7.3+dfsg-1.8ubuntu3.18.10.1) cosmic-security; urgency=medium
518
519 * SECURITY UPDATE: DoS via NULL pointer exception
520 - debian/patches/CVE-2018-18065.patch: fix logic in
521 agent/helpers/table.c.
522 - CVE-2018-18065
523
524 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 22 Oct 2018 08:03:49 -0400
525
526net-snmp (5.7.3+dfsg-1.8ubuntu3) bionic; urgency=medium
527
528 * d/p/0001-swinst_apt.c-Fix-indexing-of-hrSWInstalledTable-to-s.patch:
529 set first hrSWInstalledIndex to 1 to follow RFC 2790 (LP: #1314760)
530
531 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 20 Feb 2018 15:24:41 +0100
532
533net-snmp (5.7.3+dfsg-1.8ubuntu2) bionic; urgency=high
534
535 * No change rebuild against openssl1.1.
536
537 -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 06 Feb 2018 17:54:39 +0000
538
539net-snmp (5.7.3+dfsg-1.8ubuntu1) bionic; urgency=medium
540
541 * Merge with Debian unstable (LP: #1742518). Remaining changes:
542 - Add apport hook.
543 + d/control: add dh-apport to Build-Depends
544 + d/rules: install the apport hook via debhelper
545 + d/source.apport: apport hook
546 - d/p/my_load_defaults: use my_load_defaults instead of the
547 libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
548 Tangvald.
549 * Dropped:
550 - Avoid installing links in rc[06].d.
551 [It's not clear what it was trying to solve (no details or bug
552 number), but update-rc.d no longer takes start/stop arguments and
553 this delta was actually resulting in warnings during the installation.
554 Also, Ubuntu is using systemd now and this package has systemd service
555 files.]
556
557 -- Andreas Hasenack <andreas@canonical.com> Thu, 11 Jan 2018 16:07:07 -0200
558
226net-snmp (5.7.3+dfsg-1.8) unstable; urgency=medium559net-snmp (5.7.3+dfsg-1.8) unstable; urgency=medium
227560
228 * Non-maintainer upload.561 * Non-maintainer upload.
@@ -234,6 +567,43 @@ net-snmp (5.7.3+dfsg-1.8) unstable; urgency=medium
234567
235 -- Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Sat, 23 Dec 2017 23:48:23 +0100568 -- Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Sat, 23 Dec 2017 23:48:23 +0100
236569
570net-snmp (5.7.3+dfsg-1.7ubuntu1) artful; urgency=medium
571
572 * Merge with Debian unstable (LP: #1712569). Remaining changes:
573 - Add apport hook.
574 + d/control: add dh-apport to Build-Depends
575 + d/rules: install the apport hook via debhelper
576 + d/source.apport: apport hook
577 - Avoid installing links in rc[06].d.
578 - d/p/my_load_defaults: use my_load_defaults instead of the
579 libmysqlclient-internal load_defaults (LP #1565003). Thanks to Lars
580 Tangvald.
581 * Drop:
582 - SECURITY UPDATE: denial of service and possible code execution via
583 incompletely parsed varBind variables
584 + debian/patches/CVE-2015-5621.patch: don't return incorrectly parsed
585 varbinds in snmplib/snmp_api.c.
586 + CVE-2015-5621
587 [Added by Debian as 0025-Bug-788964-net-snmp-snmp_pdu_parse-DoS.patch
588 in 5.7.3+dfsg-1.1]
589 - debian/snmp.preinst:
590 It turns out that the original motivation why killall was added is gone.
591 So we can just remove the killall introduced by Ubuntu LP #573391
592 (Closes: #781257, LP #1245604)
593 [Fixed in Debian 5.7.3+dfsg-1.1]
594 - Fix "FTBFS with Perl 5.24: error: conflicting types for 'U64'":
595 add patch from upstream git which removes the U64 typedef from the
596 Net-SNMP header files.
597 Thanks to Niky Tyni for extracting the patch.
598 (Closes: #825014)
599 [Fixed in Debian 5.7.3+dfsg-1.5]
600 - Additionally add another patch from upstream git which fixes
601 perl/*/Makefile.PL to fix build failures with Perl 5.24.
602 Cf. https://sourceforge.net/p/net-snmp/bugs/2712/
603 [Fixed in Debian 5.7.3+dfsg-1.5]
604
605 -- Andreas Hasenack <andreas@canonical.com> Wed, 23 Aug 2017 10:29:35 -0300
606
237net-snmp (5.7.3+dfsg-1.7) unstable; urgency=medium607net-snmp (5.7.3+dfsg-1.7) unstable; urgency=medium
238608
239 [ Niels Thykier ]609 [ Niels Thykier ]
@@ -357,6 +727,68 @@ net-snmp (5.7.3+dfsg-1.1) unstable; urgency=medium
357727
358 -- Steinar H. Gunderson <sesse@debian.org> Tue, 29 Mar 2016 10:30:24 +0200728 -- Steinar H. Gunderson <sesse@debian.org> Tue, 29 Mar 2016 10:30:24 +0200
359729
730net-snmp (5.7.3+dfsg-1ubuntu6) artful; urgency=medium
731
732 * No-change rebuild for perl 5.26.0.
733
734 -- Matthias Klose <doko@ubuntu.com> Wed, 26 Jul 2017 20:11:36 +0000
735
736net-snmp (5.7.3+dfsg-1ubuntu5) zesty; urgency=medium
737
738 * Cherry-pick two patches from Debian's 5.7.3+dfsg-1.5:
739 * Fix "FTBFS with Perl 5.24: error: conflicting types for 'U64'":
740 add patch from upstream git which removes the U64 typedef from the
741 Net-SNMP header files.
742 Thanks to Niky Tyni for extracting the patch.
743 (Closes: #825014)
744 * Additionally add another patch from upstream git which fixes
745 perl/*/Makefile.PL to fix build failures with Perl 5.24.
746 Cf. https://sourceforge.net/p/net-snmp/bugs/2712/
747
748 -- Iain Lane <iain@orangesquash.org.uk> Tue, 25 Oct 2016 10:28:38 +0100
749
750net-snmp (5.7.3+dfsg-1ubuntu4) xenial; urgency=medium
751
752 * Rebuild against libmysqlclient20.
753 * d/p/my_load_defaults: use my_load_defaults instead of the
754 libmysqlclient-internal load_defaults (LP: #1565003). Thanks to Lars
755 Tangvald.
756
757 -- Robie Basak <robie.basak@ubuntu.com> Tue, 05 Apr 2016 15:17:35 +0000
758
759net-snmp (5.7.3+dfsg-1ubuntu3) xenial; urgency=medium
760
761 * Rebuild for Perl 5.22.1.
762
763 -- Colin Watson <cjwatson@ubuntu.com> Fri, 18 Dec 2015 01:20:38 +0000
764
765net-snmp (5.7.3+dfsg-1ubuntu2) wily; urgency=medium
766
767 * debian/snmp.preinst:
768 It turns out that the original motivation why killall was added is gone.
769 So we can just remove the killall introduced by Ubuntu LP #573391
770 (Closes: #781257, LP: #1245604)
771
772 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 09 Oct 2015 13:18:25 +0200
773
774net-snmp (5.7.3+dfsg-1ubuntu1) wily; urgency=medium
775
776 * Resynchronise with Debian. Remaining changes:
777 - Add apport hook.
778 - Avoid installing links in rc[06].d.
779 * Dropped patches included in new version:
780 - debian/patches/00upstream-btrfs.patch
781 - debian/patches/CVE-2012-6151.patch
782 - debian/patches/CVE-2014-2284.patch
783 - debian/patches/CVE-2014-2285.patch
784 * SECURITY UPDATE: denial of service and possible code execution via
785 incompletely parsed varBind variables
786 - debian/patches/CVE-2015-5621.patch: don't return incorrectly parsed
787 varbinds in snmplib/snmp_api.c.
788 - CVE-2015-5621
789
790 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 17 Aug 2015 12:58:43 -0400
791
360net-snmp (5.7.3+dfsg-1) unstable; urgency=medium792net-snmp (5.7.3+dfsg-1) unstable; urgency=medium
361793
362 * Imported Upstream version 5.7.3+dfsg794 * Imported Upstream version 5.7.3+dfsg
@@ -488,6 +920,56 @@ net-snmp (5.7.2.1~dfsg-1) experimental; urgency=medium
488920
489 -- Hideki Yamane <henrich@debian.org> Sun, 30 Mar 2014 19:58:39 +0900921 -- Hideki Yamane <henrich@debian.org> Sun, 30 Mar 2014 19:58:39 +0900
490922
923net-snmp (5.7.2~dfsg-8.1ubuntu5) utopic; urgency=medium
924
925 * Backport from 5.7.2.1~dfsg-6.1:
926 - Fix "hardcodes /usr/lib/perl5":
927 Make debian/libsnmp-perl.install executable and use
928 $Config{vendorarch} to get the perl library directory. Patch from Niko
929 Tyni.
930 (Closes: #751918)
931
932 -- Colin Watson <cjwatson@ubuntu.com> Wed, 20 Aug 2014 11:16:35 +0100
933
934net-snmp (5.7.2~dfsg-8.1ubuntu4) utopic; urgency=medium
935
936 * Rebuild for Perl 5.20.0.
937
938 -- Colin Watson <cjwatson@ubuntu.com> Wed, 20 Aug 2014 00:21:26 +0100
939
940net-snmp (5.7.2~dfsg-8.1ubuntu3) trusty; urgency=medium
941
942 * SECURITY UPDATE: denial of service via AgentX subagent timeout
943 - debian/patches/CVE-2012-6151.patch: track cancelled sessions in
944 agent/mibgroup/agentx/{master.c,master_admin.c}, agent/snmp_agent.c,
945 include/net-snmp/agent/snmp_agent.h.
946 - CVE-2012-6151
947 * SECURITY UPDATE: denial of service when ICMP-MIB is in use
948 - debian/patches/CVE-2014-2284.patch: fix ICMP mib table handling in
949 agent/mibgroup/mibII/icmp.c, agent/mibgroup/mibII/kernel_linux.*.
950 - CVE-2014-2284
951 * SECURITY UPDATE: denial of service in perl trap handler
952 - debian/patches/CVE-2014-2285.patch: handle empty community string in
953 perl/TrapReceiver/TrapReceiver.xs.
954 - CVE-2014-2285
955
956 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 08 Apr 2014 08:17:14 -0400
957
958net-snmp (5.7.2~dfsg-8.1ubuntu2) trusty; urgency=medium
959
960 * Add 00upstream-btrfs.patch: Add btrfs support to hrFSTable. Cherrypicked
961 from upstream, by way of Nafallo Bjälevik. Thanks! (LP: #1289503)
962
963 -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 12 Mar 2014 13:24:18 +0100
964
965net-snmp (5.7.2~dfsg-8.1ubuntu1) trusty; urgency=low
966
967 * Resynchronise with Debian. Remaining changes:
968 - Add apport hook.
969 - Avoid installing links in rc[06].d.
970
971 -- Colin Watson <cjwatson@ubuntu.com> Tue, 29 Oct 2013 06:29:46 -0700
972
491net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low973net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low
492974
493 * Non-maintainer upload.975 * Non-maintainer upload.
@@ -497,6 +979,25 @@ net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low
497979
498 -- Laurent Bigonville <bigon@debian.org> Sat, 13 Jul 2013 17:13:09 +0200980 -- Laurent Bigonville <bigon@debian.org> Sat, 13 Jul 2013 17:13:09 +0200
499981
982net-snmp (5.7.2~dfsg-8ubuntu2) trusty; urgency=low
983
984 * Rebuild for Perl 5.18.
985
986 -- Colin Watson <cjwatson@ubuntu.com> Mon, 21 Oct 2013 12:30:05 +0100
987
988net-snmp (5.7.2~dfsg-8ubuntu1) saucy; urgency=low
989
990 * Merge from Debian unstable (LP: #1200516). Remaining changes:
991 + Add apport hook (LP: #533603):
992 - debian/source.apport: apport hook
993 - debian/control: Build-depends on dh-apport.
994 - debian/rules:
995 + Add --with apport.
996 + override_dh_apport to install hook on snmpd package only.
997 * Call dh_installinit correctly to avoid installing links in rc[06].d
998
999 -- Yolanda Robla <yolanda.robla@canonical.com> Fri, 12 Jul 2013 09:47:12 +0200
1000
500net-snmp (5.7.2~dfsg-8) unstable; urgency=low1001net-snmp (5.7.2~dfsg-8) unstable; urgency=low
5011002
502 * add libsnmp-perl.preinst to deal with empty directory by libsnmp151003 * add libsnmp-perl.preinst to deal with empty directory by libsnmp15
@@ -545,6 +1046,18 @@ net-snmp (5.7.2~dfsg-5) unstable; urgency=low
5451046
546 -- Hideki Yamane <henrich@debian.org> Sun, 19 May 2013 23:09:52 +09001047 -- Hideki Yamane <henrich@debian.org> Sun, 19 May 2013 23:09:52 +0900
5471048
1049net-snmp (5.7.2~dfsg-4ubuntu1) saucy; urgency=low
1050
1051 * Merge from Debian unstable. Remaining changes:
1052 - debian/rules: Don't stop service in runlevels 0 and 6.
1053 - debian/snmpd.init: LSBify the init script.
1054 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1055 by snmp user before install/uninstall.
1056 - Add apport hook.
1057 * debian/patches/ubuntu-fix-lp-587828.patch: Drop. Fixed upstream.
1058
1059 -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 16 May 2013 21:01:27 -0400
1060
548net-snmp (5.7.2~dfsg-4) unstable; urgency=low1061net-snmp (5.7.2~dfsg-4) unstable; urgency=low
5491062
550 * debian/snmpd.{init,default,postinst}1063 * debian/snmpd.{init,default,postinst}
@@ -725,6 +1238,20 @@ net-snmp (5.7.2~dfsg-1~0.1) experimental; urgency=low
7251238
726 -- Hideki Yamane <henrich@debian.org> Sun, 27 Jan 2013 11:57:29 +09001239 -- Hideki Yamane <henrich@debian.org> Sun, 27 Jan 2013 11:57:29 +0900
7271240
1241net-snmp (5.4.3~dfsg-2.7ubuntu1) raring; urgency=low
1242
1243 * Merge from Debian unstable. Remaining changes:
1244 - debian/rules: Don't stop service in runlevels 0 and 6.
1245 - debian/snmpd.init: LSBify the init script.
1246 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1247 by snmp user before install/uninstall.
1248 - Add apport hook.
1249 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1250 arches
1251 - debian/{control,rules}: Use dh_python2
1252
1253 -- Logan Rosen <logatronico@gmail.com> Tue, 04 Dec 2012 16:57:00 -0500
1254
728net-snmp (5.4.3~dfsg-2.7) unstable; urgency=low1255net-snmp (5.4.3~dfsg-2.7) unstable; urgency=low
7291256
730 * Non-maintainer upload.1257 * Non-maintainer upload.
@@ -741,6 +1268,35 @@ net-snmp (5.4.3~dfsg-2.6) unstable; urgency=low
7411268
742 -- David Prévot <taffit@debian.org> Sun, 18 Nov 2012 09:24:30 -04001269 -- David Prévot <taffit@debian.org> Sun, 18 Nov 2012 09:24:30 -0400
7431270
1271net-snmp (5.4.3~dfsg-2.5ubuntu1) quantal; urgency=low
1272
1273 * Merge from Debian unstable. Remaining changes:
1274 - debian/rules: Don't stop service in runlevels 0 and 6.
1275 - debian/snmpd.init: LSBify the init script.
1276 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1277 by snmp user before install/uninstall.
1278 - Add apport hook.
1279 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1280 arches
1281 - debian/{control,rules}: Use dh_python2
1282 * Dropped changes:
1283 - debian/patches/50_use_bash.patch: Patch wasn't actually being
1284 applied, and upstream apparently fixed this in 5.4.2.
1285 - debian/patches/52_fix_snmpcmd_1_typo.patch: Patch wasn't actually
1286 being applied, and fix is included in 56_manpage.patch.
1287 - debian/snmpd.postinst: Source debconf before doing work: included in
1288 debian package now.
1289 - debian/patches/99-fix-ubuntu-div0.patch: wasn't applied.
1290 - debian/patches/CVE-2008-6123.*: wasn't applied.
1291 - debian/patches/CVE-2012-2141.patch: use debian's patch.
1292 - debian/README.Debian-source: this change is irrelevant since we
1293 use the debian tarball as-is.
1294 - debian/rules: removed misc irrelevant and undocumented changes.
1295 - debian/snmpd.postinst: no longer need to remove shutdown and reboot
1296 links since this is from Maverick-era.
1297
1298 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 20 Jun 2012 09:45:11 -0400
1299
744net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium1300net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium
7451301
746 * Non-maintainer upload by the Security Team.1302 * Non-maintainer upload by the Security Team.
@@ -756,6 +1312,34 @@ net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium
7561312
757 -- Luk Claes <luk@debian.org> Sun, 27 May 2012 17:22:01 +02001313 -- Luk Claes <luk@debian.org> Sun, 27 May 2012 17:22:01 +0200
7581314
1315net-snmp (5.4.3~dfsg-2.4ubuntu2) quantal; urgency=low
1316
1317 * SECURITY UPDATE: denial of service via SNMP GET with non-existent
1318 extension table entry
1319 - debian/patches/CVE-2012-2141.patch: validate line_idx in
1320 agent/mibgroup/agent/extend.c.
1321 - CVE-2012-2141
1322
1323 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 22 May 2012 16:30:48 -0400
1324
1325net-snmp (5.4.3~dfsg-2.4ubuntu1) precise; urgency=low
1326
1327 * Merge from Debian testing. Remaining changes:
1328 - net-snmp-config: Use bash.
1329 - Removed multiuser option when calling update-rc.d.
1330 - debian/snmpd.init: LSBify the init script.
1331 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
1332 snmpcmd.1.
1333 - debian/snmpd.postinst: Source debconf before doing work.
1334 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1335 by snmp user before install/uninstall.
1336 - Add apport hook.
1337 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1338 arches
1339 - debian/rules: Use dh_python2
1340
1341 -- Chuck Short <zulcss@ubuntu.com> Mon, 23 Jan 2012 09:44:25 -0500
1342
759net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low1343net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low
7601344
761 * Non-maintainer upload.1345 * Non-maintainer upload.
@@ -769,6 +1353,35 @@ net-snmp (5.4.3~dfsg-2.4) unstable; urgency=low
7691353
770 -- Christian Perrier <bubulle@debian.org> Mon, 19 Dec 2011 07:34:31 +01001354 -- Christian Perrier <bubulle@debian.org> Mon, 19 Dec 2011 07:34:31 +0100
7711355
1356net-snmp (5.4.3~dfsg-2.3ubuntu3) precise; urgency=low
1357
1358 * Build using dh_python2.
1359
1360 -- Matthias Klose <doko@ubuntu.com> Wed, 14 Dec 2011 15:48:05 +0100
1361
1362net-snmp (5.4.3~dfsg-2.3ubuntu2) precise; urgency=low
1363
1364 * Rebuild for Perl 5.14.
1365
1366 -- Colin Watson <cjwatson@ubuntu.com> Tue, 15 Nov 2011 20:49:15 +0000
1367
1368net-snmp (5.4.3~dfsg-2.3ubuntu1) precise; urgency=low
1369
1370 * Merge from debian unstable. Remaining changes:
1371 - net-snmp-config: Use bash.
1372 - Removed multiuser option when calling update-rc.d.
1373 - debian/snmpd.init: LSBify the init script.
1374 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
1375 snmpcmd.1.
1376 - debian/snmpd.postinst: Source debconf before doing work.
1377 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1378 by snmp user before install/uninstall.
1379 - Add apport hook.
1380 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1381 arches.
1382
1383 -- Chuck Short <zulcss@ubuntu.com> Sat, 27 Aug 2011 18:10:55 +0000
1384
772net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low1385net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low
7731386
774 * Non-maintainer upload.1387 * Non-maintainer upload.
@@ -778,6 +1391,23 @@ net-snmp (5.4.3~dfsg-2.3) unstable; urgency=low
7781391
779 -- Stephen Gran <sgran@debian.org> Sat, 27 Aug 2011 09:10:09 +00001392 -- Stephen Gran <sgran@debian.org> Sat, 27 Aug 2011 09:10:09 +0000
7801393
1394net-snmp (5.4.3~dfsg-2.2ubuntu1) oneiric; urgency=low
1395
1396 * Resynchronise with Debian (LP: #780149). Remaining changes:
1397 - net-snmp-config: Use bash.
1398 - Removed multiuser option when calling update-rc.d.
1399 - debian/snmpd.init: LSBify the init script.
1400 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in
1401 snmpcmd.1.
1402 - debian/snmpd.postinst: Source debconf before doing work.
1403 - debian/snmp.preinst, debian/snmp.prerm: Kill any/all processes owned
1404 by snmp user before install/uninstall.
1405 - Add apport hook.
1406 - debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit
1407 arches.
1408
1409 -- Colin Watson <cjwatson@ubuntu.com> Tue, 10 May 2011 06:14:05 +0100
1410
781net-snmp (5.4.3~dfsg-2.2) unstable; urgency=high1411net-snmp (5.4.3~dfsg-2.2) unstable; urgency=high
7821412
783 * Non-maintainer upload.1413 * Non-maintainer upload.
@@ -802,6 +1432,35 @@ net-snmp (5.4.3~dfsg-2.1) unstable; urgency=high
8021432
803 -- Cyril Brulebois <kibi@debian.org> Sat, 07 May 2011 12:14:26 +02001433 -- Cyril Brulebois <kibi@debian.org> Sat, 07 May 2011 12:14:26 +0200
8041434
1435net-snmp (5.4.3~dfsg-2ubuntu2) oneiric; urgency=low
1436
1437 * Rebuild for Perl 5.12.
1438
1439 -- Colin Watson <cjwatson@ubuntu.com> Sat, 07 May 2011 23:29:06 +0100
1440
1441net-snmp (5.4.3~dfsg-2ubuntu1) natty; urgency=low
1442
1443 * Merge from debian unstable. Remaining changes:
1444 - Set Ubuntu maintainer address.
1445 - net-snmp-config: Use bash (LP: #104738)
1446 - Removed multiuser option when calling update-rc.d (LP: #254261)
1447 - debian/snmpd.init: LSBify the init script.
1448 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
1449 (LP: #250459)
1450 - debian/snmpd.postinst: source debconf before doing work. (LP: #589056)
1451 - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
1452 snmp user before install/uninstall (LP: #573391)
1453 - Add apport hook (LP: #533603):
1454 - debian/control: Build-depends on dh-apport.
1455 - debian/rules:
1456 + Add --with apport.
1457 + override_dh_apport to install hook on snmpd package only.
1458 - debian/patches/ubntu-fix-lp-58728.patch: Fix row creation for 64bit
1459 arches. (LP: #587828)
1460 - Fix build failures with ld --no-add-needed.
1461
1462 -- Chuck Short <zulcss@ubuntu.com> Thu, 06 Jan 2011 00:35:28 +0000
1463
805net-snmp (5.4.3~dfsg-2) unstable; urgency=high1464net-snmp (5.4.3~dfsg-2) unstable; urgency=high
8061465
807 * Add libperl-dev to libsnmp-dev dependencies (Closes: #608794)1466 * Add libperl-dev to libsnmp-dev dependencies (Closes: #608794)
@@ -811,6 +1470,55 @@ net-snmp (5.4.3~dfsg-2) unstable; urgency=high
8111470
812 -- Jochen Friedrich <jochen@scram.de> Wed, 05 Jan 2011 13:03:32 +01001471 -- Jochen Friedrich <jochen@scram.de> Wed, 05 Jan 2011 13:03:32 +0100
8131472
1473net-snmp (5.4.3~dfsg-1ubuntu5) natty; urgency=low
1474
1475 * Fix build failure with ld --no-add-needed.
1476
1477 -- Matthias Klose <doko@ubuntu.com> Fri, 03 Dec 2010 23:45:33 +0000
1478
1479net-snmp (5.4.3~dfsg-1ubuntu4) natty; urgency=low
1480
1481 * Rebuild to add support for python 2.7.
1482
1483 -- Matthias Klose <doko@ubuntu.com> Fri, 03 Dec 2010 00:05:05 +0000
1484
1485net-snmp (5.4.3~dfsg-1ubuntu3) maverick; urgency=low
1486
1487 * debian/patches/ubuntu-fix-lp-587828.patch: Fix row creation for 64bit arches.
1488 (LP: #587828)
1489
1490 -- Chuck Short <zulcss@ubuntu.com> Wed, 25 Aug 2010 10:18:45 -0400
1491
1492net-snmp (5.4.3~dfsg-1ubuntu2) maverick; urgency=low
1493
1494 * No-change rebuild against current debhelper to drop sizable upstream
1495 changelog.
1496
1497 -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 02 Aug 2010 08:34:07 +0200
1498
1499net-snmp (5.4.3~dfsg-1ubuntu1) maverick; urgency=low
1500
1501 * Merge from debian unstable. Remaining changes:
1502 - Set Ubuntu maintainer address.
1503 - net-snmp-config: Use bash. (LP: #104738)
1504 - Removed multiuser option when calling update-rc.d. (LP: #254261)
1505 - debian/snmpd.init: LSBify the init script.
1506 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
1507 (LP: #250459)
1508 - debian/snmpd.postinst: source debconf before doing work, LP: #589056
1509 - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
1510 snmp user before install/uninstall, LP: #573391
1511 - Add apport hook (LP: #533603):
1512 - debian/{snmp,snmpd}.apport: Added.
1513 - debian/control: Build-depends on dh-apport.
1514 - debian/rules:
1515 + Add --with apport.
1516 + override_dh_apport to install hook on snmpd package only.
1517 * Dropped patches:
1518 - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero..
1519
1520 -- Chuck Short <zulcss@ubuntu.com> Mon, 28 Jun 2010 14:59:36 -0400
1521
814net-snmp (5.4.3~dfsg-1) unstable; urgency=low1522net-snmp (5.4.3~dfsg-1) unstable; urgency=low
8151523
816 * New upstream version (Closes: #559109)1524 * New upstream version (Closes: #559109)
@@ -868,6 +1576,73 @@ net-snmp (5.4.2.1~dfsg-4) unstable; urgency=low
8681576
869 -- Jochen Friedrich <jochen@scram.de> Tue, 01 Dec 2009 18:40:38 +01001577 -- Jochen Friedrich <jochen@scram.de> Tue, 01 Dec 2009 18:40:38 +0100
8701578
1579net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu4) maverick; urgency=low
1580
1581 * debian/snmpd.postinst: source debconf before doing work, LP: #589056
1582 * debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
1583 snmp user before install/uninstall, LP: #573391
1584
1585 -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 22 Jun 2010 14:04:48 -0500
1586
1587net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu3) maverick; urgency=low
1588
1589 * SECURITY UPDATE: access restriction bypass
1590 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516801
1591 - http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=rev&revision=17367
1592 - CVE-2008-6123
1593
1594 -- Corey Wright <undefined@pobox.com> Mon, 31 May 2010 00:00:29 -0500
1595
1596net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu2) lucid; urgency=low
1597
1598 * Add apport hook (LP: #533603):
1599 - debian/{snmp,snmpd}.apport: Added.
1600 - debian/control: Build-depends on dh-apport.
1601 - debian/rules:
1602 + Add --with apport.
1603 + override_dh_apport to install hook on snmpd package only.
1604
1605 -- Andres Rodriguez <andreserl@ubuntu.com> Sun, 28 Mar 2010 00:25:13 -0400
1606
1607net-snmp (5.4.2.1~dfsg0ubuntu1-0ubuntu1) lucid; urgency=low
1608
1609 * Repackage upstream tarball to re-add the MIBs: even if they are not
1610 modifiable (which is questionable), this is not a reason to keep them
1611 out of Ubuntu main.
1612 * Revert the changes to prompt about MIB downloads.
1613 * Call dh_installinit correctly to avoid installing links in rc[06].d
1614 * Temporarily re-add postinst snippet to clean up rc[06].d links left by
1615 the previous upload.
1616 * Fix egg name listed in debian/rules, apparently needed to fix another
1617 build failure.
1618
1619 -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 12 Dec 2009 00:05:34 -0800
1620
1621net-snmp (5.4.2.1~dfsg-3ubuntu2) lucid; urgency=low
1622
1623 * Fix FTBFS.
1624
1625 -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Nov 2009 13:20:26 -0500
1626
1627net-snmp (5.4.2.1~dfsg-3ubuntu1) lucid; urgency=low
1628
1629 * Merge from debian testing. Remaining changes:
1630 - Set Ubuntu maintainer address.
1631 - net-snmp-config: Use bash. (LP: #104738)
1632 - Removed multiuser option when calling update-rc.d. (LP: #254261)
1633 - debian/snmpd.init: LSBify the init script.
1634 - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
1635 (LP: #250459)
1636 - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.
1637 (LP: #426813).
1638 * Dropped patches:
1639 - debian/patches/101-fix-ipalias.patch: Applied upstream.
1640 - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream.
1641 - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream.
1642 - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed.
1643
1644 -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Nov 2009 01:27:00 +0000
1645
871net-snmp (5.4.2.1~dfsg-3) unstable; urgency=low1646net-snmp (5.4.2.1~dfsg-3) unstable; urgency=low
8721647
873 * Fix typo in NEWS.1648 * Fix typo in NEWS.
@@ -932,6 +1707,67 @@ net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low
9321707
933 -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 18:29:10 +01001708 -- Jochen Friedrich <jochen@scram.de> Mon, 09 Nov 2009 18:29:10 +0100
9341709
1710net-snmp (5.4.1~dfsg-12ubuntu7) karmic; urgency=low
1711
1712 * debian/patches/99-fix-ubuntu-div0.patch: Fix division by zero.
1713 (LP: #426813).
1714
1715 -- Chuck Short <zulcss@ubuntu.com> Mon, 28 Sep 2009 14:02:16 -0400
1716
1717net-snmp (5.4.1~dfsg-12ubuntu6) karmic; urgency=low
1718
1719 * debian/patches/101-fix-ipalias.patch : Fix flooding syslog -
1720 Syslog fills with hundreds of these errors if you have a network
1721 interface, e.g. eth2, with no IP address, but you have an alias,
1722 e.g. eth2:1, that does have an IP address (and netmask).
1723 (LP: #270713)
1724 * debian/patches/103-fix-ubuntu-lmsensors.patch: Point to the right
1725 place for /etc/sensors3.conf. (LP: #192745)
1726
1727 -- Chuck Short <zulcss@ubuntu.com> Mon, 14 Sep 2009 12:19:41 -0400
1728
1729net-snmp (5.4.1~dfsg-12ubuntu5) karmic; urgency=low
1730
1731 * debian/patches/99-fix-perl-counter-in-subagent.patch: Fix for Counter64 in
1732 perl subagent. (LP: #406171)
1733
1734 -- Chuck Short <zulcss@ubuntu.com> Fri, 04 Sep 2009 12:10:01 -0500
1735
1736net-snmp (5.4.1~dfsg-12ubuntu4) karmic; urgency=low
1737
1738 * debian/patches/99-fix-net-snmp-syslog.patch: Fixes "invalid syslog facility".
1739 (LP: #369577)
1740
1741 -- Chuck Short <zulcss@ubuntu.com> Wed, 24 Jun 2009 14:44:51 -0400
1742
1743net-snmp (5.4.1~dfsg-12ubuntu3) jaunty; urgency=low
1744
1745 * No-change rebuild to fix lpia shared library dependencies.
1746
1747 -- Colin Watson <cjwatson@ubuntu.com> Thu, 19 Mar 2009 13:00:18 +0000
1748
1749net-snmp (5.4.1~dfsg-12ubuntu2) jaunty; urgency=low
1750
1751 * Python 2.6 transition, debian/rules (LP: #338556):
1752 - Include /usr/share/python/python.mk.
1753 - Use py_sitename and py_setup_install_args macros to install all python
1754 stuffs in the right places (/usr/lib/python*/*-packages/) and rebuild.
1755
1756 -- Alessio Treglia <quadrispro@ubuntu.com> Thu, 12 Mar 2009 00:38:57 +0100
1757
1758net-snmp (5.4.1~dfsg-12ubuntu1) jaunty; urgency=low
1759
1760 * Merge from debian unstable, remaining changes:
1761 - Set Ubuntu maintainer address.
1762 - net-snmp-config: Use bash. LP: #104738)
1763 * Removed multiuser option when calling update-rc.d (LP: #254261).
1764 * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1
1765 (LP: #250459)
1766 * debian/snmp.init: LSBify the snmpd.init script. Add status notification,
1767 based on initial patch by Gary Coady. (LP: #43575)
1768
1769 -- Chuck Short <zulcss@ubuntu.com> Wed, 17 Dec 2008 00:58:14 +0000
1770
935net-snmp (5.4.1~dfsg-12) unstable; urgency=high1771net-snmp (5.4.1~dfsg-12) unstable; urgency=high
9361772
937 * Urgency high because of RC bug fix.1773 * Urgency high because of RC bug fix.
@@ -942,6 +1778,21 @@ net-snmp (5.4.1~dfsg-12) unstable; urgency=high
9421778
943 -- Jochen Friedrich <jochen@scram.de> Tue, 16 Dec 2008 15:29:28 +01001779 -- Jochen Friedrich <jochen@scram.de> Tue, 16 Dec 2008 15:29:28 +0100
9441780
1781net-snmp (5.4.1~dfsg-11ubuntu1) jaunty; urgency=low
1782
1783 * Merge from debian unstable, remaining changes:
1784 - Set Ubuntu maintainer address.
1785 - net-snmp-config. Use bash (LP: #104738)
1786 * Removed multiuser option when calling update-rc.d (LP: #254261).
1787 * debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcd.1
1788 (LP: #250459)
1789 * debian/snmp.init: LSBify the snmpd.init script. Add status notification,
1790 based on inital patch by Gary Coady. (LP: #43575)
1791 * Dropped debian/patches/51_CVE-2008-0960.patch: Use debian's instead.
1792 * Dropped debian/patches/54_fix_registration_error.patch: Use debian's instead.
1793
1794 -- Chuck Short <zulcss@ubuntu.com> Wed, 05 Nov 2008 02:59:05 +0000
1795
945net-snmp (5.4.1~dfsg-11) unstable; urgency=high1796net-snmp (5.4.1~dfsg-11) unstable; urgency=high
9461797
947 * This update fixes the following security issue:1798 * This update fixes the following security issue:
@@ -989,6 +1840,69 @@ net-snmp (5.4.1~dfsg-8) unstable; urgency=low
9891840
990 -- Jochen Friedrich <jochen@scram.de> Tue, 03 Jun 2008 13:06:57 +02001841 -- Jochen Friedrich <jochen@scram.de> Tue, 03 Jun 2008 13:06:57 +0200
9911842
1843net-snmp (5.4.1~dfsg-7.1ubuntu6) intrepid; urgency=low
1844
1845 * debian/snmpd.init: Fix snmpd script error. (LP: #270961)
1846
1847 -- Chuck Short <zulcss@ubuntu.com> Mon, 22 Sep 2008 14:18:08 -0400
1848
1849net-snmp (5.4.1~dfsg-7.1ubuntu5) intrepid; urgency=low
1850
1851 * debian/snmpd.init: LSBify the snmpd.init script. And add status
1852 notification, based on inital patch by Gary Coady. (LP: #43575)
1853 * debian/patches/54_fix_registration_error.patch: Surpresses annoying
1854 registrations in startup. (LP: #200614)
1855
1856 -- Chuck Short <zulcss@ubuntu.com> Fri, 12 Sep 2008 13:21:40 -0400
1857
1858net-snmp (5.4.1~dfsg-7.1ubuntu4) intrepid; urgency=low
1859
1860 * Fix lsb headers in init script: stop in single user mode
1861 (LP: #254261).
1862
1863 -- Mathias Gug <mathiaz@ubuntu.com> Thu, 21 Aug 2008 23:07:59 -0400
1864
1865net-snmp (5.4.1~dfsg-7.1ubuntu3) intrepid; urgency=low
1866
1867 [ Salvatore Palma ]
1868 * Add 52_fix_snmpcmd_1_typo.patch patch to adjust a typo in
1869 snmpcmd.1 (LP: #250459).
1870
1871 [ Mathias Gug ]
1872 * Remove multiuser option when calling update-rc.d. (LP: #254261).
1873
1874 -- Mathias Gug <mathiaz@ubuntu.com> Tue, 12 Aug 2008 23:03:05 -0400
1875
1876net-snmp (5.4.1~dfsg-7.1ubuntu2) intrepid; urgency=low
1877
1878 * SECURITY UPDATE: HMAC authentication spoofing.
1879 * debian/patches/51_CVE-2008-0960.patch: fixes HMAC authentication spoofing.
1880 * debian/patches/52_use_right_config_file.patch: Use the right configuration
1881 file for lmsensors. (LP: #192745)
1882
1883 -- Chuck Short <zulcss@ubuntu.com> Mon, 16 Jun 2008 15:47:18 +0000
1884
1885net-snmp (5.4.1~dfsg-7.1ubuntu1) intrepid; urgency=low
1886
1887 * Merge from debian unstable, remaining changes:
1888 - Set Ubuntu maintainer address.
1889 - net-snmp-config: Use bash. LP: #104738.
1890 - Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to
1891 libsnmp-base to avoid file confict on dapper->hardy upgrades.
1892 (LP: #203610)
1893
1894 -- Chuck Short <zulcss@ubuntu.com> Tue, 27 May 2008 13:06:56 -0500
1895
1896net-snmp (5.4.1~dfsg-7.1) unstable; urgency=high
1897
1898 * Non-maintainer upload by the Security Team.
1899 * Fix buffer overflow in the python and perl module (__snprint_value
1900 function)that can be exploited via large OCTETSTRING in an
1901 attribute value pair (AVP) leading to arbitrary code
1902 execution (CVE-2008-2292; Closes: #482333).
1903
1904 -- Nico Golde <nion@debian.org> Sat, 24 May 2008 13:12:16 +0200
1905
992net-snmp (5.4.1~dfsg-7) unstable; urgency=low1906net-snmp (5.4.1~dfsg-7) unstable; urgency=low
9931907
994 * Add some more Conflicts: and Replaces: magic to allow moving1908 * Add some more Conflicts: and Replaces: magic to allow moving
@@ -1024,6 +1938,41 @@ net-snmp (5.4.1~dfsg-5) unstable; urgency=low
10241938
1025 -- Jochen Friedrich <jochen@scram.de> Fri, 28 Dec 2007 12:43:21 +01001939 -- Jochen Friedrich <jochen@scram.de> Fri, 28 Dec 2007 12:43:21 +0100
10261940
1941net-snmp (5.4.1~dfsg-4ubuntu4) hardy; urgency=low
1942
1943 * Add missing Replaces: libsnmp9-dev (<< 5.4~dfsg) to
1944 libsnmp-base to avoid file confict on dapper->hardy upgrades
1945 (LP: #203610)
1946
1947 -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 18 Mar 2008 17:47:13 +0100
1948
1949net-snmp (5.4.1~dfsg-4ubuntu3) hardy; urgency=low
1950
1951 * Rebuild with recent python-central.
1952 * Set Ubuntu maintainer address.
1953
1954 -- Matthias Klose <doko@ubuntu.com> Mon, 10 Mar 2008 12:46:06 +0000
1955
1956net-snmp (5.4.1~dfsg-4ubuntu2) hardy; urgency=low
1957
1958 * net-snmp-config: Use bash. LP: #104738.
1959
1960 -- Matthias Klose <doko@ubuntu.com> Wed, 06 Feb 2008 14:45:12 +0000
1961
1962net-snmp (5.4.1~dfsg-4ubuntu1) hardy; urgency=low
1963
1964 * Merge from debian unstable.
1965 * Remaining Ubuntu changes:
1966 - Remove stop links from rc0 and rc6
1967 - Munge Maintainer field as per spec.
1968 * Ubuntu changes dropped:
1969 - Symlink common files between the packages, CDBS ought to handle that
1970 for us automatically.
1971 * The latest Debian changes has dropped history from the changelog. Slot in
1972 the Ubuntu changes as best I can.
1973
1974 -- Steve Kowalik <stevenk@ubuntu.com> Sat, 08 Dec 2007 14:59:50 +1100
1975
1027net-snmp (5.4.1~dfsg-4) unstable; urgency=low1976net-snmp (5.4.1~dfsg-4) unstable; urgency=low
10281977
1029 * Do it right this time.1978 * Do it right this time.
@@ -1111,6 +2060,30 @@ net-snmp (5.4~dfsg-1) experimental; urgency=low
11112060
1112 -- Jochen Friedrich <jochen@scram.de> Fri, 13 Apr 2007 16:16:02 +02002061 -- Jochen Friedrich <jochen@scram.de> Fri, 13 Apr 2007 16:16:02 +0200
11132062
2063net-snmp (5.3.1-6ubuntu2) gutsy; urgency=low
2064
2065 * Do not install the upstream changelog in libsnmp10 and libsnmp-base.
2066 * Symlink files common in libsnmp10 and libsnmp-base.
2067
2068 -- Matthias Klose <doko@ubuntu.com> Fri, 05 Oct 2007 14:55:58 +0200
2069
2070net-snmp (5.3.1-6ubuntu1) gutsy; urgency=low
2071
2072 * Merge from Debian unstable.
2073 * Remaining Ubuntu changes:
2074 - Remove stop links from rc0 and rc6
2075 - Munge Maintainer field as per spec.
2076
2077 -- Steve Kowalik <stevenk@ubuntu.com> Wed, 23 May 2007 08:58:46 +1000
2078
2079net-snmp (5.3.1-5ubuntu1) gutsy; urgency=low
2080
2081 * Merge from Debian unstable.
2082 * Remaining Ubuntu changes:
2083 - Remove stop links from rc0 and rc6
2084 * Munge Maintainer field as per spec.
2085
2086 -- Steve Kowalik <stevenk@ubuntu.com> Thu, 10 May 2007 22:20:23 +1000
11142087
1115net-snmp (5.3.1-3) unstable; urgency=low2088net-snmp (5.3.1-3) unstable; urgency=low
11162089
@@ -1167,6 +2140,19 @@ net-snmp (5.3.1-1) experimental; urgency=low
11672140
1168 -- Jochen Friedrich <jochen@scram.de> Wed, 26 Jul 2006 12:08:46 +02002141 -- Jochen Friedrich <jochen@scram.de> Wed, 26 Jul 2006 12:08:46 +0200
11692142
2143net-snmp (5.2.3-4ubuntu1) feisty; urgency=low
2144
2145 * Merge from debian unstable, remaining changes:
2146 - remove stop links from rc0 and rc6
2147
2148 -- Scott James Remnant <scott@ubuntu.com> Tue, 28 Nov 2006 12:29:34 +0000
2149
2150net-snmp (5.2.2-5ubuntu1) edgy; urgency=low
2151
2152 * Remove stop script symlinks from rc0 and rc6.
2153
2154 -- Scott James Remnant <scott@ubuntu.com> Fri, 15 Sep 2006 17:32:44 +0100
2155
1170net-snmp (5.2.2-4) unstable; urgency=low2156net-snmp (5.2.2-4) unstable; urgency=low
11712157
1172 * Add French translation. Thanks to Thomas Huriaux2158 * Add French translation. Thanks to Thomas Huriaux
diff --git a/debian/control b/debian/control
index 4dbbd59..b746bbc 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: net-snmp1Source: net-snmp
2Section: net2Section: net
3Priority: optional3Priority: optional
4Maintainer: Debian SNMP Team <team+snmp@tracker.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian SNMP Team <team+snmp@tracker.debian.org>
5Uploaders: Craig Small <csmall@debian.org>,6Uploaders: Craig Small <csmall@debian.org>,
6 Thomas Anders <tanders@users.sourceforge.net>,7 Thomas Anders <tanders@users.sourceforge.net>,
7 Noah Meyerhans <noahm@debian.org>8 Noah Meyerhans <noahm@debian.org>
@@ -12,8 +13,8 @@ Build-Depends: debhelper-compat (= 12),
12 pkg-config,13 pkg-config,
13 libbsd-dev [kfreebsd-i386 kfreebsd-amd64],14 libbsd-dev [kfreebsd-i386 kfreebsd-amd64],
14 libkvm-dev [kfreebsd-i386 kfreebsd-amd64],15 libkvm-dev [kfreebsd-i386 kfreebsd-amd64],
15 libsensors-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],16 libsensors4-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
16 default-libmysqlclient-dev, libpci-dev17 default-libmysqlclient-dev, libpci-dev, dh-apport
17Build-Conflicts: libsnmp-dev18Build-Conflicts: libsnmp-dev
18Standards-Version: 4.6.019Standards-Version: 4.6.0
19Vcs-Git: https://salsa.debian.org/debian/net-snmp.git20Vcs-Git: https://salsa.debian.org/debian/net-snmp.git
diff --git a/debian/patches/lp1945960-Fix-the-build-against-OpenSSL-3.0.patch b/debian/patches/lp1945960-Fix-the-build-against-OpenSSL-3.0.patch
20new file mode 10064421new file mode 100644
index 0000000..4afd89b
--- /dev/null
+++ b/debian/patches/lp1945960-Fix-the-build-against-OpenSSL-3.0.patch
@@ -0,0 +1,33 @@
1From 19e75743173cb8d49d49fd685b8e0249e83cc820 Mon Sep 17 00:00:00 2001
2From: Bart Van Assche <bvanassche@acm.org>
3Date: Wed, 8 Sep 2021 20:39:42 -0700
4Subject: [PATCH] libsnmp: Fix the build against OpenSSL 3.0
5Origin: https://github.com/net-snmp/net-snmp/commit/19e75743173cb8d49d49fd685b8e0249e83cc820
6
7Fixes: https://github.com/net-snmp/net-snmp/issues/343
8
9Bug: https://github.com/net-snmp/net-snmp/issues/343
10Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1945960
11---
12 snmplib/snmp_openssl.c | 5 +++++
13 1 file changed, 5 insertions(+)
14
15diff --git a/snmplib/snmp_openssl.c b/snmplib/snmp_openssl.c
16index c092a007a..eb4856c57 100644
17--- a/snmplib/snmp_openssl.c
18+++ b/snmplib/snmp_openssl.c
19@@ -899,6 +899,11 @@ netsnmp_openssl_cert_issued_by(X509 *issuer, X509 *cert)
20
21
22 #ifndef NETSNMP_FEATURE_REMOVE_OPENSSL_ERR_LOG
23+#ifndef ERR_GET_FUNC
24+/* removed in OpenSSL 3.0 */
25+#define ERR_GET_FUNC(e) -1
26+#endif
27+
28 void
29 netsnmp_openssl_err_log(const char *prefix)
30 {
31--
322.32.0
33
diff --git a/debian/patches/lp1945960-configure-static-linking-Fix-SSL-checks.patch b/debian/patches/lp1945960-configure-static-linking-Fix-SSL-checks.patch
0new file mode 10064434new file mode 100644
index 0000000..3002611
--- /dev/null
+++ b/debian/patches/lp1945960-configure-static-linking-Fix-SSL-checks.patch
@@ -0,0 +1,66 @@
1From bd59be8e4e339870a1400f6866a7b73ca11f6460 Mon Sep 17 00:00:00 2001
2From: Giulio Benetti <giulio.benetti@micronovasrl.com>
3Date: Wed, 12 Sep 2018 20:16:39 +0200
4Subject: [PATCH] configure, static linking: Fix SSL checks
5Origin: https://github.com/net-snmp/net-snmp/commit/bd59be8e4e339870a1400f6866a7b73ca11f6460
6
7During checking of DTLS_method, the stub program is linked only with -ssl
8libssl.a lacks some function from -lcrypto:
9RAND_*()
10ERR_*()
11BUF_MEM_*()
12etc.
13and -lz:
14- inflate()
15- deflate()
16
17Append -lcrypto and -lz to LIBS variable when checking DTLS_method.
18
19See also https://sourceforge.net/p/net-snmp/patches/1374/.
20
21Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
22[bvanassche: Edited subject / rewrote this patch]
23
24schopin: Dropped the configure part of the patch as Debian/Ubuntu build
25as it didn't apply cleanly and the packaging uses autoreconf anyway.
26
27Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1945960
28---
29 configure | 52 ++++++++++++++++++++++++++++++++++---
30 configure.d/config_os_libs2 | 14 +++++++---
31 2 files changed, 58 insertions(+), 8 deletions(-)
32
33--- a/configure.d/config_os_libs2
34+++ b/configure.d/config_os_libs2
35@@ -302,13 +302,19 @@
36 LIBS="$netsnmp_save_LIBS"
37
38 if test x$CRYPTO = x; then
39- AC_CHECK_LIB([crypto], [EVP_md5], [CRYPTO="crypto"])
40- fi
41+ AC_CHECK_LIB([crypto], [EVP_md5],
42+ [CRYPTO="crypto"; LIBCRYPTO="-lcrypto"], [
43+ AC_CHECK_LIB([crypto], [EVP_md5],
44+ [CRYPTO="crypto"; LIBCRYPTO="-lcrypto -lz"], [],
45+ [-lz])
46+ ])
47+ else
48+ LIBCRYPTO="-l${CRYPTO}"
49+ fi
50
51 if test x$CRYPTO != x; then
52 AC_DEFINE(HAVE_LIBCRYPTO, 1,
53 [Define to 1 if you have the OpenSSL library (-lcrypto or -leay32).])
54- LIBCRYPTO="-l${CRYPTO}"
55 netsnmp_save_LIBS="$LIBS"
56 LIBS="$LIBCRYPTO"
57 AC_CHECK_FUNCS([AES_cfb128_encrypt]dnl
58@@ -338,7 +344,7 @@
59 LIBS="$netsnmp_save_LIBS"
60 fi
61 netsnmp_save_LIBS="$LIBS"
62- LIBS="-lssl"
63+ LIBS="-lssl $LIBCRYPTO"
64 AC_CHECK_FUNCS([TLS_method TLSv1_method DTLS_method DTLSv1_method]dnl
65 [SSL_library_init SSL_load_error_strings]dnl
66 [ERR_get_error_all])
diff --git a/debian/patches/series b/debian/patches/series
index 1898fb2..ebf2173 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -37,3 +37,5 @@ Link-libnetsnmptrapd-against-MYSQL_LIBS.patch
37perl_makefile_man3pods37perl_makefile_man3pods
38ci_libmariadb-dev38ci_libmariadb-dev
39mib2c_perl_error39mib2c_perl_error
40lp1945960-configure-static-linking-Fix-SSL-checks.patch
41lp1945960-Fix-the-build-against-OpenSSL-3.0.patch
diff --git a/debian/rules b/debian/rules
index c04ba0e..d182038 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ MIB_MODULES += host
28endif28endif
2929
30%:30%:
31 dh $@31 dh $@ --with apport
3232
33# The net-snmp Makefiles cannot handle parallel builds33# The net-snmp Makefiles cannot handle parallel builds
34override_dh_auto_build:34override_dh_auto_build:
@@ -89,6 +89,10 @@ override_dh_fixperms-arch:
89 chmod -x debian/libsnmp-dev/etc/snmp/*.conf89 chmod -x debian/libsnmp-dev/etc/snmp/*.conf
90 chmod 600 debian/snmpd/etc/snmp/snmp*d.conf90 chmod 600 debian/snmpd/etc/snmp/snmp*d.conf
9191
92.PHONY: override_dh_apport
93override_dh_apport:
94 dh_apport -psnmpd
95
92override_dh_auto_test:96override_dh_auto_test:
93 # prevent test since it fails with network configuration under pbuilder/etc.97 # prevent test since it fails with network configuration under pbuilder/etc.
94 true98 true
diff --git a/debian/source.apport b/debian/source.apport
95new file mode 10064499new file mode 100644
index 0000000..867fe9e
--- /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, it may contain sensitive information. "
23 "Do you want to include it 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