File: validator_conf_debianize.patch

package info (click to toggle)
w3c-markup-validator 1.2%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,476 kB
  • sloc: perl: 2,936; xml: 1,331; python: 427; sh: 124; makefile: 41
file content (44 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Subject: Customize main config file
Forwarded: not-needed
Author: Nicholas Bamber <nicholas@periapt.co.uk>
Last-Update: 2012-03-24
--- a/htdocs/config/validator.conf
+++ b/htdocs/config/validator.conf
@@ -19,11 +19,11 @@
   #
   # Base path.  Defaults to the value of the W3C_VALIDATOR_HOME environment
   # variable or /usr/local/validator if the variable does not exist.
-  #Base = /usr/local/validator
+  Base = /usr/share/w3c-markup-validator
 
   #
   # Location of template files
-  Templates = $Base/share/templates
+  Templates = $Base/templates
 
   #
   # Directory where to store cached templates.  Relative paths are
@@ -34,12 +34,12 @@
   #Cache = validator
 
   # configuration file for HTML::Tidy Module, if available
-  TidyConf = $Base/htdocs/config/tidy.conf
+  TidyConf = /etc/w3c/tidy.conf
 
   <SGML>
     #
     # The SGML Library Path.
-    Library = $Base/htdocs/sgml-lib
+    Library = /usr/share/xml/w3c-sgml-lib/schema/dtd
   </SGML>
 </Paths>
 
@@ -77,7 +77,7 @@
 
 #
 # Email address of the maintainer of this service.
-Maintainer = www-validator@w3.org
+Maintainer = webmaster@localhost
 
 # Localization
 # only English available for now