Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2002 20:36:33 +0200 (CEST)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40785: update net/p5-URI to 1.20
Message-ID:  <200207191836.g6JIaXg4011652@guineapig.pil.dk>

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

>Number:         40785
>Category:       ports
>Synopsis:       update net/p5-URI to 1.20
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 19 11:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.6-RELEASE-p1 i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD guineapig.pil.dk 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 #10: Thu Jun 27 12:30:28 CEST 2002 root@prison.pil.dk:/usr/obj/usr/src/sys/PRISON i386


	
>Description:
- update to 1.20
- add WWW
- various style fixes
- assume maintainership

>How-To-Repeat:
	
>Fix:

	

--- p5-URI.diff begins here ---
diff -ruN p5-URI.orig/Makefile p5-URI/Makefile
--- p5-URI.orig/Makefile	Fri Jul 19 15:26:39 2002
+++ p5-URI/Makefile	Fri Jul 19 20:26:39 2002
@@ -6,15 +6,15 @@
 #
 
 PORTNAME=	URI
-PORTVERSION=    1.19
+PORTVERSION=    1.20
 CATEGORIES=	net perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	URI
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	erwin@lansing.dk
 
-BUILD_DEPENDS=	${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
 
 PERL_CONFIGURE=	yes
 
@@ -27,5 +27,9 @@
 		URI::data.3 \
 		URI::file.3 \
 		URI::ldap.3
+
+post-patch:
+	${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);/' \
+		${WRKSRC}/URI/urn.pm
 
 .include <bsd.port.mk>
diff -ruN p5-URI.orig/distinfo p5-URI/distinfo
--- p5-URI.orig/distinfo	Fri Jul 19 15:26:39 2002
+++ p5-URI/distinfo	Fri Jul 19 15:29:24 2002
@@ -1 +1 @@
-MD5 (URI-1.19.tar.gz) = d07561eec7cf311a8bf18dfe79ecac66
+MD5 (URI-1.20.tar.gz) = 2b895786ff9166f91305de07ec327fef
diff -ruN p5-URI.orig/pkg-descr p5-URI/pkg-descr
--- p5-URI.orig/pkg-descr	Fri Jul 19 15:26:39 2002
+++ p5-URI/pkg-descr	Fri Jul 19 20:30:31 2002
@@ -11,25 +11,4 @@
 URI::URL interface.  The emulated URI::URL implements both the old and
 the new interface.
 
-Some tests require an Internet connection to work and are skipped
-if one is not active.
-
-You need perl5.004 or better to install this package.  You should also
-have the MIME::Base64 module installed.  Installation is otherwise as
-usual:
-
-  perl Makefile.PL
-  make
-  make test
-  make install
-
-Questions about how to use this library should be directed to the
-comp.lang.perl.modules USENET Newsgroup.  Bug reports and suggestions
-for improvements can be sent to the <libwww-perl@ics.uci.edu> mailing
-list.
-
-Copyright 1998-1999 Gisle Aas.
-Copyright 1998 Graham Barr.
-
-This library is free software; you can redistribute it and/or
-modify it under the same terms as Perl itself.
+WWW: http://search.cpan.org/search?dist=URI
diff -ruN p5-URI.orig/pkg-plist p5-URI/pkg-plist
--- p5-URI.orig/pkg-plist	Fri Jul 19 15:26:39 2002
+++ p5-URI/pkg-plist	Fri Jul 19 20:21:19 2002
@@ -30,10 +30,16 @@
 lib/perl5/site_perl/%%PERL_VER%%/URI/pop.pm
 lib/perl5/site_perl/%%PERL_VER%%/URI/rlogin.pm
 lib/perl5/site_perl/%%PERL_VER%%/URI/rsync.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/rtsp.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/rtspu.pm
 lib/perl5/site_perl/%%PERL_VER%%/URI/snews.pm
 lib/perl5/site_perl/%%PERL_VER%%/URI/ssh.pm
 lib/perl5/site_perl/%%PERL_VER%%/URI/telnet.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/urn.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/urn/isbn.pm
+lib/perl5/site_perl/%%PERL_VER%%/URI/urn/oid.pm
 lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI/.packlist
 @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/URI
 @dirrm lib/perl5/site_perl/%%PERL_VER%%/URI/file
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/URI/urn
 @dirrm lib/perl5/site_perl/%%PERL_VER%%/URI
--- p5-URI.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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