Source: sendfile
Version: 2.1b.20080616-5.3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that sendfile could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, sendfile can be built reproducibly in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff -urNad sendfile.orig/sendfile-2.1b.20080616/debian/rules
sendfile/sendfile-2.1b.20080616/debian/rules
--- sendfile.orig/sendfile-2.1b.20080616/debian/rules 2015-02-03
12:28:47.920416967 +0000
+++ sendfile/sendfile-2.1b.20080616/debian/rules 2015-02-03
12:30:46.609981152 +0000
@@ -69,13 +69,13 @@
$(installdoc) doc/README{,.too,.fetchfile}
debian/tmp/usr/share/doc/$(package)
$(installdoc) doc/ChangeLog
debian/tmp/usr/share/doc/$(package)/changelog
$(installdoc) doc/features debian/tmp/usr/share/doc/$(package)/
- gzip -9f
debian/tmp/usr/share/doc/$(package)/{changelog.Debian,changelog,README{,.too,.fetchfile},features}
+ gzip -9fn
debian/tmp/usr/share/doc/$(package)/{changelog.Debian,changelog,README{,.too,.fetchfile},features}
$(installdoc) doc/LIESMICH{,.auch,.neu,.entwickler,.spool}
debian/tmp/usr/share/doc/$(package)/german
$(installdoc) doc/doc.txt debian/tmp/usr/share/doc/$(package)
$(installdoc) doc/{doku.txt,vorteile}
debian/tmp/usr/share/doc/$(package)/german
- gzip -9f
debian/tmp/usr/share/doc/$(package)/german/LIESMICH{,.auch,.neu,.entwickler}
- gzip -9f debian/tmp/usr/share/doc/$(package)/doc.txt
- gzip -9f debian/tmp/usr/share/doc/$(package)/german/{doku.txt,vorteile}
+ gzip -9fn
debian/tmp/usr/share/doc/$(package)/german/LIESMICH{,.auch,.neu,.entwickler}
+ gzip -9fn debian/tmp/usr/share/doc/$(package)/doc.txt
+ gzip -9fn debian/tmp/usr/share/doc/$(package)/german/{doku.txt,vorteile}
#
$(installbin) -d debian/tmp/usr/bin
$(installbin) $(STRIP)
src/{sendfile,receive,sendmsg,utf7encode,fetchfile,wlock} debian/tmp/usr/bin
@@ -95,7 +95,7 @@
$(installdoc) doc/wlock.1 debian/tmp/usr/share/man/man1
$(installdoc) doc/sendfiled.8 debian/tmp/usr/share/man/man8
$(installdoc) doc/fetchfile.7 debian/tmp/usr/share/man/man7
- gzip -9f debian/tmp/usr/share/man/man?/*
+ gzip -9fn debian/tmp/usr/share/man/man?/*
cd debian/tmp/usr/share/man/man1 && ln -s utf7encode.1.gz
utf7decode.1.gz
#
$(installbin) -d debian/tmp/etc/cron.weekly