From: Michael R. Crusoe Date: Wed, 4 Dec 2019 13:10:42 +0000 (+0100) Subject: improve reproducibility X-Git-Tag: archive/raspbian/2.16.0+ds-7+rpi1~1^2~130 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=84d056974d84237de72ea2fb15bc1270b60841d0;p=ncbi-blast%2B.git improve reproducibility --- diff --git a/debian/patches/reprobuild b/debian/patches/reprobuild new file mode 100644 index 00000000..4ce55636 --- /dev/null +++ b/debian/patches/reprobuild @@ -0,0 +1,20 @@ +Author: Michael R. Crusoe +Description: make the build more reproducible +--- ncbi-blastplus.orig/c++/src/build-system/configure.ac ++++ ncbi-blastplus/c++/src/build-system/configure.ac +@@ -2826,13 +2826,13 @@ + linux*) + kver=`uname -r | sed -e 's/-.*//'` + libcver=`ldd --version | awk 'NR == 1 { print $NF }'` +- verbose_host=$host_cpu-$host_vendor-linux$kver-gnu$libcver ++ verbose_host=$host_cpu-$host_vendor-linux-gnu$libcver + ;; + *) verbose_host=$host ;; + esac + + #### Overall configuration mode summary +-signature_hostname=`(hostname || uname -n) 2>/dev/null \ ++signature_hostname=`echo debian_build 2>/dev/null \ + | sed 's/\..*//; s/-/_/g; 1q'` + signature="${signature_compiler}_${signature_compiler_version}-${release_debug}${mt_sfx}${dll_sfx}${bit64_sfx}${prof_sfx}--${verbose_host}-${signature_hostname}" + AC_DEFINE_UNQUOTED(NCBI_SIGNATURE, "$signature", diff --git a/debian/patches/series b/debian/patches/series index 639f255e..db6b7513 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -11,3 +11,4 @@ suppress_gnutls_version_check optionally_keep_sequence fix_unit_tests system_mbedtls_only +reprobuild