diff options
author | Andrew Fuller <afuller@teradici.com> | 2018-07-20 01:14:40 (GMT) |
---|---|---|
committer | Andrew Fuller <afuller@teradici.com> | 2018-07-25 20:39:07 (GMT) |
commit | 548ac51d8ea319c65abefa0a771636893c45014c (patch) | |
tree | 90e75a26ef74a701937f24bc03495b684d765fb2 /Help | |
parent | 8dc86970c86ec53513a17f4cdb28f2a0be3ee505 (diff) | |
download | CMake-548ac51d8ea319c65abefa0a771636893c45014c.zip CMake-548ac51d8ea319c65abefa0a771636893c45014c.tar.gz CMake-548ac51d8ea319c65abefa0a771636893c45014c.tar.bz2 |
CPack/Deb: Support SOURCE_DATE_EPOCH when packaging files
Diffstat (limited to 'Help')
-rw-r--r-- | Help/cpack_gen/deb.rst | 8 | ||||
-rw-r--r-- | Help/release/dev/cpack-deb-source-date-epoch.rst | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Help/cpack_gen/deb.rst b/Help/cpack_gen/deb.rst index c5923be..37d750d 100644 --- a/Help/cpack_gen/deb.rst +++ b/Help/cpack_gen/deb.rst @@ -527,3 +527,11 @@ alternate data stream (ADT) is used. When a filesystem without ADT support is used only owner read/write permissions can be preserved. + +Reproducible packages +^^^^^^^^^^^^^^^^^^^^^ + +The environment variable ``SOURCE_DATE_EPOCH`` may be set to a UNIX +timestamp, defined as the number of seconds, excluding leap seconds, +since 01 Jan 1970 00:00:00 UTC. If set, the CPack Deb generator will +use its value for timestamps in the package. diff --git a/Help/release/dev/cpack-deb-source-date-epoch.rst b/Help/release/dev/cpack-deb-source-date-epoch.rst new file mode 100644 index 0000000..b276569 --- /dev/null +++ b/Help/release/dev/cpack-deb-source-date-epoch.rst @@ -0,0 +1,6 @@ +cpack-deb-source-date-epoch +--------------------------- + +* The :cpack_gen:`CPack Deb Generator` learned to honor the ``SOURCE_DATE_EPOCH`` + environment variable when packaging files. This is useful for generating + reproducible packages. |