Switch to sha256

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/commons/trunk@1825965 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.xml b/build.xml
index 9173e33..a27f1c4 100644
--- a/build.xml
+++ b/build.xml
@@ -555,28 +555,28 @@
     <!--property name="bin.suffix" value="bin-jdk${java.specification.version}"/-->
     <property name="bin.suffix" value="bin"/>
     <input message="Passphrase for your default private key (attention: passphrase will be echoed in clear text on the display!)" addproperty="pwd"/>
-    <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">
@@ -585,11 +585,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="sha256.exec" value="sha256sum"/>
+    <property name="sha256.options" value=""/>
+    <exec executable="${sha256.exec}" output="${sign.archive}.sha256">
+      <arg line="${sha256.options} ${sign.archive}"/>
     </exec>
   </target>
 
@@ -619,10 +619,7 @@
       <include name="maven/pom.xml"/>
       </patternset>
     </fileset>
-    <checksum algorithm="md5">
-      <fileset refid="bundle-files"/>
-    </checksum>
-    <checksum algorithm="sha1">
+    <checksum algorithm="sha-256" fileext=".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"/>