]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
hash order at Manifest from the weakest/smallest to the strongest
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sat, 3 Jan 2009 16:53:26 +0000 (16:53 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sat, 3 Jan 2009 16:53:26 +0000 (16:53 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@726 04377dda-e619-0410-9926-eae83683ac58

trunk/mkbuild/generic.mkSlackBuild
trunk/src/mkbuild

index d4c332a93ee1dfcf9820095737377ce3e8de58c2..17ba987beff809033323331a0da3aa1108950af4 100644 (file)
@@ -271,7 +271,7 @@ if [ -e "$CWD/Manifest" ]; then
     fi
 
     # Check source code integrity
-    for ALGO in md5 sha1 sha256 sha512 rmd160; do
+    for ALGO in md5 rmd160 sha1 sha256 sha512; do
       if [ $ALGO = "rmd160" ]; then
         ALGO_SRC="`openssl rmd160 $MANIFEST_FILE | awk '{ print $2 }'`"
       else
index 0fd2218229476f87e77c63669b4bcaf1f6206794..848ed5a4bf1c6e4512891beb886d080f8e9a00ac 100755 (executable)
@@ -792,7 +792,7 @@ function file_metainfo {
     fi
   fi
 
-  for algo in md5 sha1 sha256 sha512 rmd160; do
+  for algo in md5 rmd160 sha1 sha256 sha512; do
     sum="$sum `echo $algo | tr '[:lower:]' '[:upper:]'` `gethash $algo $file`"
   done