Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2005 05:08:22 -0400 (EDT)
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86250: [MAINTAINER] www/validator: [SUMMARIZE CHANGES]
Message-ID:  <20050917090822.E9C7AC1BE@kirby.cyberbotx.com>
Resent-Message-ID: <200509170910.j8H9A9rG038251@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86250
>Category:       ports
>Synopsis:       [MAINTAINER] www/validator: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 17 09:10:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Naram Qashat
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD kirby.cyberbotx.com 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Sun Aug 21 22:23:40 EDT 2005
>Description:
[DESCRIBE CHANGES]

Added file(s):
- files/validator.conf.sample.in

Removed file(s):
- files/validator.conf.sample

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- validator-0.7.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/validator/Makefile /kirby/shared/validator/Makefile
--- /usr/ports/www/validator/Makefile	Fri Sep 16 16:09:09 2005
+++ /kirby/shared/validator/Makefile	Sat Sep 17 03:28:25 2005
@@ -29,14 +29,16 @@
 NO_BUILD=	yes
 USE_PERL5_RUN=	yes
 
-SUB_FILES=	pkg-message
+SUB_FILES=	pkg-message validator.conf.sample
 
 post-extract:
 	@${RM} ${WRKSRC}/README.cvs
 	@${RM} -rf ${WRKSRC}/misc
 	@${RM} -rf ${WRKSRC}/httpd/conf
-	@${CP} ${FILESDIR}/validator.conf.sample ${WRKSRC}/htdocs/config/
 	@${RM} ${WRKSRC}/htdocs/config/validator.conf
+
+pre-install:
+	@${MV} ${WRKDIR}/validator.conf.sample ${WRKSRC}/htdocs/config/
 
 do-install:
 	${MKDIR} ${PREFIX}/www/validator
diff -ruN --exclude=CVS /usr/ports/www/validator/files/validator.conf.sample /kirby/shared/validator/files/validator.conf.sample
--- /usr/ports/www/validator/files/validator.conf.sample	Fri Sep 16 16:09:09 2005
+++ /kirby/shared/validator/files/validator.conf.sample	Wed Dec 31 19:00:00 1969
@@ -1,127 +0,0 @@
-#
-# Main Configuration File for the W3C Markup Validation Service.
-#
-# $Id: validator.conf,v 1.24 2005/07/08 08:31:09 ot Exp $
-#
-# See 'perldoc Config::General' for the syntax, and be aware that the
-# 'SplitPolicy' is 'equalsign', ie. keys and values are separated by '\s*=\s*',
-# and that 'InterPolateVars' is in effect.
-#
-
-#
-# Base Path for Markup Validator files.
-#
-# You MUST set these unless you use the default locations for the files.
-# e.g. the config files in "/etc/w3c/" and everything else in
-# "/usr/local/validator/".
-#
-# Make sure all file paths below do NOT end with a slash
-
-<Paths>
-  #
-  # 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/www/validator
-
-  #
-  # Location of template files
-  Templates = $Base/share/templates
-
-  <SGML>
-    #
-    # The SGML Library Path.
-    Library = $Base/htdocs/sgml-lib
-
-    #
-    # The SGML Parser to use.  Defaults to /usr/bin/onsgmls.
-    Parser = /usr/local/bin/onsgmls
-  </SGML>
-</Paths>
-
-#
-# This controls whether the debugging options are allowed to be enabled.
-Allow Debug = yes
-
-#
-# This lets you permanently enable the debugging options. Can be overridden
-# with CGI options (unlike "Allow Debug" above).
-Enable Debug = no
-
-#
-# Whether private RFC1918 addresses are allowed.
-Allow Private IPs = no
-
-#
-# Whether the (highly experimental!) SOAP support should be enabled.
-Enable SOAP = no
-
-#
-# Whether the validator will check its own output.
-# 0 means it will refuse to check its own output, 1 means it will but it will
-# refuse to check the results of it checking itself. Etc.
-Max Recursion = 0
-
-#
-# Protocols the validator is allowed to use for retrieving documents.
-# The default is to allow http and https.
-<Protocols>
-  Allow = data,http,https
-</Protocols>
-
-#
-# Email address of the maintainer of this service.
-Maintainer = www-validator@w3.org
-
-#
-# The "Home Page" for the service.  Make sure this ends with a slash.
-Home Page = http://validator.w3.org/
-
-#
-# Base URI for the Element Reference.
-Element Ref URI = http://www.htmlhelp.com/reference/html40/
-
-
-
-#
-# Mapping tables etc...
-#
-
-#
-# Maps element names to URLs (cf. "Element Ref URI" above).
-<Elements>
-  Include /usr/local/www/validator/htdocs/config/eref.cfg
-</Elements>
-
-#
-# Main document Type Registry; contains all information on the types
-# of documents we support and how they are processed.
-<Types>
-  Include /usr/local/www/validator/htdocs/config/types.conf
-</Types>
-
-#
-# Mapping of charset names to their IANA names and how iconv(3) knows them.
-<Charsets>
-  Include /usr/local/www/validator/htdocs/config/charset.cfg
-</Charsets>
-
-#
-# Map MIME Media Type to Parse Mode mapping.
-<MIME>
-  text/xml              = XML
-  image/svg             = XML
-  image/svg+xml         = XML
-  application/smil      = XML
-  application/xml       = XML
-  text/html             = TBD
-  text/vnd.wap.wml      = XML
-  application/xhtml+xml = XML
-  application/mathml+xml = XML
-</MIME>
-
-#
-# Source for the "Tip of The Day" blurbs.
-<Tips>
-  Include /usr/local/www/validator/htdocs/config/tips.cfg
-</Tips>
-
diff -ruN --exclude=CVS /usr/ports/www/validator/files/validator.conf.sample.in /kirby/shared/validator/files/validator.conf.sample.in
--- /usr/ports/www/validator/files/validator.conf.sample.in	Wed Dec 31 19:00:00 1969
+++ /kirby/shared/validator/files/validator.conf.sample.in	Sat Sep 17 03:19:35 2005
@@ -0,0 +1,127 @@
+#
+# Main Configuration File for the W3C Markup Validation Service.
+#
+# $Id: validator.conf,v 1.24 2005/07/08 08:31:09 ot Exp $
+#
+# See 'perldoc Config::General' for the syntax, and be aware that the
+# 'SplitPolicy' is 'equalsign', ie. keys and values are separated by '\s*=\s*',
+# and that 'InterPolateVars' is in effect.
+#
+
+#
+# Base Path for Markup Validator files.
+#
+# You MUST set these unless you use the default locations for the files.
+# e.g. the config files in "/etc/w3c/" and everything else in
+# "/usr/local/validator/".
+#
+# Make sure all file paths below do NOT end with a slash
+
+<Paths>
+  #
+  # Base path.  Defaults to the value of the W3C_VALIDATOR_HOME environment
+  # variable or /usr/local/validator if the variable does not exist.
+  Base = %%PREFIX%%/www/validator
+
+  #
+  # Location of template files
+  Templates = $Base/share/templates
+
+  <SGML>
+    #
+    # The SGML Library Path.
+    Library = $Base/htdocs/sgml-lib
+
+    #
+    # The SGML Parser to use.  Defaults to /usr/bin/onsgmls.
+    Parser = %%LOCALBASE%%/bin/onsgmls
+  </SGML>
+</Paths>
+
+#
+# This controls whether the debugging options are allowed to be enabled.
+Allow Debug = yes
+
+#
+# This lets you permanently enable the debugging options. Can be overridden
+# with CGI options (unlike "Allow Debug" above).
+Enable Debug = no
+
+#
+# Whether private RFC1918 addresses are allowed.
+Allow Private IPs = no
+
+#
+# Whether the (highly experimental!) SOAP support should be enabled.
+Enable SOAP = no
+
+#
+# Whether the validator will check its own output.
+# 0 means it will refuse to check its own output, 1 means it will but it will
+# refuse to check the results of it checking itself. Etc.
+Max Recursion = 0
+
+#
+# Protocols the validator is allowed to use for retrieving documents.
+# The default is to allow http and https.
+<Protocols>
+  Allow = data,http,https
+</Protocols>
+
+#
+# Email address of the maintainer of this service.
+Maintainer = www-validator@w3.org
+
+#
+# The "Home Page" for the service.  Make sure this ends with a slash.
+Home Page = http://validator.w3.org/
+
+#
+# Base URI for the Element Reference.
+Element Ref URI = http://www.htmlhelp.com/reference/html40/
+
+
+
+#
+# Mapping tables etc...
+#
+
+#
+# Maps element names to URLs (cf. "Element Ref URI" above).
+<Elements>
+  Include %%PREFIX%%/www/validator/htdocs/config/eref.cfg
+</Elements>
+
+#
+# Main document Type Registry; contains all information on the types
+# of documents we support and how they are processed.
+<Types>
+  Include %%PREFIX%%/www/validator/htdocs/config/types.conf
+</Types>
+
+#
+# Mapping of charset names to their IANA names and how iconv(3) knows them.
+<Charsets>
+  Include %%PREFIX%%/www/validator/htdocs/config/charset.cfg
+</Charsets>
+
+#
+# Map MIME Media Type to Parse Mode mapping.
+<MIME>
+  text/xml              = XML
+  image/svg             = XML
+  image/svg+xml         = XML
+  application/smil      = XML
+  application/xml       = XML
+  text/html             = TBD
+  text/vnd.wap.wml      = XML
+  application/xhtml+xml = XML
+  application/mathml+xml = XML
+</MIME>
+
+#
+# Source for the "Tip of The Day" blurbs.
+<Tips>
+  Include %%PREFIX%%/www/validator/htdocs/config/tips.cfg
+</Tips>
+
--- validator-0.7.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050917090822.E9C7AC1BE>