Bug 87037 - [MAINTAINER] www/p5-W3C-LogValidator: update to 1.01
Summary: [MAINTAINER] www/p5-W3C-LogValidator: update to 1.01
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Anton Berezin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 12:10 UTC by Toni Viemerö
Modified: 2006-01-04 09:17 UTC (History)
0 users

See Also:


Attachments
p5-W3C-LogValidator-1.01.patch (2.11 KB, patch)
2005-10-07 12:10 UTC, Toni Viemerö
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toni Viemerö 2005-10-07 12:10:20 UTC
- Update to 1.01

Generated with FreeBSD Port Tools 0.63
Comment 1 Anton Berezin freebsd_committer freebsd_triage 2005-10-07 12:25:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tobez

Grab.
Comment 2 Anton Berezin freebsd_committer freebsd_triage 2005-10-07 12:26:56 UTC
State Changed
From-To: open->feedback

Have you investigated why it fails the tests? 

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t 
t/base................ok 
t/module-basic........ok 
t/module-css..........dubious 
Test returned status 2 (wstat 512, 0x200) 
t/module-htmlval......Can't locate WebService/Validator/CSS/W3C.pm in @INC (@INC contains: /usr/ports/www/p5-W3C-LogValidator/work/W3C-LogValidator-1.01/blib/lib /usr/ports/www/p5-W3C-LogValidator/work/W3C-LogValidator-1.01/blib/arch /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6 . /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6 .) at /usr/ports/www/p5-W3C-LogValidator/work/W3C-LogValidator-1.01/blib/lib/W3C/LogValidator/CSSValidator.pm line 12. 
BEGIN failed--compilation aborted at /usr/ports/www/p5-W3C-LogValidator/work/W3C-LogValidator-1.01/blib/lib/W3C/LogValidator/CSSValidator.pm line 12. 
Compilation failed in require at t/module-css.t line 6. 
BEGIN failed--compilation aborted at t/module-css.t line 6. 
ok 
t/module-linkcheck....dubious 
Test returned status 2 (wstat 512, 0x200) 
DIED. FAILED test 4 
Failed 1/4 tests, 75.00% okay 
t/module-survey.......checklink not found at /usr/ports/www/p5-W3C-LogValidator/work/W3C-LogValidator-1.01/blib/lib/W3C/LogValidator/LinkChecker.pm line 91. 
ok 
Failed Test          Stat Wstat Total Fail  Failed  List of Failed 
------------------------------------------------------------------------------- 
t/module-css.t          2   512    ??   ??       %  ?? 
t/module-linkcheck.t    2   512     4    2  50.00%  4 
Failed 2/6 test scripts, 66.67% okay. 1/19 subtests failed, 94.74% okay.
Comment 3 Toni Viemerö 2005-10-12 13:57:16 UTC
Anton Berezin wrote:

> Have you investigated why it fails the tests?

I had necessary modules installed from CPAN and never saw them.
Here's the fixed patch with necessary DEPENDS.


diff -ruN --exclude=CVS /usr/ports/www/p5-W3C-LogValidator/Makefile /home/toni/ports/p5-W3C-LogValidator/Makefile
--- /usr/ports/www/p5-W3C-LogValidator/Makefile	Mon Feb 28 15:22:52 2005
+++ /home/toni/ports/p5-W3C-LogValidator/Makefile	Wed Oct 12 15:46:34 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	W3C-LogValidator
-PORTVERSION=	0.5
+PORTVERSION=	1.01
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	W3C
@@ -18,7 +18,10 @@
 BUILD_DEPENDS=	${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
 		${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
 		${SITE_PERL}/Config/General.pm:${PORTSDIR}/devel/p5-Config-General \
-		${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail
+		${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail \
+		${SITE_PERL}/WebService/Validator/CSS/W3C.pm:${PORTSDIR}/www/p5-webservice-validator-css-w3c \
+		${SITE_PERL}/WebService/Validator/HTML/W3C.pm:${PORTSDIR}/www/p5-webservice-validator-html-w3c \
+		${LOCALBASE}/bin/checklink:${PORTSDIR}/www/p5-W3C-LinkChecker
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
@@ -47,6 +50,8 @@
 
 post-install:
 	@${MKDIR} ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/samples/NewModule.pm ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/samples/NewOutputModule.pm ${EXAMPLESDIR}
 	@${INSTALL_DATA} ${WRKSRC}/samples/logprocess.conf ${EXAMPLESDIR}
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/www/p5-W3C-LogValidator/distinfo /home/toni/ports/p5-W3C-LogValidator/distinfo
--- /usr/ports/www/p5-W3C-LogValidator/distinfo	Mon Feb 28 15:22:52 2005
+++ /home/toni/ports/p5-W3C-LogValidator/distinfo	Fri Oct  7 13:57:50 2005
@@ -1,2 +1,2 @@
-MD5 (W3C-LogValidator-0.5.tar.gz) = 7ce3cf9611daf40222a429d8f63b65fc
-SIZE (W3C-LogValidator-0.5.tar.gz) = 25313
+MD5 (W3C-LogValidator-1.01.tar.gz) = 57d45feee16a8e2ffb9a49ddb528fa5b
+SIZE (W3C-LogValidator-1.01.tar.gz) = 28596
diff -ruN --exclude=CVS /usr/ports/www/p5-W3C-LogValidator/pkg-plist /home/toni/ports/p5-W3C-LogValidator/pkg-plist
--- /usr/ports/www/p5-W3C-LogValidator/pkg-plist	Mon Feb 28 15:22:52 2005
+++ /home/toni/ports/p5-W3C-LogValidator/pkg-plist	Fri Oct  7 14:00:51 2005
@@ -4,11 +4,14 @@
 %%SITE_PERL%%/W3C/LogValidator/CSSValidator.pm
 %%SITE_PERL%%/W3C/LogValidator/Config.pm
 %%SITE_PERL%%/W3C/LogValidator/HTMLValidator.pm
+%%SITE_PERL%%/W3C/LogValidator/LinkChecker.pm
 %%SITE_PERL%%/W3C/LogValidator/Output/HTML.pm
 %%SITE_PERL%%/W3C/LogValidator/Output/Mail.pm
 %%SITE_PERL%%/W3C/LogValidator/Output/Raw.pm
 %%SITE_PERL%%/W3C/LogValidator/SurveyEngine.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C/LogValidator/.packlist
+%%EXAMPLESDIR%%/NewModule.pm
+%%EXAMPLESDIR%%/NewOutputModule.pm
 %%EXAMPLESDIR%%/logprocess.conf
 @dirrm %%EXAMPLESDIR%%
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C/LogValidator

-- 
Toni Viemerö  |  http://selfdestruct.net/
"Don't do anything by half. If you love someone, love them. If you
 hate someone, hate them until it hurts."
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-26 12:13:24 UTC
State Changed
From-To: feedback->open

Feedback received
Comment 5 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-04 09:16:59 UTC
State Changed
From-To: open->closed

Committed, thanks!