Source: console-cyrillic
Version: 0.9-16.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 the "reproducible builds" effort [1], we have noticed
that console-cyrillic could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, console-cyrillic can be built reproducibly in our current
experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
diff -urNad console-cyrillic.orig/console-cyrillic-0.9/debian/rules
console-cyrillic/console-cyrillic-0.9/debian/rules
--- console-cyrillic.orig/console-cyrillic-0.9/debian/rules 2015-02-07
11:26:09.612094883 +
+++ console-cyrillic/console-cyrillic-0.9/debian/rules 2015-02-07
11:33:50.196368005 +
@@ -43,7 +43,7 @@
install -d debian/tmp/usr/share/doc/$(package)
cp debian/copyright debian/tmp/usr/share/doc/$(package)
cp debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian
- gzip -9v debian/tmp/usr/share/doc/$(package)/changelog.Debian
+ gzip -9nv debian/tmp/usr/share/doc/$(package)/changelog.Debian
cp debian/README debian/tmp/usr/share/doc/$(package)/README.Debian
cp debian/Cyr_and_Lat.README debian/tmp/usr/share/doc/$(package)/
cp debian/README.ru debian/tmp/usr/share/doc/$(package)/README.ru
@@ -121,9 +121,9 @@
cp $(kazakh)/acm/rk1048.acm debian/tmp/usr/share/console-cyrillic
cp $(kazakh)/sfm/*.sfm debian/tmp/usr/share/console-cyrillic
cp $(kazakh)/psf/*.psf debian/tmp/usr/share/console-cyrillic
- gzip -9v debian/tmp/usr/share/console-cyrillic/*.acm
- gzip -9v debian/tmp/usr/share/console-cyrillic/*.sfm
- gzip -9v debian/tmp/usr/share/console-cyrillic/*.fallback
+ gzip -9nv debian/tmp/usr/share/console-cyrillic/*.acm
+ gzip -9nv debian/tmp/usr/share/console-cyrillic/*.sfm
+ gzip -9nv debian/tmp/usr/share/console-cyrillic/*.fallback
cp debian/*.trans debian/tmp/usr/share/console-cyrillic
install -d debian/tmp/usr/bin
cp scripts/* debian/tmp/usr/bin
@@ -136,7 +136,7 @@
pod2man scripts/raw2psf >debian/tmp/usr/share/man/man1/raw2psf.1
cp debian/cyr.1 debian/tmp/usr/share/man/man1/cyr.1
cp debian/mkvgafont.1 debian/tmp/usr/share/man/man1/mkvgafont.1
- gzip -9v debian/tmp/usr/share/man/man1/*.1
+ gzip -9nv debian/tmp/usr/share/man/man1/*.1
dpkg-gencontrol -isp
chown -R root.root debian/tmp
chmod -R go=rX,u=rwX debian/tmp