svn commit: r430114 - in head: sysutils/monitorix www www/p5-POE-Component-Client-UserAgent www/p5-ParallelUA www/p5-ParallelUserAgent

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Dec 31 13:34:18 UTC 2016


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 at 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 at 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/


More information about the svn-ports-head mailing list