summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1998-11-17 20:46:44 +0000
committerbillf <billf@FreeBSD.org>1998-11-17 20:46:44 +0000
commit6a73f7ab2aa02eb69ffbe276c46f7a2a9ba8fb58 (patch)
tree90aac1332abf35d041e871771c42864ae2f14a03 /security
parentb7864485756a89623c1a2913f27792056f381c12 (diff)
downloadFreeBSD-ports-6a73f7ab2aa02eb69ffbe276c46f7a2a9ba8fb58.zip
FreeBSD-ports-6a73f7ab2aa02eb69ffbe276c46f7a2a9ba8fb58.tar.gz
Initial import of portscanner, a quick and dirty way to scan ports
similar to strobe, but much quicker, and good for use in scripts and CGI. PR: ports/7582
Diffstat (limited to 'security')
-rw-r--r--security/portscanner/Makefile27
-rw-r--r--security/portscanner/distinfo1
-rw-r--r--security/portscanner/files/patch-aa11
-rw-r--r--security/portscanner/pkg-comment1
-rw-r--r--security/portscanner/pkg-descr7
-rw-r--r--security/portscanner/pkg-plist1
6 files changed, 48 insertions, 0 deletions
diff --git a/security/portscanner/Makefile b/security/portscanner/Makefile
new file mode 100644
index 0000000..700a122
--- /dev/null
+++ b/security/portscanner/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: portscanner
+# Version required: 1.0
+# Date created: 11 August 1998
+# Whom: Bill Fumerola <billf@chc-chimes.com>
+#
+# $Id: $
+#
+
+DISTNAME= PortScanner-1.0
+PKGNAME= portscanner-1.0
+CATEGORIES= net
+MASTER_SITES= http://www.ameth.org/~veilleux/ \
+ http://www.FreeBSD.org/~billf/
+
+MAINTAINER= billf@FreeBSD.org
+
+WRKSRC= ${WRKDIR}
+
+do-build:
+
+ ${CC} -o ${WRKSRC}/portscanner ${CFLAGS} ${WRKSRC}/portscanner.c
+
+do-install:
+
+ ${INSTALL_PROGRAM} ${WRKSRC}/portscanner ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/security/portscanner/distinfo b/security/portscanner/distinfo
new file mode 100644
index 0000000..40b23db
--- /dev/null
+++ b/security/portscanner/distinfo
@@ -0,0 +1 @@
+MD5 (PortScanner-1.0.tar.gz) = 633e77b3cd66872d7baef0b14bbbf13e
diff --git a/security/portscanner/files/patch-aa b/security/portscanner/files/patch-aa
new file mode 100644
index 0000000..c26ac885
--- /dev/null
+++ b/security/portscanner/files/patch-aa
@@ -0,0 +1,11 @@
+--- portscanner.c.old Tue Aug 11 17:11:20 1998
++++ portscanner.c Tue Aug 11 17:11:27 1998
+@@ -35,7 +35,7 @@
+ int sock = -1;
+ struct sockaddr_in address;
+ int result;
+-extern char *sys_errlist[];
++/* extern char *sys_errlist[]; */
+ extern int errno;
+ int current_port = 0;
+ u_short base_port = 0;
diff --git a/security/portscanner/pkg-comment b/security/portscanner/pkg-comment
new file mode 100644
index 0000000..4459ddf
--- /dev/null
+++ b/security/portscanner/pkg-comment
@@ -0,0 +1 @@
+a simple and easy to use TCP port scanner
diff --git a/security/portscanner/pkg-descr b/security/portscanner/pkg-descr
new file mode 100644
index 0000000..24bfadd
--- /dev/null
+++ b/security/portscanner/pkg-descr
@@ -0,0 +1,7 @@
+PortScanner is a simple and easy to use TCP port scanner. It is usually used to
+log the running servers on a remote machine for security purposes and to help
+people find services.
+
+http://www.ameth.org/~veilleux/
+
+Bill Fumerola <billf@chc-chimes.com>
diff --git a/security/portscanner/pkg-plist b/security/portscanner/pkg-plist
new file mode 100644
index 0000000..1eef326
--- /dev/null
+++ b/security/portscanner/pkg-plist
@@ -0,0 +1 @@
+bin/portscanner
OpenPOWER on IntegriCloud