Source: jquery
Version: 1.7.2+dfsg-3.2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that jquery doesn't build reproducibly.
An unreproducible timestamp is embedded into the jquery.js file.

There is already a patch that changes the timestamp that is used.
I modified it to use the latest timestamp from debian/changelog
instead of the build time.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds

diff --git a/debian/patches/build.patch b/debian/patches/build.patch
index b0bd0c8..b2b2595 100644
--- a/debian/patches/build.patch
+++ b/debian/patches/build.patch
@@ -18,7 +18,7 @@ Index: jquery/Makefile
  VER = sed "s/@VERSION/${JQ_VER}/"
  
 -DATE=$(shell git log -1 --pretty=format:%ad)
-+DATE=$(shell date)
++DATE=$(shell dpkg-parsechangelog -S Date | date -u -f -)
  
  all: update_submodules core
  

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to