ports/55348: update www/p5-WWW-Link
Mathieu Arnold
m at absolight.net
Thu Aug 7 15:50:19 UTC 2003
>Number: 55348
>Category: ports
>Synopsis: update www/p5-WWW-Link
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 07 08:50:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Mathieu Arnold
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Jul 18 12:38:14 CEST 2003 root at aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386
>Description:
Update www/p5-WWW-Link to 0.036
* We handle correctly fixing of links with fragments. Previously we failed to
fix these.
* LongList reporter now uses a file to url conversion function instead of base
arguments.
* We renamed $link->never_checked to $link->is_not_checked(). Now we document
that.
* Handling of non-existent links is now corrected.
>How-To-Repeat:
>Fix:
--- p5-WWW-Link-0.036.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-WWW-Link/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 21 Feb 2003 14:01:28 -0000 1.2
+++ Makefile 7 Aug 2003 15:35:26 -0000
@@ -6,20 +6,29 @@
#
PORTNAME= WWW-Link
-PORTVERSION= 0.030
+PORTVERSION= 0.036
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= ../by-authors/id/M/MI/MIKEDLR
+MASTER_SITE_SUBDIR= WWW
PKGNAMEPREFIX= p5-
MAINTAINER= svenasse at polaris.ca
COMMENT= Maintain information about the state of links
+BUILD_DEPENDS= ${SITE_PERL}/HTTP/Response.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/HTML/Stream.pm:${PORTSDIR}/www/p5-HTML-Stream \
+ ${SITE_PERL}/CGI/Form.pm:${PORTSDIR}/www/p5-CGI-modules \
+ ${SITE_PERL}/Net/Telnet.pm:${PORTSDIR}/net/p5-Net-Telnet \
+ ${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM \
+ ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= WWW::Link.3 \
WWW::Link::Change.3 \
WWW::Link::Merge.3 \
+ WWW::Link::Redirect.3 \
WWW::Link::Repair.3 \
WWW::Link::Repair::ResourceMapper.3 \
WWW::Link::Repair::Substitutor.3 \
@@ -29,6 +38,7 @@
WWW::Link::Reporter::LongList.3 \
WWW::Link::Reporter::RepairForm.3 \
WWW::Link::Reporter::Text.3 \
+ WWW::Link::Reporter::URI.3 \
WWW::Link::Selector.3 \
WWW::Link::Test.3 \
WWW::Link::Test::Validate.3 \
@@ -37,6 +47,15 @@
WWW::Link::Tester::Base.3 \
WWW::Link::Tester::Complex.3 \
WWW::Link::Tester::Simple.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ ${PERL} -pi.bak \
+ -e 's/^\s*our\s+\(?\s*([\$$\@]\w+)\s*\)?/use vars qw($$1);$$1/;' \
+ -e '$$_="" if /use warnings/;' \
+ $$(${FIND} ${WRKSRC}/lib -name '*.pm')
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/p5-WWW-Link/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo 8 Feb 2002 16:49:00 -0000 1.1
+++ distinfo 7 Aug 2003 15:35:26 -0000
@@ -1 +1 @@
-MD5 (WWW-Link-0.030.tar.gz) = 8f9c258cf97e159d36d852ddefc1aa63
+MD5 (WWW-Link-0.036.tar.gz) = 668af5e35f5a7f5c5d66767bd17a743a
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/p5-WWW-Link/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist 8 Feb 2002 16:49:00 -0000 1.1
+++ pkg-plist 7 Aug 2003 15:35:26 -0000
@@ -1,30 +1,32 @@
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Change.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Merge.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Repair.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Repair/ResourceMapper.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Repair/Substitutor.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Reporter.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Reporter/Compile.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Reporter/HTML.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Reporter/LongList.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Reporter/RepairForm.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Reporter/Text.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Reporter/junk
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Selector.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Test.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Test/Validate.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Tester.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Tester/Adaptive.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Tester/Base.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Tester/Complex.pm
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Tester/Complex.pm.extra
-lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Tester/Simple.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/WWW-Link/.packlist
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/WWW-Link
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Tester
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Test
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Reporter
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/WWW/Link/Repair
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/WWW/Link
- at unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/WWW 2>/dev/null || true
+%%SITE_PERL%%/WWW/Link.pm
+%%SITE_PERL%%/WWW/Link/Change.pm
+%%SITE_PERL%%/WWW/Link/Merge.pm
+%%SITE_PERL%%/WWW/Link/Redirect.pm
+%%SITE_PERL%%/WWW/Link/Repair.pm
+%%SITE_PERL%%/WWW/Link/Repair/ResourceMapper.pm
+%%SITE_PERL%%/WWW/Link/Repair/Substitutor.pm
+%%SITE_PERL%%/WWW/Link/Reporter.pm
+%%SITE_PERL%%/WWW/Link/Reporter/Compile.pm
+%%SITE_PERL%%/WWW/Link/Reporter/HTML.pm
+%%SITE_PERL%%/WWW/Link/Reporter/LongList.pm
+%%SITE_PERL%%/WWW/Link/Reporter/RepairForm.pm
+%%SITE_PERL%%/WWW/Link/Reporter/Text.pm
+%%SITE_PERL%%/WWW/Link/Reporter/URI.pm
+%%SITE_PERL%%/WWW/Link/Reporter/junk
+%%SITE_PERL%%/WWW/Link/Selector.pm
+%%SITE_PERL%%/WWW/Link/Test.pm
+%%SITE_PERL%%/WWW/Link/Test/Validate.pm
+%%SITE_PERL%%/WWW/Link/Tester.pm
+%%SITE_PERL%%/WWW/Link/Tester/Adaptive.pm
+%%SITE_PERL%%/WWW/Link/Tester/Base.pm
+%%SITE_PERL%%/WWW/Link/Tester/Complex.pm
+%%SITE_PERL%%/WWW/Link/Tester/Complex.pm.extra
+%%SITE_PERL%%/WWW/Link/Tester/Simple.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW-Link/.packlist
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW-Link
+ at dirrm %%SITE_PERL%%/WWW/Link/Tester
+ at dirrm %%SITE_PERL%%/WWW/Link/Test
+ at dirrm %%SITE_PERL%%/WWW/Link/Reporter
+ at dirrm %%SITE_PERL%%/WWW/Link/Repair
+ at dirrm %%SITE_PERL%%/WWW/Link
+ at unexec rmdir %D/%%SITE_PERL%%/WWW 2>/dev/null || true
--- p5-WWW-Link-0.036.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list