ports/74438: New Port: www/p5-W3C-LinkChecker - checks the validity of links in HTML and XHTML documents

Aaron Dalton aaron at daltons.ca
Fri Nov 26 22:30:21 UTC 2004


>Number:         74438
>Category:       ports
>Synopsis:       New Port: www/p5-W3C-LinkChecker - checks the validity of links in HTML and XHTML documents
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 26 22:30:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Wed Sep 29 21:39:19 MDT 2004 aaron at chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386


	
>Description:
This manual page documents briefly the checklink command, a.k.a. the W3C® 
Link Checker.

checklink is a program that reads an HTML or XHTML document, extracts a 
list of anchors and lists and checks that no anchor is defined twice and 
that all the links are dereferenceable, including the fragments. It warns 
about HTTP redirects, including directory redirects, and can check 
recursively a part of a web site.

The program can be used either as a command line tool or as a CGI script.

>How-To-Repeat:
	
>Fix:

	

--- submission.txt begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-W3C-LinkChecker
#	p5-W3C-LinkChecker/Makefile
#	p5-W3C-LinkChecker/distinfo
#	p5-W3C-LinkChecker/pkg-descr
#	p5-W3C-LinkChecker/pkg-plist
#
echo c - p5-W3C-LinkChecker
mkdir -p p5-W3C-LinkChecker > /dev/null 2>&1
echo x - p5-W3C-LinkChecker/Makefile
sed 's/^X//' >p5-W3C-LinkChecker/Makefile << 'END-of-p5-W3C-LinkChecker/Makefile'
X# New ports collection makefile for:	www/p5-W3C-LinkChecker
X# Date created:				25 November 2004
X# Whom:					Aaron Dalton <aaron at daltons.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	W3C-LinkChecker
XPORTVERSION=	4.1
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	W3C
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	aaron at daltons.ca
XCOMMENT=	Checks the validity of links in an HTML or XHTML document
X
XBUILD_DEPENDS=	${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
X		${SITE_PERL}/Config/General.pm:${PORTSDIR}/devel/p5-Config-General \
X		${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
X		${SITE_PERL}/Net/IP.pm:${PORTSDIR}/net-mgmt/p5-Net-IP \
X		${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
X		${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
X		${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
X		${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XMAN1=		checklink.1
XMANCOMPRESSED=	no
X
XPERL_CONFIGURE=	yes
X
X.include <bsd.port.mk>
END-of-p5-W3C-LinkChecker/Makefile
echo x - p5-W3C-LinkChecker/distinfo
sed 's/^X//' >p5-W3C-LinkChecker/distinfo << 'END-of-p5-W3C-LinkChecker/distinfo'
XMD5 (W3C-LinkChecker-4.1.tar.gz) = 513a50f2a6b0f0d54a8bd29449460fb6
XSIZE (W3C-LinkChecker-4.1.tar.gz) = 52391
END-of-p5-W3C-LinkChecker/distinfo
echo x - p5-W3C-LinkChecker/pkg-descr
sed 's/^X//' >p5-W3C-LinkChecker/pkg-descr << 'END-of-p5-W3C-LinkChecker/pkg-descr'
XThis manual page documents briefly the checklink command, a.k.a. the W3C 
XLink Checker.
X
Xchecklink is a program that reads an HTML or XHTML document, extracts a 
Xlist of anchors and lists and checks that no anchor is defined twice and 
Xthat all the links are dereferenceable, including the fragments. It warns 
Xabout HTTP redirects, including directory redirects, and can check 
Xrecursively a part of a web site.
X
XThe program can be used either as a command line tool or as a CGI script.
X 
XWWW: http://search.cpan.org/dist/W3C-LinkChecker/
XAuthor: This program was originally written by Hugo Haas <hugo at w3.org>, 
Xbased on Renaud Bruyeron's checklink.pl. It has been enhanced by Ville 
XSkytt and many other volunteers since. Use the <www-validator at w3.org> 
Xmailing list for feedback, and see 
Xhttp://validator.w3.org/docs/checklink.html#csb for more information.
X
X- Aaron Dalton
Xaaron at daltons.ca
END-of-p5-W3C-LinkChecker/pkg-descr
echo x - p5-W3C-LinkChecker/pkg-plist
sed 's/^X//' >p5-W3C-LinkChecker/pkg-plist << 'END-of-p5-W3C-LinkChecker/pkg-plist'
Xbin/checklink
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C/LinkChecker/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C/LinkChecker
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C 2>/dev/null || true
X
END-of-p5-W3C-LinkChecker/pkg-plist
exit
--- submission.txt ends here ---


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



More information about the freebsd-ports-bugs mailing list