Date: Sat, 17 Sep 2005 00:45:33 +0200 (CEST) From: Emanuel Haupt <ehaupt@critical.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/86235: new port: www/linklint - Perl script that checks links on web sites Message-ID: <200509162245.j8GMjXaP021219@beaver.critical.ch> Resent-Message-ID: <200509162250.j8GMo3wZ086869@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86235 >Category: ports >Synopsis: new port: www/linklint - Perl script that checks links on web sites >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 16 22:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 5.4-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD beaver.critical.ch 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Wed Jul 27 20:19:15 CEST 2005 root@beaver.critical.ch:/usr/obj/usr/src/RELENG_5_4/src/sys/BEAVER i386 >Description: new port: www/linklint - Perl script that checks links on web sites Linklint is a perl script that checks links on web sites. Features: * both local-file and HTTP site checking * cross referenced and fully hyperlinked output reports * the ability to check password protected areas * support for all standard server-side image maps * reports of orphan files, and files with mismatching case * a report of which URLs have changed since last checked * support of proxy servers for remote URL checking You can use it for instance for a link survey: $ make -C /usr/ports search www=. \ | sed -n -E 's/^WWW:[[:space:]]*(http|https|ftp)/\1/p' \ | while read url; do perl -e 'print "=" x80;'; linklint $url; done >How-To-Repeat: >Fix: --- linklint.shar 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: # # linklint # linklint/Makefile # linklint/pkg-descr # linklint/distinfo # echo c - linklint mkdir -p linklint > /dev/null 2>&1 echo x - linklint/Makefile sed 's/^X//' >linklint/Makefile << 'END-of-linklint/Makefile' X# New ports collection makefile for: linklint X# Date created: 16 Sep 2005 X# Whom: Emanuel Haupt <ehaupt@critical.ch> X# X# $FreeBSD$ X# X XPORTNAME= linklint XPORTVERSION= 2.3.5 XCATEGORIES= www XMASTER_SITES= http://www.linklint.org/download/ X XMAINTAINER= ehaupt@critical.ch XCOMMENT= Perl script that checks links on web sites X XUSE_PERL5_RUN= yes XUSE_REINPLACE= yes XNO_BUILD= yes X XPLIST_FILES= bin/linklint XHTMLDOC= bugs.html doc_index.html dot.gif hints.html howitworks.html \ X index.html inputs.html language.html license.html linklint.gif \ X new.html outputs.html XDOC= CHANGES.txt XPORTDOCS= * X Xpost-patch: X @${REINPLACE_CMD} -e '1s|.*|#!${PERL}|' \ X ${WRKSRC}/${DISTNAME} X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME} X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR}/html X ${INSTALL_DATA} ${WRKSRC}/${DOC} ${DOCSDIR} X.for f in ${HTMLDOC} X ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/html X.endfor X.endif X X.include <bsd.port.mk> END-of-linklint/Makefile echo x - linklint/pkg-descr sed 's/^X//' >linklint/pkg-descr << 'END-of-linklint/pkg-descr' XLinklint is a perl script that checks links on web sites. X XFeatures: X X * both local-file and HTTP site checking X * cross referenced and fully hyperlinked output reports X * the ability to check password protected areas X * support for all standard server-side image maps X * reports of orphan files, and files with mismatching case X * a report of which URLs have changed since last checked X * support of proxy servers for remote URL checking X XWWW: http://www.linklint.org/ X X- ehaupt Xehaupt@critical.ch END-of-linklint/pkg-descr echo x - linklint/distinfo sed 's/^X//' >linklint/distinfo << 'END-of-linklint/distinfo' XMD5 (linklint-2.3.5.tar.gz) = c1ae0860199da59ded28771d1fa7b800 XSIZE (linklint-2.3.5.tar.gz) = 113256 END-of-linklint/distinfo exit --- linklint.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509162245.j8GMjXaP021219>