aboutsummaryrefslogtreecommitdiff
path: root/security/portscanner
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2003-10-22 16:08:54 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2003-10-22 16:08:54 +0000
commitbba56e760c17909362498af571f1cfe21e7e03b8 (patch)
tree3506fab15bcadcc7c9e2198872889e1f8bca42e2 /security/portscanner
parent40b422b869e80e1748e6a205ea1edd9db605acfd (diff)
downloadports-bba56e760c17909362498af571f1cfe21e7e03b8.tar.gz
ports-bba56e760c17909362498af571f1cfe21e7e03b8.zip
Notes
Diffstat (limited to 'security/portscanner')
-rw-r--r--security/portscanner/Makefile1
-rw-r--r--security/portscanner/files/patch-ab17
2 files changed, 1 insertions, 17 deletions
diff --git a/security/portscanner/Makefile b/security/portscanner/Makefile
index 7d5ff50d1a64..f19e08e857f0 100644
--- a/security/portscanner/Makefile
+++ b/security/portscanner/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portscanner
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.ameth.org/~veilleux/PortScan/
DISTNAME= PortScanner-${PORTVERSION}
diff --git a/security/portscanner/files/patch-ab b/security/portscanner/files/patch-ab
index b92c4258e856..d1656f1d1a75 100644
--- a/security/portscanner/files/patch-ab
+++ b/security/portscanner/files/patch-ab
@@ -10,20 +10,3 @@
#include <netinet/in.h>
#include <unistd.h>
#include <netdb.h>
-@@ -268,7 +268,7 @@
- goodproto = 0;
- } else address2.sin_port = htons(base_port+current_port);
-
-- if (!finished)
-+ if (!finished) {
- if (connect(sock, (struct sockaddr *)&address2, sizeof(address2)) == 0) {
- switch (verbose) {
- case 0: if (strobe)
-@@ -312,6 +312,7 @@
- finished = 1;
- }
- /* fprintf(stderr,"current_port: %d,b: %d,e:%d,b+c:%d\n", current_port, base_port,end_port,base_port+current_port); */
-+ }
- }
-
- if (verbose == 2) printf("Port scan finished !\n");