This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit b428e933959ed6450130d068e9847dd75b2037b9 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Jan 24 10:23:14 2022 +0000 Reproducible builds: Consistent line endings in text files in JAR manifests --- build.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.xml b/build.xml index 5e69b11..ad10c64 100644 --- a/build.xml +++ b/build.xml @@ -990,6 +990,13 @@ <filterset refid="version.filters"/> <fileset dir="${tomcat.home}/res/META-INF" /> </copy> + + <!-- Ensure text files in JARs have consistent line endings. Required for + reproducible builds. --> + <fixcrlf srcdir="${tomcat.manifests}" eol="lf" + encoding="ISO-8859-1" fixlast="false" > + <patternset refid="text.files" /> + </fixcrlf> </target> <target name="package" depends="compile,build-manifests" > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org