aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-02-25 19:29:22 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-04 07:27:25 +0700
commita2cb2cc8956ca0c1f791c41b123ae795e59dd39b (patch)
tree90f332dce86a70231d46600ed636653ec7f80285
parentc6aa01abf289e5cfa2318ef9a099293e35c117a0 (diff)
network/suricata: Compress manpage.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-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 9f48dffa6d6ee..ea49d5cef8460 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