network/greenbone-security-assistant: Updated for version 1.0.3.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Marco Bonetti 2011-02-05 11:39:33 -06:00 committed by Robby Workman
parent a085ddef0f
commit 81ba726e11
6 changed files with 20 additions and 24 deletions

View file

@ -1,12 +1,9 @@
The Greenbone Security Assistant is a web application that
connects to the OpenVAS Manager and OpenVAS Administrator
to provide for a full-featured user interface for
vulnerability management.
The Greenbone Security Assistant is a web application that connects
to the OpenVAS Manager and OpenVAS Administrator to provide for a
full-featured user interface for vulnerability management.
This package provides the Greenbone Security Assistant, it
will also install an rc script to start the manager at
system startup.
This package provides the Greenbone Security Assistant. It will also
install an init script to start the manager at system startup.
Requires: openvas-libraries, openvas-scanner, openvas-client,
openvas-administrator, openvas-manager, libmicrohttpd,
all available on SlackBuilds.org.
This requires openvas-libraries, openvas-scanner, openvas-client,
openvas-administrator, openvas-manager, and libmicrohttpd.

View file

@ -1,10 +1,10 @@
config() {
NEW="$1"
OLD="`dirname $NEW`/`basename $NEW .new`"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...

View file

@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=greenbone-security-assistant
VERSION=${VERSION:-1.0.0_beta5}
SRCVER=$(echo $VERSION | tr _ -)
VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -50,9 +49,9 @@ 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
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \

View file

@ -1,10 +1,10 @@
PRGNAM="greenbone-security-assistant"
VERSION="1.0.0_beta5"
VERSION="1.0.3"
HOMEPAGE="http://www.openvas.org/"
DOWNLOAD="http://wald.intevation.org/frs/download.php/719/greenbone-security-assistant-1.0.0-beta5.tar.gz"
MD5SUM="4f652d060d44915e89634b6b411cef5c"
DOWNLOAD="http://wald.intevation.org/frs/download.php/791/greenbone-security-assistant-1.0.3.tar.gz"
MD5SUM="db0ecc8e9425bf63515ddfade3e3433d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
APPROVED="dsomero"
APPROVED="rworkman"

View file

@ -12,7 +12,7 @@ start() {
stop() {
echo "Stopping Greenbone Security Assistant..."
kill `cat $PIDFILE`
kill $(cat $PIDFILE)
}
case "$1" in

View file

@ -13,7 +13,7 @@ greenbone-security-assistant: connects to the OpenVAS Manager and OpenVAS Admini
greenbone-security-assistant: to provide for a full-featured user interface for
greenbone-security-assistant: vulnerability management.
greenbone-security-assistant:
greenbone-security-assistant:
greenbone-security-assistant:
greenbone-security-assistant: This package provides the Greenbone Security Assistant.
greenbone-security-assistant:
greenbone-security-assistant:
greenbone-security-assistant: