aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2009-12-22 16:26:23 +0800
committerwen <wen@FreeBSD.org>2009-12-22 16:26:23 +0800
commit14c4acce86d6c4fe2b6ec6d3318b410d9b56fde3 (patch)
tree925709c67dd3138f0cd167ab64d6cdf6d0fbbe01 /security
parent08864e089d064a866dc3f29c13ee006b23ce8171 (diff)
downloadfreebsd-ports-gnome-14c4acce86d6c4fe2b6ec6d3318b410d9b56fde3.tar.gz
freebsd-ports-gnome-14c4acce86d6c4fe2b6ec6d3318b410d9b56fde3.tar.zst
freebsd-ports-gnome-14c4acce86d6c4fe2b6ec6d3318b410d9b56fde3.zip
The Net_Portscan package allows one to perform basic portscanning
functions with PHP. It supports checking an individual port or checking a whole range of ports on a machine. WWW: http://pear.php.net/package/Net-Portscan/
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/pear-Net_Portscan/Makefile29
-rw-r--r--security/pear-Net_Portscan/distinfo3
-rw-r--r--security/pear-Net_Portscan/pkg-descr5
4 files changed, 38 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index c9a4e71d17bf..53f3d66fef84 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -593,6 +593,7 @@
SUBDIR += pear-HTML_Crypt
SUBDIR += pear-LiveUser
SUBDIR += pear-LiveUser_Admin
+ SUBDIR += pear-Net_Portscan
SUBDIR += pear-Text_Password
SUBDIR += pecl-crack
SUBDIR += pecl-gnupg
diff --git a/security/pear-Net_Portscan/Makefile b/security/pear-Net_Portscan/Makefile
new file mode 100644
index 000000000000..ce7ec0eb7797
--- /dev/null
+++ b/security/pear-Net_Portscan/Makefile
@@ -0,0 +1,29 @@
+# Ports collection makefile for: pear-Net_Portscan
+# Date created: 21 Dec, 2009
+# Whom: Wen Heping <wen@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net_Portscan
+PORTVERSION= 1.0.3
+CATEGORIES= security pear
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= Provides an API for scanning ports
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= Net
+FILES= Portscan.php
+TESTS= 01-portscan.php
+DOCS= README.portscan
+
+post-extract:
+ @cd ${WRKSRC} && ${MKDIR} -p ${WRKSRC}/docs
+ ${MV} ${WRKSRC}/README.portscan ${WRKSRC}/docs/
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
+.include <bsd.port.post.mk>
diff --git a/security/pear-Net_Portscan/distinfo b/security/pear-Net_Portscan/distinfo
new file mode 100644
index 000000000000..ec9618f8ba1a
--- /dev/null
+++ b/security/pear-Net_Portscan/distinfo
@@ -0,0 +1,3 @@
+MD5 (PEAR/Net_Portscan-1.0.3.tgz) = e7a7eeb5c12fe70eef674ee927ba1208
+SHA256 (PEAR/Net_Portscan-1.0.3.tgz) = 2e69cc87f92f655dac58b7b873a5efdf5f3fe547a6aca498785383d92d2d23c6
+SIZE (PEAR/Net_Portscan-1.0.3.tgz) = 2674
diff --git a/security/pear-Net_Portscan/pkg-descr b/security/pear-Net_Portscan/pkg-descr
new file mode 100644
index 000000000000..9a2bee1efe47
--- /dev/null
+++ b/security/pear-Net_Portscan/pkg-descr
@@ -0,0 +1,5 @@
+The Net_Portscan package allows one to perform basic portscanning
+functions with PHP. It supports checking an individual port or
+checking a whole range of ports on a machine.
+
+WWW: http://pear.php.net/package/Net-Portscan/