aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild/perl.mkSlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-22 01:55:26 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-22 01:55:26 +0000
commit9bdbd82aa16d3ff0b4cd2828adde49a73c3f1c9b (patch)
tree3a47075c2e259da6176bd05c75362f25e48e28de /trunk/mkbuild/perl.mkSlackBuild
parentc46804a91d09ae9d737715dfb14019458bceefa1 (diff)
downloadsimplepkg-9bdbd82aa16d3ff0b4cd2828adde49a73c3f1c9b.tar.gz
simplepkg-9bdbd82aa16d3ff0b4cd2828adde49a73c3f1c9b.tar.bz2
more changes towards #41 completion
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@766 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/mkbuild/perl.mkSlackBuild')
-rw-r--r--trunk/mkbuild/perl.mkSlackBuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/trunk/mkbuild/perl.mkSlackBuild b/trunk/mkbuild/perl.mkSlackBuild
index 3a8f091..a7fa7a8 100644
--- a/trunk/mkbuild/perl.mkSlackBuild
+++ b/trunk/mkbuild/perl.mkSlackBuild
@@ -187,6 +187,15 @@ echo Success.
# Check Manifest file
if [ -e "$CWD/Manifest" ]; then
+ # Manifest signature checking
+ if grep -q -- "-----BEGIN PGP SIGNED MESSAGE-----" $CWD/Manifest; then
+ echo "Checking Manifest signature..."
+ gpg --verify $CWD/Manifest
+ if [ "$?" != "0" ]; then
+ exit $ERROR_MANIFEST
+ fi
+ fi
+
MANIFEST_LINES="`grep -E -v "^(MKBUILD|SLACKBUILD)" $CWD/Manifest | wc -l`"
for ((MANIFEST_COUNT=1; MANIFEST_COUNT <= $MANIFEST_LINES; MANIFEST_COUNT++)); do