diff options
author | adrianp <adrianp@pkgsrc.org> | 2009-01-04 01:08:52 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2009-01-04 01:08:52 +0000 |
commit | be52ce76659b4ae329cca78e133a53370f7cb835 (patch) | |
tree | 7d42cae0f578eab752bf6c050ad442a5f35cd64e /security/openvas-libnasl | |
parent | e90c51714b8d2d7c6a813f34bdba2d72d1420cff (diff) | |
download | pkgsrc-be52ce76659b4ae329cca78e133a53370f7cb835.tar.gz |
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 (limited to 'security/openvas-libnasl')
-rw-r--r-- | security/openvas-libnasl/DESCR | 5 | ||||
-rw-r--r-- | security/openvas-libnasl/Makefile | 27 | ||||
-rw-r--r-- | security/openvas-libnasl/PLIST | 8 | ||||
-rw-r--r-- | security/openvas-libnasl/buildlink3.mk | 19 | ||||
-rw-r--r-- | security/openvas-libnasl/distinfo | 6 | ||||
-rw-r--r-- | security/openvas-libnasl/patches/patch-aa | 13 |
6 files changed, 78 insertions, 0 deletions
diff --git a/security/openvas-libnasl/DESCR b/security/openvas-libnasl/DESCR new file mode 100644 index 00000000000..c6339b9eb98 --- /dev/null +++ b/security/openvas-libnasl/DESCR @@ -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 --git a/security/openvas-libnasl/Makefile b/security/openvas-libnasl/Makefile new file mode 100644 index 00000000000..34fc83310e7 --- /dev/null +++ b/security/openvas-libnasl/Makefile @@ -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 +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 --git a/security/openvas-libnasl/PLIST b/security/openvas-libnasl/PLIST new file mode 100644 index 00000000000..6782d954bea --- /dev/null +++ b/security/openvas-libnasl/PLIST @@ -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 --git a/security/openvas-libnasl/buildlink3.mk b/security/openvas-libnasl/buildlink3.mk new file mode 100644 index 00000000000..4c185872de8 --- /dev/null +++ b/security/openvas-libnasl/buildlink3.mk @@ -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 --git a/security/openvas-libnasl/distinfo b/security/openvas-libnasl/distinfo new file mode 100644 index 00000000000..25af414b362 --- /dev/null +++ b/security/openvas-libnasl/distinfo @@ -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 --git a/security/openvas-libnasl/patches/patch-aa b/security/openvas-libnasl/patches/patch-aa new file mode 100644 index 00000000000..d316975ee0e --- /dev/null +++ b/security/openvas-libnasl/patches/patch-aa @@ -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 |