Date: Wed, 6 Aug 2003 17:54:31 +0200 (CEST) From: Mathieu Arnold <m@absolight.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tobez@FreeBSD.org Subject: ports/55314: update www/p5-WWW-Mechanize Message-ID: <20030806155431.6163A7D29@aragorn.reaumur.absolight.net> Resent-Message-ID: <200308061600.h76G0NFu032280@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55314 >Category: ports >Synopsis: update www/p5-WWW-Mechanize >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: Wed Aug 06 09:00:22 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@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386 >Description: Update www/p5-WWW-Mechanize to 0.57 >How-To-Repeat: >Fix: --- p5-WWW-Mechanize-0.57.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/p5-WWW-Mechanize/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 4 Jul 2003 11:01:59 -0000 1.4 +++ Makefile 6 Aug 2003 15:51:29 -0000 @@ -6,7 +6,7 @@ # PORTNAME= WWW-Mechanize -PORTVERSION= 0.51 +PORTVERSION= 0.57 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= WWW @@ -15,27 +15,25 @@ MAINTAINER= tobez@FreeBSD.org COMMENT= This module is to help you automate interaction with a website -BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ - ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -MAN3= WWW::Mechanize.3 +MAN3= WWW::Mechanize.3 WWW::Mechanize::Examples.3 WWW::Mechanize::Link.3 .include <bsd.port.pre.mk> .if ${PERL_LEVEL} < 500601 BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec -.endif post-patch: ${PERL} -pi \ -e 's/^our\s+([\$$\@]\w+)/use vars qw($$1);$$1/;' \ -e 's/^our\s+([\%]\w+)/use vars qw($$1)/;' \ - -e '$$_="" if /require 5/;' \ -e '$$_="" if /use warnings/;' \ - ${WRKSRC}/lib/WWW/Mechanize.pm + ${WRKSRC}/lib/WWW/Mechanize.pm ${WRKSRC}/lib/WWW/Mechanize/Link.pm +.endif .include <bsd.port.post.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/www/p5-WWW-Mechanize/distinfo,v retrieving revision 1.4 diff -u -r1.4 distinfo --- distinfo 4 Jul 2003 11:01:59 -0000 1.4 +++ distinfo 6 Aug 2003 15:51:29 -0000 @@ -1 +1 @@ -MD5 (WWW-Mechanize-0.51.tar.gz) = 381ea59646ddae319f224e6b124f4324 +MD5 (WWW-Mechanize-0.57.tar.gz) = 7c4f2b1492317e7e6ecec68785643a1c Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/www/p5-WWW-Mechanize/pkg-plist,v retrieving revision 1.4 diff -u -r1.4 pkg-plist --- pkg-plist 4 Jul 2003 11:01:59 -0000 1.4 +++ pkg-plist 6 Aug 2003 15:51:29 -0000 @@ -1,8 +1,9 @@ bin/mech-forms -%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/.packlist -%%SITE_PERL%%/WWW/Mechanize/Examples.pod %%SITE_PERL%%/WWW/Mechanize.pm -@dirrm %%SITE_PERL%%/WWW/Mechanize -@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize 2>/dev/null || true +%%SITE_PERL%%/WWW/Mechanize/Examples.pod +%%SITE_PERL%%/WWW/Mechanize/Link.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize @unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW 2>/dev/null || true +@dirrm %%SITE_PERL%%/WWW/Mechanize @unexec rmdir %D/%%SITE_PERL%%/WWW 2>/dev/null || true Index: files/patch-Makefile.PL =================================================================== RCS file: /home/ncvs/ports/www/p5-WWW-Mechanize/files/patch-Makefile.PL,v retrieving revision 1.1 diff -u -r1.1 patch-Makefile.PL --- files/patch-Makefile.PL 4 Jul 2003 11:02:00 -0000 1.1 +++ files/patch-Makefile.PL 6 Aug 2003 15:51:29 -0000 @@ -1,7 +1,7 @@ ---- Makefile.PL.orig Fri Jul 4 14:04:35 2003 -+++ Makefile.PL Fri Jul 4 14:07:13 2003 -@@ -2,27 +2,7 @@ use ExtUtils::MakeMaker qw( WriteMakefil - use strict; +--- Makefile.PL.orig Thu Jul 24 23:12:16 2003 ++++ Makefile.PL Wed Aug 6 17:29:27 2003 +@@ -5,27 +5,7 @@ + use constant FLAG_SKIPLIVE => "t/SKIP-LIVE"; # Much logic stolen fromm libwww-perl's Makefile.PL -my $skiplive = 0; @@ -27,14 +27,18 @@ -} # failed connect +my $skiplive = 1; - my $filename = "t/SKIPLIVE"; if ( $skiplive ) { -@@ -55,8 +35,6 @@ my $parms = { - }, + touch( FLAG_SKIPLIVE ); +@@ -56,12 +36,8 @@ }; + my $skipforms = "t/SKIP-MECH-FORMS"; -if ( prompt( "Do you want to install the mech-forms utility?", "y" ) =~ /^y/i ) { $parms->{EXE_FILES} = [ 'script/mech-forms' ]; + unlink( FLAG_SKIPMECHFORMS ); +-} else { +- touch( FLAG_SKIPMECHFORMS ); -} - WriteMakefile( %$parms ); + + eval { require IO::Socket::SSL }; --- p5-WWW-Mechanize-0.57.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030806155431.6163A7D29>