Bug#831021: cfingerd: please make the build reproducible

2017-03-05 Thread Chris Lamb
> Would you consider applying this patch and uploading?

Friendly ping on this :)


Best wishes,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#831021: cfingerd: please make the build reproducible

2016-09-15 Thread Chris Lamb
Dear Maintainer,

> Source: cfingerd
> Version: 1.4.3-3+squeeze1
> Tags: patch

There hasn't seem to be any update on this bug in 63 days, in which
time the Reproducible Builds effort has come on a long way. :)

Would you consider applying this patch and uploading?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#831021: cfingerd: please make the build reproducible

2016-07-13 Thread Chris Lamb
Source: cfingerd
Version: 1.4.3-3.1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that cfingerd could not be built reproducibly.

Patch attached. The changes to ./Configure can be sen upstream.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/Configure 2016-07-13 19:42:47.435630485 +0200
--- b/Configure 2016-07-13 20:35:04.337361253 +0200
@@ -17,6 +17,8 @@
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 
+use POSIX qw(strftime);
+
 require 'perl/question.pl';
 require 'perl/filemagic.pl';
 require 'perl/gethost.pl';
@@ -63,7 +65,7 @@
print "Creating src/config.h ... ";
 
$ENV{'LC_TIME'} = "C";
-   local($dateandtime) = `date`;
+   local($dateandtime) = strftime("%a %b %e %H:%M:%S UTC %Y", 
gmtime($ENV{SOURCE_DATE_EPOCH} || time));
chop($dateandtime);
 
open(CF, "src/config.h.in");
--- a/debian/rules  2016-07-13 19:42:47.435630485 +0200
--- b/debian/rules  2016-07-13 19:44:10.195595285 +0200
@@ -69,8 +69,8 @@
$(installdoc) CREDITS FAQ RECOMMEND TODO 
debian/tmp/usr/share/doc/$(package)
$(installdoc) CHANGES debian/tmp/usr/share/doc/$(package)/changelog
$(installdoc) README debian/tmp/usr/share/doc/$(package)/readme
-   gzip -9f 
debian/tmp/usr/share/doc/$(package)/{changelog.Debian,changelog}
-   gzip -9f 
debian/tmp/usr/share/doc/$(package)/{readme,CREDITS,FAQ,RECOMMEND,TODO}
+   gzip -9nf 
debian/tmp/usr/share/doc/$(package)/{changelog.Debian,changelog}
+   gzip -9nf 
debian/tmp/usr/share/doc/$(package)/{readme,CREDITS,FAQ,RECOMMEND,TODO}
#
$(installbin) -d debian/tmp/usr/sbin
$(installbin) $(STRIP) src/cfingerd debian/tmp/usr/sbin
@@ -79,7 +79,7 @@
$(installbin) -d debian/tmp/usr/share/man/man{5,8}
cd docs && $(MAKE) MANDIR=../debian/tmp/usr/share/man install
$(installdoc) userlist/userlist.1 
debian/tmp/usr/share/man/man8/userlist.8
-   gzip -9 debian/tmp/usr/share/man/man?/*
+   gzip -9n debian/tmp/usr/share/man/man?/*
#
$(installbin) -d debian/tmp/etc/cfingerd{,/scripts}
$(installdoc) debian/{top_finger,bottom_finger}.txt 
debian/tmp/etc/cfingerd