diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-27 08:56:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:18:52 +0700 |
commit | 32628529d16397ee903318508051875453c6b401 (patch) | |
tree | 662fb2cdb4596ca14c8c50840a5e50fba1cd65f8 /network | |
parent | da4abf3eab8d46bec761ecd37cf7d51e5b825a69 (diff) | |
download | slackbuilds-32628529d16397ee903318508051875453c6b401.tar.gz |
network/modsecurity-apache: remove gpg detection.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/modsecurity-apache/modsecurity-apache.SlackBuild | 19 | ||||
-rw-r--r-- | network/modsecurity-apache/modsecurity-apache.info | 2 |
2 files changed, 0 insertions, 21 deletions
diff --git a/network/modsecurity-apache/modsecurity-apache.SlackBuild b/network/modsecurity-apache/modsecurity-apache.SlackBuild index 7b6d047243..71529a92fd 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 diff --git a/network/modsecurity-apache/modsecurity-apache.info b/network/modsecurity-apache/modsecurity-apache.info index 5500d5738f..80b7585c8b 100644 --- a/network/modsecurity-apache/modsecurity-apache.info +++ b/network/modsecurity-apache/modsecurity-apache.info @@ -2,10 +2,8 @@ PRGNAM="modsecurity-apache" VERSION="2.9.3" HOMEPAGE="https://www.modsecurity.org/" DOWNLOAD="https://www.modsecurity.org/tarball/2.9.3/modsecurity-2.9.3.tar.gz \ - https://github.com/SpiderLabs/ModSecurity/releases/download/v2.9.3/modsecurity-2.9.3.tar.gz.asc \ https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/v3.1.0/owasp-modsecurity-crs-3.1.0.tar.gz" MD5SUM="215a96d679a5b0fadcf13b5d09b35422 \ - b1005b1ad337951c876d729264a13f0d \ 4e0a0fbaf077b50364c934083c4cb905" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |