Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278693 - w3c-validator (New Package)
Summary: w3c-validator (New Package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2009-07-22 15:18 UTC by Pierre Dumuid
Modified: 2018-01-24 17:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for w3c-validator (w3c-validator-0.8.5.ebuild,2.45 KB, text/plain)
2009-07-22 15:19 UTC, Pierre Dumuid
Details
Apache Conf file (to be placed in the files directory) (10_w3c-validator.conf,511 bytes, text/plain)
2009-07-22 15:20 UTC, Pierre Dumuid
Details
Apache Conf file (to be placed in the files directory) (10_w3c-validator.conf,579 bytes, text/plain)
2009-07-24 22:48 UTC, Pierre Dumuid
Details
Ebuild for w3c-validator 1.1 (w3c-validator-1.1.ebuild,2.61 KB, text/plain)
2010-07-30 00:44 UTC, mimosinnet
Details
Apache Conf file (to be placed in the files directory) (10_w3c-validator.conf,640 bytes, text/plain)
2010-07-30 00:55 UTC, mimosinnet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Dumuid 2009-07-22 15:18:09 UTC
Hi!

Here is an ebuild to set up a w3c-validator on your system.
I suggest it go be installed as www-apps/w3c-validator.

w3c-validator is a HTML validator developed by the w3c organisation.

This packages requires the ebuilds generated by:
g-cpan -g Encode-HanExtra HTML-Encoding SGML-Parser-OpenSP

and possibly: 
g-cpan -g Encode-JIS2K

Also ensure that the variable, APACHE2_OPTS in /etc/conf.d/apache2

contains "-D PROXY".
Comment 1 Pierre Dumuid 2009-07-22 15:19:37 UTC
Created attachment 198794 [details]
Ebuild for w3c-validator
Comment 2 Pierre Dumuid 2009-07-22 15:20:37 UTC
Created attachment 198795 [details]
Apache Conf file (to be placed in the files directory)
Comment 3 Pierre Dumuid 2009-07-24 22:48:24 UTC
Created attachment 199033 [details]
Apache Conf file (to be placed in the files directory)

Obsoletes the last apache conf file (last one didn't work as it needed a correct "DocumentRoot".
Comment 4 mimosinnet 2010-07-30 00:44:00 UTC
Created attachment 240651 [details]
Ebuild for w3c-validator 1.1

Excellent! I have been able to install w3c_validator with your ebuild with minor changes (see attahcment). I have followed the indications on:
* http://validator.w3.org/docs/install.html
* http://www.gentoo-wiki.info/HOWTO_W3C_Validator

I have had to give apache ownersip of w3c_validator's files:
chown -R apache:apache /usr/local/validator

Thanks!
Comment 5 mimosinnet 2010-07-30 00:55:40 UTC
Created attachment 240653 [details]
Apache Conf file (to be placed in the files directory) 

I had to add this line to the Apache vhost for the check script to be found:

ScriptAlias /check "/usr/local/validator/cgi-bin/check"

Thanks!