This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new cc45875  Reproducible builds: Windows installer
cc45875 is described below

commit cc458751c4d7f6d9b17c5c8ded3f41cf608e35d1
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Mar 19 15:22:41 2021 +0000

    Reproducible builds: Windows installer
---
 build.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 2b63398..9c23c75 100644
--- a/build.xml
+++ b/build.xml
@@ -2259,6 +2259,10 @@ skip.installer property in build.properties" />
         encoding="ISO-8859-1" fixlast="false" >
       <patternset refid="text.files" />
     </fixcrlf>
+    <!-- Reproducible builds: consistent timestamps for installer files -->
+    <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa">
+      <fileset dir="${tomcat.dist}"/>
+    </touch>
   </target>
 
   <target name="-installer-create-tempinstaller"
@@ -2286,7 +2290,10 @@ skip.installer property in build.properties" />
     <exec dir="${tomcat.dist}" executable="wine" osfamily="unix">
       <arg value="${tomcat.dist}/tempinstaller.exe" />
     </exec>
-
+    <!-- Reproducible builds: consistent timestamps for installer files -->
+    <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa">
+      <fileset dir="${tomcat.dist}"/>
+    </touch>
   </target>
 
   <target name="-installer-sign-uninstaller"

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to