pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

update www/p5-URI to 1.68



Hi,

with the perl-5.22 update, p5-URI (1.60) receives a deprecation warning:

# spamassassin --lint
Jul 13 11:50:22.757 [4469] warn: \C is deprecated in regex; marked by <-- HERE in m/(\C <-- HERE )/ at /opt/pkgsrc/lib/perl5/vendor_perl/5.22.0/URI/Escape.pm line 205.


This was fixed in version 1.62:

    2014-07-12   Karen Etheridge <ether%cpan.org@localhost>

      Release 1.62

      Karen Etheridge (2):
        - use strict and warnings in all modules, tests and scripts
        - remove all remaining uses of "use vars"

      Eric Brine:
        - fixed new "\C is deprecated in regex" warning in 5.21.2 (RT#96941)


Attached is a patch to update p5-URI to the current 1.68 version.


Regards
Matthias Ferdinand
Only in p5-URI-1.60: CVS
diff -u p5-URI-1.60/Makefile p5-URI/Makefile
--- p5-URI-1.60/Makefile	2013-06-04 05:38:02.000000000 +0200
+++ p5-URI/Makefile	2015-07-13 11:52:38.000000000 +0200
@@ -1,8 +1,8 @@
 # $NetBSD: Makefile,v 1.51 2013/05/31 12:42:52 wiz Exp $
 
-DISTNAME=	URI-1.60
+DISTNAME=	URI-1.68
 PKGNAME=	p5-${DISTNAME}
-PKGREVISION=	2
+PKGREVISION=
 SVR4_PKGNAME=	p5uri
 CATEGORIES=	www net perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=URI/}
@@ -14,7 +14,7 @@
 
 PKG_INSTALLATION_TYPES=	overwrite pkgviews
 
-DEPENDS+=	{perl>=5.7,p5-MIME-Base64>=2.12}:../../converters/p5-MIME-Base64
+DEPENDS+=	{perl>=5.8,p5-MIME-Base64>=2.12}:../../converters/p5-MIME-Base64
 # recommended
 DEPENDS+=	p5-Business-ISBN-[0-9]*:../../misc/p5-Business-ISBN
 
diff -u p5-URI-1.60/distinfo p5-URI/distinfo
--- p5-URI-1.60/distinfo	2012-04-24 05:46:47.000000000 +0200
+++ p5-URI/distinfo	2015-07-13 11:41:03.000000000 +0200
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.25 2012/04/22 10:41:20 wiz Exp $
 
-SHA1 (URI-1.60.tar.gz) = 940315985af24b9f4bb5a9761b1e2bbe6c1d0df3
-RMD160 (URI-1.60.tar.gz) = 24afb2202cae821cfe1499056b289b81a5d62f24
-Size (URI-1.60.tar.gz) = 81196 bytes
+SHA1 (URI-1.68.tar.gz) = 0147357cecc41ce29b64cf5f1c5c70b83da81727
+RMD160 (URI-1.68.tar.gz) = 637278f49cb15f83aa18cfd1fe74ec5c6aa3d72b
+Size (URI-1.68.tar.gz) = 99425 bytes


Home | Main Index | Thread Index | Old Index