From owner-svn-ports-all@freebsd.org Sat Dec 31 13:34:18 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 966A2C999BD; Sat, 31 Dec 2016 13:34:18 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 585F71FFE; Sat, 31 Dec 2016 13:34:18 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBVDYHte005776; Sat, 31 Dec 2016 13:34:17 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBVDYHFJ005771; Sat, 31 Dec 2016 13:34:17 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201612311334.uBVDYHFJ005771@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 31 Dec 2016 13:34:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430114 - in head: sysutils/monitorix www www/p5-POE-Component-Client-UserAgent www/p5-ParallelUA www/p5-ParallelUserAgent 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.23 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: Sat, 31 Dec 2016 13:34:18 -0000 Author: sunpoet Date: Sat Dec 31 13:34:16 2016 New Revision: 430114 URL: https://svnweb.freebsd.org/changeset/ports/430114 Log: - Move www/p5-ParallelUA to www/p5-ParallelUserAgent - Update COMMENT - Update pkg-descr - Add NO_ARCH for dependent ports - Bump PORTREVISION for dependent ports Added: head/www/p5-ParallelUserAgent/ - copied from r430113, head/www/p5-ParallelUA/ Deleted: head/www/p5-ParallelUA/ Modified: head/sysutils/monitorix/Makefile head/www/Makefile head/www/p5-POE-Component-Client-UserAgent/Makefile head/www/p5-ParallelUserAgent/Makefile head/www/p5-ParallelUserAgent/pkg-descr Modified: head/sysutils/monitorix/Makefile ============================================================================== --- head/sysutils/monitorix/Makefile Sat Dec 31 13:34:11 2016 (r430113) +++ head/sysutils/monitorix/Makefile Sat Dec 31 13:34:16 2016 (r430114) @@ -2,7 +2,7 @@ PORTNAME= monitorix PORTVERSION= 3.5.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= http://www.monitorix.org/ \ http://www.monitorix.org/old_versions/ \ @@ -14,7 +14,7 @@ COMMENT= Web based monitoring system LICENSE= GPLv2 LIB_DEPENDS= librrd.so:databases/rrdtool -RUN_DEPENDS= p5-ParallelUA>=0:www/p5-ParallelUA \ +RUN_DEPENDS= p5-ParallelUserAgent>=0:www/p5-ParallelUserAgent \ p5-CGI>=0:www/p5-CGI \ p5-libwww>=0:www/p5-libwww \ p5-MIME-Lite>=0:mail/p5-MIME-Lite \ @@ -25,6 +25,7 @@ RUN_DEPENDS= p5-ParallelUA>=0:www/p5-Par USES= perl5 USE_PERL5= run +NO_ARCH= yes NO_BUILD= yes USE_RC_SUBR= ${PORTNAME} Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sat Dec 31 13:34:11 2016 (r430113) +++ head/www/Makefile Sat Dec 31 13:34:16 2016 (r430114) @@ -1111,7 +1111,7 @@ SUBDIR += p5-POE-Filter-HTTP-Parser SUBDIR += p5-POEx-Role-PSGIServer SUBDIR += p5-PSGI - SUBDIR += p5-ParallelUA + SUBDIR += p5-ParallelUserAgent SUBDIR += p5-Parse-HTTP-UserAgent SUBDIR += p5-Path-Class-URI SUBDIR += p5-Perlanet Modified: head/www/p5-POE-Component-Client-UserAgent/Makefile ============================================================================== --- head/www/p5-POE-Component-Client-UserAgent/Makefile Sat Dec 31 13:34:11 2016 (r430113) +++ head/www/p5-POE-Component-Client-UserAgent/Makefile Sat Dec 31 13:34:16 2016 (r430114) @@ -3,7 +3,7 @@ PORTNAME= POE-Component-Client-UserAgent PORTVERSION= 0.08 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:RCAPUTO @@ -16,9 +16,10 @@ LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-POE>=0:devel/p5-POE \ - p5-ParallelUA>=0:www/p5-ParallelUA + p5-ParallelUserAgent>=0:www/p5-ParallelUserAgent RUN_DEPENDS:= ${BUILD_DEPENDS} +NO_ARCH= yes USES= perl5 USE_PERL5= configure Modified: head/www/p5-ParallelUserAgent/Makefile ============================================================================== --- head/www/p5-ParallelUA/Makefile Sat Dec 31 13:34:11 2016 (r430113) +++ head/www/p5-ParallelUserAgent/Makefile Sat Dec 31 13:34:16 2016 (r430114) @@ -1,16 +1,15 @@ # Created by: ache@FreeBSD.org # $FreeBSD$ -PORTNAME= ParallelUA +PORTNAME= ParallelUserAgent PORTVERSION= 2.57 PORTREVISION= 3 CATEGORIES= www perl5 MASTER_SITES= CPAN/LWP PKGNAMEPREFIX= p5- -DISTNAME= ParallelUserAgent-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Perl5 Parallel LWP User Agent for WWW access +COMMENT= Extension for LWP to allow parallel HTTP and FTP access LICENSE= ART10 GPLv1 LICENSE_COMB= dual Modified: head/www/p5-ParallelUserAgent/pkg-descr ============================================================================== --- head/www/p5-ParallelUA/pkg-descr Sat Dec 31 13:34:11 2016 (r430113) +++ head/www/p5-ParallelUserAgent/pkg-descr Sat Dec 31 13:34:16 2016 (r430114) @@ -1,9 +1,19 @@ -ParallelUserAgent allows you to connect to multiple sites _in parallel_! -You can register a number of requests, then call the 'wait' method and see -how the requests come in as each server responds. +ParallelUserAgent (or PUA for short) is an extension of the existing libwww-5.x +distribution. It allows you to connect to download several Web pages in +_parallel_, without having to request each page one after the other. -ParallelUserAgent is basically an extension of the current UserAgent and -RobotUA modules that come with libwww5. It installs into the ::Parallel -subtree under the standard LWP directory that ships with libwww5. +Instead of retrieving each single page using LWP::UserAgent::request or +::simple_request methods, you first "register" all pages that you wish to +download in parallel and then call PUA's "wait" method, which will then make all +the necessary connections and download the pages. + +You can define callback routines which will be called whenever a connection is +established, is cut off, new data comes in or a request finishes. The +subroutines can be global for all requests you registered, or different for +every single request. + +Callbacks for example allow you to print status updates as the responses come +in, or even immediately post follow-up requests based on the responses, all +within the same single "wait" cycle. WWW: http://search.cpan.org/dist/ParallelUserAgent/