Date: Tue, 8 Jul 2014 12:12:52 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r361224 - in branches/2014Q3/security/doscan: . files Message-ID: <201407081212.s68CCquZ036379@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Tue Jul 8 12:12:51 2014 New Revision: 361224 URL: http://svnweb.freebsd.org/changeset/ports/361224 QAT: https://qat.redports.org/buildarchive/r361224/ Log: MFH: r361222 - Fix build with clang (add missing inlcudes in few files) - Add staging support - Convert to new LIB_DEPENDS format, options framework - Fix spelling mistakes, remove old maintainer contact from pkg-descr Approved by: portmgr (erwin) Added: branches/2014Q3/security/doscan/files/patch-src__event_queue_poll.cc - copied unchanged from r361222, head/security/doscan/files/patch-src__event_queue_poll.cc branches/2014Q3/security/doscan/files/patch-src__half_duplex.cc - copied unchanged from r361222, head/security/doscan/files/patch-src__half_duplex.cc branches/2014Q3/security/doscan/files/patch-src__proto_http_proxy.cc - copied unchanged from r361222, head/security/doscan/files/patch-src__proto_http_proxy.cc branches/2014Q3/security/doscan/files/patch-src__tcp_server.cc - copied unchanged from r361222, head/security/doscan/files/patch-src__tcp_server.cc Modified: branches/2014Q3/security/doscan/Makefile branches/2014Q3/security/doscan/pkg-descr Directory Properties: branches/2014Q3/ (props changed) Modified: branches/2014Q3/security/doscan/Makefile ============================================================================== --- branches/2014Q3/security/doscan/Makefile Tue Jul 8 11:52:24 2014 (r361223) +++ branches/2014Q3/security/doscan/Makefile Tue Jul 8 12:12:51 2014 (r361224) @@ -10,26 +10,22 @@ MASTER_SITES= http://static.enyo.de/fw/r MAINTAINER= jmohacsi@bsd.hu COMMENT= Tool to quickly scan your network for machines listening on a TCP port -LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre GNU_CONFIGURE= yes USES= gmake + PORTDOCS= README -MAN1= doscan.1 +PLIST_FILES= bin/doscan man/man1/doscan.1.gz -PLIST_FILES= bin/doscan +OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's|ony o|on yo|' \ ${WRKSRC}/doc/doscan.1 post-install: -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Copied: branches/2014Q3/security/doscan/files/patch-src__event_queue_poll.cc (from r361222, head/security/doscan/files/patch-src__event_queue_poll.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q3/security/doscan/files/patch-src__event_queue_poll.cc Tue Jul 8 12:12:51 2014 (r361224, copy of r361222, head/security/doscan/files/patch-src__event_queue_poll.cc) @@ -0,0 +1,10 @@ +--- ./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 Copied: branches/2014Q3/security/doscan/files/patch-src__half_duplex.cc (from r361222, head/security/doscan/files/patch-src__half_duplex.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q3/security/doscan/files/patch-src__half_duplex.cc Tue Jul 8 12:12:51 2014 (r361224, copy of r361222, head/security/doscan/files/patch-src__half_duplex.cc) @@ -0,0 +1,10 @@ +--- ./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> Copied: branches/2014Q3/security/doscan/files/patch-src__proto_http_proxy.cc (from r361222, head/security/doscan/files/patch-src__proto_http_proxy.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q3/security/doscan/files/patch-src__proto_http_proxy.cc Tue Jul 8 12:12:51 2014 (r361224, copy of r361222, head/security/doscan/files/patch-src__proto_http_proxy.cc) @@ -0,0 +1,10 @@ +--- ./src/proto_http_proxy.cc.orig 2014-07-08 13:39:24.466003083 +0200 ++++ ./src/proto_http_proxy.cc 2014-07-08 13:40:02.286093067 +0200 +@@ -36,6 +36,7 @@ + #include <string> + #include <sys/types.h> + #include <sys/socket.h> ++#include <time.h> + + static bool proxy_start(subnets&); + static void proxy_open(scan_host_t *); Copied: branches/2014Q3/security/doscan/files/patch-src__tcp_server.cc (from r361222, head/security/doscan/files/patch-src__tcp_server.cc) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q3/security/doscan/files/patch-src__tcp_server.cc Tue Jul 8 12:12:51 2014 (r361224, copy of r361222, head/security/doscan/files/patch-src__tcp_server.cc) @@ -0,0 +1,10 @@ +--- ./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> Modified: branches/2014Q3/security/doscan/pkg-descr ============================================================================== --- branches/2014Q3/security/doscan/pkg-descr Tue Jul 8 11:52:24 2014 (r361223) +++ branches/2014Q3/security/doscan/pkg-descr Tue Jul 8 12:12:51 2014 (r361224) @@ -6,19 +6,17 @@ are sparsely populated with hosts), with Load distribution: doscan scans the addresses in a seemingly random order. If your scan host is connected to a central router, this ensures that the load is distributed across your network, and you are -stress-tesing just a single router, and not your edge devices. +stress-testing just a single router, and not your edge devices. Low memory consumption: memory usage is proportional to the number of hosts which have responded so far, and to the number of parallel connections. The total number of addresses does not influence memory usage in any way. Can collect responses: doscan optionally records data which is sent by the hosts which are being scanned. You can even specify a regular -expresson to extract part of a server banner, and a message to send to +expression to extract part of a server banner, and a message to send to trigger a response (great for determining HTTP server versions). Extensibility: It is possible to add special handlers for TCP-based protocols, using a straightforward interface. It supports scanning the vulnerable Microsoft DCOM implementation. WWW: http://www.enyo.de/fw/software/doscan/ - -Janos Mohacsi <janos.mohacsi@bsd.hu>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407081212.s68CCquZ036379>