[MacPorts] #59672: Set SOURCE_DATE_EPOCH

MacPorts noreply at macports.org
Tue Apr 28 01:30:44 UTC 2020


#59672: Set SOURCE_DATE_EPOCH
--------------------------+--------------------
  Reporter:  ryandesign   |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------
Changes (by kurthindenburg):

 * cc: kurthindenburg (added)


Comment:

 I've been looking at this.  is the goal to have base have reproducible
 builds?  or that the ports should be reproducible builds?

 If I understand who this would workl, it would be use SOURCE_DATE_EPOCH in
 place of the current time in the logs/etc to allow all builds to be the
 same.  This would require another option somewhere to do this.

 SOURCE_DATE_EPOCH could/would be set to the last commit change.
 SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)

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


More information about the macports-tickets mailing list