pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security OpenVAS stands for Open Vulnerability Assessm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e55cfac3dde6
branches:  trunk
changeset: 552434:e55cfac3dde6
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sun Jan 04 01:08:52 2009 +0000

description:
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.

diffstat:

 security/openvas-client/DESCR               |     5 +
 security/openvas-client/Makefile            |    25 +
 security/openvas-client/PLIST               |     6 +
 security/openvas-client/distinfo            |     5 +
 security/openvas-libnasl/DESCR              |     5 +
 security/openvas-libnasl/Makefile           |    27 +
 security/openvas-libnasl/PLIST              |     8 +
 security/openvas-libnasl/buildlink3.mk      |    19 +
 security/openvas-libnasl/distinfo           |     6 +
 security/openvas-libnasl/patches/patch-aa   |    13 +
 security/openvas-libraries/DESCR            |     5 +
 security/openvas-libraries/MESSAGE          |    10 +
 security/openvas-libraries/Makefile         |    26 +
 security/openvas-libraries/PLIST            |    29 +
 security/openvas-libraries/buildlink3.mk    |    19 +
 security/openvas-libraries/distinfo         |    11 +
 security/openvas-libraries/patches/patch-aa |    13 +
 security/openvas-libraries/patches/patch-ab |    13 +
 security/openvas-libraries/patches/patch-ac |    12 +
 security/openvas-libraries/patches/patch-ad |    12 +
 security/openvas-libraries/patches/patch-ae |    16 +
 security/openvas-libraries/patches/patch-af |    86 +
 security/openvas-plugins/DESCR              |     5 +
 security/openvas-plugins/Makefile           |    36 +
 security/openvas-plugins/PLIST              |  5996 +++++++++++++++++++++++++++
 security/openvas-plugins/distinfo           |     5 +
 security/openvas-server/DESCR               |     5 +
 security/openvas-server/Makefile            |    35 +
 security/openvas-server/PLIST               |    25 +
 security/openvas-server/buildlink3.mk       |    19 +
 security/openvas-server/distinfo            |     6 +
 security/openvas-server/files/openvasd.sh   |    27 +
 security/openvas-server/options.mk          |    17 +
 security/openvas-server/patches/patch-aa    |    13 +
 34 files changed, 6560 insertions(+), 0 deletions(-)

diffs (truncated from 6696 to 300 lines):

diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-client/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-client/DESCR     Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-client/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-client/Makefile  Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/04 01:12:18 adrianp Exp $
+#
+
+DISTNAME=      openvas-client-2.0.1
+CATEGORIES=    security
+MASTER_SITES=  http://wald.intevation.org/frs/download.php/552/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://www.openvas.org/
+COMMENT=       Client for the Open Vulnerability Assessment System
+
+USE_TOOLS+=    gmake pkg-config
+GNU_CONFIGURE= YES
+BUILD_DEFS+=   VARBASE
+USE_X11=       YES
+
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+CONFIGURE_ARGS+=       --with-x11
+CONFIGURE_ARGS+=       --with-ssl
+
+.include "../../security/openvas-libraries/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-client/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-client/PLIST     Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/04 01:12:18 adrianp Exp $
+bin/OpenVAS-Client
+bin/openvasclient-mkcert
+man/man1/OpenVAS-Client.1
+man/man1/openvasclient-mkcert.1
+man/man1/openvasclient-mkrand.1
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-client/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-client/distinfo  Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/04 01:12:18 adrianp Exp $
+
+SHA1 (openvas-client-2.0.1.tar.gz) = 07ada2cb7538da072c27a3a1cf58f9c6152d5e64
+RMD160 (openvas-client-2.0.1.tar.gz) = aa966e1e9911b63e5fee48d947cda5f0b036dd0a
+Size (openvas-client-2.0.1.tar.gz) = 629551 bytes
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libnasl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libnasl/DESCR    Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libnasl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libnasl/Makefile Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/04 01:09:31 adrianp Exp $
+#
+
+DISTNAME=      openvas-libnasl-2.0.0
+CATEGORIES=    security
+MASTER_SITES=  http://wald.intevation.org/frs/download.php/549/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://www.openvas.org/
+COMMENT=       Libraries for the Open Vulnerability Assessment System
+
+BUILD_DEPENDS+=        bison-[0-9]*:../../devel/bison
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL=   YES
+BUILD_DEFS+=   VARBASE
+USE_TOOLS=     pkg-config
+
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+
+.include "../../security/openvas-libraries/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../security/gpgme/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libnasl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libnasl/PLIST    Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/04 01:09:31 adrianp Exp $
+bin/openvas-libnasl-config
+bin/openvas-nasl
+include/openvas/nasl.h
+lib/libopenvasnasl.la
+man/man1/openvas-libnasl-config.1
+man/man1/openvas-nasl.1
+@unexec ${RMDIR} %D/include/openvas 2>/dev/null || ${TRUE}
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libnasl/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libnasl/buildlink3.mk    Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/04 01:09:31 adrianp Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+OPENVAS_LIBNASL_BUILDLINK3_MK:=        ${OPENVAS_LIBNASL_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    openvas-libnasl
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nopenvas-libnasl}
+BUILDLINK_PACKAGES+=   openvas-libnasl
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openvas-libnasl
+
+.if ${OPENVAS_LIBNASL_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.openvas-libnasl+=        openvas-libnasl>=2.0.0
+BUILDLINK_PKGSRCDIR.openvas-libnasl?=  ../../security/openvas-libnasl
+.endif # OPENVAS_LIBNASL_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libnasl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libnasl/distinfo Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/04 01:09:31 adrianp Exp $
+
+SHA1 (openvas-libnasl-2.0.0.tar.gz) = 91d6e0c9e6686aaba6b9bc64df3a941f703381af
+RMD160 (openvas-libnasl-2.0.0.tar.gz) = 4f1933bfa2c4cdfdd8047e2e5572ed0f045b7719
+Size (openvas-libnasl-2.0.0.tar.gz) = 497973 bytes
+SHA1 (patch-aa) = 6806a22757a48a53faa278342e6ea1098e0a5bad
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libnasl/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libnasl/patches/patch-aa Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/04 01:09:31 adrianp Exp $
+
+--- test/test_script_signing.sh.orig   2008-06-30 11:55:03.000000000 +0100
++++ test/test_script_signing.sh
+@@ -18,7 +18,7 @@ numfailed=0
+ check_script() {
+     echo -n "$1 "
+     result=$($NASL $1 2> $1.err.log)
+-    if [ "x$result" == "x$2" ]; then
++    if [ "x$result" = "x$2" ]; then
+       numok=$((numok + 1))
+       echo OK
+     else
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libraries/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libraries/DESCR  Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libraries/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libraries/MESSAGE        Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2009/01/04 01:08:52 adrianp Exp $
+
+If you are running a BPF-enabled operating system BPFs are used to capture
+incoming packets without using the operating system.  OpenVAS uses those
+for some of its security checks and port scanners.
+
+OpenVAS recommands that you get about 100 of them or else it might miss
+some hosts or produce inaccurate port scans.
+===========================================================================
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libraries/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libraries/Makefile       Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/04 01:08:52 adrianp Exp $
+#
+
+DISTNAME=      openvas-libraries-2.0.0
+CATEGORIES=    security
+MASTER_SITES=  http://wald.intevation.org/frs/download.php/548/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://www.openvas.org/
+COMMENT=       Libraries for the Open Vulnerability Assessment System
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL=   YES
+MAKE_JOBS_SAFE=        NO
+BUILD_DEFS+=   VARBASE
+USE_LANGUAGES+=        c++ c
+USE_TOOLS=     pkg-config
+
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../security/gpgme/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libraries/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libraries/PLIST  Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/04 01:08:52 adrianp Exp $
+bin/libopenvas-config
+include/openvas/arglists.h
+include/openvas/bpf_share.h
+include/openvas/ftp_funcs.h
+include/openvas/harglists.h
+include/openvas/hg_utils.h
+include/openvas/hosts_gatherer.h
+include/openvas/kb.h
+include/openvas/libopenvas.h
+include/openvas/libvers.h
+include/openvas/network.h
+include/openvas/ntp.h
+include/openvas/pcap_openvas.h
+include/openvas/plugutils.h
+include/openvas/popen.h
+include/openvas/proctitle.h
+include/openvas/rand.h
+include/openvas/resolve.h
+include/openvas/scanners_utils.h
+include/openvas/services1.h
+include/openvas/share_fd.h
+include/openvas/store.h
+include/openvas/system.h
+include/openvas/www_funcs.h
+lib/libopenvas.la
+lib/libopenvas_hg.la
+man/man1/libopenvas-config.1
+@unexec ${RMDIR} %D/include/openvas 2>/dev/null || ${TRUE}
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libraries/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libraries/buildlink3.mk  Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/04 01:08:52 adrianp Exp $
+
+BUILDLINK_DEPTH:=                      ${BUILDLINK_DEPTH}+
+OPENVAS_LIBRARIES_BUILDLINK3_MK:=      ${OPENVAS_LIBRARIES_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    openvas-libraries
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nopenvas-libraries}
+BUILDLINK_PACKAGES+=   openvas-libraries
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openvas-libraries
+
+.if ${OPENVAS_LIBRARIES_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.openvas-libraries+=      openvas-libraries>=2.0.0
+BUILDLINK_PKGSRCDIR.openvas-libraries?=        ../../security/openvas-libraries
+.endif # OPENVAS_LIBRARIES_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=                      ${BUILDLINK_DEPTH:S/+$//}
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libraries/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libraries/distinfo       Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/04 01:08:52 adrianp Exp $
+
+SHA1 (openvas-libraries-2.0.0.tar.gz) = e3b5614e8fa4721ad93a9eb483f4f0a23242d84b
+RMD160 (openvas-libraries-2.0.0.tar.gz) = c7365d81289bca625ae984fceab901ced0626ce0
+Size (openvas-libraries-2.0.0.tar.gz) = 425670 bytes
+SHA1 (patch-aa) = a308f1af94cd5524745d2b1c4d311f10ec442de4
+SHA1 (patch-ab) = 35935f39ad9c0a432abc1d6fc1ed93fb52a7218f
+SHA1 (patch-ac) = 50e33c8d9571e8c67052f3e0462d5ccd1f60eb0e
+SHA1 (patch-ad) = 9a66d6ffad12edbc09176b390325065011abafa3
+SHA1 (patch-ae) = e2d36036d2043fb0a4ad1ada281ec165ed9c08ea
+SHA1 (patch-af) = edbabcc8b5f3a3a654f52ab678c932471f2fb1a7
diff -r 9f284cdd2537 -r e55cfac3dde6 security/openvas-libraries/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openvas-libraries/patches/patch-aa       Sun Jan 04 01:08:52 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/04 01:08:52 adrianp Exp $
+
+--- libopenvas/plugutils.c.orig        2008-12-16 13:03:21.000000000 +0000
++++ libopenvas/plugutils.c
+@@ -35,7 +35,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <signal.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <time.h>
+ 
+ #include <glib.h>



Home | Main Index | Thread Index | Old Index