Source: nmap
Version: 7.80+dfsg1-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
the newly-obfuscated nmap_service.exe file was not being obfuscated
reproducibly and varied on the current build time.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-07-06 09:21:59.792062190 +0100
--- b/debian/rules      2020-07-06 09:22:23.796248703 +0100
@@ -31,7 +31,7 @@
        cd nselib/data/jdwp-class && /usr/lib/jvm/default-java/bin/javac *.java
        cd nselib/data/psexec && \
                i686-w64-mingw32-gcc ${CPPFLAGS} ${CFLAGS} -o nmap_service.exe 
nmap_service.c && \
-               gzip -c -9 nmap_service.exe | base64 | tac > nmap_service.ex_
+               gzip -c -n9 nmap_service.exe | base64 | tac > nmap_service.ex_
 
 override_dh_auto_test:
        dh_auto_test --sourcedir=ndiff --buildsystem=pybuild

Reply via email to