summaryrefslogtreecommitdiff
path: root/network/openvas-manager/openvas-manager.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/openvas-manager/openvas-manager.SlackBuild')
-rw-r--r--network/openvas-manager/openvas-manager.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/network/openvas-manager/openvas-manager.SlackBuild b/network/openvas-manager/openvas-manager.SlackBuild
index df350e673d..bb16e1af61 100644
--- a/network/openvas-manager/openvas-manager.SlackBuild
+++ b/network/openvas-manager/openvas-manager.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
# Slackware build script for OpenVAS manager.
-#
-# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
+
+# Copyright 2011-2012 Marco Bonetti <sid77@slackware.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openvas-manager
-VERSION=${VERSION:-1.0.0_beta5}
-SRCVER=$(echo $VERSION | tr _ -)
+VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,19 +42,19 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="COPYING README"
+DOCS="COPYING README doc/omp.html"
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
-# Fix LDFLAG
-cat $CWD/LDFLAG.diff | patch -p1 --verbose
+# Fix failure to link libdl.so (the usual sqlite problem)
+patch -p1 < $CWD/LDFLAG.diff
chown -R root:root .
find . \