diff options
Diffstat (limited to 'network/modsecurity-apache/modsecurity-apache.SlackBuild')
-rw-r--r-- | network/modsecurity-apache/modsecurity-apache.SlackBuild | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/network/modsecurity-apache/modsecurity-apache.SlackBuild b/network/modsecurity-apache/modsecurity-apache.SlackBuild index 7b6d047243ea..71529a92fd63 100644 --- a/network/modsecurity-apache/modsecurity-apache.SlackBuild +++ b/network/modsecurity-apache/modsecurity-apache.SlackBuild @@ -49,25 +49,6 @@ else LIBDIRSUFFIX="" fi -# The package can be verified with Breno Silva Pinto's PGP key (0x6980F8B0) -# If we have GPG installed, we try to verify the signature. -if [ -x "/usr/bin/gpg" -a -x "/usr/bin/gpgv" ] -then - set +e - # This will check if we have the correct key in our keyring. - # For the trustedkeys.gpg, see "man 1 gpgv". - /usr/bin/gpg --keyring trustedkeys.gpg --no-default-keyring --list-keys 0xE4BCD2EA82E67A45 &>/dev/null - GPG_RET=${?} - # 2 means we don't have his key, 0 means we do. - set -e - # If we have the key and the signature file, we verify the package with GPG - if [ ${GPG_RET} -eq 0 -a \ - -f "${CWD}/${SRCNAM}-${VERSION}.tar.gz.asc" ] - then - /usr/bin/gpgv "${CWD}/${SRCNAM}-${VERSION}.tar.gz.asc" "${CWD}/${SRCNAM}-${VERSION}.tar.gz" - fi -fi - set -e rm -rf $PKG |