tag 716805 + patch thanks Le Sat, 13 Jul 2013 17:05:14 +0200, Laurent Bigonville <bi...@debian.org> a écrit :
> Le Sat, 13 Jul 2013 20:22:52 +0900, > Hideki Yamane <henr...@debian.or.jp> a écrit : > > > Hi, > > Hi, > > > On Sat, 13 Jul 2013 01:31:18 +0200 > > Laurent Bigonville <bi...@debian.org> wrote: > > > I've just rebuilt the net-snmp package on ia64 and net-snmp-config > > > --cflags now returns the following flags: > > > > > > -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -O2 -Wformat > > > -Werror=format-security -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux > > > -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe > > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > > -I/usr/lib/perl/5.14/CORE -D_FORTIFY_SOURCE=2 -I. -I/usr/include > > > > > > The package should probably binNMU on ia64 > > > > You mean, it can be solved with just rebuild? If so, please go > > ahead. > > The problem is that the net-snmp-config executable is in an arch:all > package and that it will contains the optimisation flags for the > architecture were it was initially built for. > > net-snmp-config should be moved to libsnmp-dev IMHO. Please find a patch attached to this mail. I could upload this if you want. Cheers Laurent Bigonville
diff -Nru net-snmp-5.7.2~dfsg/debian/changelog net-snmp-5.7.2~dfsg/debian/changelog --- net-snmp-5.7.2~dfsg/debian/changelog 2013-06-06 01:49:21.000000000 +0200 +++ net-snmp-5.7.2~dfsg/debian/changelog 2013-07-13 17:20:03.000000000 +0200 @@ -1,3 +1,12 @@ +net-snmp (5.7.2~dfsg-8.1) unstable; urgency=low + + * Non-maintainer upload. + * Move net-snmp-config to libsnmp-dev package (Closes: #716805) + * Mark libsnmp-base as Multi-Arch: foreign and drop Multi-Arch: same for + libsnmp-dev package (Closes: #708302) + + -- Laurent Bigonville <bi...@debian.org> Sat, 13 Jul 2013 17:13:09 +0200 + net-snmp (5.7.2~dfsg-8) unstable; urgency=low * add libsnmp-perl.preinst to deal with empty directory by libsnmp15 diff -Nru net-snmp-5.7.2~dfsg/debian/control net-snmp-5.7.2~dfsg/debian/control --- net-snmp-5.7.2~dfsg/debian/control 2013-06-06 01:47:56.000000000 +0200 +++ net-snmp-5.7.2~dfsg/debian/control 2013-07-13 17:25:14.000000000 +0200 @@ -51,6 +51,7 @@ Breaks: libsnmp15 (<< 5.7.2~dfsg-5) Depends: ${misc:Depends} Suggests: snmp-mibs-downloader +Multi-Arch: foreign Description: SNMP configuration script, MIBs and documentation The Simple Network Management Protocol (SNMP) provides a framework for the exchange of management information between agents (servers) @@ -97,11 +98,9 @@ Package: libsnmp-dev Section: libdevel Architecture: any -Replaces: libsnmp9-dev, libsnmp15-dev, snmp (<< 5.4~dfsg) +Replaces: libsnmp9-dev, libsnmp15-dev, snmp (<< 5.4~dfsg), libsnmp-base (<< 5.7.2~dfsg-8.1~) Provides: libsnmp9-dev -Conflicts: libsnmp9-dev, libsnmp15-dev, snmp (<< 5.4~dfsg) -Multi-Arch: same -Pre-Depends: ${misc:Pre-Depends} +Conflicts: libsnmp9-dev, libsnmp15-dev, snmp (<< 5.4~dfsg), libsnmp-base (<< 5.7.2~dfsg-8.1~) Depends: libc6-dev, libsnmp30 (=${binary:Version}), libwrap0-dev, libssl-dev, procps, libkvm-dev [kfreebsd-any], libsensors4-dev [linux-any], ${misc:Depends} Description: SNMP (Simple Network Management Protocol) development files The Simple Network Management Protocol (SNMP) provides a framework diff -Nru net-snmp-5.7.2~dfsg/debian/libsnmp-base.install net-snmp-5.7.2~dfsg/debian/libsnmp-base.install --- net-snmp-5.7.2~dfsg/debian/libsnmp-base.install 2013-06-06 01:47:56.000000000 +0200 +++ net-snmp-5.7.2~dfsg/debian/libsnmp-base.install 2013-07-13 17:05:56.000000000 +0200 @@ -1,4 +1,2 @@ mibs/*.txt usr/share/snmp/mibs usr/share/snmp/mib2c-data -usr/bin/net-snmp-config -usr/share/man/man1/net-snmp-config.1 diff -Nru net-snmp-5.7.2~dfsg/debian/libsnmp-dev.install net-snmp-5.7.2~dfsg/debian/libsnmp-dev.install --- net-snmp-5.7.2~dfsg/debian/libsnmp-dev.install 2013-06-06 01:47:56.000000000 +0200 +++ net-snmp-5.7.2~dfsg/debian/libsnmp-dev.install 2013-07-13 17:06:16.000000000 +0200 @@ -9,4 +9,5 @@ agent/mibgroup/util_funcs.h usr/include/net-snmp agent/mibgroup/mibincl.h usr/include/net-snmp/library agent/mibgroup/header_complex.h usr/include/net-snmp/agent - +usr/bin/net-snmp-config +usr/share/man/man1/net-snmp-config.1