Source: rsbackup
Version: 10.0-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: filesystem
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
rsbackup could not be built reproducibly.

This was because the DEBIAN/md5sums file was generated by naively
iterating over the file system without piping the outout via sort(1).
(There is a call to sort, but only for one of the binary packages.)

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-10-08 09:12:32.180505084 -0700
--- b/debian/rules      2025-10-08 09:41:20.475219750 -0700
@@ -119,7 +119,7 @@
        cd debian/rsbackup-graph && \
          find -name DEBIAN -prune -o -type f -print \
            | sed 's/^\.\///' \
-                       | xargs md5sum > DEBIAN/md5sums
+                       | sort | xargs md5sum > DEBIAN/md5sums
        dpkg-gencontrol -isp -prsbackup-graph -Pdebian/rsbackup-graph \
                -Tdebian/substvars.rsbackup-graph
        chmod -R g-ws debian/rsbackup-graph

Reply via email to