Source: vnu
Version: 23.4.11+dfsg-3
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
vnu could not be built reproducibly.

This is because the date in the manual page could vary when built in a
different timezone. A patch is attached that renders this date in a fixed
timezone (UTC) instead.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-05-18 10:03:42.175988948 -0700
--- b/debian/rules      2026-05-18 10:12:48.263624390 -0700
@@ -88,7 +88,7 @@
        for page in vnu vnu-client vnu-server; do \
          pandoc --standalone --from markdown -f markdown-smart --to man \
          -M title:"$${page}(1) $${page} $(DEB_VERSION_UPSTREAM)" \
-         -M date:"$$(date -d'@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d)" 
docs/$${page}.1.md > docs/$${page}.1 ; \
+         -M date:"$$(date -u -d'@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d)" 
docs/$${page}.1.md > docs/$${page}.1 ; \
        done
 
 override_dh_auto_test-indep:

Reply via email to