Hello community,

here is the log from the commit of package w3c-markup-validator for 
openSUSE:Factory checked in at 2012-12-19 21:05:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/w3c-markup-validator (Old)
 and      /work/SRC/openSUSE:Factory/.w3c-markup-validator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "w3c-markup-validator", Maintainer is "[email protected]"

Changes:
--------
New Changes file:

--- /dev/null   2012-11-30 12:21:47.308011256 +0100
+++ 
/work/SRC/openSUSE:Factory/.w3c-markup-validator.new/w3c-markup-validator.changes
   2012-12-19 21:05:06.000000000 +0100
@@ -0,0 +1,560 @@
+-------------------------------------------------------------------
+Wed Nov 28 10:53:44 UTC 2012 - [email protected]
+
+- install %{apache_serverroot}/%{name}/httpd/mod_perl/startup.pl
+  [bnc#790995]
+
+-------------------------------------------------------------------
+Tue Aug  7 14:01:56 UTC 2012 - [email protected]
+
+- updated to version 1.3:
+  * Enhancement: several updates to validator's internal DTD library 
+    and catalog, including SVG 1.1 second edition, WAI-ARIA 
+    1.0 20110118 candidate recommendation, HTML+RDFa 1.1 20110525 
+    working draft, XHTML+RDFa 1.1 20120131 working draft, 
+    and VoiceXML 2.0 and 2.1.
+  * Enhancement: update EARL/RDF output to 1.0 20110510 working draft.
+  * Enhancement: removed internal support for the deprecated 
+    /check/referer path, implement it and some uri=referer cases in 
+    httpd.conf instead for better efficiency.
+  * Enhancement: work around HTML::Template 2.10 versioning issue.
+  * Enhancement: documentation improvements, code and server error 
+    log warning cleanups.
+  * Enhancement: the sample "badge" code for applicable document 
+    types now includes a JavaScript onclick handler that avoids 
+    the need for uri=referer redirects in many usual scenarios.
+  * Enhancement: make XML-LibXML XML catalog setup work with mod_perl.
+  * Bug fix: fix transcode error parsing for single-line documents.
+  * Bug fix: better treatment of HTML5 documents that contain xmlns.
+  * Bug fix: better treatment of direct input HTML5 documents that 
+    contain a non-UTF-8 charset indication.
+  * Dependency changes: new minimum required versions: XML-LibXML 1.73.
+
+-------------------------------------------------------------------
+Mon May 23 15:00:18 UTC 2011 - [email protected]
+
+- updated to version 1.2:
+  * limited support for IRI's. 
+  * several updates to validator's internal DTD library and catalog
+  * etc. see http://validator.w3.org/whatsnew.html#v12
+
+-------------------------------------------------------------------
+Thu Aug 19 13:40:06 CEST 2010 - [email protected]
+
+- updated to version 1.1:
+    * Enhancement: XML wellformedness check is now run only if 
+      other stages of the validation process report no errors. 
+      This is to further mitigate a performance issue related 
+      to the XML wellformedness check.
+    * Enhancement: improved error output performance.
+    * Enhancement: error/warning location information now 
+      makes it clearer whether the error occurred in the validated 
+       document or an external resource related to it.
+    * Enhancement: improved heuristics for incomplete input URLs.
+    * … and as usual, assorted minor spelling, code cleanup, link 
+      and the like fixes.
+- changes in version 1.0:
+    * Enhancement: when passing its internal transcoded document 
+      to external validators, validator now reflects the 
+      transcoding by modifying character encoding information 
+      included in the passed document.
+    * Enhancement: updates to validator's internal DTD library.
+    * Enhancement: XML wellformedness check now supports external 
+      entities instead of just suppressing error messages about 
+      them internally. As a side effect, this should work around 
+      a specific case of a certain performance problem with 
+      XML::LibXML 1.70.
+    * Bug fix: doctype override could place a malformed comment 
+      in the modified document.
+    * Bug fix: error messages were not properly HTML escaped when 
+      "show source" was selected.
+    * Dependency changes: new minimum required versions: 
+      HTML-Parser 3.60, XML-LibXML 1.70.
+    * … and a whole slew of minor spelling, code cleanup, link 
+     and the like fixes here and there.
+
+-------------------------------------------------------------------
+Mon Mar 15 19:21:40 CET 2010 - [email protected]
+
+- updated to 0.8.6
+
+-------------------------------------------------------------------
+Mon Feb 22 13:56:51 UTC 2010 - [email protected]
+
+- added httpd patch
+  o Allow Access to {apache_serverroot}/w3c-markup-validator
+- spec mods
+  o restart apache on update
+  o enable mod_proxy
+    needed by {apache_sysconfdir}/conf.d/w3c-markup-validator.conf
+
+-------------------------------------------------------------------
+Wed Feb 17 16:01:14 UTC 2010 - [email protected]
+
+- added validator-opensuse-addons-ap_sroot.patch
+  o now it can be build for other dists, not just openSUSE
+  o moved installdir for w3c-markup-validator
+    from apache_docroot to apache_serverroot
+    while used alias(w3c-validator) is different from
+    installdir(w3c-markup-validator), directly browsing
+    to apache_docroot and entering validator dir, the check does
+    not work and will confuse user ;)
+- some rpmlint stuff
+  o fdupes
+
+-------------------------------------------------------------------
+Tue Feb 16 12:25:50 UTC 2010 - [email protected]
+
+- bzipped SOURCES
+- fixed deps
+  * taken from Bundle::W3C::Validator
+- removed changelog form spec
+- cleanup, changes file (too long lines)
+
+-------------------------------------------------------------------
+* Thu Mar 26 00:00:00 CET 2009 [email protected]
+
+- 0.8.5 release:
+  The 0.8.5 release of the markup validator is a feature and bugfix
+  release. Changes include:
+  - UI fix: many of our users were confused by the behaviour of the
+    "More options" arrow. A small UI change should make the user
+    experience less confusing.
+  - New Feature: fuzzy matching used to suggest corrected markup.
+    Analysis of many invalid pages shows that the most common error
+    comes from invalid (typo or non standard) elements and attributes
+    used. The new feature
+    (http://www.w3.org/blog/systeam/2009/02/16/validator_fuzzy_match)
+    will help by suggesting possible (valid) alternatives.
+  - Bug Fix: issues with SVG
+    (http://www.w3.org/Bugs/Public/show_bug.cgi?id=6524)
+    were creating very large log output when validating SVG documents.
+    The validator code has been amended to limit this log flood.
+  - Bug Fix: the HTML5 validator integration broke some of the
+    validator's “document type override” functionalities in version
+    0.8.4. This is fixed in 0.8.5.
+  - New: the validator icon code, which one can add to web pages,
+    now includes XHTML+RDFa
+    (http://www.w3.org/Bugs/Public/show_bug.cgi?id=65252)
+    when applicable.
+  - Bug Fix / New: implementing XML::LibXML Structured Errors
+    (http://www.w3.org/Bugs/Public/show_bug.cgi?id=6329).
+    The validator uses libxml2 and the XML::LibXML for well-formedness
+    check. Recent versions of the perl library had bugs that made in
+    backard-incompatible, causing the validator to not output all
+    well-formedness errors reliably. Some code was added to the
+    validator to work with all future versions of that library,
+    but we recommend not using XML::LibXML between versions
+    1.67 and 1.69 inclusive
+    (see how (http://www.w3.org/Bugs/Public/show_bug.cgi?id=6329#c15)).
+  - Experimental: validation of SVG documents is now passed to the
+    validator.nu engine. At the time of this release, neither
+    validator.nu nor the DTD engine previously used are perfect for
+    the validation of SVG, but the technologies used in the
+    validator.nu engine (nvdl and relaxNG) makes it more promising.
+  - UI Fix: accessibility improvements for screen readers.
+  - Documentation: updated the Why Validate? (docs/why.html) document.
+  - Usability: the way in which the validator has to handle direct
+    input and character encodings
+    (http://www.w3.org/Bugs/Public/show_bug.cgi?id=6259)
+    has long been confusing to many. Improvements have been made
+    that explain in clearer ways what
+    the validator does.
+  - New: the validator now recommends to declare character encoding
+    in the document itself, especially if there is a chance that the
+    document will be read from or saved to disk, CD, etc -
+    in accordance with internationalization recommendations
+    (http://www.w3.org/International/tutorials/tutorial-char-enc/#Slide0250).
+
+-------------------------------------------------------------------
+Thu Nov 20 00:00:00 CET 2008 [email protected]
+
+- 0.8.4 release:
+  0.8.4 may sound like a very minor step from the version 0.8.3
+  released in August, but this new release of the W3C Markup Validator
+  brings some very important change:
+  in addition to checking documents against etablished standards such
+  as HTML 4.01 and XHTML 1.0, the validator can now check documents
+  for conformance to HTML5 (http://www.w3.org/html/), thanks to the
+  integration with the Validator.nu (http://about.validator.nu/)
+  html5 engine.
+  HTML5 is still work in progress and support for this next generation
+  of the publishing language of the World Wide Web will remain
+  experimental, but this integration should provide experimentation
+  grounds for those interested in trying on authoring in this new
+  version of html, as well as a feedback channel for the group
+  working on building a stable, open standard.
+  Other bug fixes and improvement in this version include:
+  - Bug Fix: version 0.8.3 came with a programming mistake that would
+    not affect validation, but would flood the validator servers'
+    logs with warnings.
+  - Bug Fix - Document type support. A Typo in the machine-readable
+    grammar published with the latest specification for XHTML1.1
+    caused spurrious validation errors when checking documents
+    against XHTML1.1. Fixing the typo
+    (http://lists.w3.org/Archives/Public/www-validator-cvs/2008Nov/0029.html)
+    solves the issue. Another fixed typo
+    (http://lists.w3.org/Archives/Public/www-validator-cvs/2008Aug/0018.html)
++++ 363 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Factory/.w3c-markup-validator.new/w3c-markup-validator.changes

New:
----
  sgml-lib-1_3.tar.gz
  validator-1_3.tar.gz
  validator-httpd.patch
  validator-opensuse-addons-ap_sroot.patch
  validator-opensuse-addons.tar.bz2
  w3c-markup-validator.changes
  w3c-markup-validator.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ w3c-markup-validator.spec ++++++
#
# spec file for package w3c-markup-validator
#
# Copyright (c) 2006-2009 Sierk Bornemann
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments to <[email protected]>
#


%define pkgname validator
%define apxs %{_sbindir}/apxs2
%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
%define apache_serverroot %(%{apxs} -q PREFIX)
%define apache_docroot %(%{apxs} -q PREFIX)/htdocs

Name:           w3c-markup-validator
Version:        1.3
%{expand: %%define tbver %(echo %{version} | tr . _)}
Release:        1
Summary:        W3C Markup Validator
Group:          Productivity/Networking/Web/Utilities
License:        W3C Software License, Other License(s), see package
URL:            http://validator.w3.org/
#Source0:        http://validator.w3.org/dist/validator-%{tbver}.tar.gz
Source0:        validator-%{tbver}.tar.gz
#Source1:        http://validator.w3.org/dist/sgml-lib-%{tbver}.tar.gz
Source1:        sgml-lib-%{tbver}.tar.gz
Source2:        %{pkgname}-opensuse-addons.tar.bz2
Patch0:         %{pkgname}-opensuse-addons-ap_sroot.patch
Patch1:         %{pkgname}-httpd.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  perl sgml-skel
%if 0%{?suse_version}
BuildRequires:  apache2-devel
%if 0%{?suse_version} >= 1100
BuildRequires:  fdupes
%endif
%else
BuildRequires:  httpd-devel
%endif
#
%if 0%{?suse_version}
Requires:       apache2
%else
Requires:       httpd
%endif
Requires:       %{name}-libs = %{version}
Requires:       opensp >= 1.5.2
Requires:       perl(CGI) >= 2.81
Requires:       perl(Class::Accessor)
Requires:       perl(Config::General) >= 2.31
#Requires:       perl(Encode) solved by perl(Encode::HanExtra)
Requires:       perl(Encode::HanExtra)
Requires:       perl(Encode::JIS2K)
Requires:       perl(File::Spec::Functions)
Requires:       perl(HTML::Encoding) >= 0.52
Requires:       perl(HTML::Parser) >= 3.24
Requires:       perl(HTML::Template) >= 2.6
Requires:       perl(HTML::Tidy)
#Requires:       perl-libwww-perl >= 5.825
Requires:       perl(LWP::UserAgent) >= 2.0.32
Requires:       perl(Net::IP)
Requires:       perl(Net::hostent)
Requires:       perl(SGML::Parser::OpenSP)
#Requires:       perl(Set::IntSpan)
Requires:       perl(String::Approx)
#Requires:       perl(Test::Exception)
#Requires:       perl(Text::Iconv)
Requires:       perl(URI)
Requires:       perl(XML::LibXML)

%description
The W3C Markup Validator checks documents like HTML and XHTML for
conformance to W3C Recommendations and other standards.

%package        libs
Summary:        SGML and XML DTDs for the W3C Markup Validator
Group:          Productivity/Publishing/XML
Requires:       sgml-skel

%description    libs
SGML and XML DTDs for the W3C Markup Validator.


%prep
%setup -q -n %{pkgname}-%{version} -a 1 -a 2
%patch0
%patch1 -p1
mv %{pkgname}-%{version}/htdocs/sgml-lib .
rm -r %{pkgname}-%{version}/


# Localize configs.
%{__perl} -pi -e \
  's|/usr/local/validator\b|%{apache_serverroot}/%{name}|' \
  htdocs/config/validator.conf httpd/conf/httpd.conf httpd/cgi-bin/*
%{__perl} -pi -e \
  's|^(\s*)#Base\s*=\s*(.*)|${1}Base = ${2}| ;
   s|^(\s*Library\s*=\s*).*|${1}%{_datadir}/sgml/%{name}| ;
   s|^(\s*TidyConf\s*=\s*).*|${1}%{_sysconfdir}/w3c/tidy.conf| ;
   s|\bwww-validator\@w3\.org\b|root\@localhost| ;
   s|/validator\.w3\.org/|/localhost/w3c-markup-validator/|' \
  htdocs/config/validator.conf
%{__perl} -pi -e \
  's|\@apache_serverroot\@|%{apache_serverroot}|' \
  %{pkgname}-opensuse-addons/validator-vhost.conf


# Move config out of the way
mv htdocs/config __config

# Fixup permissions
find . -type d | xargs chmod 755
find . -type f | xargs chmod 644
chmod 755 httpd/cgi-bin/check
chmod 755 httpd/cgi-bin/sendfeedback.pl


%build


%install
# Config files
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/w3c
install -pm 644 __config/* $RPM_BUILD_ROOT%{_sysconfdir}/w3c
install -Dpm 644 httpd/conf/httpd.conf 
$RPM_BUILD_ROOT%{apache_sysconfdir}/conf.d/%{name}.conf
install -Dpm 644 %{pkgname}-opensuse-addons/validator-vhost.conf 
$RPM_BUILD_ROOT%{apache_sysconfdir}/vhosts.d/%{name}.conf.template
# Scripts, HTML, etc.
install -dm 755 $RPM_BUILD_ROOT%{apache_serverroot}/%{name}
cp -pR httpd/cgi-bin htdocs share $RPM_BUILD_ROOT%{apache_serverroot}/%{name}
install -Dpm 644 httpd/mod_perl/startup.pl 
$RPM_BUILD_ROOT%{apache_serverroot}/%{name}/httpd/mod_perl/startup.pl
# SGML library
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/sgml
cp -pR sgml-lib $RPM_BUILD_ROOT%{_datadir}/sgml/%{name}
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/sgml
touch $RPM_BUILD_ROOT%{_sysconfdir}/sgml/%{name}-%{version}-%{release}.cat
# Files for local use
install -dm 755 $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
mv %{pkgname}-opensuse-addons/README.openSUSE .

# rpmlint stuff
%if 0%{?suse_version} >= 1100
%fdupes $RPM_BUILD_ROOT%{apache_serverroot}/%{name}
%fdupes $RPM_BUILD_ROOT%{_datadir}/sgml/%{name}
%endif

%post
echo -e "\nPlease read %{_defaultdocdir}/%{name}/README.openSUSE to configure 
the W3C Markup Validator to your needs."
echo -e "Finally, restart the webserver with 'rcapache2 graceful'.\n"
%{_sbindir}/a2enmod proxy || :

%postun
%restart_on_update apache2

%preun libs
for catalog in sgml.soc xml.soc ; do
  install-catalog --remove \
    %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.cat \
    %{_datadir}/sgml/%{name}/$catalog >/dev/null 2>&1 || :
done

%post libs
for catalog in sgml.soc xml.soc ; do
  install-catalog --add \
    %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.cat \
    %{_datadir}/sgml/%{name}/$catalog >/dev/null 2>&1 || :
done

%files
%defattr(-, root, root)
# Configs not "noreplace", they're incompatible to some extent between releases
%doc README*
%config %{apache_sysconfdir}/conf.d/%{name}.conf
%config %{apache_sysconfdir}/vhosts.d/%{name}.conf.template
%config %{_sysconfdir}/w3c/
%dir %{apache_serverroot}/%{name}/
%{apache_serverroot}/%{name}/*

%files libs
%defattr(-, root, root)
%ghost %config %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.cat
%{_datadir}/sgml/%{name}/


%changelog

++++++ validator-httpd.patch ++++++
Index: validator-1.3/httpd/conf/httpd.conf
===================================================================
--- validator-1.3.orig/httpd/conf/httpd.conf
+++ validator-1.3/httpd/conf/httpd.conf
@@ -43,6 +43,8 @@ PerlPostConfigRequire /usr/local/validat
 
 <LocationMatch "^/+w3c-validator/+(check|feedback(\.html)?)$">
   Options               +ExecCGI
+  Order Deny,Allow
+  Allow from all
   SetHandler            cgi-script
 <IfDefine MODPERL2>
   SetHandler            perl-script
@@ -64,6 +66,8 @@ Alias /w3c-validator/   /usr/local/valid
 <Directory /usr/local/validator/htdocs/>
   Options               IncludesNOEXEC Indexes MultiViews
   AllowOverride         None
+  Order Deny,Allow
+  Allow from all
   AddHandler            server-parsed .html
   AddCharset            utf-8         .html
   AddEncoding           x-gzip        .gz
++++++ validator-opensuse-addons-ap_sroot.patch ++++++
diff -ruN validator-opensuse-addons-orig/validator-vhost.conf 
validator-opensuse-addons/validator-vhost.conf
--- validator-opensuse-addons-orig/validator-vhost.conf 2008-11-18 
23:33:36.000000000 +0100
+++ validator-opensuse-addons/validator-vhost.conf      2010-02-17 
15:47:21.000000000 +0100
@@ -12,7 +12,7 @@
 # about virtual hosts.
 #
 # The values below assume that you have the validator files in
-# /srv/www/htdocs/w3c-markup-validator.  If not, tune them according to your 
setup.
+# @apache_serverroot@/w3c-markup-validator.  If not, tune them according to 
your setup.
 #
 # To run the validator without mod_perl 2.x even if it is loaded, comment
 # out the "IfDefine MODPERL2" sections below.
@@ -22,11 +22,11 @@
   # Add your.domain.here.
   # ServerName validator.example.org
   
-  DocumentRoot /srv/www/htdocs/w3c-markup-validator/htdocs/
+  DocumentRoot @apache_serverroot@/w3c-markup-validator/htdocs/
 
   # First, tell httpd that check and sendfeedback.pl are CGI scripts.
-  AliasMatch /check(/+referer)?$   
/srv/www/htdocs/w3c-markup-validator/cgi-bin/check
-  AliasMatch /feedback(\.html)?$   
/srv/www/htdocs/w3c-markup-validator/cgi-bin/sendfeedback.pl
+  AliasMatch /check(/+referer)?$   
@apache_serverroot@/w3c-markup-validator/cgi-bin/check
+  AliasMatch /feedback(\.html)?$   
@apache_serverroot@/w3c-markup-validator/cgi-bin/sendfeedback.pl
 
   <IfDefine MODPERL2>
     # Note: this affects the whole server, not just the validator.
@@ -51,7 +51,7 @@
   </LocationMatch>
 
   # This is the directory where you have the validator's *.html, *.css etc 
files.
-  <Directory /srv/www/htdocs/w3c-markup-validator/htdocs/>
+  <Directory @apache_serverroot@/w3c-markup-validator/htdocs/>
     Options               IncludesNOEXEC Indexes MultiViews
     AllowOverride         None
     AddHandler            server-parsed .html
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to