Source: cdbackup Version: 0.7.0-5 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 cdbackup could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, cdbackup can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff -urNad cdbackup.orig/cdbackup-0.7.0/cdbackup.c cdbackup/cdbackup-0.7.0/cdbackup.c --- cdbackup.orig/cdbackup-0.7.0/cdbackup.c 2015-04-27 08:50:31.559851676 +0100 +++ cdbackup/cdbackup-0.7.0/cdbackup.c 2015-04-27 08:52:16.432354614 +0100 @@ -181,7 +181,7 @@ while ((i=getopt(argc,argv,"d:r:l:s:p:a:c:mvVXDCi:wR"))>0) { switch (i) { - case 'V': fprintf(stderr,"cdbackup "VERSION" (compiled "__DATE__")\n" + case 'V': fprintf(stderr,"cdbackup "VERSION"\n" "Copyright (C) 2000-2004\n" "This is free software; see the source for copying conditions.\n" "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n" diff -urNad cdbackup.orig/cdbackup-0.7.0/cdrestore.c cdbackup/cdbackup-0.7.0/cdrestore.c --- cdbackup.orig/cdbackup-0.7.0/cdrestore.c 2015-04-27 08:50:31.559851676 +0100 +++ cdbackup/cdbackup-0.7.0/cdrestore.c 2015-04-27 08:52:20.512529861 +0100 @@ -72,7 +72,7 @@ while ((i=getopt(argc,argv,"d:l:c:t:qvVFTDRi:"))>0) { switch (i) { - case 'V': fprintf(stderr,"cdrestore "VERSION" (compiled "__DATE__")\n" + case 'V': fprintf(stderr,"cdrestore "VERSION"\n" "Copyright (C) 2000-2004\n" "This is free software; see the source for copying conditions.\n" "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A\n"