Switch to sha256
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop-pdf-images/trunk@1825963 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.xml b/build.xml
index f2d1c3d..970b75c 100644
--- a/build.xml
+++ b/build.xml
@@ -347,28 +347,28 @@
<input message="Passphrase for your default private key" addproperty="pwd">
<handler classname="org.apache.tools.ant.input.SecureInputHandler" />
</input>
- <antcall target="md5">
+ <antcall target="sha256">
<param name="sign.archive" value="${name}-${version}-src.zip"/>
</antcall>
<antcall target="sign-file">
<param name="sign.archive" value="${name}-${version}-src.zip"/>
<param name="pwd" value="${pwd}"/>
</antcall>
- <antcall target="md5">
+ <antcall target="sha256">
<param name="sign.archive" value="${name}-${version}-src.tar.gz"/>
</antcall>
<antcall target="sign-file">
<param name="sign.archive" value="${name}-${version}-src.tar.gz"/>
<param name="pwd" value="${pwd}"/>
</antcall>
- <antcall target="md5">
+ <antcall target="sha256">
<param name="sign.archive" value="${name}-${version}-${bin.suffix}.zip"/>
</antcall>
<antcall target="sign-file">
<param name="sign.archive" value="${name}-${version}-${bin.suffix}.zip"/>
<param name="pwd" value="${pwd}"/>
</antcall>
- <antcall target="md5">
+ <antcall target="sha256">
<param name="sign.archive" value="${name}-${version}-${bin.suffix}.tar.gz"/>
</antcall>
<antcall target="sign-file">
@@ -377,11 +377,11 @@
</antcall>
</target>
- <target name="md5">
- <property name="md5.exec" value="md5sum"/>
- <property name="md5.options" value=""/>
- <exec executable="${md5.exec}" output="${sign.archive}.md5">
- <arg line="${md5.options} ${sign.archive}"/>
+ <target name="sha256">
+ <property name="sha256sum.exec" value="sha256sum"/>
+ <property name="sha256sum.options" value=""/>
+ <exec executable="${sha256sum.exec}" output="${sign.archive}.sha256">
+ <arg line="${sha256sum.options} ${sign.archive}"/>
</exec>
</target>
@@ -484,10 +484,7 @@
<include name="maven/pom.xml"/>
</patternset>
</fileset>
- <checksum algorithm="md5">
- <fileset refid="bundle-files"/>
- </checksum>
- <checksum algorithm="sha1">
+ <checksum algorithm="sha256">
<fileset refid="bundle-files"/>
</checksum>
<input message="Passphrase for your default private key (attention: passphrase will be echoed in clear text on the display!)" addproperty="pwd"/>