From 50980bad0c33c9146ebd3f574230a91a3b0ead9c Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 16 Sep 2012 11:16:30 -0400 Subject: network/openvas-scanner: Removed (FTBFS) Signed-off-by: dsomero --- network/openvas-scanner/README | 33 ------- network/openvas-scanner/doinst.sh | 22 ----- network/openvas-scanner/openvas-scanner.SlackBuild | 106 --------------------- network/openvas-scanner/openvas-scanner.info | 10 -- network/openvas-scanner/rc.openvas.conf | 20 ---- network/openvas-scanner/rc.openvassd | 32 ------- network/openvas-scanner/slack-desc | 19 ---- 7 files changed, 242 deletions(-) delete mode 100644 network/openvas-scanner/README delete mode 100644 network/openvas-scanner/doinst.sh delete mode 100644 network/openvas-scanner/openvas-scanner.SlackBuild delete mode 100644 network/openvas-scanner/openvas-scanner.info delete mode 100644 network/openvas-scanner/rc.openvas.conf delete mode 100644 network/openvas-scanner/rc.openvassd delete mode 100644 network/openvas-scanner/slack-desc (limited to 'network/openvas-scanner') diff --git a/network/openvas-scanner/README b/network/openvas-scanner/README deleted file mode 100644 index 8e034f44b3666..0000000000000 --- a/network/openvas-scanner/README +++ /dev/null @@ -1,33 +0,0 @@ -OpenVAS stands for Open Vulnerability Assessment System and is a network -security scanner with associated tools like a graphical user front-end. The -core component is a server with a set of network vulnerability tests (NVTs) -to detect security problems in remote systems and applications. - -OpenVAS products are Free Software under GNU GPL and a fork of Nessus. - -This package provides the OpenVAS scanner. To build a complete OpenVAS scanner -installation, however, you have to compile and install the packages in the -following sequence: - 1. openvas-libraries - 2. openvas-scanner - 3. openvas-client - -The openvas-client GUI is needed to interact with the OpenVAS scanner, however -there are some new optional modules: - 1. openvas-manager for storing and organizing scans on a central server in a - SQL database - 2. openvas-administrator for User-, Feed- and Settings-Management - 3. greenbone-security-assistant for a web-based Vulnerability Management - -Speaking of changes: the daemon changed its name from openvasd to openavassd -(notice the extra "s"), so the rc script is /etc/rc.d/rc.openavssd now. - -As a last note, keep in mind that this is a major version transition: the -older openvas-libnasl and openvas-plugins packages no longer exists, -openvas-server has been replaced by the openvas-scanner package and there are -the new optional modules. A straight upgradepkg (with removal of deprecated -packages) *SHOULD* work but also consider to backup your old configuration and -starting over from a fresh OpenVAS installation. - -This package will also ship the /etc/rc.d/rc.openvas.conf file, which is used -to store your entire OpenVAS configuration in a single file. diff --git a/network/openvas-scanner/doinst.sh b/network/openvas-scanner/doinst.sh deleted file mode 100644 index ca2e484cfc703..0000000000000 --- a/network/openvas-scanner/doinst.sh +++ /dev/null @@ -1,22 +0,0 @@ -config() { - NEW="$1" - 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 - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -# Keep same perms on rc.openvassd.new: -if [ -e etc/rc.d/rc.openvassd ]; then - cp -a etc/rc.d/rc.openvassd etc/rc.d/rc.openvassd.new.incoming - cat etc/rc.d/rc.openvassd.new > etc/rc.d/rc.openvassd.new.incoming - mv etc/rc.d/rc.openvassd.new.incoming etc/rc.d/rc.openvassd.new -fi - -config etc/rc.d/rc.openvassd.new -config etc/rc.d/rc.openvas.conf.new - diff --git a/network/openvas-scanner/openvas-scanner.SlackBuild b/network/openvas-scanner/openvas-scanner.SlackBuild deleted file mode 100644 index be412cf2e0dd6..0000000000000 --- a/network/openvas-scanner/openvas-scanner.SlackBuild +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh - -# Slackware build script for OpenVAS scanner. - -# Copyright 2011-2012 Marco Bonetti -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=openvas-scanner -VERSION=${VERSION:-3.1.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -DOCS="CHANGES COPYING ChangeLog" - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -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 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -# install rc script and config file. -install -D -m0755 -oroot -groot $CWD/rc.openvassd $PKG/etc/rc.d/rc.openvassd.new -cat $CWD/rc.openvas.conf > $PKG/etc/rc.d/rc.openvas.conf.new - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/openvas-scanner/openvas-scanner.info b/network/openvas-scanner/openvas-scanner.info deleted file mode 100644 index 11530eb66b6aa..0000000000000 --- a/network/openvas-scanner/openvas-scanner.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="openvas-scanner" -VERSION="3.1.1" -HOMEPAGE="http://www.openvas.org/" -DOWNLOAD="http://wald.intevation.org/frs/download.php/792/openvas-scanner-3.1.1.tar.gz" -MD5SUM="e8e0ff4caa00211b36a22056476fd84f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="openvas-libraries" -MAINTAINER="Marco Bonetti" -EMAIL="sid77@slackware.it" diff --git a/network/openvas-scanner/rc.openvas.conf b/network/openvas-scanner/rc.openvas.conf deleted file mode 100644 index 1323b94377e61..0000000000000 --- a/network/openvas-scanner/rc.openvas.conf +++ /dev/null @@ -1,20 +0,0 @@ -# OpenVAS centralized configuration file: the _PORT options are used to share -# the common configurations between daemons, the _OPTIONS one are used to pass -# extra parameters. Running each daemon from the command line with the --help -# option will give you extra configuration options. - -# OpenVAS Scanner (openvassd) -SCA_PORT="9390" -SCA_OPTIONS="" - -# OpenVAS Manager (openvasmd) -MAN_PORT="9391" -MAN_OPTIONS="" - -# OpenVAS Administrator (openvasad) -ADM_PORT="9393" -ADM_OPTIONS="" - -# Greenbone Security Assistant (gsad) -GSA_PORT="443" -GSA_OPTIONS="" diff --git a/network/openvas-scanner/rc.openvassd b/network/openvas-scanner/rc.openvassd deleted file mode 100644 index 1e13df9951863..0000000000000 --- a/network/openvas-scanner/rc.openvassd +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -# Get OpenVAS options -. /etc/rc.d/rc.openvas.conf - -PIDFILE="/var/run/openvassd.pid" - -start() { - echo "Starting OpenVAS scanner..." - openvassd --port=${SCA_PORT} ${SCA_OPTIONS} -} - -stop() { - echo "Stopping OpenVAS scanner..." - kill `cat $PIDFILE` -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart) - stop - sleep 1 - start - ;; - *) - echo "Usage: $0 (start|stop|restart)" -esac diff --git a/network/openvas-scanner/slack-desc b/network/openvas-scanner/slack-desc deleted file mode 100644 index e392f3e48eeaa..0000000000000 --- a/network/openvas-scanner/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -openvas-scanner: OpenVAS scanner (OpenVAS scanner) -openvas-scanner: -openvas-scanner: OpenVAS stands for Open Vulnerability Assessment System and is a -openvas-scanner: network security scanner with associated tools like a graphical user -openvas-scanner: front-end. The core component is a server with a set of network -openvas-scanner: vulnerability tests (NVTs) to detect security problems in remote -openvas-scanner: systems and applications. -openvas-scanner: -openvas-scanner: OpenVAS products are Free Software under GNU GPL and a fork of Nessus. -openvas-scanner: -openvas-scanner: This package provides the OpenVAS scanner. -- cgit v1.2.3