summaryrefslogtreecommitdiff
path: root/security/nessus-plugins
diff options
context:
space:
mode:
authorsalo <salo>2006-04-25 12:45:57 +0000
committersalo <salo>2006-04-25 12:45:57 +0000
commit32b5656ad08d9802be1c10bffa32f7f9ccc8f98e (patch)
tree6cae7586ac21056473a1aee6b862415c3979f961 /security/nessus-plugins
parent22ac166a6fad4509877219a747edf141d8fa011e (diff)
downloadpkgsrc-32b5656ad08d9802be1c10bffa32f7f9ccc8f98e.tar.gz
Update to version 2.2.7
Approved by <frueauf> Changes: - make it work as binary packages, - remove useless MESSAGE files, - add nmap.nasl plugin, not included by default upstream, - make the installation a bit more sane and easier to configure. 2.2.7: ====== Nessus 2.2.7 contains several fixes for bugs which have been found during the 3.x developement process and have been backported to this branch. It also slightly extends the NASL language by adding support for arrays of arrays. We will use this feature in some key plugins (SMB in particular) within 6 months, so you should definitely upgrade to 2.2.7 or 3.0.x. nessus-libraries: - Fixed a NULL pointer dereferencement in the BPF server (this mostly affects OpenBSD and FreeBSD < 5) - The 'service' functions now only deal with the services file provided - with Nessus (instead of using a mix of /etc/services and others) libnasl: - Fixed off-by-one bugs in insstr() and str_replace() which would sometimes prevent these two functions from properly dealing with the last character of a string - Fixed tcp_ping() which was too aggressive and may therefore sometimes miss a live host - Fixed a bug in send() which would not properly validate the value of the 'length' variable - Now handle arrays of arrays - Fixed open_priv_sock_tcp() which would report a successful connection when timing out nessusd: - Properly install the file 'nessus-services' in $prefix/var/nessus/ - Bigger buffer when receiving preferences from the client (to avoid a possible truncation of the plugin list in the future) - Fixed a bug in the preferences parser which would cause nessusd to die on startup when processing a malformed preference file nessus client: - Fixed an unlikely but potential segmentation fault when viewing the report in the GUI - Erase the credentials from memory after having used them (thanks to Sumiut Siddhart for noticing this) plugins: - Fixed several bugs in find_services.c which would not properly set the key Transport/SSL or which may read some data beyond its buffer - Fixed a bad #if/#endif clause in nessus_tcp_scanner.c which prevented it from recomputing the RTT, hence negatively impacting the performance - nmap.nasl has been removed from the main distribution (to use nmap from within Nessus read http://www.nessus.org/documentation/?doc=nmap-usage)
Diffstat (limited to 'security/nessus-plugins')
-rw-r--r--security/nessus-plugins/MESSAGE9
-rw-r--r--security/nessus-plugins/Makefile13
-rw-r--r--security/nessus-plugins/distinfo11
3 files changed, 16 insertions, 17 deletions
diff --git a/security/nessus-plugins/MESSAGE b/security/nessus-plugins/MESSAGE
deleted file mode 100644
index c6486fc0050..00000000000
--- a/security/nessus-plugins/MESSAGE
+++ /dev/null
@@ -1,9 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2004/07/22 15:01:17 adam Exp $
-
-Nessus may have placed some files in ${PREFIX}/lib/nessus/plugins/.desc.
-If you do not need these files any more, be sure to remove them:
-
- rm -fr ${PREFIX}/lib/nessus/plugins/.desc
-
-===========================================================================
diff --git a/security/nessus-plugins/Makefile b/security/nessus-plugins/Makefile
index 1f3028ad0a4..e32d668549f 100644
--- a/security/nessus-plugins/Makefile
+++ b/security/nessus-plugins/Makefile
@@ -1,17 +1,21 @@
-# $NetBSD: Makefile,v 1.29 2006/04/17 13:46:47 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2006/04/25 12:45:57 salo Exp $
.include "../../security/nessus/Makefile.common"
DISTNAME= nessus-plugins-GPL-${VERS}
PKGNAME= nessus-plugins-${VERS}
-PKGREVISION= 2
+# nmap.nasl was removed from the pack,
+# http://www.nessus.org/documentation/?doc=nmap-usage
+DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} nmap.nasl
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+SITES.nmap.nasl= http://www.nessus.org/documentation/
COMMENT= Plugins for the Nessus Network Security Scanner
DEPENDS+= nmap>=2.0:../../net/nmap
WRKSRC= ${WRKDIR}/nessus-plugins
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
USE_TOOLS+= cat gzip
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
@@ -19,8 +23,9 @@ CONFIGURE_ENV+= CAT=${TOOLS_CAT:Q} GZIP=${TOOLS_GZIP_CMD:Q}
PLIST_SRC= ${WRKDIR}/PLIST PLIST
-# auto-generate PLIST of plug-ins
post-install:
+ ${INSTALL_DATA} ${DISTDIR}/nmap.nasl ${PREFIX}/lib/nessus/plugins/
+ # auto-generate PLIST of plug-ins
${RM} -f ${WRKDIR}/PLIST
cd ${PREFIX} && \
${FIND} lib/nessus/plugins -type f -print >>${WRKDIR}/PLIST
diff --git a/security/nessus-plugins/distinfo b/security/nessus-plugins/distinfo
index f3dc3866349..666c701ed71 100644
--- a/security/nessus-plugins/distinfo
+++ b/security/nessus-plugins/distinfo
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.21 2006/01/29 17:05:54 adam Exp $
+$NetBSD: distinfo,v 1.22 2006/04/25 12:45:57 salo Exp $
-SHA1 (nessus-plugins-GPL-2.2.6.tar.gz) = 7e38d223c954d50bda344581e0545046242a19f4
-RMD160 (nessus-plugins-GPL-2.2.6.tar.gz) = a3db0b1ebd477986df82cab1e6865e40f5f0d47a
-Size (nessus-plugins-GPL-2.2.6.tar.gz) = 1018246 bytes
+SHA1 (nessus-plugins-GPL-2.2.7.tar.gz) = 3c19c3666bd5269d586971565fe9d872b875a830
+RMD160 (nessus-plugins-GPL-2.2.7.tar.gz) = 12681938e75be4749f9b4c51688a83f41f5658f4
+Size (nessus-plugins-GPL-2.2.7.tar.gz) = 1032442 bytes
+SHA1 (nmap.nasl) = 18a3eb6c03256e89d596804aa879c0d2b3126140
+RMD160 (nmap.nasl) = d3a0e8227b223e67754b073ca7920e073f8d8172
+Size (nmap.nasl) = 16378 bytes
SHA1 (patch-aa) = e2f564fff440728373abb49947c714d7002fc9da