[SCM] Standalone 3D Game Maker and 3D Game Design program branch, master, updated. debian/2.7.1+dfsg-1-4-g93ad8c3

Scott Howard showard at debian.org
Sun Jun 10 14:35:27 UTC 2012


The following commit has been merged in the master branch:
commit eeaac839eece40f28c4b3780475e6e9591387e43
Author: Scott Howard <showard at debian.org>
Date:   Sun Jun 10 09:20:34 2012 -0400

    beginning md5sum check, but don't trust upstream to not break package by changing zip yet

diff --git a/debian/postinst b/debian/postinst
index 46d6282..5c0ff5f 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -38,6 +38,14 @@ case "$1" in
                 cd /var/cache/sandboxgamemaker
                 # use retry mode to recover failed downloads
                 wget -c http://sandboxgamemaker.com/sandbox/"$PASver"Multiplatform.zip
+#                if ! 'echo "d992a0bfb39914a4d519e57938875021  PlatinumArtsSandbox2.7.1Multiplatform.zip" | md5sum -c'
+#                then
+#                    echo "md5sum check failed."
+#                    echo "Either sandboxgamemaker.com changed their source zip file"
+#                    echo "or the file on sandboxgamemaker.com has been compromised."
+#                    rm -rf "$PASver" "$PASver"Multiplatform.zip
+#                    exit 1
+#                fi
                 if ! unzip -q  "$PASver"Multiplatform.zip -x */Creative*.html #Creative*.html because upstream has wierd ??? in file names
                 then
                     # unzip failed. remove bad archive so can retry 

-- 
Standalone 3D Game Maker and 3D Game Design program



More information about the Pkg-games-commits mailing list