diff options
author | pyllyukko <pyllyukko@maimed.org> | 2014-10-15 21:10:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-15 21:10:22 +0700 |
commit | 7ebc0e080e135ee99fae6c3cfae27d9c6711be47 (patch) | |
tree | 20aa42e03457e842b24aa74f67a4143afec5827b /network/modsecurity-apache/modsecurity-apache.SlackBuild | |
parent | 58d525a456389b4ac7a474cecb7cae1d9110de40 (diff) |
network/modsecurity-apache: Updated for version 2.8.0.
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 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/network/modsecurity-apache/modsecurity-apache.SlackBuild b/network/modsecurity-apache/modsecurity-apache.SlackBuild index 5bd982887b6f..db08f7bac6b6 100644 --- a/network/modsecurity-apache/modsecurity-apache.SlackBuild +++ b/network/modsecurity-apache/modsecurity-apache.SlackBuild @@ -5,7 +5,8 @@ # Written by pyllyukko PRGNAM=modsecurity-apache -VERSION=${VERSION:-2.7.7} +SRCNAM=modsecurity +VERSION=${VERSION:-2.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,16 +63,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${PRGNAM}_${VERSION} -tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz -cd ${PRGNAM}_${VERSION} -tar xvf $CWD/${CRS_VERSION}.tar.gz +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 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |