[MacPorts] #59672: Set SOURCE_DATE_EPOCH

MacPorts noreply at macports.org
Tue Apr 28 03:54:51 UTC 2020

  Reporter:  ryandesign   |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |

Comment (by ryandesign):

 As far as I know builds of base are already reproducible, at least insofar
 as we don't deliberately use the build date/time anywhere.

 I intended this ticket to suggest that MacPorts could add
 `SOURCE_DATE_EPOCH` to the environment when it builds ports so that ports'
 build systems that make use of this variable will be more reproducible.
 (Per the link in the ticket description: "`SOURCE_DATE_EPOCH` is a
 standardised environment variable that distributions can set centrally and
 have build tools consume this in order to produce reproducible output.")
 When I filed this ticket, I had just encountered a port that had such
 build system and I had been unaware of this variable.

Ticket URL: <https://trac.macports.org/ticket/59672#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list