ports/128059: [NEW PORT]net/pear-Net_Nmap:A Simple Wrapper Class for the Nmap Utility
Wen heping
wenheping at gmail.com
Mon Oct 13 14:00:14 UTC 2008
>Number: 128059
>Category: ports
>Synopsis: [NEW PORT]net/pear-Net_Nmap:A Simple Wrapper Class for the Nmap Utility
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 13 14:00:13 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Wen heping
>Release: FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD tinderbox.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Net_Nmap is a simple interface for Nmap, the
free and open source utility for network
exploration or security auditing.
Net_Nmap can be used to auto discovery hosts
and services in your network or simply to
parse Nmap XML output.
WWW: http://pear.php.net/package/Net_Nmap/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# pear-Net_Nmap
# pear-Net_Nmap/pkg-descr
# pear-Net_Nmap/distinfo
# pear-Net_Nmap/Makefile
#
echo c - pear-Net_Nmap
mkdir -p pear-Net_Nmap > /dev/null 2>&1
echo x - pear-Net_Nmap/pkg-descr
sed 's/^X//' >pear-Net_Nmap/pkg-descr << 'END-of-pear-Net_Nmap/pkg-descr'
XNet_Nmap is a simple interface for Nmap, the
Xfree and open source utility for network
Xexploration or security auditing.
X
XNet_Nmap can be used to auto discovery hosts
Xand services in your network or simply to
Xparse Nmap XML output.
X
XWWW: http://pear.php.net/package/Net_Nmap/
END-of-pear-Net_Nmap/pkg-descr
echo x - pear-Net_Nmap/distinfo
sed 's/^X//' >pear-Net_Nmap/distinfo << 'END-of-pear-Net_Nmap/distinfo'
XMD5 (PEAR/Net_Nmap-1.0.0.tgz) = 4773850a9d92924fb38e6eb51e83df65
XSHA256 (PEAR/Net_Nmap-1.0.0.tgz) = 77220d4ebca7e2e414b8bb72f4ec4ebe4fc043e7fb7fae2d2ad135412e943a6b
XSIZE (PEAR/Net_Nmap-1.0.0.tgz) = 19450
END-of-pear-Net_Nmap/distinfo
echo x - pear-Net_Nmap/Makefile
sed 's/^X//' >pear-Net_Nmap/Makefile << 'END-of-pear-Net_Nmap/Makefile'
X# Ports collection makefile for: pear-Net_Nmap
X# Date created: 13 Oct 2008
X# Whom: Wen Heping<wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Net_Nmap
XPORTVERSION= 1.0.0
XCATEGORIES= net pear
X
XMAINTAINER= wenheping at gmail.com
XCOMMENT= A Simple Wrapper Class for the Nmap Utility
X
XBUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XCATEGORY= Net
XFILES= Nmap.php \
X Nmap/Exception.php Nmap/Host.php \
X Nmap/Parser.php Nmap/Service.php
X
XEXAMPLES= example1.php example2.php example2.xml
X
XTESTS= NetNmapParseTest.php \
X NetNmapParseTest.xml \
X NetNmapScanTest.php \
X test_config.php
X
XDOCS= LICENSE README
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
X.include <bsd.port.post.mk>
END-of-pear-Net_Nmap/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list