summaryrefslogtreecommitdiffstats
path: root/network/greenbone-security-assistant
diff options
context:
space:
mode:
author Marco Bonetti2011-02-05 18:39:33 +0100
committer Robby Workman2011-02-05 18:39:33 +0100
commit81ba726e111109f4af4ad769c0fa719d36b2aead (patch)
tree039b1f07d1fccb74f75b779827e721207b0cf24d /network/greenbone-security-assistant
parenta085ddef0f8055da064a8c337a899dfeb7119b18 (diff)
downloadslackbuilds-81ba726e111109f4af4ad769c0fa719d36b2aead.tar.gz
network/greenbone-security-assistant: Updated for version 1.0.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/greenbone-security-assistant')
-rw-r--r--network/greenbone-security-assistant/README17
-rw-r--r--network/greenbone-security-assistant/doinst.sh4
-rw-r--r--network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild9
-rw-r--r--network/greenbone-security-assistant/greenbone-security-assistant.info8
-rw-r--r--network/greenbone-security-assistant/rc.gsad2
-rw-r--r--network/greenbone-security-assistant/slack-desc2
6 files changed, 19 insertions, 23 deletions
diff --git a/network/greenbone-security-assistant/README b/network/greenbone-security-assistant/README
index a530ba43f0..70abbba9fe 100644
--- a/network/greenbone-security-assistant/README
+++ b/network/greenbone-security-assistant/README
@@ -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.
diff --git a/network/greenbone-security-assistant/doinst.sh b/network/greenbone-security-assistant/doinst.sh
index 42955bb4c9..07735821f2 100644
--- a/network/greenbone-security-assistant/doinst.sh
+++ b/network/greenbone-security-assistant/doinst.sh
@@ -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...
diff --git a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
index 95393b66b6..dac0cf901d 100644
--- a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
+++ b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
@@ -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 \) \
diff --git a/network/greenbone-security-assistant/greenbone-security-assistant.info b/network/greenbone-security-assistant/greenbone-security-assistant.info
index 421b818311..024b12d420 100644
--- a/network/greenbone-security-assistant/greenbone-security-assistant.info
+++ b/network/greenbone-security-assistant/greenbone-security-assistant.info
@@ -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"
diff --git a/network/greenbone-security-assistant/rc.gsad b/network/greenbone-security-assistant/rc.gsad
index 20efe90b4b..d97a5ba2f6 100644
--- a/network/greenbone-security-assistant/rc.gsad
+++ b/network/greenbone-security-assistant/rc.gsad
@@ -12,7 +12,7 @@ start() {
stop() {
echo "Stopping Greenbone Security Assistant..."
- kill `cat $PIDFILE`
+ kill $(cat $PIDFILE)
}
case "$1" in
diff --git a/network/greenbone-security-assistant/slack-desc b/network/greenbone-security-assistant/slack-desc
index f268962af0..c2c4b2f995 100644
--- a/network/greenbone-security-assistant/slack-desc
+++ b/network/greenbone-security-assistant/slack-desc
@@ -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: This package provides the Greenbone Security Assistant.
greenbone-security-assistant:
greenbone-security-assistant:
-greenbone-security-assistant: This package provides the Greenbone Security Assistant.
greenbone-security-assistant: