From a2cb2cc8956ca0c1f791c41b123ae795e59dd39b Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 25 Feb 2017 19:29:22 +0000 Subject: network/suricata: Compress manpage. Signed-off-by: David Spencer --- network/suricata/suricata.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'network/suricata') 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 -- cgit v1.2.3