summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1998-11-17 20:46:44 +0000
committerBill Fumerola <billf@FreeBSD.org>1998-11-17 20:46:44 +0000
commiteea0c917c3c0d5ddcd19adfb1cdbfc419c578d0c (patch)
treef316dc7e179a4734d278bb29bac7941e05e79c3f /security
parentgyve is broken with guile-1.3. Marking it and everything that (diff)
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
Notes
Notes: svn path=/head/; revision=14616
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 000000000000..700a12283bcc
--- /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 000000000000..40b23dbaf9ea
--- /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 000000000000..c26ac885f84c
--- /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 000000000000..4459ddfabe09
--- /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 000000000000..24bfadd1fc5d
--- /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 000000000000..1eef326959c3
--- /dev/null
+++ b/security/portscanner/pkg-plist
@@ -0,0 +1 @@
+bin/portscanner