diff options
author | Marco Bonetti <sid77@slackware.it> | 2011-02-05 11:18:48 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-05 11:18:48 -0600 |
commit | ab125d06829e546856028484b44498eb6bf06952 (patch) | |
tree | a5f9f10c124c1b6a12703aa4036d25175f2df3c8 /network/openvas-manager/openvas-manager.SlackBuild | |
parent | a9c21641a9559e04f35af2cd2106fd5fb6022a02 (diff) |
network/openvas-manager: Updated for version 1.0.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/openvas-manager/openvas-manager.SlackBuild')
-rw-r--r-- | network/openvas-manager/openvas-manager.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/network/openvas-manager/openvas-manager.SlackBuild b/network/openvas-manager/openvas-manager.SlackBuild index df350e673d6c1..bb16e1af6135d 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 . \ |