diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-10-10 20:26:24 +0200 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-11-04 09:53:51 -0500 |
commit | 777055c610a8e4f251c9410203b9b4cd7ee5f060 (patch) | |
tree | dfc1d945bae5d12332800cb883644726c7cfc104 /network/modsecurity-apache/modsecurity-apache.SlackBuild | |
parent | cbc2b5f94c028bee6b06f786245df342b684c8ff (diff) | |
download | slackbuilds-777055c610a8e4f251c9410203b9b4cd7ee5f060.tar.gz |
network/modsecurity-apache: Updated for version 2.6.8.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/modsecurity-apache/modsecurity-apache.SlackBuild')
-rw-r--r-- | network/modsecurity-apache/modsecurity-apache.SlackBuild | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/network/modsecurity-apache/modsecurity-apache.SlackBuild b/network/modsecurity-apache/modsecurity-apache.SlackBuild index 807071a71e..245d557174 100644 --- a/network/modsecurity-apache/modsecurity-apache.SlackBuild +++ b/network/modsecurity-apache/modsecurity-apache.SlackBuild @@ -5,11 +5,11 @@ # Written by pyllyukko PRGNAM=modsecurity-apache -VERSION=${VERSION:-2.6.5} +VERSION=${VERSION:-2.6.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CRS_VERSION="2.2.4" +CRS_VERSION="2.2.6" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -55,17 +55,6 @@ then then /usr/bin/gpgv "${CWD}/${PRGNAM}_${VERSION}.tar.gz.asc" fi - - # Verify the Core Rule Set package. - set +e - /usr/bin/gpg --keyring trustedkeys.gpg --no-default-keyring --list-keys 0x9624FCD2 &>/dev/null - GPG_RET=${?} - set -e - if [ ${GPG_RET} -eq 0 -a \ - -f "${CWD}/modsecurity-crs_${CRS_VERSION}.tar.gz.asc" ] - then - /usr/bin/gpgv "${CWD}/modsecurity-crs_${CRS_VERSION}.tar.gz.asc" - fi fi set -e @@ -120,8 +109,8 @@ cat modsecurity.conf-recommended > $PKG/etc/httpd/extra/modsecurity-recommended. # The Core Rule Set mkdir -p ${PKG}/etc/httpd/crs cp -Rv modsecurity-crs_${CRS_VERSION}/* ${PKG}/etc/httpd/crs -cat modsecurity-crs_${CRS_VERSION}/modsecurity_crs_10_config.conf.example > \ - ${PKG}/etc/httpd/crs/modsecurity_crs_10_config.conf.new +cat modsecurity-crs_${CRS_VERSION}/modsecurity_crs_10_setup.conf.example > \ + ${PKG}/etc/httpd/crs/modsecurity_crs_10_setup.conf.new mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |