diff options
author | pyllyukko <pyllyukko AT maimed dot org> | 2016-07-31 02:23:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-03 06:59:29 +0700 |
commit | ddd96a888dd9d5968af79a32899eb6580b9e10fd (patch) | |
tree | 2ce307041d2915464c166622780cd044fb2d60d4 /network/modsecurity-apache/modsecurity-apache.SlackBuild | |
parent | 8b88cf69877ae635a29476c615a716cbf0e1915a (diff) |
network/modsecurity-apache: Updated for version 2.9.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/modsecurity-apache/modsecurity-apache.SlackBuild')
-rw-r--r-- | network/modsecurity-apache/modsecurity-apache.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network/modsecurity-apache/modsecurity-apache.SlackBuild b/network/modsecurity-apache/modsecurity-apache.SlackBuild index db08f7bac6b65..1c7f8d002aad8 100644 --- a/network/modsecurity-apache/modsecurity-apache.SlackBuild +++ b/network/modsecurity-apache/modsecurity-apache.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=modsecurity-apache SRCNAM=modsecurity -VERSION=${VERSION:-2.8.0} +VERSION=${VERSION:-2.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,15 +46,15 @@ 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 0x6980F8B0 &>/dev/null + /usr/bin/gpg --keyring trustedkeys.gpg --no-default-keyring --list-keys 0xE6DFB08CE8B11277 &>/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}/${PRGNAM}_${VERSION}.tar.gz.asc" ] + -f "${CWD}/${SRCNAM}-${VERSION}.tar.gz.asc" ] then - /usr/bin/gpgv "${CWD}/${PRGNAM}_${VERSION}.tar.gz.asc" + /usr/bin/gpgv "${CWD}/${SRCNAM}-${VERSION}.tar.gz.asc" "${CWD}/${SRCNAM}-${VERSION}.tar.gz" fi fi @@ -66,7 +66,7 @@ cd $TMP rm -rf ${SRCNAM}-${VERSION} tar xvf $CWD/${SRCNAM}-${VERSION}.tar.gz cd ${SRCNAM}-${VERSION} -tar xvf $CWD/owasp-modsecurity-crs-${CRS_VERSION}.tar.gz || tar xvf $CWD/${CRS_VERSION}.tar.gz +tar xvf $CWD/${CRS_VERSION}.tar.gz chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |