aboutsummaryrefslogtreecommitdiff
path: root/app/forensics/rkhunter
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-12-08 06:06:12 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-12-08 06:06:12 +0000
commit8ecdee6c7567d08c1871842175474d0ea879cac0 (patch)
treec43082b08dd5493c27752b121c626ea2908e1372 /app/forensics/rkhunter
parentfc254c6d976e62f7ed8e7ed827d84892adf1a242 (diff)
downloadslackbuilds-8ecdee6c7567d08c1871842175474d0ea879cac0.tar.gz
slackbuilds-8ecdee6c7567d08c1871842175474d0ea879cac0.tar.bz2
Updated: rkhunter
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1518 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app/forensics/rkhunter')
-rwxr-xr-xapp/forensics/rkhunter/rkhunter.SlackBuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app/forensics/rkhunter/rkhunter.SlackBuild b/app/forensics/rkhunter/rkhunter.SlackBuild
index 62395531..6d6c9a2d 100755
--- a/app/forensics/rkhunter/rkhunter.SlackBuild
+++ b/app/forensics/rkhunter/rkhunter.SlackBuild
@@ -76,6 +76,40 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! gzip -t "$SRC_DIR/$SRC" 2> /dev/null; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
fi
+# Import minimized signing key from
+# http://keyserver.noreply.org/pks/lookup?op=get&search=0xEA5F4CD3A65F5E17
+gpg --import << EOKEY || exit $ERROR_GPG
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mIsERqMwPQEEAI0vYVqBSHTexjttt9iFOItnJy56vIKnBNaG/PqPMvTY3HHzWfRN
+p62YPB+F+htLzfKwUSDVaC0BYP8zl09lzNcTeb5JkUcT/qaSEssdBQFLI2H/7A2y
+2HXzkntijiWTLw7YzWk45d8YzJ8SMJMu1CFX26VqgDZJ27hdDEJ7+t97AAQLtC8i
+cmtodW50ZXJAaHVzaG1haWwuY29tIiA8cmtodW50ZXJAaHVzaG1haWwuY29tPoiq
+BBABAgAUBhUICQoDAgYLCQgHCgQFAkajMD0ACgkQ6l9M06ZfXhdc5QP/ewqGepun
+BTAd7K35OpGdbwRBWhGL7hk3Ek0Ai0rHOCJVFHgX6ihzKqcpPLTnBie/QUd7XoV6
+3jrwIbrgXADckg3sTKnMgxFowtEgrJgGYtZTPaQEW5bkWrZwSxl/lgYs61yjSsDB
+8lBON2tM8/OwkJQtv4WfFQ9xXqs0sRH8DQO5AQsERqMwPQEIAJvaygqO3Z3qYVe+
+aff2Zd9Bm7r2JhjcIIjz7ul53MyQF3dxkPrh70Ix3azupdrZvirn5mMa2oC5ZdDr
+zIw5c43ztRV4Ia3nFG7hdrDkMmYoUbxnLU0qLhGep/kadPvdLlEVyKvSHKLen5Wd
+XPE6iLaTUQj/PuALhJ/Ll6hJyk6KohBV+Y0ZTkmdBp+r/jI4DEQ8HGc0J3tLuzWJ
+fZcQNvV/m5UyyDOfmD9rcXkowhhVtMeX5epS3CfskhJzeQfwJnFr5d8Wq76a0FL3
+dQLFqLBIZlechSDsfTu1FndjxMDAymR9aMBMPRP/CR3PKI7LN/l1822QQf1pBNne
+/JKilMEABAuInAQYAQIABgUCRqMwQAAKCRDqX0zTpl9eFzfEBACJLzcgMUAFYE5F
+R8XqRS2zfv13XPaTJD9cs2rut0RgsG7wtUdkXJ52kwM/2MmFkJBahK5jrJoPnZ2U
+1xHJ1LgS+xeHtHCxees30lJrMU2uCcqLZtm7MRp/NCVtBeC2615XEQ3wF3nyzJSA
+oiiAs08RzKzUAiEhUTJbKiySdp3xSQ==
+=OxBn
+-----END PGP PUBLIC KEY BLOCK-----
+EOKEY
+
+# Dowload source's signature if necessary and check it
+if [ ! -s "$SRC_DIR/$SRC.asc" ]; then
+ wget "$URL.asc" -O "$SRC_DIR/$SRC.asc" || exit $ERROR_WGET
+fi
+
+gpg --verify "$SRC_DIR/$SRC.asc" "$SRC_DIR/$SRC" || exit $ERROR_GPG
+
+
# Untar
cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR