Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2008 11:47:18 -0700 (PDT)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/128438: [PATCH] www/p5-HTTP-Response-Encoding: fix dependency
Message-ID:  <200810281847.m9SIlI3Q097921@cn1.leeym.com>
Resent-Message-ID: <200810281850.m9SIo5Kl005970@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128438
>Category:       ports
>Synopsis:       [PATCH] www/p5-HTTP-Response-Encoding: fix dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 28 18:50:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- fix dependency to build on perl 5.7.3 - 5.8.5
- add more description
- bump PORTREVISION

Port maintainer (gslin@gslin.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-HTTP-Response-Encoding-0.05_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-HTTP-Response-Encoding/Makefile,v
retrieving revision 1.1
diff -u -d -b -w -u -r1.1 Makefile
--- Makefile	30 Oct 2007 01:29:17 -0000	1.1
+++ Makefile	28 Oct 2008 18:46:18 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	HTTP-Response-Encoding
 PORTVERSION=	0.05
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	HTTP
@@ -15,16 +16,16 @@
 MAINTAINER=	gslin@gslin.org
 COMMENT=	Adds encoding() to HTTP::Response
 
-RUN_DEPENDS=	${SITE_PERL}/HTTP/Response.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS=	p5-libwww>=0:${PORTSDIR}/www/p5-libwww
 
-PERL_CONFIGURE=	yes
+PERL_CONFIGURE=	5.8.1+
 
 MAN3=		HTTP::Response::Encoding.3
 
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500805
-IGNORE=		requires Perl 5.8.5 or later. Install lang/perl5.8 and try again
+RUN_DEPENDS+=	p5-Encode>=2:${PORTSDIR}/converters/p5-Encode
 .endif
 
 .include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/www/p5-HTTP-Response-Encoding/pkg-descr,v
retrieving revision 1.1
diff -u -d -b -w -u -r1.1 pkg-descr
--- pkg-descr	30 Oct 2007 01:29:17 -0000	1.1
+++ pkg-descr	28 Oct 2008 18:46:18 -0000
@@ -1,3 +1,22 @@
 This module adds the following methods to HTTP::Response objects.
 
+$res->charset
+
+  Tells the charset exactly as appears in the Content-Type: header. Note that
+  the presence of the charset does not guarantee if the response content is
+  decodable via Encode.
+
+$res->encoder
+
+  Returns the corresponding encoder object or undef if it can't.
+
+$res->encoding
+
+  Tells the content encoding in the canonical name in Encode. Returns undef
+  if it can't.
+
+$res->decoded_content
+
+  Discontinued since HTTP::Message already has this method.
+
 WWW:	http://search.cpan.org/dist/HTTP-Response-Encoding/
--- p5-HTTP-Response-Encoding-0.05_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810281847.m9SIlI3Q097921>