Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 240651 Details for
Bug 278693
w3c-validator (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for w3c-validator 1.1
w3c-validator-1.1.ebuild (text/plain), 2.61 KB, created by
mimosinnet
on 2010-07-30 00:44:00 UTC
(
hide
)
Description:
Ebuild for w3c-validator 1.1
Filename:
MIME Type:
Creator:
mimosinnet
Created:
2010-07-30 00:44:00 UTC
Size:
2.61 KB
patch
obsolete
># Copyright 2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >inherit multilib > >DESCRIPTION="w3c-validator is a mark-up validator" >HOMEPAGE="http://validator.w3.org/source/" > >SRC_URI="( ${P}.tar.gz ) ( sgml-lib-${PV}.tar.gz )" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 amd64" > >RESTRICT="fetch" > >IUSE="jis2k htmltidy" > >DEPEND=" >>=app-text/opensp-1.5.2 >>=dev-perl/config-general-2.32 >perl-core/Encode >perl-gcpan/Encode-HanExtra >>=dev-perl/HTML-Parser-3.60 >perl-gcpan/HTML-Encoding >>=dev-perl/HTML-Template-2.6 >>=dev-perl/JSON-2.0 >>=dev-perl/libwww-perl-5.802 >dev-perl/Net-IP >>=perl-gcpan/SGML-Parser-OpenSP-0.991 >dev-perl/URI >>=dev-perl/XML-LibXML-1.70 >dev-perl/Class-Accessor >dev-perl/Test-Exception >jis2k? ( perl-gcpan/Encode-JIS2K ) >htmltidy? ( perl-gcpan/HTML-Tidy ) >" > ># Seems to work w/out the following: ># perl-core/CGI or virtual/perl-CGI ># dev-perl/Text-Iconv ># dev-perl/String-Approx > ># Use the following to generate the required ebuilds: ># ># g-cpan -g Encode-HanExtra HTML-Encoding SGML-Parser-OpenSP ># Options: ># g-cpan -g Encode-JIS2K HTML-Tidy > >S="${WORKDIR}/validator-${PV}" > >pkg_nofetch() { > # Fetch restriction added due the fact that the source files are not stored on the > # server with a version number. > # > elog "Please download the packages," > elog "" > elog "http://validator.w3.org/validator.tar.gz" > elog "http://validator.w3.org/sgml-lib.tar.gz" > elog "" > elog " and list the contents to ensure they are versioned ${PV} (a directory within the tarball is named accordingly)" > elog " then rename them to w3c-validator-${PV}.tar.gz, and sgml-lib-${PV}.tar.gz and then put it in ${DISTDIR}." > elog "" >} > >src_install() { > dodir /usr/local/validator/ > insinto /usr/local/validator/ > doins -r "${S}/htdocs" > > dodir /usr/local/validator/cgi-bin/ > exeinto /usr/local/validator/cgi-bin/ > doexe "${S}/httpd/cgi-bin/check" > doexe "${S}/httpd/cgi-bin/sendfeedback.pl" > ># insinto /usr/local/validator/ ># doins -r "${S}/httpd/cgi-bin" > > dodir /usr/local/validator/httpd/ > insinto /usr/local/validator/httpd/ > doins -r "${S}/httpd/conf" > > dodir /usr/local/validator/ > insinto /usr/local/validator/ > doins -r "${S}/share" > > insinto /etc/w3c/ > doins htdocs/config/* > > insinto /etc/apache2/vhosts.d > doins "${FILESDIR}"/10_w3c-validator.conf > >} > >pkg_postinst() { > echo > elog "The apache config file, /etc/apache2/vhosts.d/10_w3c-validator.conf" > elog " likely needs to be updated." > elog "" > elog " For a quick setup, simply change validator-localhost to a suitable" > elog " hostname, and make your DNS point to this machines IP address." > echo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 278693
:
198794
|
198795
|
199033
| 240651 |
240653