On 23/06/15 03:42, Dhole wrote:
> Source: apt-dater
> Version: 1.0.1+git20150119-1
> Severity: wishlist
> Tags: patch
> User: reproducible-builds@lists.alioth.debian.org
> Usertags: timestamps
> 
> Hi!
> 
> While working on the “reproducible builds” effort [1], we have noticed
> that apt-dater could not be built reproducibly.
> 
> The attached patch allows the build date embedded in apt-dater.c (coming
> from the C macros __DATE__ and __TIME__) to be set externally with the
> BUILD_DATE define, and specifically it is set to the last
> debian/changelog entry. In case the BUILD_DATE define is not exported,
> the package can be built embedding a timestamp of the compilation time.
> Once applied, apt-dater can be built reproducibly in our current
> experimental framework.
> 
>  [1]: https://wiki.debian.org/ReproducibleBuilds
> 

Hi,

Please see https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal

We decided to standardise SOURCE_DATE_EPOCH for this sort of thing. help2man(1) 
already supports it, see #787444. At some point we will get debhelper to set 
this automatically.

I haven't looked at the patch, but I imagine it should be straightforward to 
s/BUILD_DATE/SOURCE_DATE_EPOCH.

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to