Hello community,
here is the log from the commit of package apache2-mod_tidy
checked in at Mon Nov 13 18:02:34 CET 2006.
--------
--- apache2-mod_tidy/apache2-mod_tidy.changes 2006-02-17 15:14:25.000000000 +0100
+++ /mounts/work_src_done/STABLE/apache2-mod_tidy/apache2-mod_tidy.changes 2006-11-13 17:08:30.000000000 +0100
@@ -2 +2 @@
-Fri Feb 17 15:14:14 CET 2006 - poeml@suse.de
+Mon Nov 13 17:07:37 CET 2006 - poeml@suse.de
@@ -4 +4,3 @@
-- update README.SUSE to mention a2enmod in one more place
+- copy package to autobuild, adding .changes file
+- remove #neededforbuild
+- fix buildrequires (don't work with commas)
@@ -7 +9 @@
-Fri Feb 17 14:13:08 CET 2006 - poeml@suse.de
+Mon Nov 13 00:00:00 CET 2006 - sierkb@gmx.de
@@ -9 +11,2 @@
-- update to 0.5.5 which has been ported to apache 2.2
+- Spec file cleanup: added libtidy to REQUIRED.
+- Spec file cleanup: made email adresses more obfuscated against Spam.
@@ -12 +15 @@
-Wed Oct 5 12:06:09 CEST 2005 - dmueller@suse.de
+Tue Jan 31 00:00:00 CET 2006 - sierkb@gmx.de
@@ -14 +17,6 @@
- - add norootforbuild
+- mod_tidy.c:
+ Added compile variable MODULE_RELEASE;
+ Replaced Tabs with white spaces;
+ Replaced deprecated // comments with /**/.
+- /tidy/include/platform.h:
+ Added patch #11012006knauf (Netware convenience patch).
@@ -17 +25 @@
-Wed Jun 22 18:44:39 CEST 2005 - poeml@suse.de
+Thu Jan 26 00:00:00 CET 2006 - sierkb@gmx.de
@@ -19,3 +27,7 @@
-- use suggested config file from Sierk Bornemann and install it in
- /etc/apache2
-- add README.SUSE, written and kindly provided by Sierk Bornemann
+- Update to version 0.5.5:
+ - Made mod_tidy ready for Apache 2.2 (APR 1.x):
+ - Iteration over a brigade with the macro APR_BRIGADE_FOREACH is deprecated
+ since apr-util 0.9.x.
+ Since apr-util 1.x, which is used by Apache 2.2, iteration over a brigade
+ has to be done in a different way
+ (see http://www.apachetutor.org/dev/brigades).
@@ -24 +36 @@
-Thu May 26 18:40:42 CEST 2005 - poeml@suse.de
+Thu Jan 01 00:00:00 CET 2006 - sierkb@gmx.de
@@ -26 +38,101 @@
-- package created (0.3)
+- Update to version 0.5.4:
+- Made some fixes to the memory management, because callbacks in TidyLib have
+ changed. Thanks to Guenter Knauf
+ for contributing the patch.
+- Added Apache conf files
+- Added Microsoft Developer Studio Project File for Win32,
+ thanks to Guenter Knauf for contributing.
+- Added Novell Netware Makefile,
+ thanks to Guenter Knauf for contributing.
+
+-------------------------------------------------------------------
+Tue Nov 29 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Generating also a debug information sub-package.
+
+-------------------------------------------------------------------
+Wed Nov 23 00:00:00 CET 2005 - sierkb@gmx.de
+
+- SUSE addons are now comprised in a Tarball instead of spread files.
+- Rebuild for SUSE Linux 10.0 OSS (GCC 4.0.2).
+
+-------------------------------------------------------------------
+Fri Nov 11 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Short intermediate fix:
+ - Changed HTTP Media Type of error page from 'application/xhtml+xml'
+ to 'application/xml', respecting that Internet Explorer up to version 6
+ doesn't recognize the 'true' XHTML Media Type but the default
+ XML Media Type for applications.
+ References:
+ http://www.w3.org/TR/xhtml-mediatypes (XHTML Media Types),
+ RFC 3023 (The 'application/xml' Media Type),
+ RFC 3236 (The 'application/xhtml+xml' Media Type).
+ - Added HTTP charset parameter to HTTP Media Type as recommended
+ in the W3C note and the RFCs mentioned above.
+
+-------------------------------------------------------------------
+Wed Nov 02 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Removed copyright notice on error page footer.
+- Changed error page from XHTML 1.0 to XHTML 1.1 and its Content-Type
+ from 'text/html' to 'application/xhtml+xml'.
+- Fixed Typo.
+
+-------------------------------------------------------------------
+Tue Nov 01 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Updated tidy source to the latest version 051027.
+- Updated tidy docs to the latest version 051021.
+
+-------------------------------------------------------------------
+Thu Oct 27 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Update to version 0.5.3:
+ - Added Base64 image and shortcut icon to the error page.
+- APR Build macro: search for TidyLib headers in /usr/include/tidy.
+- Improved Spec file.
+
+-------------------------------------------------------------------
+Mon Oct 17 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Updated tidy to version 051014.
+
+-------------------------------------------------------------------
+Wed Oct 11 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Update to version 0.5.2:
+ - Improved and beautified mod_tidy.c:
+ - moved some declarations into new header file mod_tidy.h
+
+-------------------------------------------------------------------
+Wed Sep 28 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Update to version 0.5.1:
+ - Styled error log similar to the style of the W3C Markup Validation Service.
+ - Fixed some little unclean written code which caused several warnings:
+ - removed unused variables;
+ - added prototypes for mod_tidy_FatalError, mod_tidy_MemAlloc,
+ mod_tidy_MemFree and mod_tidy_MemRealloc.
+
+-------------------------------------------------------------------
+Tue Sep 20 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Updated tidy to version 050913.
+
+-------------------------------------------------------------------
+Mon Jul 25 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Updated tidy to version 050723.
+- Updated Source-URL.
+
+-------------------------------------------------------------------
+Thu Jul 14 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Update to version 0.5.
+- Updated license, source URL, summary and description text.
+
+-------------------------------------------------------------------
+Tue May 24 00:00:00 CET 2005 - sierkb@gmx.de
+
+- Initial build for SuSE Linux.
Old:
----
apache2-mod_tidy-README.SUSE
apache2-mod_tidy.conf
mod_tidy-0.5.5.tar.bz2
New:
----
mod_tidy-0.5.5.tar.gz
mod_tidy-suse-addons.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache2-mod_tidy.spec ++++++
--- /var/tmp/diff_new_pack.55TSC0/_old 2006-11-13 18:00:58.000000000 +0100
+++ /var/tmp/diff_new_pack.55TSC0/_new 2006-11-13 18:00:58.000000000 +0100
@@ -12,28 +12,28 @@
Name: apache2-mod_tidy
BuildRequires: apache2-devel libtidy-devel
+Version: 0.5.5
+Release: 32
+########################################
+# apache macros
+########################################
%define modname mod_tidy
-%define apxs /usr/sbin/apxs2
-%define apache apache2
+%define apxs %{_sbindir}/apxs2
+%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
%define apache_includedir %(%{apxs} -q INCLUDEDIR)
-%define apache_serverroot %(%{apxs} -q PREFIX)
-%define apache_localstatedir %(%{apxs} -q LOCALSTATEDIR)
-%define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN)
-Version: 0.5.5
-Release: 2
-License: Apache
+###
+###
+Summary: Apache Module using the Tidy Library to Clean Up HTML, XHTML, and XML
Group: Productivity/Networking/Web/Utilities
+License: The Apache Software License
Requires: apache2 %{apache_mmn}
Autoreqprov: on
-Summary: Apache Module using the Tidy Library to Clean Up HTML, XHTML, and XML
-URL: http://home.snafu.de/tusk/mod_tidy/
-Source: %{modname}-%{version}.tar.bz2
-Source1: %{name}.conf
-Source2: %{name}-README.SUSE
+URL: http://mod-tidy.sourceforge.net/
+Source0: http://mod-tidy.sourceforge.net/src/mod_tidy-%{version}.tar.gz
+Source1: %{modname}-suse-addons.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-#Docdir: %{_defaultdocdir}/%{apache}
%description
mod_tidy is a module for Apache that works as a filter that hooks
@@ -44,44 +44,137 @@
as without mod_tidy.
To load the module into Apache, add it to APACHE_MODULES in
-/etc/sysconfig/apache2. To learn about the configuration, refer to
+/etc/sysconfig/apache2 ('a2enmod mod_tidy'). To learn about the
+configuration, refer to
/usr/share/doc/packages/apache2-mod_tidy/README.
Authors:
--------
- Sebastian Tusk
+ Sierk Bornemann
%prep
-%setup -n %{modname}-%{version}
+%setup -q -n %{modname}-%{version} -a 1
%build
-%{apxs} -ltidy -c src/mod_tidy.c
+# APR uses pre-installed TidyLib instead of the packaged one
+export CFLAGS="$CFLAGS -I%{_includedir}/tidy"
+export CPPFLAGS="$CPPFLAGS -I%{_includedir}/tidy"
+%{apxs} -I%{_includedir}/tidy \
+ -c src/%{modname}.c \
+ -ltidy
+
+%configure --with-apxs=%{apxs} \
+ --with-tidy=%{_libdir}
+# RPM_OPT_FLAGS come from apxs
+make OPT="$(%{apxs} -q CFLAGS)"
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/%{apache_libexecdir}
-cp -p src/.libs/mod_tidy.so $RPM_BUILD_ROOT/%{apache_libexecdir}
-install -D %{S:1} $RPM_BUILD_ROOT/%{apache_sysconfdir}/mod_tidy.conf
-cp %{S:2} README.SUSE
+install -Dpm 755 src/.libs/mod_tidy.so $RPM_BUILD_ROOT%{apache_libexecdir}/%{modname}.so
+install -Dpm 644 mod_tidy.conf $RPM_BUILD_ROOT%{apache_sysconfdir}/%{modname}.conf
+mv %{modname}-suse-addons/README.SUSE .
+
+%clean
+if ! test -f /.buildenv; then
+ rm -rf $RPM_BUILD_ROOT;
+fi
+
+%post
+echo -e "\nTo load %{modname} into Apache, add tidy to APACHE_MODULES in /etc/sysconfig/apache2."
+echo -e "Please read %{_defaultdocdir}/%{name}/README.SUSE for further configuration hints."
+echo -e "Finally, restart the webserver with 'rcapache2 graceful'.\n"
%files
-%defattr(-,root,root)
-%doc README README.SUSE
-%{apache_libexecdir}/%{modname}.so
-%{apache_sysconfdir}/%{modname}.conf
+%defattr(-, root, root)
+%doc Changes INSTALL LICENSE README*
+%config(noreplace) %{apache_sysconfdir}/%{modname}.conf
+%attr(755, root, root) %{apache_libexecdir}/%{modname}.so
%changelog -n apache2-mod_tidy
-* Fri Feb 17 2006 - poeml@suse.de
-- update README.SUSE to mention a2enmod in one more place
-* Fri Feb 17 2006 - poeml@suse.de
-- update to 0.5.5 which has been ported to apache 2.2
-* Wed Oct 05 2005 - dmueller@suse.de
-- add norootforbuild
-* Wed Jun 22 2005 - poeml@suse.de
-- use suggested config file from Sierk Bornemann and install it in
- /etc/apache2
-- add README.SUSE, written and kindly provided by Sierk Bornemann
-* Thu May 26 2005 - poeml@suse.de
-- package created (0.3)
+* Mon Nov 13 2006 - poeml@suse.de
+- copy package to autobuild, adding .changes file
+- remove #neededforbuild
+- fix buildrequires (don't work with commas)
+* Mon Nov 13 2006 - sierkb@gmx.de
+- Spec file cleanup: added libtidy to REQUIRED.
+- Spec file cleanup: made email adresses more obfuscated against Spam.
+* Tue Jan 31 2006 - sierkb@gmx.de
+- mod_tidy.c:
+ Added compile variable MODULE_RELEASE;
+ Replaced Tabs with white spaces;
+ Replaced deprecated // comments with /**/.
+- /tidy/include/platform.h:
+ Added patch #11012006knauf (Netware convenience patch).
+* Thu Jan 26 2006 - sierkb@gmx.de
+- Update to version 0.5.5:
+ - Made mod_tidy ready for Apache 2.2 (APR 1.x):
+ - Iteration over a brigade with the macro APR_BRIGADE_FOREACH is deprecated
+ since apr-util 0.9.x.
+ Since apr-util 1.x, which is used by Apache 2.2, iteration over a brigade
+ has to be done in a different way
+ (see http://www.apachetutor.org/dev/brigades).
+* Sun Jan 01 2006 - sierkb@gmx.de
+- Update to version 0.5.4:
+- Made some fixes to the memory management, because callbacks in TidyLib have
+ changed. Thanks to Guenter Knauf
+ for contributing the patch.
+- Added Apache conf files
+- Added Microsoft Developer Studio Project File for Win32,
+ thanks to Guenter Knauf for contributing.
+- Added Novell Netware Makefile,
+ thanks to Guenter Knauf for contributing.
+* Tue Nov 29 2005 - sierkb@gmx.de
+- Generating also a debug information sub-package.
+* Wed Nov 23 2005 - sierkb@gmx.de
+- SUSE addons are now comprised in a Tarball instead of spread files.
+- Rebuild for SUSE Linux 10.0 OSS (GCC 4.0.2).
+* Fri Nov 11 2005 - sierkb@gmx.de
+- Short intermediate fix:
+ - Changed HTTP Media Type of error page from 'application/xhtml+xml'
+ to 'application/xml', respecting that Internet Explorer up to version 6
+ doesn't recognize the 'true' XHTML Media Type but the default
+ XML Media Type for applications.
+ References:
+ http://www.w3.org/TR/xhtml-mediatypes (XHTML Media Types),
+ RFC 3023 (The 'application/xml' Media Type),
+ RFC 3236 (The 'application/xhtml+xml' Media Type).
+ - Added HTTP charset parameter to HTTP Media Type as recommended
+ in the W3C note and the RFCs mentioned above.
+* Wed Nov 02 2005 - sierkb@gmx.de
+- Removed copyright notice on error page footer.
+- Changed error page from XHTML 1.0 to XHTML 1.1 and its Content-Type
+ from 'text/html' to 'application/xhtml+xml'.
+- Fixed Typo.
+* Tue Nov 01 2005 - sierkb@gmx.de
+- Updated tidy source to the latest version 051027.
+- Updated tidy docs to the latest version 051021.
+* Thu Oct 27 2005 - sierkb@gmx.de
+- Update to version 0.5.3:
+ - Added Base64 image and shortcut icon to the error page.
+- APR Build macro: search for TidyLib headers in /usr/include/tidy.
+- Improved Spec file.
+* Mon Oct 17 2005 - sierkb@gmx.de
+- Updated tidy to version 051014.
+* Tue Oct 11 2005 - sierkb@gmx.de
+- Update to version 0.5.2:
+ - Improved and beautified mod_tidy.c:
+ - moved some declarations into new header file mod_tidy.h
+* Wed Sep 28 2005 - sierkb@gmx.de
+- Update to version 0.5.1:
+ - Styled error log similar to the style of the W3C Markup Validation Service.
+ - Fixed some little unclean written code which caused several warnings:
+ - removed unused variables;
+ - added prototypes for mod_tidy_FatalError, mod_tidy_MemAlloc,
+ mod_tidy_MemFree and mod_tidy_MemRealloc.
+* Tue Sep 20 2005 - sierkb@gmx.de
+- Updated tidy to version 050913.
+* Mon Jul 25 2005 - sierkb@gmx.de
+- Updated tidy to version 050723.
+- Updated Source-URL.
+* Thu Jul 14 2005 - sierkb@gmx.de
+- Update to version 0.5.
+- Updated license, source URL, summary and description text.
+* Tue May 24 2005 - sierkb@gmx.de
+- Initial build for SuSE Linux.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org