aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2015-01-03 01:12:59 +0800
committeradamw <adamw@FreeBSD.org>2015-01-03 01:12:59 +0800
commit5e8ffde314019d685c5ebc57c0d062f846dead5c (patch)
tree1624f781564d79796e7e1e533935c5babbace140
parent85ab93a18a758e121bb735831ba074c1bc9b0b07 (diff)
downloadfreebsd-ports-gnome-5e8ffde314019d685c5ebc57c0d062f846dead5c.tar.gz
freebsd-ports-gnome-5e8ffde314019d685c5ebc57c0d062f846dead5c.tar.zst
freebsd-ports-gnome-5e8ffde314019d685c5ebc57c0d062f846dead5c.zip
Update to 0.3.3. Add LICENSE.
While here, remove a FreeBSD 4 patch that hasn't been used in 7 years.
-rw-r--r--security/doscan/Makefile5
-rw-r--r--security/doscan/distinfo4
-rw-r--r--security/doscan/files/freebsd4.diff11
-rw-r--r--security/doscan/files/patch-src__event_queue_poll.cc10
-rw-r--r--security/doscan/files/patch-src__half_duplex.cc10
-rw-r--r--security/doscan/files/patch-src__tcp_server.cc10
6 files changed, 5 insertions, 45 deletions
diff --git a/security/doscan/Makefile b/security/doscan/Makefile
index d4838f0ca26a..d8b8cb4875ac 100644
--- a/security/doscan/Makefile
+++ b/security/doscan/Makefile
@@ -2,14 +2,15 @@
# $FreeBSD$
PORTNAME= doscan
-PORTVERSION= 0.3.1
-PORTREVISION= 3
+PORTVERSION= 0.3.3
CATEGORIES= security net
MASTER_SITES= http://static.enyo.de/fw/releases/doscan/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to quickly scan your network for machines listening on a TCP port
+LICENSE= GPLv2
+
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
diff --git a/security/doscan/distinfo b/security/doscan/distinfo
index f500fb53df2e..978ae49ad3ea 100644
--- a/security/doscan/distinfo
+++ b/security/doscan/distinfo
@@ -1,2 +1,2 @@
-SHA256 (doscan-0.3.1.tar.gz) = 83b02aa2d326855df0b167dc54bffd04886b40c4341be854b9188340cae9a0b9
-SIZE (doscan-0.3.1.tar.gz) = 129378
+SHA256 (doscan-0.3.3.tar.gz) = ae8f1f0669ff8cb168914dc5a855e4c132a272d82d4161d3b146af04e47a686f
+SIZE (doscan-0.3.3.tar.gz) = 133457
diff --git a/security/doscan/files/freebsd4.diff b/security/doscan/files/freebsd4.diff
deleted file mode 100644
index cc89721cc173..000000000000
--- a/security/doscan/files/freebsd4.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/results.cc.orig Mon Feb 23 15:15:59 2004
-+++ src/results.cc Mon Feb 23 15:30:54 2004
-@@ -427,7 +427,7 @@
- #ifdef GETHOSTBYADDR_ACCEPTS_CHAR
- he = gethostbyaddr (reinterpret_cast<char*>(&in), sizeof (in), AF_INET);
- #else
--#error Type of first argument to gethostbyaddr() is not known.
-+ he = gethostbyaddr ((const char*)(&in), sizeof (in), AF_INET);
- #endif
- #endif
-
diff --git a/security/doscan/files/patch-src__event_queue_poll.cc b/security/doscan/files/patch-src__event_queue_poll.cc
deleted file mode 100644
index b6e34705eff0..000000000000
--- a/security/doscan/files/patch-src__event_queue_poll.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./src/event_queue_poll.cc.orig 2014-07-08 13:37:17.446327398 +0200
-+++ ./src/event_queue_poll.cc 2014-07-08 13:37:46.925961262 +0200
-@@ -22,6 +22,7 @@
-
- #include <cerrno>
- #include <cstdio>
-+#include <cstdlib>
- #include <unistd.h>
-
- void
diff --git a/security/doscan/files/patch-src__half_duplex.cc b/security/doscan/files/patch-src__half_duplex.cc
deleted file mode 100644
index 13b7a7036570..000000000000
--- a/security/doscan/files/patch-src__half_duplex.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./src/half_duplex.cc.orig 2014-07-08 13:35:10.175988570 +0200
-+++ ./src/half_duplex.cc 2014-07-08 13:35:42.546019678 +0200
-@@ -22,6 +22,7 @@
-
- #include <cerrno>
- #include <cstdio>
-+#include <cstdlib>
- #include <fcntl.h>
- #include <string>
- #include <sys/fcntl.h>
diff --git a/security/doscan/files/patch-src__tcp_server.cc b/security/doscan/files/patch-src__tcp_server.cc
deleted file mode 100644
index 84f5ca113cc8..000000000000
--- a/security/doscan/files/patch-src__tcp_server.cc
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./src/tcp_server.cc.orig 2014-07-08 13:38:28.586070857 +0200
-+++ ./src/tcp_server.cc 2014-07-08 13:38:54.175974881 +0200
-@@ -22,6 +22,7 @@
-
- #include <cerrno>
- #include <cstdio>
-+#include <cstdlib>
- #include <fcntl.h>
- #include <netinet/in.h>
- #include <sys/fcntl.h>