Opened 6 years ago

Closed 6 years ago

#4147 closed enhancement (fixed)

Reproducible build date

Reported by: myon Owned by: Algunenano
Priority: medium Milestone: PostGIS 2.5.0
Component: postgis Version: master
Keywords: Cc: sebastic

Description

Debian aims at providing binary packages that can be reproduced bit-identical when rebuilt. A common source of variation are embedded "built at" strings, and indeed PostGIS has this problem. To address this problem the SOURCE_DATE_EPOCH specification was created: https://reproducible-builds.org/specs/source-date-epoch/

The attached patch makes configure.ac honor the SOURCE_DATE_EPOCH variable when present in the build environment.

More information on reproducible builds: https://reproducible-builds.org/

Attachments (1)

reproducible-build-date (471 bytes ) - added by myon 6 years ago.

Download all attachments as: .zip

Change History (6)

by myon, 6 years ago

Attachment: reproducible-build-date added

comment:1 by Algunenano, 6 years ago

Owner: changed from pramsey to Algunenano

I'm guessing this will should be applied both to POSTGIS_BUILD_DATE and POSTGIS_RASTER_BUILD_DATE.

comment:2 by Algunenano, 6 years ago

@myon, Can you please confirm your name / alias for the commit message and NEWS file?

comment:3 by myon, 6 years ago

@Algunenano: oh, sorry for missing POSTGIS_RASTER_BUILD_DATE. I did some grepping on the resulting files but apparently missed that timestamp.

For attribution, use Christoph Berg <myon@…>

Thanks!

Version 0, edited 6 years ago by myon (next)

comment:4 by sebastic, 6 years ago

Cc: sebastic added

comment:5 by algunenano, 6 years ago

Resolution: fixed
Status: newclosed

In 16693:

Enable deterministic builds

Honor SOURCE_DATE_EPOCH variable if present to enable reproducible builds

Patch by Christoph Berg <myon -at- debian.org>

Closes #4147
Closes #4148

Note: See TracTickets for help on using tickets.