[xiph-commits] r13009 - releases/xspf
sping at svn.xiph.org
sping at svn.xiph.org
Mon Jun 4 06:24:18 PDT 2007
Author: sping
Date: 2007-06-04 06:24:18 -0700 (Mon, 04 Jun 2007)
New Revision: 13009
Added:
releases/xspf/libspiff-0.7.1.tar.bz2
releases/xspf/libspiff-0.7.1.tar.gz
releases/xspf/libspiff-0.7.1.zip
Modified:
releases/xspf/MD5SUMS
releases/xspf/SHA1SUMS
releases/xspf/update.sh
Log:
libSpiff 0.7.1, update script improvements
Modified: releases/xspf/MD5SUMS
===================================================================
--- releases/xspf/MD5SUMS 2007-06-02 03:38:34 UTC (rev 13008)
+++ releases/xspf/MD5SUMS 2007-06-04 13:24:18 UTC (rev 13009)
@@ -19,3 +19,6 @@
d6e236ab060a5ef6f3998ea711d51836 libspiff-0.7.0.tar.bz2
fd2f6aecf078f432a145f8225bd93504 libspiff-0.7.0.tar.gz
cdaaba309b9332e70fb56f9b9f4d0c30 libspiff-0.7.0.zip
+6eae690a6505b9623ba433f9b8a3391d libspiff-0.7.1.tar.bz2
+4456b4c989afe0f1a5ee8e1350334e7c libspiff-0.7.1.tar.gz
+042c8802571e9d92eb3fe43bd7f4311c libspiff-0.7.1.zip
Modified: releases/xspf/SHA1SUMS
===================================================================
--- releases/xspf/SHA1SUMS 2007-06-02 03:38:34 UTC (rev 13008)
+++ releases/xspf/SHA1SUMS 2007-06-04 13:24:18 UTC (rev 13009)
@@ -19,3 +19,6 @@
3744573e171096ff60b7e77d83c026a369fa77fb libspiff-0.7.0.tar.bz2
1c3904d42a16be485e19541c43cdc2490dac847f libspiff-0.7.0.tar.gz
216f8f04c535c3bb11bc84598f54857392bc1365 libspiff-0.7.0.zip
+8498346147ffd3d3552359cd61a93326f32021fc libspiff-0.7.1.tar.bz2
+4023f440cf41f8df39cd118e09179ad9c24c9ce8 libspiff-0.7.1.tar.gz
+2a4ff58699bd38d71b5db3f71148402303878568 libspiff-0.7.1.zip
Added: releases/xspf/libspiff-0.7.1.tar.bz2
===================================================================
(Binary files differ)
Property changes on: releases/xspf/libspiff-0.7.1.tar.bz2
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: releases/xspf/libspiff-0.7.1.tar.gz
===================================================================
(Binary files differ)
Property changes on: releases/xspf/libspiff-0.7.1.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: releases/xspf/libspiff-0.7.1.zip
===================================================================
(Binary files differ)
Property changes on: releases/xspf/libspiff-0.7.1.zip
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: releases/xspf/update.sh
===================================================================
--- releases/xspf/update.sh 2007-06-02 03:38:34 UTC (rev 13008)
+++ releases/xspf/update.sh 2007-06-04 13:24:18 UTC (rev 13009)
@@ -5,34 +5,37 @@
exit
fi
+
+function downloadLibSpiff() { # $1 version, $2 extension
+ echo "========== libspiff-$1.$2 =========="
+ if [ ! -f "libspiff-$1.$2" ] ; then
+ wget "http://downloads.sourceforge.net/libspiff/libspiff-$1.$2"
+ if [ ! -f "libspiff-$1.$2" ] ; then
+ echo "FAILED on libspiff-$1.$2"
+ exit 1
+ fi
+ fi
+}
-echo "========== libspiff-$1.tar.bz2 =========="
-wget http://downloads.sourceforge.net/libspiff/libspiff-$1.tar.bz2 || (echo "FAILED on libspiff-$1.tar.bz2" && exit 1)
+function appendChecksum() { # $1 version, $2 extension
+ md5sum libspiff-$1.$2 >> MD5SUMS
+ sha1sum libspiff-$1.$2 >> SHA1SUMS
+}
-echo
-echo "========== libspiff-$1.tar.gz =========="
-wget http://downloads.sourceforge.net/libspiff/libspiff-$1.tar.gz || (echo "FAILED on libspiff-$1.tar.gz" && exit 1)
-echo
-echo "========== libspiff-$1.zip =========="
-wget http://downloads.sourceforge.net/libspiff/libspiff-$1.zip || (echo "FAILED on libspiff-$1.zip" && exit 1)
+echo "========== downloading =========="
+downloadLibSpiff $1 "tar.bz2"
+downloadLibSpiff $1 "tar.gz"
+downloadLibSpiff $1 "zip"
-
echo
echo "========== appending checksums =========="
-md5sum libspiff-$1.tar.bz2 >> MD5SUMS
-sha1sum libspiff-$1.tar.bz2 >> SHA1SUMS
+appendChecksum $1 "tar.bz2"
+appendChecksum $1 "tar.gz"
+appendChecksum $1 "zip"
-md5sum libspiff-$1.tar.gz >> MD5SUMS
-sha1sum libspiff-$1.tar.gz >> SHA1SUMS
-
-md5sum libspiff-$1.zip >> MD5SUMS
-sha1sum libspiff-$1.zip >> SHA1SUMS
-
-
-
echo
echo "========== adding files =========="
svn add libspiff-$1.tar.bz2
More information about the commits
mailing list