Retire ports/security/nessus, it moved to being commercial software several
years ago. (If anyone needs something like this, there's a fork OpenVAS which is seeing a bit of development, though it's patchy at times - start with security/openvas in the openbsd-wip github repo). OK dcoppa@ aja@
This commit is contained in:
parent
e3543778ed
commit
23b02cbb65
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.352 2014/09/27 16:31:40 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.353 2014/09/30 16:14:57 sthen Exp $
|
||||
|
||||
SUBDIR =
|
||||
SUBDIR += ADMfzap
|
||||
@ -118,7 +118,6 @@
|
||||
SUBDIR += mcrypt
|
||||
SUBDIR += mhash
|
||||
SUBDIR += nbaudit
|
||||
SUBDIR += nessus
|
||||
SUBDIR += netpgp
|
||||
SUBDIR += nfsshell
|
||||
SUBDIR += nikto
|
||||
|
@ -1,10 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.42 2010/02/01 17:00:14 espie Exp $
|
||||
|
||||
SUBDIR =
|
||||
SUBDIR += core
|
||||
SUBDIR += core,no_x11
|
||||
SUBDIR += libnasl
|
||||
SUBDIR += libraries
|
||||
SUBDIR += plugins
|
||||
|
||||
.include <bsd.port.subdir.mk>
|
@ -1,22 +0,0 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.13 2013/03/11 12:27:54 sthen Exp $
|
||||
|
||||
V= 2.2.9
|
||||
CATEGORIES= security
|
||||
|
||||
HOMEPAGE= http://www.nessus.org/
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${V}/src/
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
CONFIGURE_ARGS+=--sharedstatedir=/var \
|
||||
--disable-nessuspcap \
|
||||
--enable-bpf-sharing \
|
||||
--enable-shared
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME:S/-${V}//:S/-GPL//}
|
@ -1,31 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.32 2013/02/09 14:49:52 sthen Exp $
|
||||
|
||||
COMMENT= network security scanner
|
||||
DISTNAME= nessus-core-${V}
|
||||
REVISION= 11
|
||||
|
||||
FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
|
||||
WANTLIB += c crypto hosts_gatherer m nessus pcap rpcsvc ssl util nasl>=4
|
||||
|
||||
LIB_DEPENDS= security/nessus/libnasl
|
||||
BUILD_DEPENDS= devel/bison
|
||||
USE_GROFF = Yes
|
||||
|
||||
.if empty(FLAVOR:Mno_x11)
|
||||
MODULES= devel/gettext
|
||||
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
|
||||
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
|
||||
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
||||
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 gthread-2.0
|
||||
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
||||
WANTLIB += pthread pthread-stubs xcb xcb-render z
|
||||
WANTLIB += GL xcb-shm
|
||||
LIB_DEPENDS+= x11/gtk+2
|
||||
CONFIGURE_ARGS+=--enable-gtk
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-gtk
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (nessus-core-2.2.9.tar.gz) = w/nbg207hmtKk5XugzY4vg==
|
||||
RMD160 (nessus-core-2.2.9.tar.gz) = upERkqeO4cauGl1kut/50Y72Zqg=
|
||||
SHA1 (nessus-core-2.2.9.tar.gz) = JThf0c7OQP1X4mr9QsiFFbBpwro=
|
||||
SHA256 (nessus-core-2.2.9.tar.gz) = tyWs5O9hm8GbNy6smmDbewg6PhVeEcZUQ2GOUrVshH4=
|
||||
SIZE (nessus-core-2.2.9.tar.gz) = 674390
|
@ -1,51 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.3 2007/03/21 21:29:32 aanriot Exp $
|
||||
--- Makefile.orig Sun Jan 15 16:37:55 2006
|
||||
+++ Makefile Wed Mar 21 08:16:51 2007
|
||||
@@ -10,35 +10,16 @@ nessus.tmpl: nessus.tmpl.in configure VE
|
||||
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}
|
||||
$(INSTALL) -m $(SERVERMODE) ${make_bindir}/nessusd $(DESTDIR)${sbindir}
|
||||
$(INSTALL) -m $(SERVERMODE) ${make_bindir}/nessus-check-signature $(DESTDIR)${sbindir}
|
||||
- test -d $(DESTDIR)${sysconfdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${sysconfdir}
|
||||
- test -d $(DESTDIR)${sysconfdir}/nessus || $(INSTALL_DIR) -m 755 $(DESTDIR)${sysconfdir}/nessus
|
||||
- test -d $(DESTDIR)${NESSUSD_DATADIR} || \
|
||||
- $(INSTALL_DIR) -m $(PLUGINSDIRMODE) $(DESTDIR)${NESSUSD_DATADIR}
|
||||
- test -d $(DESTDIR)$(NESSUSD_PLUGINS) || \
|
||||
- $(INSTALL_DIR) -m $(PLUGINSDIRMODE) $(DESTDIR)$(NESSUSD_PLUGINS)
|
||||
test -d $(DESTDIR)${includedir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${includedir}
|
||||
test -d $(DESTDIR)${includedir}/nessus || $(INSTALL_DIR) -m 755 $(DESTDIR)${includedir}/nessus
|
||||
- test -d $(DESTDIR)${localstatedir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${localstatedir}
|
||||
- test -d $(DESTDIR)${NESSUSD_STATEDIR} || $(INSTALL_DIR) -m 755 $(DESTDIR)${NESSUSD_STATEDIR}
|
||||
- test -d $(DESTDIR)${NESSUSD_STATEDIR}/users || $(INSTALL_DIR) -m 755 $(DESTDIR)${NESSUSD_STATEDIR}/users
|
||||
- test -d $(DESTDIR)${NESSUSD_STATEDIR}/logs || $(INSTALL_DIR) -m 755 $(DESTDIR)${NESSUSD_STATEDIR}/logs
|
||||
- test -d $(DESTDIR)${NESSUSD_STATEDIR}/tmp || $(INSTALL_DIR) -m 755 $(DESTDIR)${NESSUSD_STATEDIR}/tmp
|
||||
- test -d $(DESTDIR)${NESSUSD_STATEDIR}/jobs || $(INSTALL_DIR) -m 755 $(DESTDIR)${NESSUSD_STATEDIR}/jobs
|
||||
- test -d $(DESTDIR)${NESSUSD_LOGDIR} || $(INSTALL_DIR) -m 755 $(DESTDIR)${NESSUSD_LOGDIR}
|
||||
- $(INSTALL) -c -m 0444 nessus-services $(DESTDIR)${NESSUSD_STATEDIR}/
|
||||
+ test -d $(DESTDIR)${prefix}/share/examples/nessus || $(INSTALL_DIR) -m 755 $(DESTDIR)${prefix}/share/examples/nessus/
|
||||
+ test -d $(DESTDIR)${prefix}/lib/nessus/plugins || $(INSTALL_DIR) -m 755 $(DESTDIR)${prefix}/lib/nessus/plugins/
|
||||
+ $(INSTALL) -c -m 0444 nessus-services $(DESTDIR)${prefix}/share/examples/nessus/
|
||||
$(INSTALL) -c -m 0444 include/config.h $(DESTDIR)${includedir}/nessus
|
||||
$(INSTALL) -c -m 0444 include/ntcompat.h $(DESTDIR)${includedir}/nessus
|
||||
$(INSTALL) -c -m 0444 include/includes.h $(DESTDIR)${includedir}/nessus
|
||||
@@ -105,7 +86,7 @@ $(MAN_NESSUS_1) : $(MAN_NESSUS_1).in
|
||||
@sed -e 's?@NESSUSD_CONFDIR@?${NESSUSD_CONFDIR}?g;s?@NESSUSD_DATADIR@?${NESSUSD_DATADIR}?g;s?@NESSUSD_PLUGINS@?${NESSUSD_PLUGINS}?g;' $(MAN_NESSUS_1).in >$(MAN_NESSUS_1)
|
||||
|
||||
$(MAN_NESSUSD_8) : $(MAN_NESSUSD_8).in
|
||||
- @sed -e 's?@NESSUSD_CONFDIR@?${NESSUSD_CONFDIR}?g;s?@NESSUSD_DATADIR@?${NESSUSD_DATADIR}?g;s?@NESSUSD_PLUGINS@?${NESSUSD_PLUGINS}?g;' $(MAN_NESSUSD_8).in >$(MAN_NESSUSD_8)
|
||||
+ @sed -e 's?@NESSUSD_CONFDIR@?${NESSUSD_CONFDIR}?g;s?@NESSUSD_DATADIR@?${NESSUSD_DATADIR}?g;s?@NESSUSD_PLUGINS@?${NESSUSD_PLUGINS}?g;s?@NESSUSD_STATEDIR@?${NESSUSD_STATEDIR}?g;' $(MAN_NESSUSD_8).in >$(MAN_NESSUSD_8)
|
||||
|
||||
|
||||
clean:
|
@ -1,131 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2005/05/16 16:07:43 sturm Exp $
|
||||
--- configure.orig Tue Feb 8 02:40:42 2005
|
||||
+++ configure Sun May 8 17:06:47 2005
|
||||
@@ -5415,80 +5415,8 @@ else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
-test "x$GTKCONFIG" = x && {
|
||||
- # Extract the first word of "gtk12-config", so it can be a program name with args.
|
||||
-set dummy gtk12-config; ac_word=$2
|
||||
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
-echo "configure:5423: checking for $ac_word" >&5
|
||||
-if eval "test \"`echo '$''{'ac_cv_path_GTKCONFIG'+set}'`\" = set"; then
|
||||
- echo $ac_n "(cached) $ac_c" 1>&6
|
||||
-else
|
||||
- case "$GTKCONFIG" in
|
||||
- /*)
|
||||
- ac_cv_path_GTKCONFIG="$GTKCONFIG" # Let the user override the test with a path.
|
||||
- ;;
|
||||
- ?:/*)
|
||||
- ac_cv_path_GTKCONFIG="$GTKCONFIG" # Let the user override the test with a dos path.
|
||||
- ;;
|
||||
- *)
|
||||
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
||||
- ac_dummy="$XPATH"
|
||||
- for ac_dir in $ac_dummy; do
|
||||
- test -z "$ac_dir" && ac_dir=.
|
||||
- if test -f $ac_dir/$ac_word; then
|
||||
- ac_cv_path_GTKCONFIG="$ac_dir/$ac_word"
|
||||
- break
|
||||
- fi
|
||||
- done
|
||||
- IFS="$ac_save_ifs"
|
||||
- ;;
|
||||
-esac
|
||||
-fi
|
||||
-GTKCONFIG="$ac_cv_path_GTKCONFIG"
|
||||
-if test -n "$GTKCONFIG"; then
|
||||
- echo "$ac_t""$GTKCONFIG" 1>&6
|
||||
-else
|
||||
- echo "$ac_t""no" 1>&6
|
||||
-fi
|
||||
|
||||
- test "x$GTKCONFIG" = x && # Extract the first word of "gtk10-config", so it can be a program name with args.
|
||||
-set dummy gtk10-config; ac_word=$2
|
||||
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
-echo "configure:5458: checking for $ac_word" >&5
|
||||
-if eval "test \"`echo '$''{'ac_cv_path_GTKCONFIG'+set}'`\" = set"; then
|
||||
- echo $ac_n "(cached) $ac_c" 1>&6
|
||||
-else
|
||||
- case "$GTKCONFIG" in
|
||||
- /*)
|
||||
- ac_cv_path_GTKCONFIG="$GTKCONFIG" # Let the user override the test with a path.
|
||||
- ;;
|
||||
- ?:/*)
|
||||
- ac_cv_path_GTKCONFIG="$GTKCONFIG" # Let the user override the test with a dos path.
|
||||
- ;;
|
||||
- *)
|
||||
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
||||
- ac_dummy="$XPATH"
|
||||
- for ac_dir in $ac_dummy; do
|
||||
- test -z "$ac_dir" && ac_dir=.
|
||||
- if test -f $ac_dir/$ac_word; then
|
||||
- ac_cv_path_GTKCONFIG="$ac_dir/$ac_word"
|
||||
- break
|
||||
- fi
|
||||
- done
|
||||
- IFS="$ac_save_ifs"
|
||||
- ;;
|
||||
-esac
|
||||
-fi
|
||||
-GTKCONFIG="$ac_cv_path_GTKCONFIG"
|
||||
-if test -n "$GTKCONFIG"; then
|
||||
- echo "$ac_t""$GTKCONFIG" 1>&6
|
||||
-else
|
||||
- echo "$ac_t""no" 1>&6
|
||||
-fi
|
||||
|
||||
- }
|
||||
-
|
||||
-
|
||||
# Extract the first word of "pkg-config", so it can be a program name with args.
|
||||
set dummy pkg-config; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
@@ -5582,46 +5510,7 @@ if test -n "$GLIBCONFIG"; then
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
-
|
||||
-test "x$GLIBCONFIG" = x && {
|
||||
- # Extract the first word of "glib12-config", so it can be a program name with args.
|
||||
-set dummy glib12-config; ac_word=$2
|
||||
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
-echo "configure:5591: checking for $ac_word" >&5
|
||||
-if eval "test \"`echo '$''{'ac_cv_path_GLIBCONFIG'+set}'`\" = set"; then
|
||||
- echo $ac_n "(cached) $ac_c" 1>&6
|
||||
-else
|
||||
- case "$GLIBCONFIG" in
|
||||
- /*)
|
||||
- ac_cv_path_GLIBCONFIG="$GLIBCONFIG" # Let the user override the test with a path.
|
||||
- ;;
|
||||
- ?:/*)
|
||||
- ac_cv_path_GLIBCONFIG="$GLIBCONFIG" # Let the user override the test with a dos path.
|
||||
- ;;
|
||||
- *)
|
||||
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
||||
- ac_dummy="$XPATH"
|
||||
- for ac_dir in $ac_dummy; do
|
||||
- test -z "$ac_dir" && ac_dir=.
|
||||
- if test -f $ac_dir/$ac_word; then
|
||||
- ac_cv_path_GLIBCONFIG="$ac_dir/$ac_word"
|
||||
- break
|
||||
- fi
|
||||
- done
|
||||
- IFS="$ac_save_ifs"
|
||||
- ;;
|
||||
-esac
|
||||
-fi
|
||||
-GLIBCONFIG="$ac_cv_path_GLIBCONFIG"
|
||||
-if test -n "$GLIBCONFIG"; then
|
||||
- echo "$ac_t""$GLIBCONFIG" 1>&6
|
||||
-else
|
||||
- echo "$ac_t""no" 1>&6
|
||||
-fi
|
||||
-
|
||||
}
|
||||
-}
|
||||
-
|
||||
|
||||
test -z "$GTKCONFIG" && echo "configure: warning: **** gtk not found" 1>&2
|
||||
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-doc_nessusd_8_in,v 1.1 2007/03/21 21:29:32 aanriot Exp $
|
||||
--- doc/nessusd.8.in.orig Thu Jun 15 12:04:26 2006
|
||||
+++ doc/nessusd.8.in Wed Mar 21 08:07:19 2007
|
||||
@@ -170,7 +170,7 @@ The other options in this file can usual
|
||||
.SH USERS MANAGEMENT
|
||||
|
||||
The utility nessus-adduser(8) creates new nessusd users. Each nessusd user
|
||||
-is attributed a "home", in @NESSUS_STATEDIR@/users/<username>. This home contains the following directories :
|
||||
+is attributed a "home", in @NESSUSD_STATEDIR@/users/<username>. This home contains the following directories :
|
||||
.IP auth/
|
||||
This directory contains the authentification information for this user. It might contain the file 'dname' if the user is authenticating using a certificate, or 'hash' (or 'passwd') if the user is authenticating using a password. The file 'hash' contains a MD5 hash of the user password, as well as a random seed. The file 'password' should contain the password in clear text.
|
||||
|
||||
@@ -193,7 +193,7 @@ This directory contains the plugins this
|
||||
|
||||
|
||||
When a user attempts to log in, nessusd first checks that the directory
|
||||
-@NESSUS_STATEDIR@/users/<username> exists, then hashes the password sent by the user with the random salt found in <username>/auth/hash, and compares it with the password hash stored in the same file. If the users authenticates using a certificate, then nessusd checks that the certificate has been signed by a recognized authority, and makes sure that the dname of the certificate shown by the user is the same as the one in <username>/dname.
|
||||
+@NESSUSD_STATEDIR@/users/<username> exists, then hashes the password sent by the user with the random salt found in <username>/auth/hash, and compares it with the password hash stored in the same file. If the users authenticates using a certificate, then nessusd checks that the certificate has been signed by a recognized authority, and makes sure that the dname of the certificate shown by the user is the same as the one in <username>/dname.
|
||||
|
||||
|
||||
To remove a given user, use the command nessus-rmuser(8).
|
@ -1,20 +0,0 @@
|
||||
$OpenBSD: patch-nessus_nessus_c,v 1.1 2012/06/29 08:33:20 jasper Exp $
|
||||
|
||||
Allow building against OpenSSL without SSLv2 support.
|
||||
|
||||
--- nessus/nessus.c.orig Fri Jun 29 03:40:09 2012
|
||||
+++ nessus/nessus.c Fri Jun 29 03:41:43 2012
|
||||
@@ -438,9 +438,12 @@ Please launch nessus-mkrand(1) first !");
|
||||
}
|
||||
if (ssl_mt == NULL)
|
||||
{
|
||||
+#ifndef OPENSSL_NO_SSL2
|
||||
if (strcasecmp(ssl_ver, "SSLv2") == 0)
|
||||
ssl_mt = SSLv2_client_method();
|
||||
- else if (strcasecmp(ssl_ver, "SSLv3") == 0)
|
||||
+ else
|
||||
+#endif
|
||||
+ if (strcasecmp(ssl_ver, "SSLv3") == 0)
|
||||
ssl_mt = SSLv3_client_method();
|
||||
else if (strcasecmp(ssl_ver, "SSLv23") == 0)
|
||||
ssl_mt = SSLv23_client_method();
|
@ -1,20 +0,0 @@
|
||||
$OpenBSD: patch-nessusd_nessusd_c,v 1.1 2012/06/29 08:33:20 jasper Exp $
|
||||
|
||||
Allow building against OpenSSL without SSLv2 support.
|
||||
|
||||
--- nessusd/nessusd.c.orig Fri Jun 29 03:47:02 2012
|
||||
+++ nessusd/nessusd.c Fri Jun 29 03:47:24 2012
|
||||
@@ -622,9 +622,12 @@ main_loop()
|
||||
|
||||
if (ssl_mt == NULL)
|
||||
{
|
||||
+#ifndef OPENSSL_NO_SSL2
|
||||
if (strcasecmp(ssl_ver, "SSLv2") == 0)
|
||||
ssl_mt = SSLv2_server_method();
|
||||
- else if (strcasecmp(ssl_ver, "SSLv3") == 0)
|
||||
+ else
|
||||
+#endif
|
||||
+ if (strcasecmp(ssl_ver, "SSLv3") == 0)
|
||||
ssl_mt = SSLv3_server_method();
|
||||
else if (strcasecmp(ssl_ver, "SSLv23") == 0)
|
||||
ssl_mt = SSLv23_server_method();
|
@ -1,6 +0,0 @@
|
||||
Nessus is an open-source vulnerability scanner. It's able to perform
|
||||
about one hundred security checks with its plugins, and is working on
|
||||
networks to make security enhancements.
|
||||
|
||||
Flavors:
|
||||
no_x11 - no X11 frontend
|
@ -1,41 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2011/05/11 08:24:41 ajacoutot Exp $
|
||||
@conflict nessus-<2.2.4
|
||||
@extraunexec rm -fr ${SYSCONFDIR}/nessus/*
|
||||
@extraunexec rm -fr /var/nessus/logs/*
|
||||
@extraunexec rm -fr /var/nessus/users/*
|
||||
bin/nessus
|
||||
bin/nessus-fetch
|
||||
bin/nessus-mkcert-client
|
||||
bin/nessus-mkrand
|
||||
include/nessus/
|
||||
include/nessus/config.h
|
||||
@comment 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
|
||||
lib/nessus/
|
||||
lib/nessus/plugins/
|
||||
@man man/man1/nessus-fetch.1
|
||||
@man man/man1/nessus-mkcert-client.1
|
||||
@man man/man1/nessus-mkrand.1
|
||||
@man man/man1/nessus.1
|
||||
@man man/man8/nessus-adduser.8
|
||||
@man man/man8/nessus-mkcert.8
|
||||
@man man/man8/nessus-rmuser.8
|
||||
@man man/man8/nessusd.8
|
||||
sbin/nessus-adduser
|
||||
sbin/nessus-check-signature
|
||||
sbin/nessus-mkcert
|
||||
sbin/nessus-rmuser
|
||||
sbin/nessusd
|
||||
share/examples/nessus/
|
||||
share/examples/nessus/nessus-services
|
||||
@sample /var/nessus/users/
|
||||
@sample /var/nessus/logs/
|
||||
@sample /var/nessus/nessus-services
|
||||
@sample ${SYSCONFDIR}/nessus/
|
||||
@extra lib/nessus/plugins/.desc
|
@ -1,15 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2013/12/06 19:32:53 naddy Exp $
|
||||
|
||||
COMMENT= Nessus Attack Scripting Language
|
||||
DISTNAME= libnasl-${V}
|
||||
REVISION = 3
|
||||
|
||||
SHARED_LIBS= nasl 4.7
|
||||
|
||||
WANTLIB= c crypto pcap rpcsvc ssl util nessus>=4 hosts_gatherer>=4
|
||||
|
||||
LIB_DEPENDS= security/nessus/libraries
|
||||
BUILD_DEPENDS= devel/bison
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (libnasl-2.2.9.tar.gz) = +gOT6UAlOpVDfTjt1v8YRA==
|
||||
RMD160 (libnasl-2.2.9.tar.gz) = x/HV69CA7WDLeYOGAa2oYX7Euew=
|
||||
SHA1 (libnasl-2.2.9.tar.gz) = s9kBWlQxf23WbkFIxR4Xg1NPO2E=
|
||||
SHA256 (libnasl-2.2.9.tar.gz) = LZzr/mnkCWPXkClZk+CWaXoL7Td3S2buixTkjCIx+pM=
|
||||
SIZE (libnasl-2.2.9.tar.gz) = 366960
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2010/10/12 22:05:21 robert Exp $
|
||||
--- configure.orig Tue Oct 12 20:51:20 2010
|
||||
+++ configure Tue Oct 12 20:51:34 2010
|
||||
@@ -5532,7 +5532,7 @@ test "x$NESSUSCONFIG" = x && { echo "configure: error:
|
||||
|
||||
XFLAGS="$CFLAGS"
|
||||
CPPFLAGS=`$NESSUSCONFIG --cflags`
|
||||
-for ac_hdr in openssl/md2.h openssl/md4.h openssl/md5.h
|
||||
+for ac_hdr in openssl/md4.h openssl/md5.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
@ -1,32 +0,0 @@
|
||||
$OpenBSD: patch-libnasl_Makefile,v 1.3 2006/09/23 08:45:04 aanriot Exp $
|
||||
--- Makefile.orig Wed Jul 28 20:07:09 2004
|
||||
+++ Makefile Fri Sep 22 18:17:25 2006
|
||||
@@ -8,7 +8,7 @@ nasl.tmpl: nasl.tmpl.in configure
|
||||
touch $@
|
||||
|
||||
install: all
|
||||
- cd nasl && ${MAKE} install
|
||||
+ cd nasl && ${MAKE} prefix=${prefix} install
|
||||
test -d $(DESTDIR)${includedir}/nessus || $(INSTALL_DIR) -m 755 $(DESTDIR)${includedir}/nessus
|
||||
$(INSTALL) -c -m 0444 include/nasl.h $(DESTDIR)${includedir}/nessus
|
||||
test -d $(DESTDIR)${bindir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${bindir}
|
||||
@@ -17,17 +17,9 @@ install: all
|
||||
$(INSTALL) -c -m 0644 doc/nasl-config.1 $(DESTDIR)${mandir}/man1
|
||||
$(INSTALL) -c -m 0644 doc/nasl.1 $(DESTDIR)${mandir}/man1
|
||||
$(INSTALL) -c -m 0644 doc/nasl-config.1 $(DESTDIR)${mandir}/man1
|
||||
- test -d $(DESTDIR)${localstatedir}/nessus || $(INSTALL_DIR) -m 755 $(DESTDIR)${localstatedir}/nessus
|
||||
- $(INSTALL) -c -m 0644 doc/nessus_org.pem $(DESTDIR)${localstatedir}/nessus/nessus_org.pem
|
||||
+ test -d $(DESTDIR)${prefix}/share/examples/nessus || $(INSTALL_DIR) -m 755 $(DESTDIR)${prefix}/share/examples/nessus
|
||||
+ $(INSTALL) -c -m 0644 doc/nessus_org.pem $(DESTDIR)${prefix}/share/examples/nessus/nessus_org.pem
|
||||
|
||||
-
|
||||
- @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,29 +0,0 @@
|
||||
$OpenBSD: patch-libnasl_nasl_Makefile,v 1.2 2005/12/25 15:52:38 sturm Exp $
|
||||
--- nasl/Makefile.orig Thu Feb 10 17:03:51 2005
|
||||
+++ nasl/Makefile Sun Dec 25 15:30:33 2005
|
||||
@@ -88,7 +88,7 @@ CSRCS = \
|
||||
nasl_server.c \
|
||||
nasl_debug.c
|
||||
|
||||
-COMPILE = $(LIBTOOL) $(CC) $(CFLAGS) $(NESSUS_INCLUDE)
|
||||
+COMPILE = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(NESSUS_INCLUDE)
|
||||
all : cflags libnasl.la nasl
|
||||
|
||||
.c.o:
|
||||
@@ -101,14 +101,13 @@ nasl : cflags $(OBJS) nasl.c
|
||||
$(CC) $(CFLAGS) $(NESSUS_INCLUDE) $(include) -o nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS)
|
||||
|
||||
libnasl.la : cflags $(OBJS)
|
||||
- $(COMPILE) $(NESSUS_LIBS) -o libnasl.la $(LO_OBJS) -rpath ${libdir} \
|
||||
- -version-info ${PACKAGE_VERSION}
|
||||
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(NESSUS_INCLUDE) -o libnasl.la $(LO_OBJS) -rpath ${libdir} \
|
||||
+ ${libnasl_la_LDFLAGS}
|
||||
|
||||
install : libnasl.la nasl
|
||||
test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir}
|
||||
test -d $(DESTDIR)${bindir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${bindir}
|
||||
$(LIBTOOL) --mode install $(INSTALL) libnasl.la $(DESTDIR)${libdir}/libnasl.la
|
||||
- $(LIBTOOL) --finish $(DESTDIR)${libdir}
|
||||
test -d $(DESTDIR)${bindir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${bindir}
|
||||
$(INSTALL) nasl $(DESTDIR)${bindir}/
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-nasl-config_in,v 1.2 2013/12/06 19:32:53 naddy Exp $
|
||||
--- nasl-config.in.orig Tue Jan 21 15:27:54 2003
|
||||
+++ nasl-config.in Fri Dec 6 19:51:49 2013
|
||||
@@ -40,7 +40,7 @@ while test $# -gt 0; do
|
||||
exit 0
|
||||
;;
|
||||
--libs)
|
||||
- echo $Xn "-L$DESTDIR$LIBDIR -lnasl $Xc"
|
||||
+ echo $Xn "-L$DESTDIR$LIBDIR -lnasl -L/usr/lib -lrpcsvc $Xc"
|
||||
;;
|
||||
--cflags)
|
||||
echo $Xn "-I$DESTDIR$INCLUDEDIR/nessus $Xc"
|
@ -1,43 +0,0 @@
|
||||
$OpenBSD: patch-nasl_nasl_crypto_c,v 1.1 2010/10/12 22:05:21 robert Exp $
|
||||
--- nasl/nasl_crypto.c.orig Tue Oct 12 20:52:08 2010
|
||||
+++ nasl/nasl_crypto.c Tue Oct 12 20:54:14 2010
|
||||
@@ -22,7 +22,9 @@
|
||||
*/
|
||||
#include <includes.h>
|
||||
#ifdef HAVE_SSL
|
||||
-#include <openssl/md2.h>
|
||||
+# ifdef HAVE_OPENSSL_MD2_H
|
||||
+# include <openssl/md2.h>
|
||||
+# endif
|
||||
#include <openssl/md4.h>
|
||||
#include <openssl/md5.h>
|
||||
#include <openssl/ripemd.h>
|
||||
@@ -45,6 +47,7 @@
|
||||
|
||||
|
||||
/*-------------------[ Std. HASH ]-------------------------------------*/
|
||||
+#ifdef HAVE_OPENSSL_MD2_H
|
||||
tree_cell * nasl_md2(lex_ctxt * lexic)
|
||||
{
|
||||
char * data = get_str_var_by_num(lexic, 0);
|
||||
@@ -63,6 +66,7 @@ tree_cell * nasl_md2(lex_ctxt * lexic)
|
||||
retc->size = MD2_DIGEST_LENGTH;
|
||||
return retc;
|
||||
}
|
||||
+#endif
|
||||
|
||||
tree_cell * nasl_md4(lex_ctxt * lexic)
|
||||
{
|
||||
@@ -193,10 +197,12 @@ static tree_cell * nasl_hmac(lex_ctxt * lexic, const E
|
||||
}
|
||||
|
||||
|
||||
+#ifdef HAVE_OPENSSL_MD2_H
|
||||
tree_cell * nasl_hmac_md2(lex_ctxt * lexic)
|
||||
{
|
||||
return nasl_hmac(lexic, EVP_md2());
|
||||
}
|
||||
+#endif
|
||||
|
||||
|
||||
tree_cell * nasl_hmac_md5(lex_ctxt * lexic)
|
@ -1,2 +0,0 @@
|
||||
The NASL (Nessus Attack Scripting Language) library allows to create and
|
||||
use Nessus' plugins.
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/25 15:52:38 sturm Exp $
|
||||
@lib lib/libnasl.so.${LIBnasl_VERSION}
|
@ -1,15 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.7 2011/05/15 08:03:42 jasper Exp $
|
||||
@conflict nessus-<2.2.4
|
||||
%%SHARED%%
|
||||
bin/nasl
|
||||
bin/nasl-config
|
||||
include/nessus/
|
||||
include/nessus/nasl.h
|
||||
lib/libnasl.a
|
||||
@comment lib/libnasl.la
|
||||
@man man/man1/nasl-config.1
|
||||
@man man/man1/nasl.1
|
||||
share/examples/nessus/
|
||||
share/examples/nessus/nessus_org.pem
|
||||
@sample /var/nessus/
|
||||
@sample /var/nessus/nessus_org.pem
|
@ -1,11 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2013/10/11 23:50:44 naddy Exp $
|
||||
|
||||
COMMENT= libraries for Nessus
|
||||
DISTNAME= nessus-libraries-${V}
|
||||
REVISION= 2
|
||||
|
||||
SHARED_LIBS= hosts_gatherer 4.7 \
|
||||
nessus 4.7
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (nessus-libraries-2.2.9.tar.gz) = KBVv84IIofWbMzqMKiPY9g==
|
||||
RMD160 (nessus-libraries-2.2.9.tar.gz) = o86SD/SPy3h59wJuK30nEVETJ4c=
|
||||
SHA1 (nessus-libraries-2.2.9.tar.gz) = 3hzixSLWEnpDZXSpaxpeyYc7WXw=
|
||||
SHA256 (nessus-libraries-2.2.9.tar.gz) = Wjwy1uq4zMiiKrW7IkIoFS4QcxwGVh9nnEG5ImPH7xg=
|
||||
SIZE (nessus-libraries-2.2.9.tar.gz) = 426560
|
@ -1,29 +0,0 @@
|
||||
$OpenBSD: patch-libnessus_network_c,v 1.1 2012/06/28 18:52:00 jasper Exp $
|
||||
|
||||
Allow building against OpenSSL without SSLv2 support.
|
||||
|
||||
--- libnessus/network.c.orig Wed Jun 27 12:00:55 2012
|
||||
+++ libnessus/network.c Thu Jun 28 01:28:20 2012
|
||||
@@ -532,9 +532,6 @@ open_SSL_connection(fp, timeout, cert, key, passwd, ce
|
||||
|
||||
switch (fp->transport)
|
||||
{
|
||||
- case NESSUS_ENCAPS_SSLv2:
|
||||
- fp->ssl_mt = SSLv2_client_method();
|
||||
- break;
|
||||
case NESSUS_ENCAPS_SSLv3:
|
||||
fp->ssl_mt = SSLv3_client_method();
|
||||
break;
|
||||
@@ -544,7 +541,11 @@ open_SSL_connection(fp, timeout, cert, key, passwd, ce
|
||||
case NESSUS_ENCAPS_SSLv23: /* Compatibility mode */
|
||||
fp->ssl_mt = SSLv23_client_method();
|
||||
break;
|
||||
-
|
||||
+ case NESSUS_ENCAPS_SSLv2:
|
||||
+#ifndef OPENSSL_NO_SSL2
|
||||
+ fp->ssl_mt = SSLv2_client_method();
|
||||
+ break;
|
||||
+#endif
|
||||
default:
|
||||
#if DEBUG_SSL > 0
|
||||
fprintf(stderr, "*Bug* at %s:%d. Unknown transport %d\n",
|
@ -1,30 +0,0 @@
|
||||
$OpenBSD: patch-nessus-libraries_Makefile,v 1.2 2007/02/13 11:55:01 aanriot Exp $
|
||||
--- Makefile.orig Thu Jan 8 17:55:13 2004
|
||||
+++ Makefile Sun Jan 28 16:35:22 2007
|
||||
@@ -47,8 +47,8 @@ pcap-distclean:
|
||||
install : $(PCAP_INSTALL)
|
||||
test -d $(DESTDIR)${prefix} || ${INSTALL_DIR} -m 755 $(DESTDIR)${prefix}
|
||||
test -d $(DESTDIR)${includedir}/nessus || ${INSTALL_DIR} -m 755 $(DESTDIR)${includedir}/nessus
|
||||
- cd libnessus && ${MAKE} install
|
||||
- cd libhosts_gatherer && ${MAKE} install
|
||||
+ cd libnessus && ${MAKE} prefix=${prefix} install
|
||||
+ cd libhosts_gatherer && ${MAKE} prefix=${prefix} install
|
||||
|
||||
|
||||
$(INSTALL) -m 0444 include/includes.h $(DESTDIR)${includedir}/nessus
|
||||
@@ -63,15 +63,6 @@ install : $(PCAP_INSTALL)
|
||||
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,19 +0,0 @@
|
||||
$OpenBSD: patch-nessus-libraries_libhosts_gatherer_Makefile,v 1.2 2005/12/25 15:52:38 sturm Exp $
|
||||
--- libhosts_gatherer/Makefile.orig Mon Apr 7 04:06:49 2003
|
||||
+++ libhosts_gatherer/Makefile Sun Dec 25 15:37:44 2005
|
||||
@@ -18,12 +18,11 @@ test : libhosts_gatherer.la
|
||||
|
||||
install : libhosts_gatherer.la
|
||||
test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir}
|
||||
- $(LIBTOOL) --mode install $(INSTALL) libhosts_gatherer.la $(DESTDIR)${libdir}
|
||||
- $(LIBTOOL) --finish $(DESTDIR)${libdir}
|
||||
+ $(LIBTOOL) --mode=install $(INSTALL) libhosts_gatherer.la $(DESTDIR)${libdir}
|
||||
|
||||
libhosts_gatherer.la : $(OBJS)
|
||||
- $(LIBTOOL) $(CC) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \
|
||||
- -version-info ${PACKAGE_VERSION}
|
||||
+ $(LIBTOOL) --mode=link $(CC) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \
|
||||
+ ${libhosts_gatherer_la_LDFLAGS}
|
||||
|
||||
hg_utils.o : hg_utils.h hosts_gatherer.h hg_utils.c
|
||||
$(LIBTOOL) --mode=compile $(COMPILE) -c hg_utils.c
|
@ -1,124 +0,0 @@
|
||||
$OpenBSD: patch-nessus-libraries_libnessus_Makefile,v 1.2 2005/12/25 15:52:38 sturm Exp $
|
||||
--- libnessus/Makefile.orig Tue Aug 31 19:15:07 2004
|
||||
+++ libnessus/Makefile Sun Dec 25 15:38:18 2005
|
||||
@@ -22,91 +22,90 @@ all : libnessus.la
|
||||
|
||||
|
||||
getopt.o : getopt.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt.c
|
||||
|
||||
getopt1.o : getopt1.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt1.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt1.c
|
||||
|
||||
plugutils.o : plugutils.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c plugutils.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c plugutils.c
|
||||
|
||||
resolve.o : resolve.c resolve.h
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c resolve.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c resolve.c
|
||||
|
||||
share_fd.o : share_fd.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c share_fd.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c share_fd.c
|
||||
|
||||
system.o : system.c system.h
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c system.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c system.c
|
||||
|
||||
arglists.o : arglists.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c arglists.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c arglists.c
|
||||
|
||||
network.o : network.c network.h
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c network.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c network.c
|
||||
|
||||
scanners_utils.o : scanners_utils.c scanners_utils.h
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c scanners_utils.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c scanners_utils.c
|
||||
|
||||
ftp_funcs.o : ftp_funcs.c ftp_funcs.h
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ftp_funcs.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ftp_funcs.c
|
||||
www_funcs.o : www_funcs.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c www_funcs.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c www_funcs.c
|
||||
|
||||
pcap.o : pcap.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c pcap.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c pcap.c
|
||||
|
||||
hlst.o : hlst.c hlst.h
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hlst.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hlst.c
|
||||
|
||||
ptycall.o : ptycall.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ptycall.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ptycall.c
|
||||
|
||||
harglists.o : harglists.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c harglists.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c harglists.c
|
||||
|
||||
diff.o : diff.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c diff.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c diff.c
|
||||
|
||||
ids_send.o : ids_send.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ids_send.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ids_send.c
|
||||
|
||||
bpf_share.o: bpf_share.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c bpf_share.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c bpf_share.c
|
||||
|
||||
rand.o: rand.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c rand.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c rand.c
|
||||
|
||||
popen.o: popen.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c popen.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c popen.c
|
||||
|
||||
services.o: services.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c services.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c services.c
|
||||
|
||||
services1.o: services1.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -DCONF_DIR=\"$(sysconfdir)\" -c services1.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -DCONF_DIR=\"$(sysconfdir)\" -c services1.c
|
||||
|
||||
proctitle.o: proctitle.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c proctitle.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c proctitle.c
|
||||
|
||||
store.o: store.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c store.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c store.c
|
||||
|
||||
|
||||
kb.o: kb.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c kb.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c kb.c
|
||||
|
||||
|
||||
snprintf.o : snprintf.c
|
||||
- $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c snprintf.c
|
||||
+ $(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c snprintf.c
|
||||
libnessus.la: $(OBJS)
|
||||
- $(LIBTOOL) $(CC) -o libnessus.la $(LO_OBJS) -rpath ${libdir} \
|
||||
- -version-info ${PACKAGE_VERSION}
|
||||
+ $(LIBTOOL) --mode=link $(CC) -o libnessus.la $(LO_OBJS) -rpath ${libdir} \
|
||||
+ ${libnessus_la_LDFLAGS}
|
||||
|
||||
install : libnessus.la
|
||||
test -d $(DESTDIR)${libdir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${libdir}
|
||||
- $(LIBTOOL) --mode install $(INSTALL) libnessus.la $(DESTDIR)${libdir}/libnessus.la
|
||||
- $(LIBTOOL) --finish $(DESTDIR)${libdir}
|
||||
+ $(LIBTOOL) --mode=install $(INSTALL) libnessus.la $(DESTDIR)${libdir}/libnessus.la
|
||||
|
||||
distclean : clean
|
||||
|
@ -1 +0,0 @@
|
||||
Libraries used by Nessus.
|
@ -1,3 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/25 15:52:38 sturm Exp $
|
||||
@lib lib/libhosts_gatherer.so.${LIBhosts_gatherer_VERSION}
|
||||
@lib lib/libnessus.so.${LIBnessus_VERSION}
|
@ -1,16 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2005/08/16 09:49:53 espie Exp $
|
||||
@conflict nessus-<2.2.4
|
||||
%%SHARED%%
|
||||
bin/nessus-config
|
||||
include/nessus/
|
||||
include/nessus/getopt.h
|
||||
include/nessus/harglists.h
|
||||
include/nessus/includes.h
|
||||
include/nessus/libnessus.h
|
||||
include/nessus/libvers.h
|
||||
lib/libhosts_gatherer.a
|
||||
@comment lib/libhosts_gatherer.la
|
||||
lib/libnessus.a
|
||||
@comment lib/libnessus.la
|
||||
@man man/man1/nessus-config.1
|
||||
sbin/uninstall-nessus
|
@ -1,17 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2011/09/16 11:41:39 espie Exp $
|
||||
|
||||
COMMENT= plugins for Nessus
|
||||
DISTNAME= nessus-plugins-GPL-${V}
|
||||
PKGNAME= ${DISTNAME:S/-GPL//}
|
||||
REVISION = 1
|
||||
|
||||
WANTLIB= crypto hosts_gatherer m nessus pcap ssl util
|
||||
|
||||
USE_GROFF = Yes
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= security/nessus/core \
|
||||
security/hydra \
|
||||
security/nikto \
|
||||
net/nmap
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (nessus-plugins-GPL-2.2.9.tar.gz) = K6ww9wLEp5SilmC46d0Qdw==
|
||||
RMD160 (nessus-plugins-GPL-2.2.9.tar.gz) = uyqFP05+UEHI0TTRK1pUWpAJdQ4=
|
||||
SHA1 (nessus-plugins-GPL-2.2.9.tar.gz) = Oa2ExJb5PulEtgET26xhmiRrO7I=
|
||||
SHA256 (nessus-plugins-GPL-2.2.9.tar.gz) = EmuYFzZHETlGpp6l44ls/ZImFXHVB7N/672yacYy05U=
|
||||
SIZE (nessus-plugins-GPL-2.2.9.tar.gz) = 1064740
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2006/06/01 05:16:32 aanriot Exp $
|
||||
--- Makefile.orig Sun Apr 23 20:51:54 2006
|
||||
+++ Makefile Sun Apr 23 20:52:05 2006
|
||||
@@ -51,7 +51,7 @@ install-man:
|
||||
|
||||
install : all \
|
||||
install-dirs install-nasl install-inc install-nes \
|
||||
- install-man install-conf $(INSTALL_UPDATER)
|
||||
+ install-man $(INSTALL_UPDATER)
|
||||
|
||||
$(INSTALL_DIR) -m 755 $(DESTDIR)${libdir}/nessus/plugins_factory
|
||||
$(INSTALL) -m 444 pf/Makefile $(DESTDIR)${libdir}/nessus/plugins_factory
|
@ -1,16 +0,0 @@
|
||||
--- pf/Makefile.orig Sun Sep 5 16:28:21 1999
|
||||
+++ pf/Makefile Fri May 6 20:39:32 2005
|
||||
@@ -5,10 +5,9 @@ PLUGNAME=plugin
|
||||
|
||||
all : $(PLUGNAME).nes
|
||||
$(PLUGNAME).nes : $(PLUGNAME).c
|
||||
- $(SHELL) libtool $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
|
||||
- $(SHELL) libtool $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \
|
||||
- -rpath $(prefix)/plugins/
|
||||
-
|
||||
+ $(SHELL) $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c
|
||||
+ $(SHELL) $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo \
|
||||
+ -rpath $(prefix)/plugins/
|
||||
clean :
|
||||
@rm -fr *.lo *.nes *.la .libs
|
||||
@rm -fr *.o
|
@ -1,2 +0,0 @@
|
||||
Nessus' plugins provide several features and software or system
|
||||
dependant tests to perform vulnerability checks.
|
@ -1,9 +0,0 @@
|
||||
This port only contains plugins from the GPL Feed, but neither from the
|
||||
Direct Feed nor from the Registered Feed.
|
||||
|
||||
For mor informations about feeds, see:
|
||||
http://www.nessus.org/plugins/index.php?view=feed
|
||||
|
||||
Some of the checks performed by nessus rely on external programs like
|
||||
hydra, nmap 3.00 or newer, and nikto. You may want to install these
|
||||
ports to enable some checks which will otherwise return false negatives.
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user