]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Switch to sha256
authorSimon Steiner <ssteiner@apache.org>
Tue, 6 Mar 2018 09:42:19 +0000 (09:42 +0000)
committerSimon Steiner <ssteiner@apache.org>
Tue, 6 Mar 2018 09:42:19 +0000 (09:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1825966 13f79535-47bb-0310-9956-ffa450edef68

fop/build.xml

index f0cc1340feac4574e070ce087eba3ac6abafa1fa..177dbbaf326afe0b30d3208a1c947c33605bc02f 100644 (file)
@@ -1311,28 +1311,28 @@ NOTE:
   <target name="release-dist" depends="dist" description="Generates the distribution package and signs the release">
     <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">
@@ -1340,11 +1340,11 @@ NOTE:
       <param name="pwd" value="${pwd}"/>
     </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>
   <target name="sign-file">