I'm trying to build the newest snmp packages on debian jessie.
However, https://packages.debian.org/jessie/snmp seems to show conflicting information. The page heading reads:
Package: snmp (22.214.171.124+dfsg-1+deb8u1 and others) [security]
And the link to the source package, net-snmp_126.96.36.199+dfsg-1+deb8u1.dsc has the exact same version string.
But towards the bottom, under "Download snmp", one can download version
188.8.131.52+dfsg-1+deb8u1+b1. Where does the
+b1-suffix in the downloadable version come from?
seems to agree that the downloadable version contains
+b1 but the source package version doesn't:
> curl http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages.gz 2>/dev/null | zgrep -A 2 '^Package: snmp$' Package: snmp Source: net-snmp (184.108.40.206+dfsg-1+deb8u1) Version: 220.127.116.11+dfsg-1+deb8u1+b1
When I try to build the packages from source with
dget http://security.debian.org/debian-security/pool/updates/main/n/net-snmp/net-snmp_18.104.22.168+dfsg-1+deb8u1.dsc and
cowbuilder I get packages built with file names like this:
snmp_22.214.171.124+dfsg-1+deb8u1_amd64.deb (without the
+b1 in the version), just as I would expect. I've grepped fro
b1 in the unpacked
net-snmp-126.96.36.199+dfsg folder generated by dget and don't find anything that should append
+b1 to the package name.
I've also tried to clone
git://anonscm.debian.org/pkg-net-snmp/pkg-net-snmp.git which is mentioned by
net-snmp-188.8.131.52+dfsg/debian/control but there are no tags for either version. The most relevant tag seems to be
debian/184.108.40.206+dfsg-1 without even the
+deb8u1. Never mind.
So how do I build the
220.127.116.11+dfsg-1+deb8u1+b1 version of the snmp packages that
apt wants to install? Do I have the right version of the source package? If not, where should I get it?