mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Remove expired ports:
2006-04-17 security/nessus-devel 2006-04-17 security/nessus-libnasl-devel 2006-04-17 security/nessus-libraries-devel 2006-04-17 security/nessus-plugins-devel
This commit is contained in:
parent
046682e450
commit
9f11fc7d66
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159772
4
MOVED
4
MOVED
@ -2250,3 +2250,7 @@ www/flashpluginwrapper||2006-04-08|Removed as it depends on linux-flashplugin
|
||||
mail/mew-mule||2006-04-10|Has expired: Does not work on the current emacs port
|
||||
net/smbfs||2006-04-14|Incorporated into base system long ago
|
||||
www/adblock-firefox|www/xpi-adblock|2006-04-16|Follow the new xpi infrastructure
|
||||
security/nessus-devel||2006-04-17|Has expired: Development version of nessus is no longer available in sources
|
||||
security/nessus-libnasl-devel||2006-04-17|Has expired: Development version of nessus is no longer available in sources
|
||||
security/nessus-libraries-devel||2006-04-17|Has expired: Development version of nessus is no longer available in sources
|
||||
security/nessus-plugins-devel||2006-04-17|Has expired: Development version of nessus is no longer available in sources
|
||||
|
@ -245,13 +245,9 @@
|
||||
SUBDIR += nbaudit
|
||||
SUBDIR += ncrypt
|
||||
SUBDIR += nessus
|
||||
SUBDIR += nessus-devel
|
||||
SUBDIR += nessus-libnasl
|
||||
SUBDIR += nessus-libnasl-devel
|
||||
SUBDIR += nessus-libraries
|
||||
SUBDIR += nessus-libraries-devel
|
||||
SUBDIR += nessus-plugins
|
||||
SUBDIR += nessus-plugins-devel
|
||||
SUBDIR += nettle
|
||||
SUBDIR += newpki-client
|
||||
SUBDIR += newpki-lib
|
||||
|
@ -1,107 +0,0 @@
|
||||
# New ports collection makefile for: nessus-devel
|
||||
# Date created: 27 Oct 2001
|
||||
# Whom: Udo Schweigert <udo.schweigert@siemens.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# If you want to only have the command-line client even if gtk is already
|
||||
# installed define one of these:
|
||||
# WITHOUT_GNOME
|
||||
# WITHOUT_GTK
|
||||
# WITHOUT_NESSUS_GTK
|
||||
|
||||
PORTNAME= nessus-devel
|
||||
PORTVERSION= 2.3.1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://ftp.gwdg.de/pub/linux/misc/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
http://ftp.gwdg.de/pub/linux/misc/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://sunsite.cnlab-switch.ch/mirror/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://ftp.ayamura.org/pub/nessus/experimental/nessus-${PORTVERSION}/src/
|
||||
DISTNAME= nessus-core-${PORTVERSION}
|
||||
|
||||
MAINTAINER= udo.schweigert@siemens.com
|
||||
COMMENT= A security scanner: looks for vulnerabilities in a given network
|
||||
|
||||
DEPRECATED= Development version of nessus is no longer available in sources
|
||||
EXPIRATION_DATE= 2006-04-17
|
||||
|
||||
CONFLICTS= nessus-[0-9]* nessus-gtk-[0-9]* nessus-gtk2-[0-9]*
|
||||
LIB_DEPENDS= nasl.5:${PORTSDIR}/security/nessus-libnasl-devel
|
||||
|
||||
DIST_SUBDIR= nessus
|
||||
WRKSRC= ${WRKDIR}/nessus-core
|
||||
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall.sh
|
||||
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_RC_SUBR= YES
|
||||
WANT_GNOME= yes
|
||||
.if defined(WITHOUT_NESSUS_GTK) || defined(WITHOUT_GTK)
|
||||
WITHOUT_GNOME= yes
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${HAVE_GNOME:Mgtk20}!=""
|
||||
USE_GNOME+= gtk20
|
||||
PKGNAMESUFFIX= -gtk2
|
||||
.elif ${HAVE_GNOME:Mgtk12}!=""
|
||||
USE_GNOME+= gtk12
|
||||
PKGNAMESUFFIX= -gtk
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-gtk
|
||||
.endif
|
||||
|
||||
MAN1= nessus.1 nessus-fetch.1 nessus-mkrand.1 nessus-mkcert-client.1
|
||||
MAN8= nessusd.8 nessus-adduser.8 nessus-mkcert.8 nessus-rmuser.8
|
||||
|
||||
RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
|
||||
RC_SUBR=${RC_SUBR}
|
||||
|
||||
SED_SCRIPT= -e 's,%%PKGNAME%%,${PKGNAME},g' \
|
||||
-e 's,%%PREFIX%%,${PREFIX},g'
|
||||
|
||||
post-build:
|
||||
.for script in pkg-deinstall
|
||||
@${SED} ${SED_SCRIPT} ${SCRIPTDIR}/${script} > ${WRKDIR}/${script}.sh
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||
${FILESDIR}/nessusd.sh > ${PREFIX}/etc/rc.d/nessusd.sh
|
||||
@${CHMOD} +x ${PREFIX}/etc/rc.d/nessusd.sh
|
||||
@${SED} -e 's;\$${PREFIX};${PREFIX};' ${FILESDIR}/nessusd.conf \
|
||||
> ${PREFIX}/etc/nessus/nessusd.conf.dist
|
||||
@${SED} -e 's;\$${PREFIX};${PREFIX};' ${FILESDIR}/nessusd.rules \
|
||||
> ${PREFIX}/etc/nessus/nessusd.rules.dist
|
||||
@${CHMOD} 644 ${PREFIX}/etc/nessus/nessusd.conf.dist \
|
||||
${PREFIX}/etc/nessus/nessusd.rules.dist
|
||||
@if [ ! -f ${PREFIX}/etc/nessus/nessusd.conf ]; then \
|
||||
${CP} -p ${PREFIX}/etc/nessus/nessusd.conf.dist \
|
||||
${PREFIX}/etc/nessus/nessusd.conf; \
|
||||
fi
|
||||
@if [ ! -f ${PREFIX}/etc/nessus/nessusd.rules ]; then \
|
||||
${CP} -p ${PREFIX}/etc/nessus/nessusd.rules.dist \
|
||||
${PREFIX}/etc/nessus/nessusd.rules; \
|
||||
fi
|
||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/move_nessus
|
||||
.if ! exists(${PREFIX}/var/CA/serverkey.pem)
|
||||
@${ECHO} ""
|
||||
@${ECHO} "**************************************************************************"
|
||||
@${ECHO} "To create and install a new certificate, type \"make cert\""
|
||||
@${ECHO} "**************************************************************************"
|
||||
@${ECHO} ""
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
cert:
|
||||
@${ECHO} ""
|
||||
@${ECHO} "**************************************************************************"
|
||||
@${ECHO} "The new certificate will be saved into ${PREFIX}/var/CA/serverkey.pem"
|
||||
@${ECHO} "**************************************************************************"
|
||||
@${ECHO} ""
|
||||
${PREFIX}/sbin/nessus-mkcert
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (nessus/nessus-core-2.3.1.tar.gz) = b3c254c7fa89ee9f58580272abdd70c3
|
||||
SHA256 (nessus/nessus-core-2.3.1.tar.gz) = 16f7cfaa34e224362933a7d95fc7a73c1e04823db29eea52fc78e742adec0580
|
||||
SIZE (nessus/nessus-core-2.3.1.tar.gz) = 1280142
|
@ -1,120 +0,0 @@
|
||||
# Configuration file of the Nessus Security Scanner
|
||||
|
||||
|
||||
|
||||
# Every line starting with a '#' is a comment
|
||||
|
||||
# Path to the security checks folder :
|
||||
plugins_folder = ${PREFIX}/lib/nessus/plugins
|
||||
|
||||
# Maximum number of simultaneous hosts tested :
|
||||
max_hosts = 30
|
||||
|
||||
# Maximum number of simultaneous checks against each host tested :
|
||||
max_checks = 10
|
||||
|
||||
# Niceness. If set to 'yes', nessusd will renice itself to 10.
|
||||
be_nice = no
|
||||
|
||||
# Log file (or 'syslog') :
|
||||
logfile = ${PREFIX}/var/nessus/logs/nessusd.messages
|
||||
|
||||
# Shall we log every details of the attack ?
|
||||
log_whole_attack = yes
|
||||
|
||||
# Log the name of the plugins that are loaded by the server ?
|
||||
log_plugins_name_at_load = no
|
||||
|
||||
# Dump file for debugging output, use `-' for stdout
|
||||
dumpfile = ${PREFIX}/var/nessus/logs/nessusd.dump
|
||||
|
||||
# Rules file :
|
||||
rules = ${PREFIX}/etc/nessus/nessusd.rules
|
||||
|
||||
# Users database :
|
||||
users = ${PREFIX}/etc/nessus/nessusd.users
|
||||
|
||||
# CGI paths to check for (cgi-bin:/cgi-aws:/ can do)
|
||||
cgi_path = /cgi-bin:/scripts
|
||||
|
||||
# Range of the ports the port scanners will scan :
|
||||
# 'default' means that Nessus will scan ports found in its
|
||||
# services file.
|
||||
port_range = default
|
||||
|
||||
# Optimize the test (recommanded) :
|
||||
optimize_test = yes
|
||||
|
||||
# Language of the plugins :
|
||||
language = english
|
||||
|
||||
|
||||
|
||||
# Optimization :
|
||||
# Read timeout for the sockets of the tests :
|
||||
checks_read_timeout = 5
|
||||
# Ports against which two plugins should not be run simultaneously :
|
||||
# non_simult_ports = Services/www, 139, Services/finger
|
||||
non_simult_ports = 139, 445
|
||||
# Maximum lifetime of a plugin (in seconds) :
|
||||
plugins_timeout = 320
|
||||
|
||||
|
||||
# Safe checks rely on banner grabbing :
|
||||
safe_checks = yes
|
||||
|
||||
|
||||
# Automatically activate the plugins that are depended on
|
||||
auto_enable_dependencies = yes
|
||||
|
||||
|
||||
# Designate hosts by MAC address, not IP address (useful for DHCP networks)
|
||||
use_mac_addr = no
|
||||
|
||||
|
||||
#--- Knowledge base saving (can be configured by the client) :
|
||||
# Save the knowledge base on disk :
|
||||
save_knowledge_base = no
|
||||
# Restore the KB for each test :
|
||||
kb_restore = no
|
||||
# Only test hosts whose KB we do not have :
|
||||
only_test_hosts_whose_kb_we_dont_have = no
|
||||
# Only test hosts whose KB we already have :
|
||||
only_test_hosts_whose_kb_we_have = no
|
||||
# KB test replay :
|
||||
kb_dont_replay_scanners = no
|
||||
kb_dont_replay_info_gathering = no
|
||||
kb_dont_replay_attacks = no
|
||||
kb_dont_replay_denials = no
|
||||
kb_max_age = 864000
|
||||
#--- end of the KB section
|
||||
|
||||
# Can users upload their plugins ?
|
||||
plugin_upload = no
|
||||
# Suffixes of the plugins the user can upload :
|
||||
plugin_upload_suffixes = .nasl, .inc
|
||||
# Name of the user who can remotely update the plugins
|
||||
admin_user = root
|
||||
|
||||
|
||||
# If this option is set, Nessus will not scan a network incrementally
|
||||
# (10.0.0.1, then 10.0.0.2, 10.0.0.3 and so on..) but will attempt to
|
||||
# slice the workload throughout the whole network (ie: it will scan
|
||||
# 10.0.0.1, then 10.0.0.127, then 10.0.0.2, then 10.0.0.128 and so on...
|
||||
slice_network_addresses = no
|
||||
|
||||
# Should consider all the NASL scripts as being signed ? (unsafe if set to 'yes')
|
||||
nasl_no_signature_check = no
|
||||
|
||||
#end.
|
||||
#
|
||||
# Added by nessus-mkcert
|
||||
#
|
||||
cert_file=${PREFIX}/com/CA/servercert.pem
|
||||
key_file=${PREFIX}/var/CA/serverkey.pem
|
||||
ca_file=${PREFIX}/com/CA/cacert.pem
|
||||
# If you decide to protect your private key with a password,
|
||||
# uncomment and change next line
|
||||
# pem_password=password
|
||||
# If you want to force the use of a client certificate, uncomment next line
|
||||
# force_pubkey_auth = yes
|
@ -1,8 +0,0 @@
|
||||
#
|
||||
# Nessus rules
|
||||
#
|
||||
|
||||
# Syntax : accept|reject address/netmask
|
||||
|
||||
# Accept to test anything :
|
||||
default accept
|
@ -1,37 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Start or stop nessusd
|
||||
# $FreeBSD$
|
||||
|
||||
# PROVIDE: nessusd
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# NOTE for FreeBSD 5.0+:
|
||||
# If you want this script to start with the base rc scripts
|
||||
# move nessusd.sh to /etc/rc.d/nessusd
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these nessusd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
# /etc/rc.conf.d/nessusd
|
||||
#
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
[ -z "$nessusd_enable" ] && nessusd_enable="NO" # Disable nessusd
|
||||
#nessusd_program="${prefix}/sbin/nessusd" # Location of nessusd
|
||||
nessusd_flags="-D" # Flags to nessusd program
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="nessusd"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/sbin/nessusd"
|
||||
pidfile="/usr/local/var/nessus/nessusd.pid"
|
||||
required_files="${prefix}/etc/nessus/nessusd.conf"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
@ -1,17 +0,0 @@
|
||||
--- Makefile.orig Tue Jan 21 11:45:03 2003
|
||||
+++ Makefile Thu Jul 3 08:41:17 2003
|
||||
@@ -10,14 +10,6 @@
|
||||
touch $@
|
||||
|
||||
install: all $(CLIENT_INSTALL) install-bin install-man
|
||||
- @echo
|
||||
- @echo ' --------------------------------------------------------------'
|
||||
- @echo ' nessus-core has been sucessfully installed. '
|
||||
- @echo " Make sure that $(bindir) and $(sbindir) are in your PATH before"
|
||||
- @echo " you continue."
|
||||
- @echo " nessusd has been installed into $(sbindir)"
|
||||
- @echo ' --------------------------------------------------------------'
|
||||
- @echo
|
||||
|
||||
install-bin:
|
||||
test -d $(DESTDIR)${sbindir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${sbindir}
|
@ -1,13 +0,0 @@
|
||||
--- nessus-mkcert-client.in.orig Thu Feb 28 18:03:45 2002
|
||||
+++ nessus-mkcert-client.in Wed May 29 13:12:17 2002
|
||||
@@ -84,8 +84,8 @@
|
||||
|
||||
|
||||
|
||||
-NESSUSPRIV="$localstatedir/nessus/CA"
|
||||
-NESSUSPUB="$sharedstatedir/nessus/CA"
|
||||
+NESSUSPRIV="$localstatedir/CA"
|
||||
+NESSUSPUB="$sharedstatedir/CA"
|
||||
|
||||
while [ ! -d "$NESSUSPRIV" ]; do
|
||||
echo_no_nl "Nessus server 'private' directory: "
|
@ -1,13 +0,0 @@
|
||||
--- nessus-mkcert.in.orig Fri Sep 14 13:09:12 2001
|
||||
+++ nessus-mkcert.in Mon Oct 8 13:25:14 2001
|
||||
@@ -64,8 +64,8 @@
|
||||
exit 1
|
||||
esac
|
||||
|
||||
-NESSUSPRIV="$localstatedir/nessus/CA"
|
||||
-NESSUSPUB="$sharedstatedir/nessus/CA"
|
||||
+NESSUSPRIV="$localstatedir/CA"
|
||||
+NESSUSPUB="$sharedstatedir/CA"
|
||||
if [ ! -d "$NESSUSPRIV" ]; then
|
||||
mkdir -p "$NESSUSPRIV"
|
||||
chmod 700 "$NESSUSPRIV"
|
@ -1,11 +0,0 @@
|
||||
--- nessus/comm.c.orig Sat Apr 30 13:36:37 2005
|
||||
+++ nessus/comm.c Fri Jul 8 16:04:27 2005
|
||||
@@ -95,7 +95,7 @@
|
||||
base = limit;
|
||||
limit = PBAR_MAX;
|
||||
break;
|
||||
- default:
|
||||
+ default: ;
|
||||
}
|
||||
}
|
||||
|
@ -1,13 +0,0 @@
|
||||
Nessus is a security scanner that crawls across a network, looking
|
||||
for well-known vulnerabilities and common misconfiguration.
|
||||
|
||||
It has a unique set of features, including automatic SSL discovery,
|
||||
services recognition (so it will catch, for instance, a FTP server
|
||||
running on a port different than 21) and its own scripting language.
|
||||
|
||||
The Nessus Security Scanner is released under the GNU General Public
|
||||
Licence and aims to be easy to use while extremely powerful.
|
||||
|
||||
WWW: http://www.nessus.org/
|
||||
|
||||
PS: To install the lot in one operation, do nessus-plugins-devel first.
|
@ -1,10 +0,0 @@
|
||||
***********************************
|
||||
* !!!!!!!!!!! WARNING !!!!!!!!!!! *
|
||||
***********************************
|
||||
Since 2.1.1_1, to run nessusd server from startup, add nessusd_enable="YES"
|
||||
in your /etc/rc.conf.
|
||||
|
||||
Available variables you add/set to /etc/rc.conf.
|
||||
- nessusd_enable (bool): Set to "NO" by default.
|
||||
Set it to "YES" to enable nessusd.
|
||||
- nessusd_flags (str): Set to "-D" by default.
|
@ -1,38 +0,0 @@
|
||||
bin/nessus
|
||||
bin/nessus-fetch
|
||||
bin/nessus-mkcert-client
|
||||
bin/nessus-mkrand
|
||||
@unexec if cmp -s %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; then rm -f %D/etc/nessus/nessusd.conf 2> /dev/null; fi || true
|
||||
@unexec if cmp -s %D/etc/nessus/nessusd.rules.dist %D/etc/nessus/nessusd.rules; then rm -f %D/etc/nessus/nessusd.rules 2> /dev/null; fi || true
|
||||
etc/nessus/nessusd.conf.dist
|
||||
etc/nessus/nessusd.rules.dist
|
||||
@exec if [ ! -f %D/etc/nessus/nessusd.conf ]; then cp -p %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; fi
|
||||
@exec if [ ! -f %D/etc/nessus/nessusd.rules ]; then cp -p %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; fi
|
||||
etc/rc.d/nessusd.sh
|
||||
include/nessus/config.h
|
||||
include/nessus/includes.h
|
||||
include/nessus/nessus-devel.h
|
||||
include/nessus/nessusicmp.h
|
||||
include/nessus/nessusip.h
|
||||
include/nessus/nessusraw.h
|
||||
include/nessus/nessustcp.h
|
||||
include/nessus/nessusudp.h
|
||||
include/nessus/ntcompat.h
|
||||
sbin/nessus-adduser
|
||||
sbin/nessus-check-signature
|
||||
sbin/nessus-mkcert
|
||||
sbin/nessus-rmuser
|
||||
sbin/nessusd
|
||||
@exec mkdir -p %D/var/nessus/jobs
|
||||
@exec mkdir -p %D/var/nessus/logs
|
||||
@exec mkdir -p %D/var/nessus/users
|
||||
@unexec if [ ! -s %D/var/nessus/logs/nessusd.messages ]; then rm %D/var/nessus/logs/nessusd.messages 2> /dev/null; fi || true
|
||||
@dirrmtry var/nessus/jobs
|
||||
@dirrmtry var/nessus/logs
|
||||
@dirrmtry var/nessus/users
|
||||
@dirrmtry var/nessus
|
||||
@dirrmtry etc/nessus
|
||||
@exec mkdir -p %D/lib/nessus/plugins
|
||||
@dirrmtry lib/nessus/plugins
|
||||
@dirrmtry lib/nessus
|
||||
@exec if [ ! -f %D/var/CA/serverkey.pem ]; then %D/sbin/nessus-mkcert; fi
|
@ -1,62 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/security/nessus-devel/scripts/Attic/move_nessus,v 1.3 2004-12-12 21:37:53 sem Exp $
|
||||
#
|
||||
# set -x
|
||||
|
||||
trap ' cleanup ' 0
|
||||
trap ' echo_signal; exit 1' 1 2 3 15
|
||||
|
||||
cleanup() {
|
||||
# No tmp file to remove up to now ;-)
|
||||
}
|
||||
|
||||
echo_signal() {
|
||||
echo "Got Signal -- aborting `basename $0`"
|
||||
}
|
||||
|
||||
PATH=/bin:/usr/bin
|
||||
|
||||
|
||||
if [ -f $PREFIX/etc/nessus/nessusd.conf ]; then
|
||||
if grep -q "$PREFIX/etc/nessus/var" $PREFIX/etc/nessus/nessusd.conf; then
|
||||
mv $PREFIX/etc/nessus/nessusd.conf $PREFIX/etc/nessus/nessusd.conf.bak
|
||||
sed -e "s,$PREFIX/etc/nessus/var,$PREFIX/var,g" \
|
||||
-e "s,$PREFIX/etc/nessus/com,$PREFIX/com,g" \
|
||||
$PREFIX/etc/nessus/nessusd.conf.bak > $PREFIX/etc/nessus/nessusd.conf
|
||||
fi
|
||||
fi
|
||||
if [ -d $PREFIX/etc/nessus/var/nessus/users ]; then
|
||||
rmdir $PREFIX/etc/nessus/var/nessus/users > /dev/null 2>/dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
printf "\n\nMigrating nessus to default directory scheme\n"
|
||||
printf "============================================\n\n"
|
||||
cd $PREFIX/etc/nessus/var/nessus/users
|
||||
for i in *; do
|
||||
if [ $i != '*' ]; then
|
||||
mv $i $PREFIX/var/nessus/users
|
||||
printf "Moving nessus user %s\n" $i
|
||||
fi
|
||||
done
|
||||
cd $PREFIX
|
||||
rmdir $PREFIX/etc/nessus/var/nessus/users > /dev/null 2>/dev/null
|
||||
printf "\n"
|
||||
fi
|
||||
fi
|
||||
if [ ! -d $PREFIX/com/CA ]; then
|
||||
if [ -d $PREFIX/etc/nessus/com/CA ]; then
|
||||
if [ ! -d $PREFIX/com ]; then
|
||||
mkdir -m 755 $PREFIX/com
|
||||
fi
|
||||
mv $PREFIX/etc/nessus/com/CA $PREFIX/com/CA
|
||||
fi
|
||||
if [ -d $PREFIX/etc/nessus/var/CA ]; then
|
||||
if [ ! -d $PREFIX/var/CA ]; then
|
||||
mv $PREFIX/etc/nessus/var/CA $PREFIX/var/CA
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
cd $PREFIX
|
||||
rmdir $PREFIX/etc/nessus/var > /dev/null 2>/dev/null
|
||||
rmdir $PREFIX/etc/nessus/com > /dev/null 2>/dev/null
|
||||
exit 0
|
@ -1,37 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/security/nessus-devel/scripts/Attic/pkg-deinstall,v 1.2 2004-12-15 16:01:51 sem Exp $
|
||||
#
|
||||
|
||||
ECHO_CMD=echo
|
||||
|
||||
case $2 in
|
||||
POST-DEINSTALL)
|
||||
${ECHO_CMD}
|
||||
${ECHO_CMD} "The %%PKGNAME%% server package has been deleted."
|
||||
${ECHO_CMD} "If you're *not* upgrading and won't be using"
|
||||
${ECHO_CMD} "it any longer, you may want to issue the"
|
||||
${ECHO_CMD} "following commands:"
|
||||
${ECHO_CMD}
|
||||
if [ -d %%PREFIX%%/var/nessus ]; then
|
||||
${ECHO_CMD} "- to delete the nessus server permanently (losing all data):"
|
||||
${ECHO_CMD} " rm -Rf %%PREFIX%%/var/nessus"
|
||||
${ECHO_CMD}
|
||||
fi
|
||||
rm_dir=""
|
||||
if [ -d %%PREFIX%%/com/CA ]; then
|
||||
rm_dir=" %%PREFIX%%/com/CA"
|
||||
fi
|
||||
if [ -d %%PREFIX%%/var/CA ]; then
|
||||
rm_dir="$rm_dir %%PREFIX%%/var/CA"
|
||||
fi
|
||||
if [ "x$rm_dir" != "x" ]; then
|
||||
${ECHO_CMD} "- to remove the Certificate Authority associated with nessus:"
|
||||
${ECHO_CMD} " rm -Rf$rm_dir"
|
||||
${ECHO_CMD}
|
||||
fi
|
||||
${ECHO_CMD} "If you are upgrading, don't forget to restart"
|
||||
${ECHO_CMD} "nessusd and updating the plugins."
|
||||
${ECHO_CMD}
|
||||
;;
|
||||
esac
|
@ -1,37 +0,0 @@
|
||||
# Ports collection makefile for: nessus-libnasl-devel
|
||||
# Date created: 27 Oct 2001
|
||||
# Whom: Udo Schweigert <udo.schweigert@siemens.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= nessus-libnasl-devel
|
||||
PORTVERSION= 2.3.1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://ftp.gwdg.de/pub/linux/misc/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
http://ftp.gwdg.de/pub/linux/misc/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://sunsite.cnlab-switch.ch/mirror/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://ftp.ayamura.org/pub/nessus/experimental/nessus-${PORTVERSION}/src/
|
||||
DISTNAME= libnasl-${PORTVERSION}
|
||||
|
||||
MAINTAINER= udo.schweigert@siemens.com
|
||||
COMMENT= Nessus Attack Scripting Language
|
||||
|
||||
DEPRECATED= Development version of nessus is no longer available in sources
|
||||
EXPIRATION_DATE= 2006-04-17
|
||||
|
||||
CONFLICTS= nessus-libnasl-[0-9]*
|
||||
|
||||
LIB_DEPENDS= nessus.5:${PORTSDIR}/security/nessus-libraries-devel
|
||||
|
||||
DIST_SUBDIR= nessus
|
||||
WRKSRC= ${WRKDIR}/libnasl
|
||||
|
||||
USE_BISON= YES
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= YES
|
||||
|
||||
MAN1= nasl.1 nasl-config.1
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (nessus/libnasl-2.3.1.tar.gz) = cf8ce14fc167783ec2bcbfd6d5455312
|
||||
SHA256 (nessus/libnasl-2.3.1.tar.gz) = 10d749e961e83211bc0462ba462945f0e623d31c97199257b0d4ec9e0000fddd
|
||||
SIZE (nessus/libnasl-2.3.1.tar.gz) = 363907
|
@ -1,16 +0,0 @@
|
||||
--- Makefile.orig Tue Jan 21 15:27:53 2003
|
||||
+++ Makefile Thu Jul 3 08:27:43 2003
|
||||
@@ -18,13 +18,6 @@
|
||||
$(INSTALL) -c -m 0644 doc/nasl.1 $(DESTDIR)${mandir}/man1
|
||||
|
||||
|
||||
- @echo
|
||||
- @echo ' --------------------------------------------------------------'
|
||||
- @echo ' libnasl has been sucessfully installed. '
|
||||
- @echo " Make sure that $(bindir) is in your PATH before you"
|
||||
- @echo " continue "
|
||||
- @echo ' --------------------------------------------------------------'
|
||||
- @echo
|
||||
clean :
|
||||
cd nasl && ${MAKE} clean
|
||||
|
@ -1,19 +0,0 @@
|
||||
NASL is a scripting language designed for the Nessus security scanner. Its
|
||||
aim is to allow anyone to write a test for a given security hole in a few
|
||||
minutes, to allow people to share their tests without having to worry
|
||||
about their operating system, and to garantee everyone that a NASL script
|
||||
can not do anything nasty except performing a given security test against
|
||||
a given target. Thus, NASL allows you to easily forge IP packets, or to
|
||||
send regular packets. It provides you some convenient functions that will
|
||||
make the test of web and ftp server more easy to write. NASL
|
||||
garantees you that a NASL script :
|
||||
|
||||
will not send any packet to a host other than the target host
|
||||
will not execute any commands on your local system
|
||||
|
||||
NASL is not a powerful scripting language. Its purpose is to make scripts
|
||||
that are security tests. So, do not expect to write a third generation web
|
||||
server in this language, nor a file conversion utility. Use perl, python
|
||||
or whatever scripting language to do this.
|
||||
|
||||
WWW: http://www.nessus.org/doc/nasl.html
|
@ -1,8 +0,0 @@
|
||||
bin/nasl
|
||||
bin/nasl-config
|
||||
include/nessus/nasl.h
|
||||
lib/libnasl.a
|
||||
lib/libnasl.la
|
||||
lib/libnasl.so
|
||||
lib/libnasl.so.5
|
||||
var/nessus/nessus_org.pem
|
@ -1,74 +0,0 @@
|
||||
# Ports collection makefile for: nessus-libraries-devel
|
||||
# Date created: 27 Oct 2001
|
||||
# Whom: Udo Schweigert <udo.schweigert@siemens.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# Define NESSUS_CLIENT_ONLY if you only want to build this for the nessus
|
||||
# client.
|
||||
|
||||
PORTNAME= nessus-libraries-devel
|
||||
PORTVERSION= 2.3.1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://ftp.gwdg.de/pub/linux/misc/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
http://ftp.gwdg.de/pub/linux/misc/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://sunsite.cnlab-switch.ch/mirror/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://ftp.ayamura.org/pub/nessus/experimental/nessus-${PORTVERSION}/src/
|
||||
DISTNAME= nessus-libraries-${PORTVERSION}
|
||||
|
||||
MAINTAINER= udo.schweigert@siemens.com
|
||||
COMMENT= Libraries for Nessus, the security scanner
|
||||
|
||||
DEPRECATED= Development version of nessus is no longer available in sources
|
||||
EXPIRATION_DATE= 2006-04-17
|
||||
|
||||
CONFLICTS= nessus-libraries-[0-9]*
|
||||
|
||||
DIST_SUBDIR= nessus
|
||||
WRKSRC= ${WRKDIR}/nessus-libraries
|
||||
|
||||
USE_BISON= YES
|
||||
USE_AUTOTOOLS= autoconf:213 libtool:15
|
||||
CONFIGURE_ARGS= --enable-cipher
|
||||
.if defined(WITH_NESSUS_BPF_SHARE)
|
||||
CONFIGURE_ARGS+= --enable-bpf-sharing
|
||||
.endif
|
||||
|
||||
INSTALLS_SHLIB= YES
|
||||
|
||||
MAN1= nessus-config.1
|
||||
|
||||
.if ! defined(NESSUS_CLIENT_ONLY)
|
||||
pre-configure:
|
||||
@if [ ! -c /dev/bpf1 ]; then \
|
||||
${ECHO} "********************************************************";\
|
||||
${ECHO} "* W a r n i n g *";\
|
||||
${ECHO} "* *";\
|
||||
${ECHO} "* Nessus needs Berkeley Packet Filter (bpf). *";\
|
||||
${ECHO} "* To use nessus, your kernel must be rebuilt with bpf, *";\
|
||||
${ECHO} "* and make bpf devices on /dev directory. *";\
|
||||
${ECHO} "* *";\
|
||||
${ECHO} "* Be sure to build as many bpf devices as you need. *";\
|
||||
${ECHO} "* For more info on this read files/README.BPF *";\
|
||||
${ECHO} "********************************************************";\
|
||||
${FALSE}; \
|
||||
fi
|
||||
.if ! defined(WITH_NESSUS_BPF_SHARE)
|
||||
@if [ ! -c /dev/bpf40 ]; then \
|
||||
${ECHO} "********************************************************";\
|
||||
${ECHO} "* W a r n i n g *";\
|
||||
${ECHO} "* *";\
|
||||
${ECHO} "* Nessus needs many bpf devices. If you can't rebuild *";\
|
||||
${ECHO} "* your kernel with more than 40 bpf devices (as *";\
|
||||
${ECHO} "* described in files/README.BPF) then build this port *";\
|
||||
${ECHO} "* with \"make -DWITH_NESSUS_BPF_SHARE\" *";\
|
||||
${ECHO} "* *";\
|
||||
${ECHO} "********************************************************";\
|
||||
${FALSE}; \
|
||||
fi
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (nessus/nessus-libraries-2.3.1.tar.gz) = 2fd7ae29a501e53468870d1825e7f0ff
|
||||
SHA256 (nessus/nessus-libraries-2.3.1.tar.gz) = 04528fe8882b51da65860ab4fe823fada56f4009d7961ca92970ace32a796c27
|
||||
SIZE (nessus/nessus-libraries-2.3.1.tar.gz) = 424748
|
@ -1,30 +0,0 @@
|
||||
Nessus uses the pcap library, which uses the berkeley packet filter (bpf)
|
||||
to do its job.
|
||||
|
||||
Since Nessus used multiple processes, several pcap-aware plugins will
|
||||
need to access the the bpf at the same time.
|
||||
|
||||
This means that you need to recompile your kernel with the following option:
|
||||
|
||||
pseudo-device bpf
|
||||
|
||||
If for instance you want to have 10 nessusd running at the same time,
|
||||
each running 5 plugins in parallel, you should create 50 (10 * 5) bpfs
|
||||
(as nessusd is extremely lightweight, you can expect to have this amount
|
||||
of processes running at the same time)
|
||||
|
||||
If you plan to scan a whole network, we recommand you create at least
|
||||
100 of them.
|
||||
|
||||
Once your kernel has been rebuilt, get root, cd to /dev
|
||||
and do:
|
||||
|
||||
./MAKEDEV bpf+100
|
||||
|
||||
For FreeBSD 5.x this is not needed since the devfs creates devices when needed.
|
||||
|
||||
If you can not recompile your kernel, you can try to run the configure
|
||||
script with the option --enable-bpf-sharing. In this case, nessusd will
|
||||
try to share one /dev/bpf among multiple processes and do the filtering
|
||||
in userland. NOTE THAT THIS OPTION IS HIGHLY EXPERIMENTAL AND WE DO
|
||||
NOT RECOMMAND ENABLING IT.
|
@ -1,26 +0,0 @@
|
||||
--- Makefile.orig Fri Apr 4 10:40:37 2003
|
||||
+++ Makefile Thu Jul 3 08:17:18 2003
|
||||
@@ -51,7 +51,6 @@
|
||||
cd libhosts_gatherer && ${MAKE} install
|
||||
|
||||
|
||||
- $(INSTALL) -m 0444 include/includes.h $(DESTDIR)${includedir}/nessus
|
||||
$(INSTALL) -m 0444 include/libnessus.h $(DESTDIR)${includedir}/nessus
|
||||
$(INSTALL) -m 0444 include/harglists.h $(DESTDIR)${includedir}/nessus
|
||||
$(INSTALL) -m 0444 include/libvers.h $(DESTDIR)${includedir}/nessus
|
||||
@@ -63,15 +62,6 @@
|
||||
test -d $(DESTDIR)${mandir} || ${INSTALL_DIR} -m 755 $(DESTDIR)${mandir}
|
||||
test -d $(DESTDIR)${mandir}/man1 || ${INSTALL_DIR} -m 755 $(DESTDIR)${mandir}/man1
|
||||
$(INSTALL) -m 0644 nessus-config.1 $(DESTDIR)${mandir}/man1
|
||||
-
|
||||
- @echo
|
||||
- @echo ' --------------------------------------------------------------'
|
||||
- @echo ' nessus-libraries has been sucessfully installed. '
|
||||
- @echo " Make sure that $(bindir) is in your PATH before you"
|
||||
- @echo " continue "
|
||||
- @if [ -f /etc/ld.so.conf ]; then echo " Be sure to add $(libdir) in /etc/ld.so.conf and type 'ldconfig'"; else echo ""; fi
|
||||
- @echo ' --------------------------------------------------------------'
|
||||
- @echo
|
||||
|
||||
clean : $(PCAP_CLEAN)
|
||||
-cd libnessus && ${MAKE} clean
|
@ -1,12 +0,0 @@
|
||||
--- configure.orig Tue Oct 16 19:56:40 2001
|
||||
+++ configure Thu Oct 18 06:13:41 2001
|
||||
@@ -5074,7 +5074,8 @@
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
|
||||
# Always use our own libtool.
|
||||
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
+# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
+LIBTOOL='libtool'
|
||||
|
||||
# Prevent multiple expansion
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- libpcap-nessus/configure.orig Mon Jul 31 11:09:51 2000
|
||||
+++ libpcap-nessus/configure Wed May 29 12:07:45 2002
|
||||
@@ -391,9 +391,9 @@
|
||||
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
|
||||
echo "configure: warning: $ac_option: invalid host type" 1>&2
|
||||
fi
|
||||
- if test "x$nonopt" != xNONE; then
|
||||
- { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
|
||||
- fi
|
||||
+# if test "x$nonopt" != xNONE; then
|
||||
+# { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
|
||||
+# fi
|
||||
nonopt="$ac_option"
|
||||
;;
|
||||
|
@ -1,3 +0,0 @@
|
||||
See the description for ports/security/nessus.
|
||||
|
||||
WWW: http://www.nessus.org/
|
@ -1,23 +0,0 @@
|
||||
bin/nessus-config
|
||||
include/nessus/getopt.h
|
||||
include/nessus/harglists.h
|
||||
include/nessus/libnessus.h
|
||||
include/nessus/libvers.h
|
||||
include/nessus/pcap-namedb.h
|
||||
include/nessus/pcap.h
|
||||
include/nessus/net/bpf.h
|
||||
lib/libhosts_gatherer.a
|
||||
lib/libhosts_gatherer.la
|
||||
lib/libhosts_gatherer.so
|
||||
lib/libhosts_gatherer.so.5
|
||||
lib/libnessus.a
|
||||
lib/libnessus.la
|
||||
lib/libnessus.so
|
||||
lib/libnessus.so.5
|
||||
lib/libpcap-nessus.a
|
||||
lib/libpcap-nessus.la
|
||||
lib/libpcap-nessus.so
|
||||
lib/libpcap-nessus.so.5
|
||||
sbin/uninstall-nessus
|
||||
@dirrm include/nessus/net
|
||||
@dirrm include/nessus
|
@ -1,48 +0,0 @@
|
||||
# Ports collection makefile for: nessus-plugins-devel
|
||||
# Date created: 27 Oct 2001
|
||||
# Whom: Udo Schweigert <udo.schweigert@siemens.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= nessus-plugins-devel
|
||||
PORTVERSION= 2.3.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://ftp.gwdg.de/pub/linux/misc/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
http://ftp.gwdg.de/pub/linux/misc/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://sunsite.cnlab-switch.ch/mirror/nessus/experimental/nessus-${PORTVERSION}/src/ \
|
||||
ftp://ftp.ayamura.org/pub/nessus/experimental/nessus-${PORTVERSION}/src/
|
||||
DISTNAME= nessus-plugins-GPL-${PORTVERSION}
|
||||
|
||||
MAINTAINER= udo.schweigert@siemens.com
|
||||
COMMENT= Plugins for Nessus, the security scanner
|
||||
|
||||
DEPRECATED= Development version of nessus is no longer available in sources
|
||||
EXPIRATION_DATE= 2006-04-17
|
||||
|
||||
CONFLICTS= nessus-plugins-[0-9]*
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus-devel
|
||||
RUN_DEPENDS= ${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus-devel \
|
||||
nmap:${PORTSDIR}/security/nmap
|
||||
|
||||
DIST_SUBDIR= nessus
|
||||
WRKSRC= ${WRKDIR}/nessus-plugins
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-fetchcmd=wget
|
||||
|
||||
MAN1= nessus-build.1
|
||||
MAN8= nessus-update-plugins.8
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-install:
|
||||
@${ECHO} "================================================================================"
|
||||
@${ECHO} "Use ${PREFIX}/sbin/nessus-update-plugins to update your plugin"
|
||||
@${ECHO} "collection."
|
||||
@${ECHO} "================================================================================"
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (nessus/nessus-plugins-GPL-2.3.1.tar.gz) = 07d22a6a3b80726b9488265a7e613c17
|
||||
SHA256 (nessus/nessus-plugins-GPL-2.3.1.tar.gz) = d7e56fcfea401b2e1957674669fe92923a8a2fcfb7ba950a6e9c5321aca89390
|
||||
SIZE (nessus/nessus-plugins-GPL-2.3.1.tar.gz) = 1494351
|
@ -1,13 +0,0 @@
|
||||
Nessus is a security scanner. That is, it's a program which will scan a
|
||||
given network and will seek for vulnerabilities which could be exploited
|
||||
by some remote intruder.
|
||||
|
||||
The Nessus Project was originally started by Renaud Deraison
|
||||
(deraison@worldnet.fr). Many people contributed in many ways to the
|
||||
project, and the Nessus core team is now made up of Alexis de Bernis
|
||||
(alexisb@mygale.org), who is the Java specialist, Noam Rathaus
|
||||
(dolittle@isrealmail.com) who is in charge of the Nessus client for
|
||||
Windows, and Renaud Deraison who is still here and who is the project
|
||||
leader.
|
||||
|
||||
WWW: http://www.nessus.org/
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user