aboutsummaryrefslogtreecommitdiff
path: root/network/modsecurity-apache/modsecurity-apache.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/modsecurity-apache/modsecurity-apache.SlackBuild')
-rw-r--r--network/modsecurity-apache/modsecurity-apache.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/modsecurity-apache/modsecurity-apache.SlackBuild b/network/modsecurity-apache/modsecurity-apache.SlackBuild
index 1c7f8d002aad8..79b670df32c71 100644
--- a/network/modsecurity-apache/modsecurity-apache.SlackBuild
+++ b/network/modsecurity-apache/modsecurity-apache.SlackBuild
@@ -66,7 +66,7 @@ cd $TMP
rm -rf ${SRCNAM}-${VERSION}
tar xvf $CWD/${SRCNAM}-${VERSION}.tar.gz
cd ${SRCNAM}-${VERSION}
-tar xvf $CWD/${CRS_VERSION}.tar.gz
+tar xvf $CWD/owasp-modsecurity-crs-${CRS_VERSION}.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -85,6 +85,7 @@ make install-strip DESTDIR=$PKG
# It leaves two copies of the library, we'll only need one
rm $PKG/usr/lib/*.so
+rmdir --ignore-fail-on-non-empty $PKG/usr/lib
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES LICENSE NOTICE README.TXT README_WINDOWS.TXT authors.txt \