Source: remote-tty
Version: 4.0-13
Severity: wishlist
Tags: patch upstream
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps username hostname
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that remote-tty could not be built reproducibly.
It embeds the build date, username and hostname into the binary.

The attached patch strips this to enable reproducible building.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/Makefile b/Makefile
index 7e30428..b0b1c91 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,6 @@ version.c: Makefile
 	  echo "char Copyright[] ="; \
 	  echo '  "Copyright 1996,1997,2001 by Internet Software Consortium, Inc.";'; \
 	  echo "char Version[] ="; \
-	  echo '  "Version $(VERSION) ('`whoami`'@'`hostname`' '`date`')";'; \
+	  echo '  "Version $(VERSION)";'; \
 	  echo "#endif"; \
 	) >version.c

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to