This ebuild installs the Web Design Group's offline markup validator (both command line 'validate' and validate.cgi). Having a local validator allows you to check web pages when you otherwise wouldn't e.g. they are not accessible to the internet or you do not want to submit the contents to external servers. It works for me, but still needs more work including: 1) How to make a generic DEPEND on a web server with cgi capabilities (could be a n IUSE and otherwise just install the command line version)? 2) Maybe the cgi should go in some other location so it could then be symlinked from other virtual hosts? 3) Is there a way to do the g-cpan.pl I18N::Charset in the code? 4) Jconv ebuild needed if anyone wants to use it with Japanese text 5) Customise the look of validate.cgi to make it obvious it is local? The source (but not the libs) is downloaded from Debian (the author does not provide a tarball of all the bits) and the Debian install provided many useful hints as to the dependencies and where to put things.
Created attachment 43952 [details] wdg-html-validator-1.5.7.ebuild
Thanks for the ebuild. Unfortunately, this is a WONTFIX, since we can't rely on Debian's packages, and upstream doesn't release versioned tarballs. See http://svn.gnqs.org/projects/gentoo-webapps-overlay/wiki/UpstreamRequirements#ReleaseTarballs for more.