[MacPorts] #59672: Set SOURCE_DATE_EPOCH

MacPorts noreply at macports.org
Thu Nov 25 07:31:29 UTC 2021


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

Comment (by tenzap):

 @ryandesign, do you think setting this variable can be managed directly in
 the tool that calls the various phases of the portfile. This would make
 SOURCE_DATE_EPOCH available for every port ?

 May I suggest to add the revision number of the port (the value in the
 Portfile) to the timestamp in SOURCE_DATE_EPOCH? This would be like adding
 a few seconds to it and permit to represent in SOURCE_DATE_EPOCH that the
 Portfile changed. This is sort of analogous to the way debian does it
 (Debian uses the timestamp of the debian/changelog file).

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


More information about the macports-tickets mailing list