Source: receptor
Version: 1.4.8-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
receptor could not be built reproducibly.
This was because the testsuite was generating a non-determistic .pem
key file that was being shipped in the binary package.
A patch is attached that will delete all .pem files after running the
tests.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2024-08-22 12:54:35.515939984 +0100
--- b/debian/rules 2024-08-22 13:23:11.461135466 +0100
@@ -80,4 +80,5 @@
mkdir -p tests/artifacts-output
ln -sfr _build/bin/receptor tests/artifacts-output/receptor
dh_auto_test --buildsystem=pybuild --sourcedirectory=receptorctl --
--name=receptorctl --before-test="cp -r {dir}/tests/mesh-definitions
{build_dir}/tests/"
+ find -type f -name "*.pem" -delete