From 8ad38b8f843bba1a5ea1dc48bbfa5c90f7ff0f11 Mon Sep 17 00:00:00 2001 From: msf Date: Fri, 5 May 2006 21:22:40 +0000 Subject: [PATCH] initial import of Nmap::Parser 1.05 This module implements a interface to the information contained in an nmap scan. It is implemented by parsing the xml scan data that is generated by nmap. This will enable anyone who utilizes nmap to quickly create fast and robust security scripts that utilize the powerful port scanning abilities of nmap. submitted by Jasper Lievisse --- net/p5-Nmap-Parser/Makefile | 28 ++++++++++++++++++++++++++++ net/p5-Nmap-Parser/distinfo | 4 ++++ net/p5-Nmap-Parser/pkg/DESCR | 5 +++++ net/p5-Nmap-Parser/pkg/PLIST | 4 ++++ 4 files changed, 41 insertions(+) create mode 100644 net/p5-Nmap-Parser/Makefile create mode 100644 net/p5-Nmap-Parser/distinfo create mode 100644 net/p5-Nmap-Parser/pkg/DESCR create mode 100644 net/p5-Nmap-Parser/pkg/PLIST diff --git a/net/p5-Nmap-Parser/Makefile b/net/p5-Nmap-Parser/Makefile new file mode 100644 index 00000000000..6c4a4e1711c --- /dev/null +++ b/net/p5-Nmap-Parser/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/05/05 21:22:40 msf Exp $ + +COMMENT= "perl module for parsing nmap XML reports" + +DISTNAME= Nmap-Parser-1.05 +PKGNAME= p5-${DISTNAME} +CATEGORIES= net perl5 + +HOMEPAGE= http://npx.sourceforge.net/ +MAINTAINER= Jasper Lievisse Adriaanse + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Nmap/} + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= ::net/nmap \ + :p5-XML-Twig->=3.16:textproc/p5-XML-Twig + +CONFIGURE_STYLE= perl + +PKG_ARCH= * + +.include diff --git a/net/p5-Nmap-Parser/distinfo b/net/p5-Nmap-Parser/distinfo new file mode 100644 index 00000000000..2947cd12fbd --- /dev/null +++ b/net/p5-Nmap-Parser/distinfo @@ -0,0 +1,4 @@ +MD5 (Nmap-Parser-1.05.tar.gz) = 5d5f113a9d166b07e041a5dc52f9c3ee +RMD160 (Nmap-Parser-1.05.tar.gz) = 61f22fa7d20497068afe14711c279bb4cf3540e7 +SHA1 (Nmap-Parser-1.05.tar.gz) = e7c66709e6b0c8b40ea6f54ec6c6569d101f3f5c +SIZE (Nmap-Parser-1.05.tar.gz) = 34451 diff --git a/net/p5-Nmap-Parser/pkg/DESCR b/net/p5-Nmap-Parser/pkg/DESCR new file mode 100644 index 00000000000..2a806fd7230 --- /dev/null +++ b/net/p5-Nmap-Parser/pkg/DESCR @@ -0,0 +1,5 @@ +This module implements a interface to the information contained in an +nmap scan. It is implemented by parsing the xml scan data that is +generated by nmap. This will enable anyone who utilizes nmap to quickly +create fast and robust security scripts that utilize the powerful port +scanning abilities of nmap. diff --git a/net/p5-Nmap-Parser/pkg/PLIST b/net/p5-Nmap-Parser/pkg/PLIST new file mode 100644 index 00000000000..532b86a758e --- /dev/null +++ b/net/p5-Nmap-Parser/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/05/05 21:22:40 msf Exp $ +${P5SITE}/Nmap/ +${P5SITE}/Nmap/Parser.pm +@man man/man3p/Nmap::Parser.3p