Bug#1098249: acme.sh: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Feb 18 11:28:06 GMT 2025


Source: acme.sh
Version: 3.1.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because the generated manual page embeds the build path by way
of a "this value defaults to..." string that is rendered at build time.

Patch attached that makes this value deterministic — and actually
more accurate, too.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-02-18 11:17:48.145617530 +0000
--- b/debian/rules	2025-02-18 11:25:15.819912911 +0000
@@ -11,7 +11,7 @@
 
 execute_after_dh_install:
 	mkdir -p $(MANDIR)
-	DESTDIR=$(TMPDIR) /usr/bin/help2man --name=acme.sh --version-string=$(DEB_VERSION_UPSTREAM) $(APPDIR)/acme.sh > $(MANDIR)/acme.sh.1
+	LE_CONFIG_HOME="~/.acme.sh" DESTDIR=$(TMPDIR) /usr/bin/help2man --name=acme.sh --version-string=$(DEB_VERSION_UPSTREAM) $(APPDIR)/acme.sh > $(MANDIR)/acme.sh.1
 	rm -f $(APPDIR)/*/README.md
 	
 


More information about the Reproducible-bugs mailing list