mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/greenbone-security-assistant: Updated for version 1.0.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
a085ddef0f
commit
81ba726e11
6 changed files with 20 additions and 24 deletions
|
@ -1,12 +1,9 @@
|
||||||
The Greenbone Security Assistant is a web application that
|
The Greenbone Security Assistant is a web application that connects
|
||||||
connects to the OpenVAS Manager and OpenVAS Administrator
|
to the OpenVAS Manager and OpenVAS Administrator to provide for a
|
||||||
to provide for a full-featured user interface for
|
full-featured user interface for vulnerability management.
|
||||||
vulnerability management.
|
|
||||||
|
|
||||||
This package provides the Greenbone Security Assistant, it
|
This package provides the Greenbone Security Assistant. It will also
|
||||||
will also install an rc script to start the manager at
|
install an init script to start the manager at system startup.
|
||||||
system startup.
|
|
||||||
|
|
||||||
Requires: openvas-libraries, openvas-scanner, openvas-client,
|
This requires openvas-libraries, openvas-scanner, openvas-client,
|
||||||
openvas-administrator, openvas-manager, libmicrohttpd,
|
openvas-administrator, openvas-manager, and libmicrohttpd.
|
||||||
all available on SlackBuilds.org.
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
config() {
|
config() {
|
||||||
NEW="$1"
|
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 there's no config file by that name, mv it over:
|
||||||
if [ ! -r $OLD ]; then
|
if [ ! -r $OLD ]; then
|
||||||
mv $NEW $OLD
|
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
|
rm $NEW
|
||||||
fi
|
fi
|
||||||
# Otherwise, we leave the .new copy for the admin to consider...
|
# Otherwise, we leave the .new copy for the admin to consider...
|
||||||
|
|
|
@ -23,8 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=greenbone-security-assistant
|
PRGNAM=greenbone-security-assistant
|
||||||
VERSION=${VERSION:-1.0.0_beta5}
|
VERSION=${VERSION:-1.0.3}
|
||||||
SRCVER=$(echo $VERSION | tr _ -)
|
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -50,9 +49,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$SRCVER
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$SRCVER
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="greenbone-security-assistant"
|
PRGNAM="greenbone-security-assistant"
|
||||||
VERSION="1.0.0_beta5"
|
VERSION="1.0.3"
|
||||||
HOMEPAGE="http://www.openvas.org/"
|
HOMEPAGE="http://www.openvas.org/"
|
||||||
DOWNLOAD="http://wald.intevation.org/frs/download.php/719/greenbone-security-assistant-1.0.0-beta5.tar.gz"
|
DOWNLOAD="http://wald.intevation.org/frs/download.php/791/greenbone-security-assistant-1.0.3.tar.gz"
|
||||||
MD5SUM="4f652d060d44915e89634b6b411cef5c"
|
MD5SUM="db0ecc8e9425bf63515ddfade3e3433d"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Marco Bonetti"
|
MAINTAINER="Marco Bonetti"
|
||||||
EMAIL="sid77@slackware.it"
|
EMAIL="sid77@slackware.it"
|
||||||
APPROVED="dsomero"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -12,7 +12,7 @@ start() {
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
echo "Stopping Greenbone Security Assistant..."
|
echo "Stopping Greenbone Security Assistant..."
|
||||||
kill `cat $PIDFILE`
|
kill $(cat $PIDFILE)
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|
|
@ -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: to provide for a full-featured user interface for
|
||||||
greenbone-security-assistant: vulnerability management.
|
greenbone-security-assistant: vulnerability management.
|
||||||
greenbone-security-assistant:
|
greenbone-security-assistant:
|
||||||
greenbone-security-assistant:
|
|
||||||
greenbone-security-assistant:
|
|
||||||
greenbone-security-assistant: This package provides the Greenbone Security Assistant.
|
greenbone-security-assistant: This package provides the Greenbone Security Assistant.
|
||||||
greenbone-security-assistant:
|
greenbone-security-assistant:
|
||||||
|
greenbone-security-assistant:
|
||||||
|
greenbone-security-assistant:
|
||||||
|
|
Loading…
Reference in a new issue