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 1df6d44 Reproducible builds: Binary packages (excluding installer) 1df6d44 is described below commit 1df6d44d7653924f98b48ad66c86c497986dfc92 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Mar 18 20:53:49 2021 +0000 Reproducible builds: Binary packages (excluding installer) --- build.xml | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 68 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index 437d300..212895b 100644 --- a/build.xml +++ b/build.xml @@ -1401,6 +1401,12 @@ encoding="ISO-8859-1" fixlast="false" > <patternset refid="text.files" /> </fixcrlf> + + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.embed}"/> + </touch> + <zip destfile="${tomcat.embed}/${final.name}-embed.zip"> <fileset dir="${tomcat.embed}"> <include name="**" /> @@ -1416,6 +1422,12 @@ encoding="ISO-8859-1" fixlast="false" > <patternset refid="text.files" /> </fixcrlf> + + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.embed}"/> + </touch> + <tar longfile="gnu" compression="gzip" tarfile="${tomcat.embed}/${final.name}-embed.tar.gz"> <tarfileset dir="${tomcat.embed}" prefix="${final.name}-embed"> @@ -2099,7 +2111,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. </copy> <!-- Digester and dependencies --> - <jar jarfile="${tomcat.deployer}/lib/catalina-deployer.jar"> + <zip destfile="${tomcat.deployer}/lib/catalina-deployer.jar"> <fileset dir="${tomcat.classes}"> <include name="org/apache/catalina/startup/DigesterFactory.class" /> <include name="org/apache/catalina/util/SchemaResolver.class" /> @@ -2124,7 +2136,14 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. <exclude name="**/package.html" /> <exclude name="**/LocalStrings_*" /> </fileset> - </jar> + <zipfileset file="${tomcat.manifests}" fullpath="META-INF" /> + <zipfileset file="${tomcat.manifests}/default.manifest" + fullpath="META-INF/MANIFEST.MF" /> + <zipfileset file="${tomcat.manifests}/default.notice" + fullpath="META-INF/NOTICE" /> + <zipfileset file="${tomcat.manifests}/default.license" + fullpath="META-INF/LICENSE" /> + </zip> <!-- Main build script --> <copy todir="${tomcat.deployer}"> @@ -2382,7 +2401,13 @@ skip.installer property in build.properties" /> <patternset refid="text.files" /> </fixcrlf> + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.dist}"/> + </touch> + <zip zipfile="${tomcat.release}/v${version}/bin/${final.name}.zip"> + <zipfileset file="${tomcat.dist}" fullpath="${final.name}"/> <zipfileset dir="${tomcat.dist}" prefix="${final.name}"> <include name="bin/**"/> <include name="conf/**"/> @@ -2415,8 +2440,14 @@ skip.installer property in build.properties" /> <patternset refid="text.files" /> </fixcrlf> + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.dist}"/> + </touch> + <!-- Windows x86 package --> <zip zipfile="${tomcat.release}/v${version}/bin/${final.name}-windows-x86.zip"> + <zipfileset file="${tomcat.dist}" fullpath="${final.name}"/> <zipfileset dir="${tomcat.dist}" prefix="${final.name}"> <include name="bin/**"/> <include name="conf/**"/> @@ -2442,6 +2473,7 @@ skip.installer property in build.properties" /> <!-- Windows x64 package --> <zip zipfile="${tomcat.release}/v${version}/bin/${final.name}-windows-x64.zip"> + <zipfileset file="${tomcat.dist}" fullpath="${final.name}"/> <zipfileset dir="${tomcat.dist}" prefix="${final.name}"> <include name="bin/**"/> <include name="conf/**"/> @@ -2482,7 +2514,14 @@ skip.installer property in build.properties" /> <patternset refid="text.files" /> </fixcrlf> + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.dist}"/> + <fileset dir="${tomcat.deployer}"/> + </touch> + <zip zipfile="${tomcat.release}/v${version}/bin/${final.name}-deployer.zip"> + <zipfileset file="${tomcat.deployer}" fullpath="${final.name}-deployer"/> <zipfileset dir="${tomcat.deployer}" prefix="${final.name}-deployer" includes="**" /> <zipfileset dir="${tomcat.dist}" prefix="${final.name}-deployer" includes="LICENSE" /> <zipfileset dir="${tomcat.dist}" prefix="${final.name}-deployer" includes="NOTICE" /> @@ -2500,6 +2539,11 @@ skip.installer property in build.properties" /> <patternset refid="text.files" /> </fixcrlf> + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.dist}"/> + </touch> + <tar longfile="gnu" compression="gzip" tarfile="${tomcat.release}/v${version}/bin/${final.name}.tar.gz"> <tarfileset dir="${tomcat.dist}" dirmode="700" filemode="600" prefix="${final.name}"> @@ -2548,6 +2592,12 @@ skip.installer property in build.properties" /> <patternset refid="text.files" /> </fixcrlf> + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.dist}"/> + <fileset dir="${tomcat.deployer}"/> + </touch> + <tar longfile="gnu" compression="gzip" tarfile="${tomcat.release}/v${version}/bin/${final.name}-deployer.tar.gz"> <tarfileset dir="${tomcat.dist}" prefix="${final.name}-deployer"> @@ -2571,6 +2621,11 @@ skip.installer property in build.properties" /> <patternset refid="text.files" /> </fixcrlf> + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.dist}"/> + </touch> + <tar longfile="gnu" compression="gzip" tarfile="${tomcat.release}/v${version}/bin/${final.name}-fulldocs.tar.gz"> <tarfileset dir="${tomcat.dist}" prefix="tomcat-${version.major.minor}-doc"> @@ -2595,7 +2650,13 @@ skip.installer property in build.properties" /> <include name="bin/*.sh" /> </fixcrlf> + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.dist}"/> + </touch> + <zip zipfile="${tomcat.release}/v${version}/src/${final-src.name}.zip"> + <zipfileset file="${tomcat.dist}/src" fullpath="${final-src.name}" /> <zipfileset dir="${tomcat.dist}/src" prefix="${final-src.name}" /> </zip> @@ -2611,6 +2672,11 @@ skip.installer property in build.properties" /> <include name="bin/*.sh" /> </fixcrlf> + <!-- Reproducible builds: consistent timestamps for distributed files --> + <touch datetime="${tstamp.file}" pattern="MM/dd/yyyy hh:mm:ss aa"> + <fileset dir="${tomcat.dist}"/> + </touch> + <tar longfile="gnu" compression="gzip" tarfile="${tomcat.release}/v${version}/src/${final-src.name}.tar.gz"> <tarfileset dir="${tomcat.dist}/src" prefix="${final-src.name}" /> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org