This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit fc7c4136c9bd74825993c8b8536d7a6305977292 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 710cc0c..1f1944c 100644 --- a/build.xml +++ b/build.xml @@ -1002,6 +1002,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