Bug 57662 - [new port] www/mod_tidy: Validates the HTML output of your apache2 webserver
Summary: [new port] www/mod_tidy: Validates the HTML output of your apache2 webserver
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Christian Weisgerber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 18:50 UTC by Clement Laforet
Modified: 2003-10-15 20:51 UTC (History)
1 user (show)

See Also:


Attachments
mod_tidy.shar (2.48 KB, text/plain)
2003-10-06 18:50 UTC, Clement Laforet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clement Laforet 2003-10-06 18:50:23 UTC
	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.
Comment 1 Christian Weisgerber freebsd_committer freebsd_triage 2003-10-08 20:41:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->naddy

I'm looking into this.
Comment 2 Clement Laforet 2003-10-14 01:13:07 UTC
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
Comment 3 Christian Weisgerber freebsd_committer freebsd_triage 2003-10-15 20:51:20 UTC
State Changed
From-To: open->closed

Imported, thanks!