summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/suricata/suricata.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/network/suricata/suricata.SlackBuild b/network/suricata/suricata.SlackBuild
index 9f48dffa6d..ea49d5cef8 100644
--- a/network/suricata/suricata.SlackBuild
+++ b/network/suricata/suricata.SlackBuild
@@ -109,6 +109,9 @@ install -D -m644 rules/*.rules $PKG/etc/$PRGNAM
# Create directory for logging
mkdir -p $PKG/var/log/$PRGNAM
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog LICENSE doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION