Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
add reproducible builds patch from Chris Lamb
· a1d69e95
Louis-Philippe Véronneau
authored
Jan 20, 2019
a1d69e95
add the actual patch (oops)
· 01a130b1
Louis-Philippe Véronneau
authored
Jan 20, 2019
01a130b1
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
01a130b1
nostalgy (0.2.36-1.2) unstable; urgency=medium
* Non-maintainer upload.
* Make the package reproducible (thanks to lamby) (Closes: #836609)
-- Louis-Philippe Véronneau <pollo@debian.org> Sun, 20 Jan 2019 12:40:00 -0500
nostalgy (0.2.36-1.1) unstable; urgency=medium
* Non-maintainer upload.
...
...
debian/patches/0003-Reproducible-build.patch
0 → 100644
View file @
01a130b1
Description: Make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Last-Update: 2016-09-04
--- nostalgy-0.2.34.orig/build.sh
+++ nostalgy-0.2.34/build.sh
@@ -72,7 +72,10 @@
find content -path '*.svn*' -prune -o -t
find locale -path '*.svn*' -prune -o -type f -print | grep -v \~ >> files
-cat files | zip -0 $JAR_FILE -@
+if [ -n "$SOURCE_DATE_EPOCH" ]; then
+ cat files | xargs -r touch --no-dereference --date="@${SOURCE_DATE_EPOCH}"
+fi
+LC_ALL=C sort files | zip -0 $JAR_FILE -@
# The following statement should be used instead if you don't wish to use the JAR file
#cp --verbose --parents `cat files` $TMP_DIR/chrome
debian/patches/series
View file @
01a130b1
0001-Remove-cleanup-from-the-build.patch
0002-Fix-RDF-syntax.patch
0003-Reproducible-build.patch