Hello community, here is the log from the commit of package python checked in at Fri May 25 00:42:26 CEST 2007. -------- --- python/python.changes 2007-05-22 01:13:37.000000000 +0200 +++ /mounts/work_src_done/STABLE/python/python.changes 2007-05-24 19:01:57.000000000 +0200 @@ -1,0 +2,10 @@ +Thu May 24 18:47:20 CEST 2007 - jmatejek@suse.cz + +- update to 2.5.1 + - bugfix only release, over 150 bugs fixed + - fixes off-by-one memory leak in _localemodule.c + (#276889, CVE-2007-2052) +- unnecessary patches removed, minor build cleanup +- warns when attempting to use https proxy (#214983) + +------------------------------------------------------------------- --- python/python-doc.changes 2006-09-19 18:31:09.000000000 +0200 +++ /mounts/work_src_done/STABLE/python/python-doc.changes 2007-05-24 18:53:08.000000000 +0200 @@ -1,0 +2,5 @@ +Thu May 24 18:51:37 CEST 2007 - jmatejek@suse.cz + +- updated to version 2.5.1 + +------------------------------------------------------------------- Old: ---- html-2.5.tar.bz2 pdf-a4-2.5.tar.bz2 pdf-letter-2.5.tar.bz2 Python-2.4-readline.patch python-2.5c1-dirs-fix.patch python-2.5c1-distutils-bdist-rpm.patch Python-2.5-db45.patch Python-2.5.tar.bz2 New: ---- html-2.5.1.tar.bz2 pdf-a4-2.5.1.tar.bz2 pdf-letter-2.5.1.tar.bz2 Python-2.5.1.tar.bz2 python-2.5-https_warn.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-doc.spec ++++++ --- /var/tmp/diff_new_pack.u23770/_old 2007-05-25 00:41:49.000000000 +0200 +++ /var/tmp/diff_new_pack.u23770/_new 2007-05-25 00:41:49.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-doc (Version 2.5) +# spec file for package python-doc (Version 2.5.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -16,8 +16,8 @@ Group: Development/Languages/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Additional Package Documentation for Python. -Version: 2.5 -Release: 38 +Version: 2.5.1 +Release: 1 %define pyver %{version} BuildArch: noarch %define tarname Python-%{pyver} @@ -96,6 +96,8 @@ %doc %{_docdir}/%{pyname}/paper-letter %changelog +* Thu May 24 2007 - jmatejek@suse.cz +- updated to version 2.5.1 * Tue Sep 19 2006 - jmatejek@suse.cz - updated to version 2.5 final, going into STABLE dist * Wed Sep 13 2006 - jmatejek@suse.cz ++++++ python.spec ++++++ --- /var/tmp/diff_new_pack.u23770/_old 2007-05-25 00:41:49.000000000 +0200 +++ /var/tmp/diff_new_pack.u23770/_new 2007-05-25 00:41:49.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python (Version 2.5) +# spec file for package python (Version 2.5.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,14 +12,15 @@ Name: python BuildRequires: blt db-devel emacs-nox gcc-c++ gdbm-devel gmp-devel libbz2-devel ncurses-devel openssl-devel readline-devel sqlite-devel tk-devel xorg-x11-devel +Requires: openssl >= 0.9.8e URL: http://www.python.org/ License: X11/MIT Group: Development/Languages/Python Autoreqprov: on Obsoletes: python-nothreads python21 Summary: Python Interpreter -Version: 2.5 -Release: 50 +Version: 2.5.1 +Release: 1 %define tarname Python-%{version} Source0: %{tarname}.tar.bz2 Source6: README.SUSE @@ -32,14 +33,11 @@ Source13: distutils.cfg Patch01: Python-2.3.3-dirs.patch Patch10: python-distutils-rpm-8.patch -Patch13: Python-2.4-readline.patch Patch21: Python-2.5c1-multilib.patch -Patch22: python-2.5c1-distutils-bdist-rpm.patch Patch23: ssl-compat.diff Patch25: python-2.4.2-canonicalize2.patch Patch26: python-2.4-localpath.patch -Patch27: python-2.5c1-dirs-fix.patch -Patch28: Python-2.5-db45.patch +Patch27: python-2.5-https_warn.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version %(echo %{version} | head -c 3) %define idle_name idle @@ -120,9 +118,9 @@ %package tk Provides: pyth_tk python_tkinter_lib pyth_tkl python-tkinter -%ifarch %ix86 -Provides: _tkinter.so -%endif +#%ifarch %ix86 +#Provides: _tkinter.so +#%endif Obsoletes: pyth_tk pyth_tkl python-tkinter Requires: python = %{version} Summary: TkInter - Python Tk Interface @@ -193,20 +191,17 @@ # patching %patch01 %patch10 -p1 -#%patch13 %patch21 -p1 -%patch22 -p1 %patch23 %patch25 %patch26 %patch27 -%patch28 # some cleanup find . -name .cvsignore -type f -print0 | xargs -0 rm -f find . -name CVS -type d -print0 | xargs -0 rm -rf # replace rest of /usr/local/bin/python with /usr/bin/env python -find . -name '*.py' -type f -print0 | xargs -0 grep -l '^#! \?/usr/.*bin/python' | xargs sed -r -i -e 's@^#![[:space:]]*/usr/(local/)?bin/python@#!/usr/bin/env python@' -# the grep inbetween is apparently needed, as sed changes -something- it should not (even according to itself) - maybe a bug in sed? or am I overlooking something? +find . -name '*.py' -type f -print0 | xargs -0 grep -lE '^#! ?(/usr/.*bin/)?python' | xargs sed -r -i -e '1s@^#![[:space:]]*(/usr/(local/)?bin/)?python@#!/usr/bin/env python@' +# the grep inbetween makes it a) faster and b) compile at all :p %build ######################################## @@ -244,10 +239,10 @@ # test_file fails in autobuild env. probably a bug in python, will fix/report # test_nis fails in autobuild env. probably a misconfiguration of mbuild servers EXCLUDE="-x test_file -x test_nis" +#EXCLUDE="" %ifarch ia64 EXCLUDE="$EXCLUDE -x test_mmap -x test_threaded_import" %endif -ulimit -c 100000000 make test TESTOPTS="-l $EXCLUDE" # test bsddb: #make test TESTOPTS="-l -u bsddb" @@ -478,6 +473,13 @@ %attr(755, root, root) %{_bindir}/smtpd.py %changelog +* Thu May 24 2007 - jmatejek@suse.cz +- update to 2.5.1 + - bugfix only release, over 150 bugs fixed + - fixes off-by-one memory leak in _localemodule.c + (#276889, CVE-2007-2052) +- unnecessary patches removed, minor build cleanup +- warns when attempting to use https proxy (#214983) * Tue May 22 2007 - ro@suse.de - make setup.py accept db-4.5 * Thu Mar 29 2007 - aj@suse.de ++++++ html-2.5.tar.bz2 -> html-2.5.1.tar.bz2 ++++++ ++++ 159896 lines of diff (skipped) ++++++ pdf-a4-2.5.tar.bz2 -> pdf-a4-2.5.1.tar.bz2 ++++++ Files old/Python-Docs-2.5/api.pdf and new/Python-Docs-2.5.1/api.pdf differ Files old/Python-Docs-2.5/dist.pdf and new/Python-Docs-2.5.1/dist.pdf differ Files old/Python-Docs-2.5/doc.pdf and new/Python-Docs-2.5.1/doc.pdf differ Files old/Python-Docs-2.5/ext.pdf and new/Python-Docs-2.5.1/ext.pdf differ Files old/Python-Docs-2.5/inst.pdf and new/Python-Docs-2.5.1/inst.pdf differ Files old/Python-Docs-2.5/lib.pdf and new/Python-Docs-2.5.1/lib.pdf differ Files old/Python-Docs-2.5/mac.pdf and new/Python-Docs-2.5.1/mac.pdf differ Files old/Python-Docs-2.5/ref.pdf and new/Python-Docs-2.5.1/ref.pdf differ Files old/Python-Docs-2.5/tut.pdf and new/Python-Docs-2.5.1/tut.pdf differ Files old/Python-Docs-2.5/whatsnew25.pdf and new/Python-Docs-2.5.1/whatsnew25.pdf differ ++++++ pdf-letter-2.5.tar.bz2 -> pdf-letter-2.5.1.tar.bz2 ++++++ Files old/Python-Docs-2.5/api.pdf and new/Python-Docs-2.5.1/api.pdf differ Files old/Python-Docs-2.5/dist.pdf and new/Python-Docs-2.5.1/dist.pdf differ Files old/Python-Docs-2.5/doc.pdf and new/Python-Docs-2.5.1/doc.pdf differ Files old/Python-Docs-2.5/ext.pdf and new/Python-Docs-2.5.1/ext.pdf differ Files old/Python-Docs-2.5/inst.pdf and new/Python-Docs-2.5.1/inst.pdf differ Files old/Python-Docs-2.5/lib.pdf and new/Python-Docs-2.5.1/lib.pdf differ Files old/Python-Docs-2.5/mac.pdf and new/Python-Docs-2.5.1/mac.pdf differ Files old/Python-Docs-2.5/ref.pdf and new/Python-Docs-2.5.1/ref.pdf differ Files old/Python-Docs-2.5/tut.pdf and new/Python-Docs-2.5.1/tut.pdf differ Files old/Python-Docs-2.5/whatsnew25.pdf and new/Python-Docs-2.5.1/whatsnew25.pdf differ ++++++ Python-2.5.tar.bz2 -> Python-2.5.1.tar.bz2 ++++++ python/Python-2.5.tar.bz2 /mounts/work_src_done/STABLE/python/Python-2.5.1.tar.bz2 differ: byte 11, line 1 ++++++ python-2.5-https_warn.patch ++++++ --- Lib/urllib.py +++ Lib/urllib.py @@ -28,6 +28,7 @@ import time import sys from urlparse import urljoin as basejoin +import warnings __all__ = ["urlopen", "URLopener", "FancyURLopener", "urlretrieve", "urlcleanup", "quote", "quote_plus", "unquote", "unquote_plus", @@ -1281,7 +1282,10 @@ for name, value in os.environ.items(): name = name.lower() if value and name[-6:] == '_proxy': - proxies[name[:-6]] = value + if name == 'https_proxy': + warnings.warn ("urllib can't handle https proxies, your https_proxy setting will not work", RuntimeWarning, stacklevel=2) + else: + proxies[name[:-6]] = value return proxies if sys.platform == 'darwin': ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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