From sheepkiller@cultdeadsheep.org  Mon Oct  6 10:48:51 2003
Return-Path: <sheepkiller@cultdeadsheep.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 290DD16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <sheepkiller@cultdeadsheep.org>
Reply-To: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject: [new port] www/mod_tidy: Validates the HTML output of your apache2 webserver
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    naddy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 06 10:50:23 PDT 2003
>Closed-Date:    Wed Oct 15 12:51:36 PDT 2003
>Last-Modified:  Wed Oct 15 12:51:36 PDT 2003
>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 <sheepkiller@cultdeadsheep.org>
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 <bsd.port.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->naddy 
Responsible-Changed-By: naddy 
Responsible-Changed-When: Wed Oct 8 12:41:53 PDT 2003 
Responsible-Changed-Why:  
I'm looking into this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57662 

From: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/57662: [new port] www/mod_tidy: Validates the HTML output
 of your apache2 webserver
Date: Tue, 14 Oct 2003 02:13:07 +0200

 Use RESTRICTED.
 Use DIST_SUBDIR=apache
 
 diff -Nru mod_tidy.orig/Makefile mod_tidy/Makefile
 --- mod_tidy.orig/Makefile	Tue Oct 14 00:54:46 2003
 +++ mod_tidy/Makefile	Tue Oct 14 02:07:46 2003
 @@ -9,6 +9,7 @@
  PORTVERSION=	0.3
  CATEGORIES=	www
  MASTER_SITES=	http://home.snafu.de/tusk/mod_tidy/
 +DIST_SUBDIR=	apache
  
  MAINTAINER=	sheepkiller@cultdeadsheep.org
  COMMENT=	Validates the HTML output of your apache2 webserver
 @@ -17,6 +18,8 @@
  RUN_DEPENDS=	${BUILD_DEPENDS}
  LIB_DEPENDS=	tidy:${PORTSDIR}/www/tidy-lib
  
 +RESTRICTED=	"no license"
 +
  APXS?=		${LOCALBASE}/sbin/apxs
  
  TIDY_INC=	${LOCALBASE}/include/tidy
 @@ -27,7 +30,7 @@
  	@${RM} -fr ${WRKSRC}/tidy
  
  do-build:
 -	@(cd ${WRKSRC}/src && ${APXS} -I ${TIDY_INC} -L ${TIDY_LIBS} -c ${PORTNAME}.c) 
 +	@(cd ${WRKSRC}/src && ${APXS} -I ${TIDY_INC} -L ${TIDY_LIBS} -c ${PORTNAME}.c)
  
  do-install:
  	@(cd ${WRKSRC}/src && ${APXS} -A -i ${PORTNAME}.la)
 diff -Nru mod_tidy.orig/distinfo mod_tidy/distinfo
 --- mod_tidy.orig/distinfo	Tue Oct 14 00:54:46 2003
 +++ mod_tidy/distinfo	Tue Oct 14 00:58:39 2003
 @@ -1 +1 @@
 -MD5 (mod_tidy-0.3.tar.gz) = f4af3e8e1ba21483e0483e114bd66838
 +MD5 (apache/mod_tidy-0.3.tar.gz) = f4af3e8e1ba21483e0483e114bd66838
State-Changed-From-To: open->closed 
State-Changed-By: naddy 
State-Changed-When: Wed Oct 15 12:51:20 PDT 2003 
State-Changed-Why:  
Imported, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57662 
>Unformatted:
