[Pkg-net-snmp-devel] Bug#978598: net-snmp: reproducible builds: embeded paths to "ps" and "uname"

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Dec 29 02:24:30 GMT 2020


Source: net-snmp
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Various files contain an embedded paths to the "uname" and "ps"
commands:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/net-snmp.html

  ./usr/bin/net-snmp-create-v3-user
  
  if·/bin/ps·-e·|·egrep·'·snmpd·*$'·>·/dev/null·2>&1·;·then
  vs.
  if·/usr/bin/ps·-e·|·egrep·'·snmpd·*$'·>·/dev/null·2>&1·;·then


The attached patch fixes this by passing the UNAMEPROG and PSPROG
variables to configure.


This ensures that regardless of weather the system is built with a
merged /usr or a traditional system, the resulting binaries will be
useable on both systems (where compatibility symlinks for /bin ->
/usr/bin typically are present).


Thanks for maintaining net-snmp!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-UNAMEPROG-and-PSPROG-to-configure.patch
Type: text/x-diff
Size: 999 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-net-snmp-devel/attachments/20201228/1a791510/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-net-snmp-devel/attachments/20201228/1a791510/attachment.sig>


More information about the Pkg-net-snmp-devel mailing list