From owner-svn-ports-all@FreeBSD.ORG Tue Jul 8 12:12:53 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A37A8D3; Tue, 8 Jul 2014 12:12:53 +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 65D5E2BD1; Tue, 8 Jul 2014 12:12:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s68CCraY036394; Tue, 8 Jul 2014 12:12:53 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s68CCquZ036379; Tue, 8 Jul 2014 12:12:52 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201407081212.s68CCquZ036379@svn.freebsd.org> From: Pawel Pekala Date: Tue, 8 Jul 2014 12:12:52 +0000 (UTC) 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 X-SVN-Group: ports-branches 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 12:12:53 -0000 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 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 + #include ++#include + #include + + 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 + #include ++#include + #include + #include + #include 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 + #include + #include ++#include + + 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 + #include ++#include + #include + #include + #include 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