aboutsummaryrefslogtreecommitdiff
path: root/dopewars/dopewars.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-09-23 01:43:56 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-09-23 01:43:56 +0000
commit641b40b051c24b23380b0dfc231cf2c187bf12bf (patch)
tree7dd0c8b01ea12b3722d4d9738038e534a551565e /dopewars/dopewars.SlackBuild
parentd37b153f2d85acfc3d6caca55d3797642224d899 (diff)
downloadslackbuilds-641b40b051c24b23380b0dfc231cf2c187bf12bf.tar.gz
slackbuilds-641b40b051c24b23380b0dfc231cf2c187bf12bf.tar.bz2
signature checking on dopewars and cyrus-sasl (fix)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@268 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dopewars/dopewars.SlackBuild')
-rwxr-xr-xdopewars/dopewars.SlackBuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dopewars/dopewars.SlackBuild b/dopewars/dopewars.SlackBuild
index 6317368b..24355815 100755
--- a/dopewars/dopewars.SlackBuild
+++ b/dopewars/dopewars.SlackBuild
@@ -29,6 +29,33 @@ else
LIBDIR=/usr/lib
fi
+gpg --import <<EOF
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.2.1 (GNU/Linux)
+
+mQGiBD+FrAMRBACyEqh7S8vqlbYzptrQGHCpsrG8Djo3pCBkXWJ/Pfv4bZPf2voU
+bn19j+8fVncE527hWvlLY4dYR04jRVAifBvgTUbXNrl/3IxAelKmq0T22/qSCy8X
+DEHB2g9qgwhLPK44lVN7bN93VN8JEFrcFrFYanYQekq2xux0aL9digsX7wCgog+T
+xoUngcKQh8Pvt1mjWC5W5aUD/3OeX4ZEITchxh0E5OKWrpVvSRz4mpk4F1BrUe9y
+A3v4d8pyQurd5tCcwnZLKI8hqeKZ6ozZJEkO6NG9QYDNkHzPEdh4yi46JhnjP+9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IR/$SRC"
+ wget "$URL.asc" -O "$SRC_DIR/$SRC.asc"
fi
+gpg --verify $SRC_DIR/$SRC.asc $SRC_DIR/$SRC || echo WARNING: Could not check signature or WRONG signature found.
+sleep 3
+
TMP="$TMP/$PACKAGE"
rm -rf $TMP
mkdir -p $TMP