summaryrefslogtreecommitdiff
path: root/network/openvas-scanner/openvas-scanner.SlackBuild
diff options
context:
space:
mode:
authorKent Fritz <fritz.kent@gmail.com>2015-04-17 07:57:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-17 07:57:13 +0700
commite51ac07f460a0b4eb2f7ae87266515edcb698136 (patch)
treee5dc41a926c6349c0d8992fe41b1b8e9373e92bd /network/openvas-scanner/openvas-scanner.SlackBuild
parent2171298d50414a2f6f41883d484e378bfd8bf601 (diff)
downloadslackbuilds-e51ac07f460a0b4eb2f7ae87266515edcb698136.tar.gz
network/openvas-scanner: Updated for version 5.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/openvas-scanner/openvas-scanner.SlackBuild')
-rw-r--r--network/openvas-scanner/openvas-scanner.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/openvas-scanner/openvas-scanner.SlackBuild b/network/openvas-scanner/openvas-scanner.SlackBuild
index 02514bfc98..0d57a950c5 100644
--- a/network/openvas-scanner/openvas-scanner.SlackBuild
+++ b/network/openvas-scanner/openvas-scanner.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openvas-scanner
-VERSION=${VERSION:-4.0.6}
+VERSION=${VERSION:-5.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -89,11 +89,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
-rmdir $PKG/usr/share
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
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -r $PKG/usr/share
cp -a CHANGES COPYING COPYING.GPLv2 ChangeLog INSTALL README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild