commit python-scgi for openSUSE:Factory
Hello community, here is the log from the commit of package python-scgi for openSUSE:Factory checked in at Fri May 1 02:31:58 CEST 2009. -------- --- python-scgi/python-scgi.changes 2007-08-05 17:37:25.000000000 +0200 +++ python-scgi/python-scgi.changes 2009-04-29 21:25:51.000000000 +0200 @@ -1,0 +2,24 @@ +Wed Apr 29 21:14:03 CEST 2009 - mrueckert@suse.de + +- update to version 1.13: + - Send Content-Length provided by client, rather than + r->remaining. + - Fix error message typo in passfd.c. + - Remove duplicated text from Apache error messages. + - Ensure that PATH_INFO is correct even with mod_rewrite + mod_rewrite can modify r->path_info. One way this could happen + is if the path being served by SCGI exists on the filesystem. + Ensure that PATH_INFO is correct. Thanks to David Binger for + point out the fix. +- add python-scgi-1.13_documentation_path.patch: + fix path to documentation (bnc#482477) +- include guide.html (bnc#482477) +- move cgi2scgi.c to the main package + +------------------------------------------------------------------- +Fri Mar 6 17:52:10 CST 2009 - maw@pobox.com + +- Add python-scgi-newstyle-classes.patch, converting several + classes from oldstyle to newstyle. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- scgi-1.12.tar.bz2 New: ---- python-scgi-1.13_documentation_path.patch python-scgi-newstyle-classes.patch scgi-1.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scgi.spec ++++++ --- /var/tmp/diff_new_pack.eB7018/_old 2009-05-01 02:31:14.000000000 +0200 +++ /var/tmp/diff_new_pack.eB7018/_new 2009-05-01 02:31:14.000000000 +0200 @@ -1,28 +1,43 @@ # -# spec file for package python-scgi (Version 1.12) +# spec file for package python-scgi (Version 1.13) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: python-scgi +Version: 1.13 +Release: 1 +# +Group: Development/Libraries/Python +License: Other uncritical OpenSource License +# BuildRequires: apache2-devel pcre-devel python-devel %define apxs /usr/sbin/apxs2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache_mmn %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && $MMN) -Version: 1.12 -Release: 1 -Group: Development/Libraries/Python -License: Other uncritical OpenSource License +# BuildRoot: %{_tmppath}/%{name}-%{version}-build -URL: http://www.mems-exchange.org/software/scgi/ +Url: http://www.mems-exchange.org/software/scgi/ # repacked from http://quixote.python.ca/releases/scgi-%{version}.tar.gz -Source: scgi-%{version}.tar.bz2 +# +Source: http://python.ca/scgi/releases/scgi-%{version}.tar.gz +Patch0: python-scgi-newstyle-classes.patch +Patch1: python-scgi-1.13_documentation_path.patch +# Summary: Python implementation of the SCGI protocol. %description @@ -40,8 +55,10 @@ Neil Schemenauer <nas@mems-exchange.org> %package -n apache2-mod_scgi +License: Other uncritical OpenSource License Group: Development/Libraries/Python Requires: apache2 %{apache_mmn} +# Summary: Apache module named mod_scgi that implements the client side of the protocol. %description -n apache2-mod_scgi @@ -62,6 +79,8 @@ %prep %setup -n scgi-%{version} +%patch0 -p1 +%patch1 %build CFLAGS="%{optflags}" \ @@ -80,15 +99,33 @@ %files -f %{name}.files %defattr(-,root,root) -%doc README.txt cgi2scgi.c CHANGES.txt LICENSE.txt +%doc README.txt cgi2scgi.c CHANGES.txt LICENSE.txt doc/guide.html cgi2scgi.c %files -n apache2-mod_scgi %defattr(-,root,root) %{apache_libexecdir}/mod_scgi.so -%doc README.txt cgi2scgi.c CHANGES.txt LICENSE.txt README.apache2.txt +%doc README.txt CHANGES.txt LICENSE.txt README.apache2.txt doc/guide.html %changelog -* Fri Apr 13 2007 - mrueckert@suse.de +* Wed Apr 29 2009 mrueckert@suse.de +- update to version 1.13: + - Send Content-Length provided by client, rather than + r->remaining. + - Fix error message typo in passfd.c. + - Remove duplicated text from Apache error messages. + - Ensure that PATH_INFO is correct even with mod_rewrite + mod_rewrite can modify r->path_info. One way this could happen + is if the path being served by SCGI exists on the filesystem. + Ensure that PATH_INFO is correct. Thanks to David Binger for + point out the fix. +- add python-scgi-1.13_documentation_path.patch: + fix path to documentation (bnc#482477) +- include guide.html (bnc#482477) +- move cgi2scgi.c to the main package +* Sat Mar 07 2009 maw@pobox.com +- Add python-scgi-newstyle-classes.patch, converting several + classes from oldstyle to newstyle. +* Fri Apr 13 2007 mrueckert@suse.de - update to version 1.12: - Provide a new overridable method in SCGIHandler, produce(), as a more user-friendly alternative to handle_connection(). @@ -100,10 +137,10 @@ doesn't provide them. (Neil Schemenauer <nas@arctrix.com>) - Add guide.html document. (Jeroen T. Vermeulen <jtv@thaiopensource.org>) -* Fri Sep 22 2006 - poeml@suse.de +* Fri Sep 22 2006 poeml@suse.de - remove libapr-util1-devel from Buildrequires, since the correct one comes with apache2-devel -* Wed Aug 30 2006 - mrueckert@suse.de +* Wed Aug 30 2006 mrueckert@suse.de - Update to version 1.11: o Allow SCGIServer to use an open socket if provided by the calling procedure. The existing serve() method remains the same. @@ -115,16 +152,16 @@ - removed apache2-mod_scgi-1.9_apache-2.2.0.patch: Patch was applied upstream in 1.10 (only change in 1.10) - install docs with the apache module too -* Sat Mar 04 2006 - aj@suse.de +* Sat Mar 04 2006 aj@suse.de - updated to reflect python changes due to #149809 -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Jan 16 2006 - mrueckert@suse.de +* Mon Jan 16 2006 mrueckert@suse.de - update the patch so it works with apache 2.0 again -* Sun Jan 15 2006 - mrueckert@suse.de +* Sun Jan 15 2006 mrueckert@suse.de - added apache2-mod_scgi-1.9_apache-2.2.0.patch -* Thu Dec 15 2005 - mrueckert@suse.de +* Thu Dec 15 2005 mrueckert@suse.de - Update to version 1.9 + removed all patches. they are upstream now. -* Mon Nov 21 2005 - mrueckert@suse.de +* Mon Nov 21 2005 mrueckert@suse.de - Initial package of version 1.8 ++++++ python-scgi-1.13_documentation_path.patch ++++++ Index: README.txt =================================================================== --- README.txt.orig 2008-06-12 01:42:36.000000000 +0200 +++ README.txt 2009-04-29 21:21:24.978565508 +0200 @@ -13,7 +13,7 @@ Protocol Software -------- - See doc/guide.html for an overview of how SCGI works. Below is a + See guide.html for an overview of how SCGI works. Below is a list of components included in this package. scgi ++++++ python-scgi-newstyle-classes.patch ++++++ diff --git a/scgi/scgi_server.py b/scgi/scgi_server.py index 0ff8453..19cbe0e 100644 --- a/scgi/scgi_server.py +++ b/scgi/scgi_server.py @@ -48,7 +48,7 @@ def read_env(input): env[items[i]] = items[i+1] return env -class SCGIHandler: +class SCGIHandler(object): # Subclasses should override the handle_connection method. @@ -159,7 +159,7 @@ class SCGIHandler: print "%s: %r" % (k, v) -class SCGIServer: +class SCGIServer(object): DEFAULT_PORT = 4000 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de