From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 6 10:50:38 2003 Return-Path: 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 25A8116A4B3 for ; Mon, 6 Oct 2003 10:50:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D50454400B for ; Mon, 6 Oct 2003 10:50:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h96HoOFY058737 for ; Mon, 6 Oct 2003 10:50:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h96HoNsf058736; Mon, 6 Oct 2003 10:50:24 -0700 (PDT) (envelope-from gnats) Resent-Date: Mon, 6 Oct 2003 10:50:24 -0700 (PDT) Resent-Message-Id: <200310061750.h96HoNsf058736@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, Clement Laforet Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 290DD16A4B3 for ; Mon, 6 Oct 2003 10:48:51 -0700 (PDT) Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BBF243FE0 for ; Mon, 6 Oct 2003 10:48:49 -0700 (PDT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 4657 invoked by uid 85); 6 Oct 2003 19:48:48 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 82 with qmail-scanner-1.20rc2 ( Clear:RC:1:. Processed in 0.042093 secs); 06 Oct 2003 17:48:48 -0000 Received: from lucifer.cultdeadsheep.org (192.168.0.2) by goofy.cultdeadsheep.org with SMTP; 6 Oct 2003 19:48:47 +0200 Received: by lucifer.cultdeadsheep.org (sSMTP sendmail emulation); Mon, 6 Oct 2003 19:48:51 +0200 Message-Id: <20031006174849.3BBF243FE0@mx1.FreeBSD.org> Date: Mon, 6 Oct 2003 19:48:51 +0200 From: Clement Laforet To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Clement Laforet Subject: ports/57662: [new port] www/mod_tidy: Validates the HTML output of your apache2 webserver X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Clement Laforet List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 17:50:38 -0000 >Number: 57662 >Category: ports >Synopsis: [new port] www/mod_tidy: Validates the HTML output of your apache2 webserver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 06 10:50:23 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 5.1-CURRENT i386 >Organization: cotds.org >Environment: System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386 >Description: mod_tidy validates the HTML output of your apache2 webserver. So you don't need a separate application to check your HTML. It works as a filter that hooks up to HTML output. mod_tidy feeds the HTML output to TidyLib which validates the HTML output. If TidyLib finds an error the client receives a HTML page with a list of all found errors. If TidyLib doesn't complain you will get your HTML data as without mod_tidy. WWW: http://home.snafu.de/tusk/mod_tidy/ >How-To-Repeat: N/A. >Fix: --- mod_tidy.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: # # mod_tidy # mod_tidy/pkg-descr # mod_tidy/Makefile # mod_tidy/pkg-plist # mod_tidy/distinfo # echo c - mod_tidy mkdir -p mod_tidy > /dev/null 2>&1 echo x - mod_tidy/pkg-descr sed 's/^X//' >mod_tidy/pkg-descr << 'END-of-mod_tidy/pkg-descr' Xmod_tidy validates the HTML output of your apache2 webserver. So you don't need Xa separate application to check your HTML. XIt works as a filter that hooks up to HTML output. mod_tidy feeds the HTML Xoutput to TidyLib which validates the HTML output. If TidyLib finds Xan error the client receives a HTML page with a list of all found errors. If XTidyLib doesn't complain you will get your HTML data as without mod_tidy. X XWWW: http://home.snafu.de/tusk/mod_tidy/ END-of-mod_tidy/pkg-descr echo x - mod_tidy/Makefile sed 's/^X//' >mod_tidy/Makefile << 'END-of-mod_tidy/Makefile' X# New ports collection makefile for: mod_tidy X# Date created: Sun Oct 5 X# Whom: Clement Laforet X# X# $FreeBSD$ X# X XPORTNAME= mod_tidy XPORTVERSION= 0.3 XCATEGORIES= www XMASTER_SITES= http://home.snafu.de/tusk/mod_tidy/ X XMAINTAINER= sheepkiller@cultdeadsheep.org XCOMMENT= Validates the HTML output of your apache2 webserver X XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 XRUN_DEPENDS= ${BUILD_DEPENDS} XLIB_DEPENDS= tidy:${PORTSDIR}/www/tidy-lib X XAPXS?= ${LOCALBASE}/sbin/apxs X XTIDY_INC= ${LOCALBASE}/include/tidy XTIDY_LIBS= ${LOCALBASE}/lib X Xpost-extract: X @${ECHO_MSG} "===> Removing distributed tidy libs to avoid conflicts" X @${RM} -fr ${WRKSRC}/tidy X Xdo-build: X @(cd ${WRKSRC}/src && ${APXS} -I ${TIDY_INC} -L ${TIDY_LIBS} -c ${PORTNAME}.c) X Xdo-install: X @(cd ${WRKSRC}/src && ${APXS} -A -i ${PORTNAME}.la) X X.include END-of-mod_tidy/Makefile echo x - mod_tidy/pkg-plist sed 's/^X//' >mod_tidy/pkg-plist << 'END-of-mod_tidy/pkg-plist' Xlibexec/apache2/mod_tidy.so X@exec %D/sbin/apxs -e -A -n tidy %D/%f X@unexec echo "===> If you do not plan on reinstalling mod_tidy, you must manually remove"; echo "===> references to it in httpd.conf." END-of-mod_tidy/pkg-plist echo x - mod_tidy/distinfo sed 's/^X//' >mod_tidy/distinfo << 'END-of-mod_tidy/distinfo' XMD5 (mod_tidy-0.3.tar.gz) = f4af3e8e1ba21483e0483e114bd66838 END-of-mod_tidy/distinfo exit --- mod_tidy.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: