From owner-svn-ports-all@FreeBSD.ORG Tue Jul 8 11:47:15 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCB6C139; Tue, 8 Jul 2014 11:47:15 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BCA3D296B; Tue, 8 Jul 2014 11:47:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s68BlFkc020279; Tue, 8 Jul 2014 11:47:15 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s68BlEYp020271; Tue, 8 Jul 2014 11:47:14 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201407081147.s68BlEYp020271@svn.freebsd.org> From: Pawel Pekala Date: Tue, 8 Jul 2014 11:47:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361222 - in head/security/doscan: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2014 11:47:16 -0000 Author: pawel Date: Tue Jul 8 11:47:14 2014 New Revision: 361222 URL: http://svnweb.freebsd.org/changeset/ports/361222 QAT: https://qat.redports.org/buildarchive/r361222/ Log: - 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 MFH: 2014Q3 Added: head/security/doscan/files/patch-src__event_queue_poll.cc (contents, props changed) head/security/doscan/files/patch-src__half_duplex.cc (contents, props changed) head/security/doscan/files/patch-src__proto_http_proxy.cc (contents, props changed) head/security/doscan/files/patch-src__tcp_server.cc (contents, props changed) Modified: head/security/doscan/Makefile head/security/doscan/pkg-descr Modified: head/security/doscan/Makefile ============================================================================== --- head/security/doscan/Makefile Tue Jul 8 11:42:50 2014 (r361221) +++ head/security/doscan/Makefile Tue Jul 8 11:47:14 2014 (r361222) @@ -7,29 +7,25 @@ PORTREVISION= 3 CATEGORIES= security net MASTER_SITES= http://static.enyo.de/fw/releases/doscan/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org 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 Added: head/security/doscan/files/patch-src__event_queue_poll.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/doscan/files/patch-src__event_queue_poll.cc Tue Jul 8 11:47:14 2014 (r361222) @@ -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 + #include ++#include + #include + + void Added: head/security/doscan/files/patch-src__half_duplex.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/doscan/files/patch-src__half_duplex.cc Tue Jul 8 11:47:14 2014 (r361222) @@ -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 + #include ++#include + #include + #include + #include Added: head/security/doscan/files/patch-src__proto_http_proxy.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/doscan/files/patch-src__proto_http_proxy.cc Tue Jul 8 11:47:14 2014 (r361222) @@ -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 + #include + #include ++#include + + static bool proxy_start(subnets&); + static void proxy_open(scan_host_t *); Added: head/security/doscan/files/patch-src__tcp_server.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/doscan/files/patch-src__tcp_server.cc Tue Jul 8 11:47:14 2014 (r361222) @@ -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 + #include ++#include + #include + #include + #include Modified: head/security/doscan/pkg-descr ============================================================================== --- head/security/doscan/pkg-descr Tue Jul 8 11:42:50 2014 (r361221) +++ head/security/doscan/pkg-descr Tue Jul 8 11:47:14 2014 (r361222) @@ -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