From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 16 22:50:04 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B380616A41F for ; Fri, 16 Sep 2005 22:50:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4410043D49 for ; Fri, 16 Sep 2005 22:50:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8GMo3wc086870 for ; Fri, 16 Sep 2005 22:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8GMo3wZ086869; Fri, 16 Sep 2005 22:50:03 GMT (envelope-from gnats) Resent-Date: Fri, 16 Sep 2005 22:50:03 GMT Resent-Message-Id: <200509162250.j8GMo3wZ086869@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Emanuel Haupt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E39A616A41F for ; Fri, 16 Sep 2005 22:45:35 +0000 (GMT) (envelope-from ehaupt@beaver.critical.ch) Received: from beaver.critical.ch (217-162-251-247.dclient.hispeed.ch [217.162.251.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CBD043D45 for ; Fri, 16 Sep 2005 22:45:35 +0000 (GMT) (envelope-from ehaupt@beaver.critical.ch) Received: from beaver.critical.ch (localhost.critical.ch [127.0.0.1]) by beaver.critical.ch (8.13.3/8.13.3) with ESMTP id j8GMjX3N021220 for ; Sat, 17 Sep 2005 00:45:33 +0200 (CEST) (envelope-from ehaupt@beaver.critical.ch) Received: (from ehaupt@localhost) by beaver.critical.ch (8.13.3/8.13.3/Submit) id j8GMjXaP021219; Sat, 17 Sep 2005 00:45:33 +0200 (CEST) (envelope-from ehaupt) Message-Id: <200509162245.j8GMjXaP021219@beaver.critical.ch> Date: Sat, 17 Sep 2005 00:45:33 +0200 (CEST) From: Emanuel Haupt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/86235: new port: www/linklint - Perl script that checks links on web sites X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emanuel Haupt List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 22:50:04 -0000 >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 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 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: