summaryrefslogtreecommitdiff
path: root/network
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 /network
parentc6aa01abf289e5cfa2318ef9a099293e35c117a0 (diff)
downloadslackbuilds-a2cb2cc8956ca0c1f791c41b123ae795e59dd39b.tar.gz
network/suricata: Compress manpage.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-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