diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2013-12-23 04:53:03 -0800 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2013-12-23 04:53:03 -0800 |
commit | 3326e1e9b694349803eea7066ea7a51464ea548d (patch) | |
tree | a2bd99b37573349a42b36f3d78a25a1da0813f2d /dev-lang | |
parent | dev-libs/libxml2: multilib-utize (diff) | |
download | gmt-3326e1e9b694349803eea7066ea7a51464ea548d.tar.gz gmt-3326e1e9b694349803eea7066ea7a51464ea548d.tar.bz2 gmt-3326e1e9b694349803eea7066ea7a51464ea548d.zip |
dev-lang/python: add upstream versions
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'dev-lang')
22 files changed, 5735 insertions, 0 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog new file mode 100644 index 0000000..0997153 --- /dev/null +++ b/dev-lang/python/ChangeLog @@ -0,0 +1,680 @@ +# ChangeLog for dev-lang/python +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.721 2013/12/15 08:53:43 ago Exp $ + + 15 Dec 2013; Agostino Sarubbo <ago@gentoo.org> python-3.3.2-r2.ebuild: + Stable for sparc, wrt bug #474128 + + 13 Dec 2013; Matt Turner <mattst88@gentoo.org> python-3.3.2-r2.ebuild: + alpha stable, bug 474128. + + 08 Dec 2013; Pacho Ramos <pacho@gentoo.org> python-3.3.2-r2.ebuild: + x86 stable, bug #474128 + + 07 Dec 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.6.ebuild, + python-3.3.3.ebuild: + Drop redundant die statements with EAPI=4. + +*python-2.7.6 (01 Dec 2013) + + 01 Dec 2013; Mike Gilbert <floppym@gentoo.org> +python-2.7.6.ebuild: + Version bump. Thanks to Arfrever for the patches. + + 30 Nov 2013; Jeroen Roovers <jer@gentoo.org> python-3.3.2-r2.ebuild: + Stable for HPPA (bug #474128). + + 30 Nov 2013; Pacho Ramos <pacho@gentoo.org> python-3.3.2-r2.ebuild: + amd64 stable, bug #474128 + + 23 Nov 2013; Jeroen Roovers <jer@gentoo.org> python-3.3.2-r2.ebuild, + python-3.3.3.ebuild: + Typo. + + 23 Nov 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.2-r2.ebuild, + python-3.3.3.ebuild: + Update the postinst upgrade message. + +*python-3.3.3 (21 Nov 2013) + + 21 Nov 2013; Mike Gilbert <floppym@gentoo.org> +python-3.3.3.ebuild: + Version bump. Thanks to Arfrever for maintaining the patchset. + +*python-2.7.5-r4 (26 Oct 2013) + + 26 Oct 2013; Mike Gilbert <floppym@gentoo.org> + +files/python-2.7-issue18851.patch, +python-2.7.5-r4.ebuild: + Apply patch to fix regression in subprocess module, bug 489378. + +*python-2.7.5-r3 (16 Oct 2013) +*python-3.2.5-r3 (16 Oct 2013) + + 16 Oct 2013; Mike Gilbert <floppym@gentoo.org> + +files/python-2.7-issue16248.patch, +files/python-3.2-issue16248.patch, + +python-2.7.5-r3.ebuild, +python-3.2.5-r3.ebuild, -python-2.7.5-r2.ebuild, + -python-3.2.5-r2.ebuild: + Apply upstream fix for regression in Tkinter, bug 488208 by jlec. + + 10 Oct 2013; Dirkjan Ochtman <djc@gentoo.org> -files/python-3.2.3-x32.patch, + -python-2.6.8-r1.ebuild, -python-2.6.8-r2.ebuild, -python-2.7.3-r2.ebuild, + -python-2.7.3-r3.ebuild, -python-2.7.5-r1.ebuild, -python-2.7.5.ebuild, + -python-3.2.3-r1.ebuild, -python-3.2.3-r2.ebuild, -python-3.2.3.ebuild, + -python-3.2.4.ebuild, -python-3.2.5-r1.ebuild, -python-3.2.5.ebuild, + -python-3.3.1.ebuild, -python-3.3.2-r1.ebuild, -python-3.3.2.ebuild: + Remove old versions of python. + + 26 Sep 2013; Mike Gilbert <floppym@gentoo.org> + +files/python-2.7.5-nonfatal-compileall.patch, python-2.7.5-r2.ebuild: + Apply cross-compile fixes to python-2.7.5. + + 26 Sep 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.2-r2.ebuild: + Fix/simplify cross-compiles. + + 26 Sep 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.2-r2.ebuild: + Depend on xz-utils (_lzma module). + + 05 Sep 2013; Mike Gilbert <floppym@gentoo.org> + -files/CVE-2013-4238_py32.patch: + Drop another patch. + + 05 Sep 2013; Michał Górny <mgorny@gentoo.org> -files/linux2.patch, + -files/python-2.4.4-test-cross.patch, -files/python-2.5-cross-printf.patch, + -files/python-2.6-chflags-cross.patch, -files/python-2.6-test-cross.patch, + -files/python-3-distutils-egg-utf8.patch, -files/python-3.2-soname_typo.patch, + -python-2.5.4-r5.ebuild, -python-2.5.4-r6.ebuild, -python-3.1.5-r1.ebuild, + -python-3.1.5.ebuild: + Remove Python 2.5 and 3.1. Purge old patches. + + 05 Sep 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.2-r2.ebuild: + Disable network tests, bug 483656. + + 28 Aug 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.3-r2.ebuild, + python-2.7.3-r3.ebuild, python-2.7.5-r1.ebuild, python-2.7.5-r2.ebuild, + python-2.7.5.ebuild, python-3.2.3-r1.ebuild, python-3.2.3-r2.ebuild, + python-3.2.3.ebuild, python-3.2.4.ebuild, python-3.2.5-r1.ebuild, + python-3.2.5-r2.ebuild, python-3.2.5.ebuild, python-3.3.1.ebuild, + python-3.3.2-r1.ebuild, python-3.3.2-r2.ebuild, python-3.3.2.ebuild: + Drop extensions usedep from sqlite dep; sqlite is dropping the use flag. + + 26 Aug 2013; Michał Górny <mgorny@gentoo.org> python-2.5.4-r6.ebuild: + Replace internal eclass functions with a simple sed. + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for sparc, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for sh, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for s390, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for ppc, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for ppc64, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for ia64, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for arm, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for alpha, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for x86, wrt bug #480856 + + 23 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for amd64, wrt bug #480856 + + 20 Aug 2013; Jeroen Roovers <jer@gentoo.org> python-2.6.8-r3.ebuild, + python-2.7.5-r2.ebuild, python-3.2.5-r2.ebuild: + Stable for HPPA (bug #480856). + +*python-2.7.5-r2 (18 Aug 2013) +*python-3.2.5-r2 (18 Aug 2013) +*python-2.6.8-r3 (18 Aug 2013) + + 18 Aug 2013; Mike Gilbert <floppym@gentoo.org> + +files/CVE-2013-4238_py26.patch, +files/CVE-2013-4238_py27.patch, + +files/CVE-2013-4238_py32.patch, +files/CVE-2013-4238_py33.patch, + +python-2.6.8-r3.ebuild, +python-2.7.5-r2.ebuild, +python-3.2.5-r2.ebuild, + -files/CVE-2013-4073_py33.patch, python-3.3.2-r2.ebuild: + Apply fix for CVE-2013-4238, bug 480856. + +*python-3.3.2-r2 (18 Aug 2013) + + 18 Aug 2013; Mike Gilbert <floppym@gentoo.org> + +files/CVE-2013-4073_py33.patch, +python-3.3.2-r2.ebuild: + Use Arfrever's patchset, bug 354877. Apply fix for CVS-2013-4238, bug 480856. + + 06 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild: + Stable for s390, wrt bug #475424 + + 06 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for s390, wrt bug #469988 + + 03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild: + Stable for sparc, wrt bug #475424 + + 22 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for sparc, wrt bug #469988 + + 21 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for sh, wrt bug #469988 + +*python-2.7.5-r1 (12 Jul 2013) + + 12 Jul 2013; Mike Gilbert <floppym@gentoo.org> + +files/python-2.7.5-re_unsigned_ptrdiff.patch, +python-2.7.5-r1.ebuild: + Apply patch to fix regex crash, bug 476426 by Fabio Rossi. + + 07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for ia64, wrt bug #469988 + + 07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild: + Stable for ia64, wrt bug #475424 + + 07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for arm, wrt bug #469988 + + 07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild: + Stable for arm, wrt bug #475424 + + 06 Jul 2013; Mike Gilbert <floppym@gentoo.org> -python-2.7.4.ebuild: + Remove old. + + 06 Jul 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.5.ebuild: + Move uclibc test removal after everything else, bug 475972. + + 06 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for alpha, wrt bug #469988 + + 04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for ppc64, wrt bug #469988 + + 04 Jul 2013; Jeroen Roovers <jer@gentoo.org> python-3.2.5-r1.ebuild: + Stable for HPPA (bug #469988). + + 04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild: + Stable for ppc64, wrt bug #475424 + + 04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for ppc, wrt bug #469988 + + 04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild: + Stable for ppc, wrt bug #475424 + + 03 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for x86, wrt bug #469988 + + 03 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-3.2.5-r1.ebuild: + Stable for amd64, wrt bug #469988 + +*python-3.2.5-r1 (03 Jul 2013) +*python-3.3.2-r1 (03 Jul 2013) + + 03 Jul 2013; Mike Gilbert <floppym@gentoo.org> + +files/python-3.2-CVE-2013-2099.patch, +files/python-3.3-CVE-2013-2099.patch, + +python-3.2.5-r1.ebuild, +python-3.3.2-r1.ebuild: + Add patch to fix CVE-2013-2099, bug 469988. + + 02 Jul 2013; Jeroen Roovers <jer@gentoo.org> python-2.7.5.ebuild: + Stable for HPPA (bug #475424). + + 02 Jul 2013; Tobias Klausmann <klausman@gentoo.org> python-2.7.5.ebuild: + Stable on alpha, bug #475424 + + 02 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild: + Stable for x86, wrt bug #475424 + + 02 Jul 2013; Agostino Sarubbo <ago@gentoo.org> python-2.7.5.ebuild: + Stable for amd64, wrt bug #475424 + +*python-2.6.8-r2 (30 Jun 2013) +*python-2.5.4-r6 (30 Jun 2013) + + 30 Jun 2013; Mike Gilbert <floppym@gentoo.org> +files/python-2.5-tcl86.patch, + +python-2.5.4-r6.ebuild, +python-2.6.8-r2.ebuild: + Apply patch to allow old python versions to use tk-8.6, bug 454342. Also fix + the python shebang in idle2.5 and pydoc2.5, bugs 275241 and 383009. + + 30 Jun 2013; Mike Gilbert <floppym@gentoo.org> -python-2.5.4-r4.ebuild, + -python-2.6.8.ebuild, python-2.5.4-r5.ebuild, python-2.6.8-r1.ebuild: + Place upper bound on dev-lang/tk dep, bug 454342. Also stabilize on m68k since + nobody is responding on bug 458318. + + 28 Jun 2013; Mike Gilbert <floppym@gentoo.org> + +files/python-2.7.5-library-path.patch, python-2.7.5.ebuild: + Fix library paths when not cross-compiling. Should resolve bug 474882. Thanks + to Arfrever for finding the upstream commit. + +*python-2.7.5 (25 May 2013) +*python-3.2.5 (25 May 2013) + + 25 May 2013; Mike Gilbert <floppym@gentoo.org> +python-2.7.5.ebuild, + +python-3.2.5.ebuild, python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, + python-3.2.3-r2.ebuild: + Version bump. Also resolves bug 462288 and 471124. + +*python-3.3.2 (21 May 2013) + + 21 May 2013; Patrick McLean <chutz@gentoo.org> -python-3.3.0.ebuild, + -python-3.3.0-r1.ebuild, +python-3.3.2.ebuild: + Version bump to 3.3.2, clean out old 3.3 versions preparing for unmasking. + + 18 May 2013; Magnus Granberg <zorry@gentoo.org> python-2.7.4.ebuild, + python-3.2.4.ebuild, python-3.3.1.ebuild: + Add fix to support pax emutramp on libffi + + 09 May 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild: + Don't build the 'maninstall' target; this installs generic symlinks python.1 + and python2.1, which we manage using eselect-python. Bug 469148 by Alphat-PC. + + 09 May 2013; Michał Górny <mgorny@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.4.ebuild, python-3.1.5-r1.ebuild, + python-3.2.4.ebuild, python-3.3.1.ebuild: + Add epatch_user wrt bug #447714. + + 01 May 2013; Mike Gilbert <floppym@gentoo.org> python-3.2.4.ebuild: + Enable byte-compilation during tests. + + 01 May 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild, + python-3.2.4.ebuild: + Use Arfrever's patches. Remove some unnecessary || die. + + 28 Apr 2013; Patrick McLean <chutzpah@gentoo.org> python-3.3.1.ebuild: + Re-add patch from Arfrever to fix compilation on non-UTF-8 platforms, drop + patches that are no longer needed. + +*python-3.3.1 (28 Apr 2013) + + 28 Apr 2013; Patrick McLean <chutzpah@gentoo.org> +python-3.3.1.ebuild: + Version bump. Add new patch to fix import tests from Arferver. + +*python-3.2.4 (27 Apr 2013) + + 27 Apr 2013; Mike Gilbert <floppym@gentoo.org> +python-3.2.4.ebuild: + Version bump. Fails tests at the moment. + + 27 Apr 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild: + Downgrade to EAPI 4. + + 27 Apr 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild: + Increment patchset. + + 13 Apr 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for s390, wrt bug #458318 + + 07 Apr 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.4.ebuild: + Adjust the sys-libs/db dep and add some || die. + + 07 Apr 2013; Michał Górny <mgorny@gentoo.org> python-2.6.8-r1.ebuild, + python-2.7.3-r3.ebuild, python-2.7.4.ebuild: + Fix wininst removal typo. Fixes bug #462862. + +*python-2.7.4 (07 Apr 2013) + + 07 Apr 2013; Mike Gilbert <floppym@gentoo.org> +python-2.7.4.ebuild: + Version bump. + + 31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for sh, wrt bug #458318 + + 31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for sparc, wrt bug #458318 + + 28 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for ia64, wrt bug #458318 + + 26 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.6.8-r1.ebuild, + python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, python-3.2.3-r2.ebuild, + python-3.3.0-r1.ebuild: + When cross-compiling, run the configures in parallel for a nice speed up + #462264 by SpanKY. + + 24 Mar 2013; Mike Gilbert <floppym@gentoo.org> python-3.3.0-r1.ebuild, + python-3.3.0.ebuild: + Add hard blocker on <sys-apps/sandbox-2.6-r1 to ensure we don't hit bug + 364877. + + 23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for alpha, wrt bug #458318 + + 23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for arm, wrt bug #458318 + + 21 Mar 2013; Jeroen Roovers <jer@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for HPPA (bug #458318). + + 19 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.3-r3.ebuild, + python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild: + Install the python gdb module in the right place #443510 by Jan Pobrislo. + + 19 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.3-r2.ebuild, + python-2.7.3-r3.ebuild, python-3.2.3-r1.ebuild, python-3.2.3-r2.ebuild, + python-3.2.3.ebuild, python-3.3.0-r1.ebuild, python-3.3.0.ebuild: + Export ac_cv_have_long_long_format=yes when cross-compiling #362945 by + Patrick. + + 19 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.3-r2.ebuild, + python-2.7.3-r3.ebuild, python-3.2.3-r1.ebuild, python-3.2.3-r2.ebuild, + python-3.2.3.ebuild, python-3.3.0-r1.ebuild, python-3.3.0.ebuild: + Set ac_cv_buggy_getaddrinfo=no when cross-compiling. + + 19 Mar 2013; Mike Frysinger <vapier@gentoo.org> python-2.5.4-r4.ebuild, + python-2.5.4-r5.ebuild, python-2.6.8-r1.ebuild, python-2.6.8.ebuild, + python-2.7.3-r2.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.1.5.ebuild, python-3.2.3-r1.ebuild, python-3.2.3-r2.ebuild, + python-3.2.3.ebuild, python-3.3.0-r1.ebuild, python-3.3.0.ebuild: + Add hardened to IUSE since we `use` it #447264 by Alphat-PC. + + 18 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for ppc64, wrt bug #458318 + + 18 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for ppc, wrt bug #458318 + + 18 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for x86, wrt bug #458318 + + 18 Mar 2013; Agostino Sarubbo <ago@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild: + Stable for amd64, wrt bug #458318 + + 19 Dec 2012; Mike Gilbert <floppym@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild: + Don't depend on dev-lang/python. Bug 447752. + + 03 Dec 2012; Mike Gilbert <floppym@gentoo.org> python-2.5.4-r5.ebuild: + Copy eselect_python logic from more recent ebuilds. + + 02 Dec 2012; Michał Górny <mgorny@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild: + Stop renaming python-config wrt bug #445592. Keep a symlink for compatibility. + + 01 Dec 2012; Michał Górny <mgorny@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild: + Use python-any-r1 to clearly enforce build-time Python dependency. + + 30 Nov 2012; Michał Górny <mgorny@gentoo.org> python-2.5.4-r5.ebuild, + python-2.6.8-r1.ebuild, python-2.7.3-r3.ebuild, python-3.1.5-r1.ebuild, + python-3.2.3-r2.ebuild, python-3.3.0-r1.ebuild: + Fix byte-compiling the installed epython module when installing a new Python + version. + +*python-2.7.3-r3 (30 Nov 2012) +*python-3.3.0-r1 (30 Nov 2012) +*python-2.6.8-r1 (30 Nov 2012) +*python-2.5.4-r5 (30 Nov 2012) +*python-3.2.3-r2 (30 Nov 2012) +*python-3.1.5-r1 (30 Nov 2012) + + 30 Nov 2012; Michał Górny <mgorny@gentoo.org> +python-2.5.4-r5.ebuild, + +python-2.6.8-r1.ebuild, +python-2.7.3-r3.ebuild, +python-3.1.5-r1.ebuild, + +python-3.2.3-r2.ebuild, +python-3.3.0-r1.ebuild: + Introduce a cleaned up, -r1-quality Python ebuilds. Stop using python.eclass, + install epython module for python-exec. + + 14 Oct 2012; Raúl Porcel <armin76@gentoo.org> python-3.1.5.ebuild: + ia64/m68k/s390/sh/sparc stable + + 06 Oct 2012; Markus Meier <maekke@gentoo.org> python-3.1.5.ebuild: + arm stable, bug #427544 + + 02 Oct 2012; Jeroen Roovers <jer@gentoo.org> python-3.1.5.ebuild: + Stable for HPPA (bug #427548). + + 02 Oct 2012; Jeroen Roovers <jer@gentoo.org> python-3.2.3-r1.ebuild: + Stable for HPPA (bug #427548). + + 02 Oct 2012; Mike Gilbert <floppym@gentoo.org> python-3.3.0.ebuild: + Bump patchset revision for bug 436904. Drop wide-unicode use flag. + + 30 Sep 2012; Raúl Porcel <armin76@gentoo.org> python-3.2.3.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #427548 + + 30 Sep 2012; Dirkjan Ochtman <djc@gentoo.org> python-3.3.0.ebuild: + Fix 3.3 slot. + + 30 Sep 2012; Dirkjan Ochtman <djc@gentoo.org> -python-2.6.6-r2.ebuild, + -python-2.6.7-r2.ebuild, -python-2.7.2-r3.ebuild, -python-2.7.3.ebuild, + -python-2.7.3-r1.ebuild, -python-3.1.4-r3.ebuild, -python-3.1.4-r4.ebuild, + -python-3.2.2.ebuild, -python-3.2.2-r1.ebuild: + Remove old versions. + +*python-3.3.0 (30 Sep 2012) + + 30 Sep 2012; Dirkjan Ochtman <djc@gentoo.org> +python-3.3.0.ebuild: + Add tentative python-3.3 ebuild. Some tests still fail. + + 27 Sep 2012; Matt Turner <mattst88@gentoo.org> python-3.1.5.ebuild, + python-3.2.3-r1.ebuild: + Stable on alpha, bug 427548. + + 03 Aug 2012; Anthony G. Basile <blueness@gentoo.org> python-3.2.3.ebuild: + Stable arm, bug #427548 + + 30 Jul 2012; Mike Frysinger <vapier@gentoo.org> python-2.5.4-r4.ebuild, + python-2.6.6-r2.ebuild, python-2.6.7-r2.ebuild, python-2.6.8.ebuild, + python-2.7.2-r3.ebuild, python-2.7.3-r1.ebuild, python-2.7.3-r2.ebuild, + python-2.7.3.ebuild, python-3.1.4-r3.ebuild, python-3.1.4-r4.ebuild, + python-3.1.5.ebuild, python-3.2.2-r1.ebuild, python-3.2.2.ebuild, + python-3.2.3-r1.ebuild, python-3.2.3.ebuild: + Make sure $PKG_CONFIG is respected. + + 29 Jul 2012; Raúl Porcel <armin76@gentoo.org> python-2.7.3-r2.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #419575 + + 03 Jul 2012; Brent Baude <ranger@gentoo.org> python-2.7.3-r2.ebuild: + Marking python-2.7.3-r2 ppc for bug 419575 + + 22 Jun 2012; Brent Baude <ranger@gentoo.org> python-2.7.3-r2.ebuild: + Marking python-2.7.3-r2 ppc64 for bug 419575 + + 17 Jun 2012; Markus Meier <maekke@gentoo.org> python-2.7.3-r2.ebuild: + arm stable, bug #419575 + + 17 Jun 2012; Jeff Horelick <jdhore@gentoo.org> python-2.7.3-r2.ebuild: + marked x86 per bug 419575 + + 14 Jun 2012; Jeroen Roovers <jer@gentoo.org> python-2.7.3-r2.ebuild: + Stable for HPPA (bug #419575). + + 11 Jun 2012; Agostino Sarubbo <ago@gentoo.org> python-2.7.3-r2.ebuild: + Stable for amd64, wrt bug #419575 + + 04 Jun 2012; Mike Frysinger <vapier@gentoo.org> +files/python-3.2.3-x32.patch, + python-3.2.3.ebuild, python-3.2.3-r1.ebuild: + Fix posix subprocess module on x32. + + 26 May 2012; Raúl Porcel <armin76@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild: + ia64/m68k/s390/sh/sparc stable wrt #396329 + + 26 May 2012; Markus Meier <maekke@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild: + arm stable, bug #396329 + + 17 May 2012; Jeff Horelick <jdhore@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + marked x86 per bug 396329 + + 15 May 2012; Jeroen Roovers <jer@gentoo.org> python-3.1.4-r3.ebuild, + python-3.1.5.ebuild, python-3.2.2.ebuild, python-3.2.3.ebuild: + Marked ~hppa until it is ready. + + 15 May 2012; Jeroen Roovers <jer@gentoo.org> python-2.6.8.ebuild, + python-3.1.5.ebuild, python-3.2.3.ebuild: + Stable for HPPA (bug #396329). + + 14 May 2012; Jeroen Roovers <jer@gentoo.org> python-2.7.3-r1.ebuild: + Stable for HPPA (bug #396329). + + 14 May 2012; Mark Loeser <halcy0n@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + Stable for ppc/ppc64; bug #369329 + + 14 May 2012; Agostino Sarubbo <ago@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + Stable for amd64, wrt bug #396329 + + 12 May 2012; Tobias Klausmann <klausman@gentoo.org> python-2.6.8.ebuild: + Stable on alpha, bug #396329 + + 12 May 2012; Tobias Klausmann <klausman@gentoo.org> python-2.7.3-r1.ebuild: + Stable on alpha, bug #396329 + + 03 May 2012; Jeff Horelick <jdhore@gentoo.org> python-2.5.4-r4.ebuild, + python-2.6.6-r2.ebuild, python-2.6.7-r2.ebuild, python-2.6.8.ebuild, + python-2.7.2-r3.ebuild, python-2.7.3.ebuild, python-2.7.3-r1.ebuild, + python-2.7.3-r2.ebuild, python-3.1.4-r3.ebuild, python-3.1.4-r4.ebuild, + python-3.1.5.ebuild, python-3.2.2.ebuild, python-3.2.2-r1.ebuild, + python-3.2.3.ebuild, python-3.2.3-r1.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 03 May 2012; Mike Gilbert <floppym@gentoo.org> python-3.2.3-r1.ebuild: + Revert to previous patchset due to bug 414333. + + 01 May 2012; Mike Gilbert <floppym@gentoo.org> +python-2.7.3-r2.ebuild, + +python-3.2.3-r1.ebuild: + Restore ebuilds now that mirrors have the files. + + 01 May 2012; Mike Gilbert <floppym@gentoo.org> -python-2.7.3-r2.ebuild, + -python-3.2.3-r1.ebuild: + Drop ebuilds until the patchsets get mirrored. + +*python-3.2.3-r1 (01 May 2012) +*python-2.7.3-r2 (01 May 2012) + + 01 May 2012; Mike Gilbert <floppym@gentoo.org> +python-2.7.3-r2.ebuild, + +python-3.2.3-r1.ebuild: + Drop several patches that upstream has not accepted. + + 28 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + Document reason for pax marking. Bug 413751. + + 28 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + Drop sys-apps/paxctl dep and restore fbsd keywords. Bug 413671 should be + resolved by not calling pax-mark on libpython. + + 28 Apr 2012; Alexis Ballier <aballier@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + remove fbsd keywords on ebuilds depending on sys-apps/paxctl which doesnt + build and isnt keyworded + + 26 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + Restore djc's fix for bug 368207. + + 26 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + Don't pax-mark libpython.so. Bug 413671. + + 26 Apr 2012; Mike Gilbert <floppym@gentoo.org> python-2.6.8.ebuild, + python-2.7.3-r1.ebuild, python-3.1.5.ebuild, python-3.2.3.ebuild: + Re-add dependency on sys-apps/paxctl due to bug 413671. + +*python-3.1.5 (26 Apr 2012) +*python-2.7.3-r1 (26 Apr 2012) +*python-3.2.3 (26 Apr 2012) +*python-2.6.8 (26 Apr 2012) + + 26 Apr 2012; Mike Gilbert <floppym@gentoo.org> +python-2.6.8.ebuild, + +python-2.7.3-r1.ebuild, +python-3.1.5.ebuild, +python-3.2.3.ebuild: + Version bumps for security bug 396329. Ebuilds and patchsets based on work by + Arfrever in Progress overlay. + + 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> python-3.2.2-r1.ebuild: + keyword ~amd64-fbsd + + 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> python-2.7.3.ebuild: + keyword ~amd64-fbsd + +*python-2.7.3 (12 Apr 2012) + + 12 Apr 2012; Dirkjan Ochtman <djc@gentoo.org> +python-2.7.3.ebuild: + Version bump to 2.7.3, addressing bugs 368207, 301691. + +*python-3.1.4-r4 (21 Mar 2012) +*python-3.2.2-r1 (21 Mar 2012) + + 21 Mar 2012; Mike Gilbert <floppym@gentoo.org> + +files/python-3-distutils-egg-utf8.patch, +python-3.1.4-r4.ebuild, + +python-3.2.2-r1.ebuild: + Resolve distutils issue with unicode characters in egg-info files. Patch + backported by mgorny. Bug 343721. + + 07 Mar 2012; Brent Baude <ranger@gentoo.org> python-3.2.2.ebuild: + Marking python-3.2.2 ppc for bug 403875 + + 05 Mar 2012; Jeff Horelick <jdhore@gentoo.org> python-3.2.2.ebuild: + marked x86 per bug 403875 + + 05 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> python-2.5.4-r4.ebuild: + Remove obsolete sys-devel/gcc[libffi] built_with_use check wrt #406927 by + Michael Weber + + 03 Mar 2012; Brent Baude <ranger@gentoo.org> python-3.2.2.ebuild: + Marking python-3.2.2 ppc64 for bug 403875 + + 18 Feb 2012; Jeroen Roovers <jer@gentoo.org> python-3.2.2.ebuild: + Stable for HPPA (bug #403875). + + 17 Feb 2012; Agostino Sarubbo <ago@gentoo.org> python-3.2.2.ebuild: + Stable for amd64, wrt bug #403875 + + 15 Feb 2012; Dirkjan Ochtman <djc@gentoo.org> -python-2.7.1-r1.ebuild, + -python-3.1.3-r1.ebuild: + Remove some old versions. + + 13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> python-2.7.2-r3.ebuild, + python-3.1.4-r3.ebuild: + ppc64 stable wrt #387849 + + 10 Feb 2012; Patrick Lauer <patrick@gentoo.org> -python-2.4.6.ebuild: + Removing last python-2.4 ebuilds. Was nice having you around ... + + 01 Feb 2012; Brent Baude <ranger@gentoo.org> python-2.7.2-r3.ebuild, + python-3.1.4-r3.ebuild: + Marking -2.7.2-r3 and -3.1.4-r3 for bug 387849 + + 01 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org> +ChangeLog-2011: + Split ChangeLog. For older entries, please see ChangeLog-2011. diff --git a/dev-lang/python/ChangeLog-2011 b/dev-lang/python/ChangeLog-2011 new file mode 100644 index 0000000..7e2ecbc --- /dev/null +++ b/dev-lang/python/ChangeLog-2011 @@ -0,0 +1,2583 @@ +# ChangeLog for dev-lang/python +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog-2011,v 1.1 2012/01/01 20:25:25 dilfridge Exp $ + + 14 Dec 2011; Mike Gilbert <floppym@gentoo.org> python-2.5.4-r4.ebuild: + Apply linux3 platform workaround. Fixes bug 394143. + + 13 Dec 2011; Dirkjan Ochtman <djc@gentoo.org> files/linux2.patch: + Prune back linux2.patch to prevent race conditions (bug 394547). + + 09 Dec 2011; Mike Frysinger <vapier@gentoo.org> python-3.2.2.ebuild: + Replace hardcoded /lib64 searching with /<abi_libdir> paths. + + 01 Dec 2011; Dirkjan Ochtman <djc@gentoo.org> python-2.7.2-r3.ebuild, + python-3.1.4-r3.ebuild, python-3.2.2.ebuild: + Fix autogen problems (bug 355733). + + 01 Dec 2011; Dirkjan Ochtman <djc@gentoo.org> -python-2.7.2-r2.ebuild, + -python-3.1.4-r2.ebuild, -python-3.2-r2.ebuild: + Remove old versions from the tree. + + 26 Nov 2011; Mike Gilbert <floppym@gentoo.org> python-2.6.7-r2.ebuild, + python-2.7.2-r2.ebuild, python-2.7.2-r3.ebuild, python-3.1.4-r2.ebuild, + python-3.1.4-r3.ebuild: + Remove reference to snapshots in python overlay. + + 31 Oct 2011; Mike Frysinger <vapier@gentoo.org> python-2.6.7-r2.ebuild, + python-2.7.2-r2.ebuild, python-2.7.2-r3.ebuild, python-3.1.4-r2.ebuild, + python-3.1.4-r3.ebuild, python-3.2-r2.ebuild, python-3.2.2.ebuild: + Drop unnecessary USE=kernel_linux check in plat-linux3 setup. + + 30 Oct 2011; Raúl Porcel <armin76@gentoo.org> python-2.7.2-r3.ebuild: + alpha/ia64/s390/sh/sparc stable wrt #387849 + + 27 Oct 2011; Tony Vroon <chainsaw@gentoo.org> python-2.7.2-r3.ebuild, + python-3.1.4-r3.ebuild: + Marked stable on AMD64; objections in arch testing by Ian "idella4" Delaney & + Agostino "ago" Sarubbo in bug #387849 were overridden by request of Dirkjan + Ochtman. + + 27 Oct 2011; Jesus Rivero <neurogeek@gentoo.org> python-2.4.6.ebuild, + python-2.5.4-r4.ebuild, python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild, + python-3.1.3-r1.ebuild, python-3.2-r2.ebuild, python-3.2.2.ebuild, + files/pydoc.conf, files/pydoc.init: + Changes to pydoc conf.d and init.d files wrt bug #361867. Patch by + Arfrever + + 26 Oct 2011; Jeroen Roovers <jer@gentoo.org> python-3.1.4-r3.ebuild: + Stable for HPPA (bug #387849). + + 26 Oct 2011; Jeroen Roovers <jer@gentoo.org> python-2.7.2-r3.ebuild: + Stable for HPPA (bug #387849). + + 24 Oct 2011; Markus Meier <maekke@gentoo.org> python-2.7.2-r3.ebuild: + arm stable, bug #387849 + + 23 Oct 2011; Markus Meier <maekke@gentoo.org> python-3.1.4-r3.ebuild: + x86 stable, bug #387849 + + 23 Oct 2011; Markus Meier <maekke@gentoo.org> python-2.7.2-r3.ebuild: + x86 stable, bug #387849 + +*python-3.2.2 (16 Sep 2011) + + 16 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +python-3.2.2.ebuild: + Version bump to 3.2.2 (fixes bug 375051). + +*python-3.1.4-r3 (16 Sep 2011) +*python-2.7.2-r3 (16 Sep 2011) + + 16 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +files/linux2.patch, + +python-2.7.2-r3.ebuild, +python-3.1.4-r3.ebuild: + Set sys.platform to linux2 even on linux3 (bug 375257). + + 16 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> -python-2.6.5-r3.ebuild, + -python-2.7.1-r2.ebuild: + Remove old versions. + + 27 Aug 2011; Jesus Rivero <neurogeek@gentoo.org> python-2.7.2-r2.ebuild, + python-3.1.3-r1.ebuild, python-3.1.4-r2.ebuild: + Change to generic license + + 23 Aug 2011; Jesus Rivero <neurogeek@gentoo.org> python-3.2-r2.ebuild, + +files/python-3.2-soname_typo.patch: + Applied patch from upstream, wrt bug #376303. Fixed License + + 07 Aug 2011; Naohiro Aota <naota@gentoo.org> python-2.6.7-r2.ebuild, + python-2.7.2-r2.ebuild, python-3.1.4-r2.ebuild, python-3.2-r2.ebuild: + Move more linux3 compat hack into kernel_linux check. Bug #374579 + + 05 Aug 2011; Naohiro Aota <naota@gentoo.org> python-2.6.7-r2.ebuild, + python-2.7.2-r2.ebuild, python-3.1.4-r2.ebuild, python-3.2-r2.ebuild: + Move linux3 compat hack into kernel_linux check. Bug #374579 + +*python-3.2-r2 (24 Jul 2011) +*python-3.1.4-r2 (24 Jul 2011) +*python-2.7.2-r2 (24 Jul 2011) +*python-2.6.7-r2 (24 Jul 2011) + + 24 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> -python-2.6.7-r1.ebuild, + +python-2.6.7-r2.ebuild, -python-2.7.2-r1.ebuild, +python-2.7.2-r2.ebuild, + -python-3.1.4-r1.ebuild, +python-3.1.4-r2.ebuild, -python-3.2-r1.ebuild, + +python-3.2-r2.ebuild: + Revbump N. 2 for all testing versions of Python wrt bug #374579 and linux-3 + +*python-3.2-r1 (22 Jul 2011) +*python-3.1.4-r1 (22 Jul 2011) +*python-2.7.2-r1 (22 Jul 2011) +*python-2.6.7-r1 (22 Jul 2011) + + 22 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> -python-2.6.7.ebuild, + +python-2.6.7-r1.ebuild, -python-2.7.2.ebuild, +python-2.7.2-r1.ebuild, + -python-3.1.4.ebuild, +python-3.1.4-r1.ebuild, -python-3.2.ebuild, + +python-3.2-r1.ebuild: + Revbump for all testing versions of Python wrt bug #374579 and linux-3 + + 27 Jun 2011; Dirkjan Ochtman <djc@gentoo.org> python-2.7.2.ebuild, + python-3.2.ebuild: + Bump required autoconf version to 2.65 (bug 372461). + +*python-3.1.4 (27 Jun 2011) +*python-2.7.2 (27 Jun 2011) +*python-2.6.7 (27 Jun 2011) + + 27 Jun 2011; Dirkjan Ochtman <djc@gentoo.org> +python-2.6.7.ebuild, + +python-2.7.2.ebuild, +python-3.1.4.ebuild: + Version bumps. Ebuilds and patchsets by Arfrever. + +*python-2.7.1-r2 (17 May 2011) + + 17 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.7.1-r2.ebuild: + Use PyXML only after calling xml.use_pyxml(). + + 17 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild, + python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild, python-3.1.3-r1.ebuild, + python-3.2.ebuild, files/pydoc.init: + Use target pydoc script in pydoc init.d script (bug #361867). + + 22 Apr 2011; Raúl Porcel <armin76@gentoo.org> python-2.7.1-r1.ebuild: + alpha/ia64/m68k/s390/sh stable wrt #358717 + + 18 Apr 2011; Thomas Kahle <tomka@gentoo.org> python-2.7.1-r1.ebuild: + x86 stable per bug 358717 + + 05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> python-2.4.6.ebuild, + python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild, python-2.6.6-r1.ebuild, + python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild, python-3.1.2-r4.ebuild, + python-3.1.3-r1.ebuild, python-3.2.ebuild: + Don't PROVIDE virtual/python, bug 358849. + + 04 Apr 2011; Jeroen Roovers <jer@gentoo.org> python-2.7.1-r1.ebuild: + Stable for HPPA (bug #358717). + + 04 Apr 2011; Michael Weber <xmw@gentoo.org> python-2.7.1-r1.ebuild: + arm/sparc stable (bug 358717) + + 25 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> python-2.7.1-r1.ebuild: + ppc64 stable wrt #358717 + + 24 Mar 2011; Christoph Mende <angelos@gentoo.org> python-2.7.1-r1.ebuild: + Stable on amd64 wrt bug #358717 + + 22 Mar 2011; Brent Baude <ranger@gentoo.org> python-2.7.1-r1.ebuild: + Marking python-2.7.1-r1 ppc for bug 358717 + + 18 Mar 2011; Mike Frysinger <vapier@gentoo.org> python-2.4.6.ebuild, + python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild, python-2.6.6-r1.ebuild, + python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild, python-3.1.2-r4.ebuild, + python-3.1.3-r1.ebuild, python-3.2.ebuild: + Drop useless calls to prep_ml_includes #357727. + + 26 Feb 2011; Raúl Porcel <armin76@gentoo.org> python-2.6.6-r2.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #355927 + + 26 Feb 2011; Markos Chandras <hwoarang@gentoo.org> python-2.6.6-r2.ebuild, + python-3.1.3-r1.ebuild: + Stable on amd64 wrt bug #355927 + + 24 Feb 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> + python-2.6.6-r2.ebuild, python-3.1.3-r1.ebuild: + x86 stable wrt security bug #355927 + + 23 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> + python-2.6.6-r2.ebuild, python-3.1.3-r1.ebuild: + ppc/ppc64 stable wrt #355927 + + 23 Feb 2011; Jeroen Roovers <jer@gentoo.org> python-2.6.6-r2.ebuild, + python-3.1.3-r1.ebuild: + Stable for HPPA (bug #355927). + +*python-3.2 (21 Feb 2011) + + 21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-3.2.ebuild: + Version bump. + +*python-3.1.3-r1 (21 Feb 2011) + + 21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -python-3.1.3.ebuild, +python-3.1.3-r1.ebuild: + Fix regression in unicodedata.normalize() (Python issue #10254). Fix + NameError in logging.handlers.TimedRotatingFileHandler.__init__() (Gentoo bug + #350400, Python issue #10810). Don't skip test_ctypes tests on hardened/PAX + (Gentoo bug #348745). + +*python-2.7.1-r1 (21 Feb 2011) + + 21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -python-2.7.ebuild, -python-2.7.1.ebuild, +python-2.7.1-r1.ebuild: + Fix incompatible API change in xmlrpclib.Transport.parse_response() (Gentoo + bug #347465, Python issue #8194). Fix regression in unicodedata.normalize() + (Python issue #10254). Don't skip test_ctypes tests on hardened/PAX (Gentoo + bug #348745). + +*python-2.6.6-r2 (21 Feb 2011) + + 21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.6-r2.ebuild: + Fix DoS vulnerability in smtpd (Python issue #9129). Fix regression in + unicodedata.normalize() (Python issue #10254). Don't skip test_ctypes tests + on hardened/PAX (Gentoo bug #348745). + + 20 Feb 2011; Raúl Porcel <armin76@gentoo.org> python-2.6.6-r1.ebuild: + ia64/m68k/s390/sh/sparc stable wrt #342927 + + 06 Jan 2011; Brent Baude <ranger@gentoo.org> python-2.6.6-r1.ebuild: + Marking python-2.6.6-r1 ppc for bug 342927 + + 01 Jan 2011; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + python-2.6.6-r1.ebuild: + Non-maintainer commit. + Reverting commit that broke stage generation for python-2.6.6-r1 as it wasn't + reverted before - bug 347867. + This commit was accepted by Arfrever. + + 29 Dec 2010; Markos Chandras <hwoarang@gentoo.org> python-2.6.6-r1.ebuild: + Stable on amd64 wrt bug #342927 + + 27 Dec 2010; Brent Baude <ranger@gentoo.org> python-2.6.6-r1.ebuild: + Marking python-2.6.6-r1 ppc64 for bug 342927 + + 27 Dec 2010; Brent Baude <ranger@gentoo.org> python-3.1.2-r4.ebuild: + Marking python-3.1.2-r4 ppc64 for bug 325593 + + 22 Dec 2010; Tobias Klausmann <klausman@gentoo.org> python-2.6.6-r1.ebuild: + Stable on alpha, bug #342927 + + 21 Dec 2010; Markus Meier <maekke@gentoo.org> python-2.6.6-r1.ebuild: + arm stable, bug #342927 + + 16 Dec 2010; Jesus Rivero <neurogeek@gentoo.org> python-2.4.6.ebuild, + python-2.5.4-r4.ebuild, python-2.7.ebuild, python-2.7.1.ebuild, + python-3.1.3.ebuild: + Reverting commit that broke stage generation - bug 347867. + + 14 Dec 2010; Jeroen Roovers <jer@gentoo.org> python-2.6.6-r1.ebuild: + Stable for HPPA (bug #342927). + + 07 Dec 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> + python-2.6.6-r1.ebuild: + x86 stable wrt bug #342927 + + 06 Dec 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + python-2.6.5-r3.ebuild, python-3.1.2-r4.ebuild: + Non-maintainer commit. + Reverting commit that broke stage generation - bug 347867. + + 01 Dec 2010; <sping@gentoo.org> python-2.4.6.ebuild, python-2.5.4-r4.ebuild, + python-2.6.5-r3.ebuild, python-2.6.6-r1.ebuild, python-2.7.ebuild, + python-2.7.1.ebuild, python-3.1.2-r4.ebuild, python-3.1.3.ebuild: + Save/restore active Python version across calls to pkg_postrm() of the ebuild + about to be replaced. Ensure /usr/bin/python symlink. + + 29 Nov 2010; <sping@gentoo.org> python-2.7.1.ebuild, python-3.1.3.ebuild: + Remove eselect_python_update() from 2.7.1 and 3.1.3 + +*python-3.1.3 (28 Nov 2010) +*python-2.7.1 (28 Nov 2010) + + 28 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.7.1.ebuild, +python-3.1.3.ebuild: + Version bumps. 2.7: Enable loadable sqlite extensions (bug #335505). + + 27 Nov 2010; Sebastian Pipping <sping@gentoo.org> python-2.4.6.ebuild, + python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild, python-2.6.6-r1.ebuild, + python-2.7.ebuild, python-3.1.2-r4.ebuild: + Disable auto-bumping of active Python version by removing + eselect_python_update() and its invocation as explained and announced on + gentoo-dev + + 27 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> -python-2.6.4-r1.ebuild, + -python-2.6.5-r2.ebuild, -python-3.1.2-r3.ebuild: + Remove old versions. + + 27 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> python-2.6.6-r1.ebuild: + Disable test___all__ to fix bug 321075. + + 13 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> python-2.6.6-r1.ebuild: + Use mirrors for the patch set. + +*python-2.6.6-r1 (12 Oct 2010) + + 12 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> -python-2.6.6.ebuild, + +python-2.6.6-r1.ebuild: + 2.6.6-r1 actually has the rwx-mmap patch and the portage blocker. + + 11 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> python-2.6.6.ebuild: + Block 2.6.6 on portage-2.1.9 (earlier portage suffers from bug 330937). + +*python-2.6.6 (08 Oct 2010) + + 08 Oct 2010; Dirkjan Ochtman <djc@gentoo.org> +python-2.6.6.ebuild: + Version bump to 2.6.6 (bug 334425). + + 15 Aug 2010; Jeroen Roovers <jer@gentoo.org> python-3.1.2-r4.ebuild: + Stable for HPPA (bug #325593). + + 11 Aug 2010; Joseph Jezak <josejx@gentoo.org> python-2.6.5-r3.ebuild, + python-3.1.2-r4.ebuild: + Marked ppc/ppc64 stable for bug #325593. + + 08 Aug 2010; Raúl Porcel <armin76@gentoo.org> python-2.6.5-r3.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #325593 + + 06 Aug 2010; Markos Chandras <hwoarang@gentoo.org> python-2.6.5-r3.ebuild, + python-3.1.2-r4.ebuild: + Stable on amd64 wrt bug #325593 + + 06 Aug 2010; Jeroen Roovers <jer@gentoo.org> python-2.6.5-r3.ebuild: + Stable for HPPA (bug #325593). + + 06 Aug 2010; Christian Faulhammer <fauli@gentoo.org> + python-3.1.2-r4.ebuild: + stable x86, security bug 325593 + + 06 Aug 2010; Christian Faulhammer <fauli@gentoo.org> + python-2.6.5-r3.ebuild: + stable x86, security bug 325593 + + 02 Aug 2010; Brian Harring <ferringb@gentoo.org> + -python-2.6.5_p20100801.ebuild, -python-2.7_p20100801.ebuild, + -python-3.1.2_p20100801.ebuild: + Remove untested versions, one of which flat out breaks emerge (bug 330937). + These should not be re-added without going through devrel/qa. + +*python-3.1.2_p20100801 (02 Aug 2010) +*python-2.7_p20100801 (02 Aug 2010) +*python-2.6.5_p20100801 (02 Aug 2010) + + 02 Aug 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.5_p20100801.ebuild, +python-2.7_p20100801.ebuild, + +python-3.1.2_p20100801.ebuild: + Improve usage of mmap in _ctypes module (bug #329499). Fix handling of + environmental variables (bug #329705). Backport some fixes from release + branches. + + 31 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.4-r1.ebuild, python-2.6.5-r2.ebuild, python-2.6.5-r3.ebuild, + python-2.7.ebuild, python-3.1.2-r3.ebuild, python-3.1.2-r4.ebuild: + Revert wrong change in _ctypes module (bug #329499). + + 30 Jul 2010; Jeroen Roovers <jer@gentoo.org> python-3.1.2-r3.ebuild: + Stable for HPPA (bug #320043). + + 25 Jul 2010; <solar@gentoo.org> python-2.6.4-r1.ebuild, + python-2.6.5-r2.ebuild, python-2.6.5-r3.ebuild, python-2.7.ebuild, + python-3.1.2-r3.ebuild, python-3.1.2-r4.ebuild: + - The Modules/_ctypes/malloc_closure.c misuses a mmap() call trying to set + a mem segment to rwx when it does not need it. Bug 329499 + + 22 Jul 2010; Markus Meier <maekke@gentoo.org> python-2.6.5-r2.ebuild: + arm stable, bug #319723 + + 18 Jul 2010; <nixnut@gentoo.org> python-3.1.2-r3.ebuild: + ppc stable #320043 + + 17 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.2-r4.ebuild: + Fix parallel installation (bug #328009). + + 15 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.2-r4.ebuild: + Fix building with some locales (bug #328047). + +*python-3.1.2-r4 (12 Jul 2010) + + 12 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-3.1.2-r4.ebuild: + Fix segmentation fault with non-module encodings directory on PYTHONPATH (bug #314883). + Fix building with Linux <2.6.9 headers (bug #317937). Fix httplib.HTTPResponse.read() + (bug #321545). Fix vulnerabilities in audioop module (bug #325593). Backport some + fixes from 3.1 branch. + +*python-2.6.5-r3 (12 Jul 2010) + + 12 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.5-r3.ebuild: + Fix building with Linux <2.6.9 headers (bug #317937). Fix httplib.HTTPResponse.read() + (bug #321545). Fix vulnerabilities in audioop module (bug #325593). Backport some + fixes from 2.6 branch. + +*python-2.7 (04 Jul 2010) + + 04 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.7.ebuild: + Version bump. + + 22 Jun 2010; Christian Faulhammer <fauli@gentoo.org> + python-2.6.5-r2.ebuild: + stable x86, bug 319723 + + 04 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> + python-3.1.2-r3.ebuild: + x86 stable wrt bug #320043 + + 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.2-r3.ebuild: + Disable tests with USE="-threads" (bug #322755). + + 26 May 2010; Markos Chandras <hwoarang@gentoo.org> python-3.1.2-r3.ebuild: + Stable on amd64 wrt bug #320043 + + 25 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4-r1.ebuild, + python-2.6.5-r2.ebuild, python-3.1.2-r3.ebuild: + Work around bug #321145. + + 24 May 2010; <nixnut@gentoo.org> python-2.6.5-r2.ebuild: + ppc stable #319723 + + 23 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.5-r2.ebuild, + python-3.1.2-r3.ebuild: + Support FEATURES="test-fail-continue". Don't install byte-compiled Python + modules (bug #301915). + + 21 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.5-r2.ebuild: + amd64 stable (tested by rullzer) (bug #319723). + + 14 May 2010; Jeroen Roovers <jer@gentoo.org> python-2.6.5-r2.ebuild: + Stable for HPPA (bug #319723). + + 02 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.2-r3.ebuild: + Don't use ebeep() (bug #318091). + +*python-3.1.2-r3 (01 May 2010) + + 01 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-3.1.2-r3.ebuild: + Don't add GENTOO_PYTHON_WRAPPER_SCRIPT_PATH to os.environ (bug #315919). + Backport some fixes from 3.1 branch. Use EAPI="3". + +*python-2.6.5-r2 (01 May 2010) + + 01 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.5-r2.ebuild: + Don't add GENTOO_PYTHON_WRAPPER_SCRIPT_PATH to os.environ (bug #315919). + Fix failure of test_zlib with zlib 1.2.4 (Python issue #8193). Backport + some fixes from 2.6 branch. + +*python-3.1.2-r2 (11 Apr 2010) + + 11 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-3.1.2-r2.ebuild: + Use correct types of pointers. Fix failure of test_zlib with zlib 1.2.4 + (Python issue #8193). + +*python-3.1.2-r1 (25 Mar 2010) + + 25 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-3.1.2-r1.ebuild: + Allow str subclasses to override __str__ method (Python issue #1583863). + Fix argument validation in sys.setfilesystemencoding() (Python issue #8226). + +*python-2.6.5-r1 (25 Mar 2010) + + 25 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.5-r1.ebuild: + Allow unicode subclasses to override __unicode__ method (Python issue #1583863). + Fix thread creation in low memory condition (Python issue #7544). + Fix unicodedata.normalize (Python issue #1054943). Set sys.executable to + empty string when program name is invalid (Python issue #7774). + + 25 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.5.ebuild, python-3.1.2.ebuild: + Unset variables after using them to avoid affecting child processes. + +*python-3.1.2 (22 Mar 2010) + + 22 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-3.1.2.ebuild: + Version bump. Fixed bugs: #189283, #279234, #300961, #301848, #302519. + Respect GENTOO_PYTHON_PROCESS_NAME, GENTOO_PYTHON_WRAPPER_SCRIPT_PATH and + GENTOO_PYTHON_TARGET_SCRIPT_PATH environmental variables. + +*python-2.6.5 (21 Mar 2010) + + 21 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.5.ebuild: + Version bump. Fixed bugs: #189283, #279234, #282859, #300961, #301848. + Respect GENTOO_PYTHON_PROCESS_NAME, GENTOO_PYTHON_WRAPPER_SCRIPT_PATH and + GENTOO_PYTHON_TARGET_SCRIPT_PATH environmental variables. + + 20 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4-r1.ebuild, + python-3.1.1-r1.ebuild: + Use -fwrapv (bug #297276). Install email module with USE="build". + + 10 Mar 2010; Joseph Jezak <josejx@gentoo.org> python-2.6.4-r1.ebuild: + Marked ppc/ppc64 stable for bug #306793. + + 07 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> + python-2.6.4-r1.ebuild: + amd64 stable wrt #306793 + + 07 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4.ebuild, + python-2.6.4-r1.ebuild: + Delete no longer needed recommendation (bug #307887). + + 04 Mar 2010; Raúl Porcel <armin76@gentoo.org> python-2.6.4-r1.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #306793 + + 04 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.1-r1.ebuild: + Depend on >=app-admin/python-updater-0.8, which supports packages + installable for multiple versions of Python. + + 26 Feb 2010; Jeroen Roovers <jer@gentoo.org> python-2.6.4-r1.ebuild: + Stable for HPPA (bug #306793). + + 25 Feb 2010; Christian Faulhammer <fauli@gentoo.org> + python-2.6.4-r1.ebuild: + stable x86, bug 306793 + + 21 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4-r1.ebuild, + python-3.1.1-r1.ebuild: + Don't install idle${SLOT} and idlelib module with USE="-tk" (bug #237788). + Enable "ssl" USE flag by default via IUSE (bug #304891). + + 13 Feb 2010; Raúl Porcel <armin76@gentoo.org> python-2.5.4-r4.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #303005 + + 10 Feb 2010; Jeroen Roovers <jer@gentoo.org> python-2.5.4-r4.ebuild: + Stable for HPPA (bug #303005). + + 10 Feb 2010; Joseph Jezak <josejx@gentoo.org> python-2.5.4-r4.ebuild: + Marked ppc stable for bug #303005. + + 07 Feb 2010; Markus Meier <maekke@gentoo.org> python-2.5.4-r4.ebuild: + arm/x86 stable, bug #303005 + + 04 Feb 2010; Brent Baude <ranger@gentoo.org> python-2.5.4-r4.ebuild: + Marking python-2.5.4-r4 ppc64 for bug 303005 + + 01 Feb 2010; Markos Chandras <hwoarang@gentoo.org> python-2.5.4-r4.ebuild: + Stable on amd64 wrt bug #303005 + +*python-2.6.4-r1 (26 Jan 2010) + + 26 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.4-r1.ebuild: + Respect PYTHONDONTWRITEBYTECODE / sys.dont_write_bytecode in distutils. + Check availability of nis headers before building of nis module (bug #288110). + Use pkg-config found by AC_PATH_TOOL() to avoid problem during crosscompilation + (bug #299044). Don't ignore __cmp__() of metaclasses. + + 12 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.5.4-r4.ebuild, + python-2.6.4.ebuild, python-3.1.1-r1.ebuild: + Fix building with Portage <2.1.7 (bug #300671). + + 01 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.1-r1.ebuild: + Respect PYTHONDONTWRITEBYTECODE / sys.dont_write_bytecode in distutils. + Check availability of nis headers before building of nis module (bug #288110). + Use pkg-config found by AC_PATH_TOOL() to avoid problem during crosscompilation + (bug #299044). Depend on >=app-admin/eselect-python-20091230, which allows + wrapper scipts generated by python_generate_wrapper_scripts() and requiring + Python-2-specific target scripts to work correctly, when Python 3 is set as + main active version of Python. + +*python-2.5.4-r4 (01 Jan 2010) + + 01 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.5.4-r4.ebuild: + Use external libffi (bug #209673). Respect PYTHONDONTWRITEBYTECODE in + distutils. Check availability of nis headers before building of nis + module (bug #288110). + + 01 Jan 2010; Brent Baude <ranger@gentoo.org> python-2.6.4.ebuild: + Marking python-2.6.4 ppc64 for bug 295066 + + 20 Dec 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.4.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #295066 + + 19 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.4.ebuild: + Restrict tests from test_httpservers (bug #293201). + + 19 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.1-r1.ebuild: + Use --with-computed-gotos (bug #296574). + + 13 Dec 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.4.ebuild, + python-3.1.1-r1.ebuild: + Add ~m68k, thanks to kolla for testing + + 09 Dec 2009; nixnut <nixnut@gentoo.org> python-2.6.4.ebuild: + ppc stable #295066 + + 06 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild, + python-2.6.2-r2.ebuild, python-2.6.3.ebuild, python-2.6.4.ebuild, + python-3.1.1-r1.ebuild, metadata.xml: + Remove "ucs2" USE flag and add "wide-unicode" USE flag (bug #293135). + + 04 Dec 2009; Jeroen Roovers <jer@gentoo.org> python-2.6.4.ebuild: + Stable for HPPA (bug #295066). + + 03 Dec 2009; Markus Meier <maekke@gentoo.org> python-2.6.4.ebuild: + amd64/arm/x86 stable, bug #295066 + + 29 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.4.ebuild, python-3.1.1-r1.ebuild: + _ctypes module doesn't work with GCC's internal libffi. + + 07 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.1-r1.ebuild: + Make logging module ignore absence of multiprocessing module (bug + #291109). + +*python-2.6.4 (30 Oct 2009) + + 30 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.4.ebuild: + Version bump. + + 24 Oct 2009; Alexey Shvetsov <alexxy@gentoo.org> python-2.6.3.ebuild, + python-3.1.1-r1.ebuild: + Add ~mips keyword #287383 + + 19 Oct 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.2-r1.ebuild: + s390/sh stable wrt #277645 + + 17 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.5.4-r3.ebuild, python-2.6.3.ebuild, python-3.1.1-r1.ebuild: + Fix paths passed to python_mod_optimize() and python_mod_cleanup() (bug + #288354). + + 14 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> + python-3.1.1-r1.ebuild: + Keyword ~sparc-fbsd wrt #287383. + + 14 Oct 2009; Alexis Ballier <aballier@gentoo.org> python-2.6.3.ebuild: + keyword ~sparc-fbsd + + 03 Oct 2009; Fabian Groffen <grobian@gentoo.org> python-2.4.6.ebuild, + python-2.5.4-r3.ebuild, python-2.6.2-r2.ebuild, python-2.6.3.ebuild, + python-3.1.1-r1.ebuild: + Python's _locale module needs libintl, which on non-Linux is in gettext, + depend on virtual/libintl for that case + +*python-2.6.3 (02 Oct 2009) + + 02 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.3.ebuild: + Version bump. + + 02 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.2-r2.ebuild, python-3.1.1-r1.ebuild: + Remove a workaround for missing keywords. + + 27 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r2.ebuild, + python-3.1.1-r1.ebuild: + Enable "ncurses" and "readline" USE flags by default. Don't activate + Python 2 when Python 3 is already active. Ensure that Python 2 is + installed. + + 27 Sep 2009; nixnut <nixnut@gentoo.org> python-2.6.2-r1.ebuild: + ppc stable #277645 + + 25 Sep 2009; Zac Medico <zmedico@gentoo.org> python-3.1.1.ebuild, + python-3.1.1-r1.ebuild: + For python 3, don't remove the encodings directory with USE=build, in + order to avoid 'Fatal Python error: Py_Initialize: can't initialize sys + standard streams ImportError: No module named encodings.utf_8'. + + 23 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r2.ebuild: + Fix handling of USE="-berkdb". + + 23 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r2.ebuild, + python-3.1.1-r1.ebuild: + Add dependency on app-misc/mime-types which is used by mimetypes module. + Reported by Dirkjan Ochtman. + +*python-3.1.1-r1 (22 Sep 2009) +*python-2.6.2-r2 (22 Sep 2009) + + 22 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.2-r2.ebuild, +python-3.1.1-r1.ebuild: + Use external libffi on some architectures (bug #209673). + + 22 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild: + Restrict sys-libs/db dependencies and add warnings (bug #285553). + + 21 Sep 2009; Tom Gall <tgall@gentoo.org> python-2.6.2-r1.ebuild: + stable for ppc64, bug #277645 + + 17 Sep 2009; Jeroen Roovers <jer@gentoo.org> python-2.6.2-r1.ebuild: + Stable for HPPA (bug #277645). + + 06 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -files/python-config-2.4, -python-3.1.ebuild: + Delete old ebuild and old python-config. + + 05 Sep 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.2-r1.ebuild: + ia64/sparc stable wrt #277645 + + 01 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.2-r1.ebuild: + Fix building on arm OABI (bug #266703). + + 30 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild, + python-3.1.1.ebuild: + Reenable test_math.py and test_pow.py on alpha (bug #282786). + + 28 Aug 2009; Raúl Porcel <armin76@gentoo.org> python-2.6.2-r1.ebuild: + arm/m68k stable wrt #277645 + + 26 Aug 2009; Tobias Klausmann <klausman@gentoo.org> + python-2.6.2-r1.ebuild: + Stable on alpha, bug #277645 + + 26 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.2-r1.ebuild, python-3.1.1.ebuild: + Skip test_math.py on alpha (bug #282786). + + 25 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.6.2-r1.ebuild, python-3.1.1.ebuild: + Fix building of Python 2.6.2-r1 with USE=-threads (bug #282518). Fix + building with USE=build or USE=-xml (bug #282259). Small updates. + + 21 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild, python-3.1.1.ebuild: + Add missing dependency on >=dev-libs/expat-2 and non-zero exit status of + setup.py when building of extensions has failed (bug #281968). + +*python-3.1.1 (17 Aug 2009) + + 17 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-3.1.1.ebuild: + Version bump. Don't install sqlite3 and _sqlite3 modules with USE="-sqlite" + (bug #236466). + + 16 Aug 2009; Christian Faulhammer <fauli@gentoo.org> + python-2.6.2-r1.ebuild: + stable x86, bug 277645 + + 04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-3.1.ebuild: + Fix building with sys-libs/db headers containing non-UTF-8 characters (bug + #280001). + + 02 Aug 2009; Jeremy Olexa <darkside@gentoo.org> metadata.xml: + Be more verbose about the 'threads' USE flag. + +*python-3.1 (01 Aug 2009) + + 01 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-3.1.ebuild: + Version bump (bug #250186). + + 01 Aug 2009; Zac Medico <zmedico@gentoo.org> python-2.6.2-r1.ebuild: + Bug #248081 - Fix tests not to assume that stdin is a tty. + + 31 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild: + Skip test_ctypes on systems with PAX (bug #234498). + + 30 Jul 2009; Jeremy Olexa <darkside@gentoo.org> python-2.6.2-r1.ebuild: + amd64 stable, bug 277645 + + 19 Jul 2009; Raúl Porcel <armin76@gentoo.org> python-2.5.4-r3.ebuild: + arm/ia64/m68k/s390/sh/sparc stable wrt #275311 + + 17 Jul 2009; nixnut <nixnut@gentoo.org> python-2.5.4-r3.ebuild: + ppc stable #275311 + + 05 Jul 2009; Markus Meier <maekke@gentoo.org> python-2.5.4-r3.ebuild: + amd64 stable, bug #275311 + + 04 Jul 2009; Brent Baude <ranger@gentoo.org> python-2.5.4-r3.ebuild: + stable ppc64, bug 275311 + + 30 Jun 2009; Christian Faulhammer <fauli@gentoo.org> + python-2.5.4-r3.ebuild: + stable x86, bug 275311 + + 28 Jun 2009; Tobias Klausmann <klausman@gentoo.org> + python-2.5.4-r3.ebuild: + Stable on alpha, bug #275311 + + 26 Jun 2009; Jeroen Roovers <jer@gentoo.org> python-2.5.4-r3.ebuild: + Stable for HPPA (bug #275311). + +*python-2.6.2-r1 (28 May 2009) + + 28 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.2-r1.ebuild: + Install libpython2.6.a in /usr/lib instead of /usr/lib/python2.6/config + (bug #252372). Fix building with Subversion 1.7. + + 27 May 2009; Raúl Porcel <armin76@gentoo.org> python-2.4.6.ebuild: + arm/ia64/m68k/s390/sh/sparc stable wrt #252317 + + 25 May 2009; Markus Meier <maekke@gentoo.org> python-2.4.6.ebuild: + amd64 stable, bug #252317 + + 25 May 2009; Christian Faulhammer <fauli@gentoo.org> python-2.4.6.ebuild: + stable x86, security bug 252317 + +*python-2.5.4-r3 (25 May 2009) + + 25 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.5.4-r3.ebuild: + Install libpython2.5.a in /usr/lib instead of /usr/lib/python2.5/config + (bug #252372). Fix building with Subversion 1.7. Use `eselect python` + instead of alternatives.eclass. + + 25 May 2009; Brent Baude <ranger@gentoo.org> python-2.4.6.ebuild: + Marking python-2.4.6 ppc64 and ppc for bug 252317 + + 24 May 2009; Jeroen Roovers <jer@gentoo.org> python-2.4.6.ebuild: + Stable for HPPA (bug #252317). + + 24 May 2009; Tobias Klausmann <klausman@gentoo.org> python-2.4.6.ebuild: + Stable on alpha, bug #252317 + + 24 May 2009; Tobias Klausmann <klausman@gentoo.org> python-2.4.6.ebuild: + Keyworded on alpha, bug #252317 + +*python-2.4.6 (24 May 2009) + + 24 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.4.6.ebuild: + Version bump (bug #252317). + + 24 Apr 2009; Raúl Porcel <armin76@gentoo.org> python-2.5.4-r2.ebuild: + arm/ia64/m68k/s390/sh/sparc stable wrt #265790 + + 22 Apr 2009; Jeroen Roovers <jer@gentoo.org> python-2.5.4-r2: + Stable for HPPA (bug #265790). + + 19 Apr 2009; Markus Meier <maekke@gentoo.org> python-2.5.4-r2: + amd64/x86 stable, bug #265790 + + 19 Apr 2009; Brent Baude <ranger@gentoo.org> python-2.5.4-r2.ebuild: + Marking python-2.5.4-r2 ppc64 and ppc for bug 265790 + +*python-2.6.2 (18 Apr 2009) + + 18 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-2.6.2.ebuild: + Version bump (bug #266596). + + 18 Apr 2009; Tobias Klausmann <klausman@gentoo.org> + python-2.5.4-r2.ebuild: + Stable on alpha, bug #265790 + + 17 Apr 2009; Joshua Kinard <kumba@gentoo.org> python-2.6-r5.ebuild, + python-2.6.1-r1.ebuild: + Python 2.6 has a build failure on MIPS for now. Dropping our unstable + keywords until it's fixed by upstream or if Upstreams latest patch on + their bug is added. Refer to #266471 for Gentoo for the tracker, or + http://bugs.python.org/issue4305 for the Python issue. + + 12 Apr 2009; Mike Frysinger <vapier@gentoo.org> + +files/python-2.6-chflags-cross.patch, + +files/python-2.6-cross-patch-tweak.patch, python-2.6.1-r1.ebuild: + Fix up cross-compiling with python-2.6. + + 26 Mar 2009; Zac Medico <zmedico@gentoo.org> python-2.5.2-r7.ebuild, + python-2.5.2-r8.ebuild, python-2.5.4-r2.ebuild, python-2.6-r5.ebuild, + python-2.6.1-r1.ebuild: + In src_test, redirect stdin from /dev/tty as a workaround for bug #248081. + +*python-2.6.1-r1 (21 Mar 2009) + + 21 Mar 2009; Jesus Rivero <neurogeek@gentoo.org> -python-2.6.1.ebuild, + +python-2.6.1-r1.ebuild: + Fixed typo in sqlite3 extension. Removed old version + + 26 Feb 2009; Mike Frysinger <vapier@gentoo.org> + +files/python-2.5-cross-printf.patch, python-2.5.2-r7.ebuild, + python-2.5.2-r8.ebuild, python-2.5.4-r2.ebuild: + Fix cross-compilation with %zd printf tests #239110 by xeb and #184308 by + Joel Martin. + + 26 Feb 2009; Mike Frysinger <vapier@gentoo.org> python-2.4.4-r5.ebuild, + python-2.4.4-r6.ebuild, python-2.4.4-r14.ebuild, python-2.4.4-r15.ebuild, + python-2.5.2-r7.ebuild, python-2.5.2-r8.ebuild, python-2.5.4-r2.ebuild, + python-2.6-r5.ebuild, python-2.6.1.ebuild: + Drop host python ver check when cross-compiling since we build up a local + hostpython, and pass CBUILD to the hostpython configure so it detects the + full name of the compiler. + + 10 Feb 2009; <neurogeek@gentoo.org> python-2.6-r5.ebuild, + python-2.6.1.ebuild: + Python 2.6 series. Added +xml use flag to standarize. + + 10 Feb 2009; <neurogeek@gentoo.org> python-2.5.2-r7.ebuild, + python-2.5.2-r8.ebuild, python-2.5.4-r2.ebuild: + Python 2.5 series. Added +xml use flag to standarize. + + 10 Feb 2009; <neurogeek@gentoo.org> python-2.4.4-r5.ebuild, + python-2.4.4-r6.ebuild, python-2.4.4-r14.ebuild, python-2.4.4-r15.ebuild: + Python 2.4.4 series. Added +xml use flag to standarize. + +*python-2.5.4-r2 (24 Jan 2009) + + 24 Jan 2009; Jesus Rivero <neurogeek@gentoo.org> -python-2.5.4-r1.ebuild, + +python-2.5.4-r2.ebuild: + Fixed line breaks errors in ebuild. Removed older version. Closes Bug + #255946. Thanks Walter and Steve for helping + +*python-2.5.4-r1 (22 Jan 2009) + + 22 Jan 2009; Jesus Rivero <neurogeek@gentoo.org> + files/python-2.5.2_turkish.patch, files/python-2.6_turkish.patch, + -python-2.5.4.ebuild, +python-2.5.4-r1.ebuild: + Rev bump. Patch bundle updated to fix turkish locale patch. Updated older + patches too and removed previous version. + +*python-2.5.4 (21 Jan 2009) + + 21 Jan 2009; Jesus Rivero <neurogeek@gentoo.org> +python-2.5.4.ebuild: + Version bump. Some of the patches used in previous versions are not + needed. + + 24 Dec 2008; Jesus Rivero <neurogeek@gentoo.org> python-2.6-r5.ebuild, + python-2.6.1.ebuild: + Added dev-python/python-docs:2.6 + +*python-2.6.1 (13 Dec 2008) + + 13 Dec 2008; Jesus Rivero <neurogeek@gentoo.org> + +files/python-2.6_turkish.patch, +python-2.6.1.ebuild: + Version bump + + 09 Dec 2008; Mike Frysinger <vapier@gentoo.org> python-2.5.2-r8.ebuild, + python-2.6-r5.ebuild: + Set expat to default to on. + + 08 Dec 2008; Mike Frysinger <vapier@gentoo.org> python-2.5.2-r8.ebuild, + python-2.6-r5.ebuild: + Make dev-libs/expat optional via USE=expat. + + 06 Dec 2008; Jesus Rivero <neurogeek@gentoo.org> + +files/python-2.5.2_turkish.patch, python-2.5.2-r8.ebuild: + Fixed support for tr_TR locale. Bug #250075. Thanks to Serkan + +*python-2.6-r5 (17 Nov 2008) + + 17 Nov 2008; <neurogeek@gentoo.org> -python-2.6-r4.ebuild, + +python-2.6-r5.ebuild: + Revision bump. Fixes Bug #219238. Removed older version + + 26 Oct 2008; Ali Polatel <hawking@gentoo.org> python-2.4.4-r5.ebuild, + python-2.4.4-r6.ebuild, python-2.4.4-r14.ebuild, python-2.4.4-r15.ebuild, + python-2.5.2-r7.ebuild, python-2.5.2-r8.ebuild: + Use python_{en,dis}able_pyc. + +*python-2.6-r4 (26 Oct 2008) + + 26 Oct 2008; Ali Polatel <hawking@gentoo.org> +python-2.6-r4.ebuild: + Revbump. Updated patchset to use PYTHONDONTWRITEBYTECODE instead of + PYTHON_DONT_COMPILE. + + 25 Oct 2008; Ali Polatel <hawking@gentoo.org> python-2.5.2-r7.ebuild, + python-2.5.2-r8.ebuild, python-2.6-r3.ebuild: + Nuke the useless bootstrap USE flag for >=python-2.5. Thanks to Arfrever. + +*python-2.6-r3 (25 Oct 2008) + + 25 Oct 2008; Ali Polatel <hawking@gentoo.org> -python-2.6-r2.ebuild, + +python-2.6-r3.ebuild: + Revbump. Bump eselect-python DEPEND to fix bug 240149. Don't install empty + directories. + +*python-2.6-r2 (07 Oct 2008) + + 07 Oct 2008; Ali Polatel <hawking@gentoo.org> -python-2.6-r1.ebuild, + +python-2.6-r2.ebuild: + Revbump. Bump to EAPI 2 and some minor fixes. Drop old. + +*python-2.6-r1 (06 Oct 2008) + + 06 Oct 2008; Ali Polatel <hawking@gentoo.org> -python-2.6.ebuild, + +python-2.6-r1.ebuild: + Revbump. Use use_with for threads, remove die from econf, use emake + instead of make, remove redundant python_mod_{cleanup,optimize}. Drop old. + +*python-2.6 (05 Oct 2008) + + 05 Oct 2008; Ali Polatel <hawking@gentoo.org> + +files/python-2.6-test-cross.patch, -python-2.5.2-r6.ebuild, + +python-2.6.ebuild: + Version bump. Drop old. + +*python-2.5.2-r8 (19 Sep 2008) +*python-2.4.4-r15 (19 Sep 2008) + + 19 Sep 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r15.ebuild, + +python-2.5.2-r8.ebuild: + Revbumps. Updated patchset to fix bug 238124. Install examples under + /usr/share/doc/$PF/examples. + + 17 Sep 2008; Brent Baude <ranger@gentoo.org> python-2.5.2-r7.ebuild: + stable ppc64, bug 236723 + + 14 Sep 2008; Sven Wegener <swegener@gentoo.org> python-2.5.2-r6.ebuild, + python-2.5.2-r7.ebuild: + Use correct sqlite module name, when disabling it. + + 12 Sep 2008; Raúl Porcel <armin76@gentoo.org> python-2.5.2-r7.ebuild: + alpha/ia64 stable wrt #236723 + + 12 Sep 2008; Ferris McCormick <fmccor@gentoo.org> python-2.5.2-r7.ebuild: + Sparc stable --- Bug #236723 --- tests all good. + + 11 Sep 2008; Markus Meier <maekke@gentoo.org> python-2.5.2-r7.ebuild: + amd64/x86 stable, bug #236723 + + 11 Sep 2008; Jeroen Roovers <jer@gentoo.org> python-2.5.2-r7.ebuild: + Stable for HPPA (bug #236723). + + 10 Sep 2008; Brent Baude <ranger@gentoo.org> python-2.5.2-r7.ebuild: + stable ppc, bug 236723 + + 19 Aug 2008; Ali Polatel <hawking@gentoo.org> -files/python-config-2.2, + -files/python-config-2.3, -files/python-2.3.6-disable-failing-tests.patch, + metadata.xml, -python-2.3.5-r2.ebuild, -python-2.3.5-r3.ebuild, + -python-2.3.6.ebuild, -python-2.3.6-r3.ebuild, -python-2.3.6-r6.ebuild, + -python-2.4.4-r13.ebuild, -python-2.5.2-r5.ebuild: + Drop python-2.3, drop old 2.4, 2.5 ebuilds. Add local use flag + descriptions to metadata.xml. + + 31 Jul 2008; Raúl Porcel <armin76@gentoo.org> python-2.5.2-r6.ebuild: + sparc stable + +*python-2.5.2-r7 (31 Jul 2008) + + 31 Jul 2008; Tiziano Müller <dev-zero@gentoo.org> + +python-2.5.2-r7.ebuild: + Added patches for bug #218378 (thanks to Duane Griffin) and bug #233312 + (thanks to Arfrever Frehtes Taifersar Arahesis). + +*python-2.5.2-r6 (31 Jul 2008) +*python-2.4.4-r14 (31 Jul 2008) + + 31 Jul 2008; Tiziano Müller <dev-zero@gentoo.org> + +python-2.4.4-r14.ebuild, +python-2.5.2-r6.ebuild: + Revision bump to fix bug #230640 (CVE-2008-2315, CVE-2008-2316) and bug + #232137 (CVE-2008-{3142,3143,3144}). + + 18 Jul 2008; Olivier Crête <tester@gentoo.org> python-2.5.2-r5.ebuild: + Stable on amd64, bug #178800 + + 18 Jul 2008; Jeroen Roovers <jer@gentoo.org> python-2.5.2-r5.ebuild: + Stable for HPPA (bug #178800). + + 17 Jul 2008; Tobias Klausmann <klausman@gentoo.org> + python-2.5.2-r5.ebuild: + Stable on alpha, bug #178800 + + 17 Jul 2008; Raúl Porcel <armin76@gentoo.org> python-2.5.2-r5.ebuild: + ia64/sparc stable wrt #178800 + + 17 Jul 2008; Christian Faulhammer <opfer@gentoo.org> + python-2.5.2-r5.ebuild: + stable x86, bug 178800 + + 16 Jul 2008; nixnut <nixnut@gentoo.org> python-2.5.2-r5.ebuild: + Stable on ppc wrt bug 178800 + + 09 Jul 2008; Markus Rothe <corsair@gentoo.org> python-2.5.2-r5.ebuild: + Stable on ppc64; bug #178800 + + 30 Jun 2008; Ali Polatel <hawking@gentoo.org> files/pydoc.conf, + files/pydoc.init: + Fixed files/pydoc* headers + +*python-2.5.2-r5 (24 Jun 2008) + + 24 Jun 2008; Ali Polatel <hawking@gentoo.org> -python-2.3.6-r4.ebuild, + -python-2.3.6-r5.ebuild, -python-2.4.4-r9.ebuild, + -python-2.4.4-r10.ebuild, -python-2.4.4-r11.ebuild, + -python-2.4.4-r12.ebuild, -python-2.5.2-r1.ebuild, + -python-2.5.2-r2.ebuild, -python-2.5.2-r3.ebuild, -python-2.5.2-r4.ebuild, + +python-2.5.2-r5.ebuild: + Revbump. Append -fwrapv to CFLAGS if we're using gcc-4, #228905. Updated + patchset to fix memory issues with unicode objects, #222481. Drop old. + + 20 Jun 2008; Ali Polatel <hawking@gentoo.org> python-2.5.2-r4.ebuild: + Fix bsddb dependency, bug 223133. Cosmetics + + 29 May 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r3.ebuild, + python-2.3.6-r4.ebuild, python-2.3.6-r5.ebuild, python-2.3.6-r6.ebuild, + python-2.4.4-r5.ebuild, python-2.4.4-r6.ebuild, python-2.4.4-r9.ebuild, + python-2.4.4-r10.ebuild, python-2.4.4-r11.ebuild, python-2.4.4-r12.ebuild, + python-2.4.4-r13.ebuild, python-2.5.2-r1.ebuild, python-2.5.2-r2.ebuild, + python-2.5.2-r3.ebuild, python-2.5.2-r4.ebuild: + Fix -x option passed to python_mod_optimize, thanks to Remy Blank, + #224137. + + 29 May 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r3.ebuild, + python-2.3.6-r4.ebuild, python-2.3.6-r5.ebuild, python-2.3.6-r6.ebuild, + python-2.4.4-r5.ebuild, python-2.4.4-r6.ebuild, python-2.4.4-r9.ebuild, + python-2.4.4-r10.ebuild, python-2.4.4-r11.ebuild, python-2.4.4-r12.ebuild, + python-2.4.4-r13.ebuild, python-2.5.2-r1.ebuild, python-2.5.2-r2.ebuild, + python-2.5.2-r3.ebuild, python-2.5.2-r4.ebuild: + python_mod_optimize is ROOT aware. + + 28 May 2008; Markus Meier <maekke@gentoo.org> python-2.3.6-r6.ebuild, + python-2.4.4-r13.ebuild: + amd64/x86 stable, security bug #216673 + + 27 May 2008; Markus Rothe <corsair@gentoo.org> python-2.3.6-r6.ebuild, + python-2.4.4-r13.ebuild: + Stable on ppc64; bug #216673 + + 26 May 2008; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.3.6-r6.ebuild, python-2.4.4-r13.ebuild: + ppc stable, bug #216673 + + 26 May 2008; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r6.ebuild, + python-2.4.4-r13.ebuild: + ia64/sparc stable wrt security #216673 + + 25 May 2008; Tobias Klausmann <klausman@gentoo.org> + python-2.3.6-r6.ebuild: + Stable on alpha, bug #216673 + + 25 May 2008; Tobias Klausmann <klausman@gentoo.org> + python-2.4.4-r13.ebuild: + Stable on alpha, bug #216673 + + 25 May 2008; Ali Polatel <hawking@gentoo.org> + +files/python-2.3.6-disable-failing-tests.patch, python-2.3.6-r6.ebuild, + python-2.4.4-r13.ebuild, python-2.5.2-r4.ebuild: + Added patch to disable failing test_bsddb test for 2.3. Disable test_pow + on alpha until upstream comes up with a fix. + + 24 May 2008; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r6.ebuild, + python-2.4.4-r13.ebuild: + Stable for HPPA (bug #216673). + +*python-2.5.2-r4 (21 May 2008) +*python-2.4.4-r13 (21 May 2008) +*python-2.3.6-r6 (21 May 2008) + + 21 May 2008; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r6.ebuild, + +python-2.4.4-r13.ebuild, +python-2.5.2-r4.ebuild: + Revision bumps. Don't build the imageop module on 32 bit as well, #216673. + + 13 May 2008; Ali Polatel <hawking@gentoo.org> python-2.4.4-r12.ebuild, + python-2.5.2-r3.ebuild: + Drop dev-python/python-fchksum from PDEPEND. It's not needed anymore. + +*python-2.5.2-r3 (13 May 2008) +*python-2.4.4-r12 (13 May 2008) + + 13 May 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r12.ebuild, + +python-2.5.2-r3.ebuild: + Revbumps. Updated CXXFLAGS patch so packages overriding + distutils.CCompiler._compile won't fail to build, #219238. Added patch to + fix executable stack for ctypes, thanks to Sandro Bonazzola, #218753. + Added patch to build with system expat, thanks to Diego, #178921. + +*python-2.5.2-r2 (19 Apr 2008) +*python-2.4.4-r11 (19 Apr 2008) + + 19 Apr 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r11.ebuild, + +python-2.5.2-r2.ebuild: + Revbumps. Updated patchset to fix compilation of extensions when CXXFLAGS + is unset. + +*python-2.5.2-r1 (18 Apr 2008) + + 18 Apr 2008; Ali Polatel <hawking@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, -python-2.3.6-r2.ebuild, + python-2.3.6-r3.ebuild, -python-2.4.4-r4.ebuild, python-2.4.4-r5.ebuild, + -python-2.4.4-r7.ebuild, -python-2.4.4-r8.ebuild, -python-2.5.1-r2.ebuild, + -python-2.5.1-r3.ebuild, -python-2.5.1-r4.ebuild, -python-2.5.1-r5.ebuild, + -python-2.5.2.ebuild, +python-2.5.2-r1.ebuild: + Revbump. Updated patchset. Backported upstream patch to make file objects + as thread safe as the underlying libc FILE* implementation. Backported + upstream patch fixing a bunch of infinite C recursions. Dropped old. + Quoting. + +*python-2.5.2 (18 Apr 2008) +*python-2.4.4-r10 (18 Apr 2008) +*python-2.3.6-r5 (18 Apr 2008) + + 18 Apr 2008; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r5.ebuild, + +python-2.4.4-r10.ebuild, +python-2.5.2.ebuild: + Version bumps. Updated patchsets to fix buffer overflow in zlib extension + (CVE-2008-1721) bug 217221 and unsafe PyString_FromStringAndSize(). Added + patch by Mark Peloquin for distutils to respect CXXFLAGS, bug 145206. Add + wininst USE flag to conditionally install MS Windows executables, bug + 198021. Use EAPI=1, rename nothreads and nocxx USE flags to threads and + cxx. + + 11 Mar 2008; Markus Rothe <corsair@gentoo.org> python-2.4.4-r9.ebuild: + Stable on ppc64; bug #211281 + + 11 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> python-2.4.4-r9.ebuild, + python-2.5.1-r5.ebuild: + Changed newinitd/newconfd for pydoc to install the init.d/conf.d scripts as + pydoc-2.x (aka don't break slotting) + + 06 Mar 2008; nixnut <nixnut@gentoo.org> python-2.4.4-r9.ebuild: + Stable on ppc wrt bug 211281 + + 03 Mar 2008; Christoph Mende <angelos@gentoo.org> python-2.4.4-r9.ebuild: + Stable on amd64, bug #211281 + + 03 Mar 2008; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r9.ebuild: + alpha/ia64/sparc/x86 stable wrt #211281 + + 03 Mar 2008; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r9.ebuild: + Stable for HPPA (bug #211281). + + 01 Mar 2008; Tiziano Müller <dev-zero@gentoo.org> +files/pydoc.conf, + +files/pydoc.init, python-2.4.4-r9.ebuild, python-2.5.1-r5.ebuild: + Added init.d/conf.d scripts for the integrated pydoc webserver (bug #59903, + thanks to compnerd). + +*python-2.4.4-r9 (16 Feb 2008) + + 16 Feb 2008; Christian Faulhammer <opfer@gentoo.org> + +python-2.4.4-r9.ebuild: + fix bug 179377, with a dependency adjustment to proper slots of sys-libs/db, + provided by Petr Pisar <petr DOT pisar AT atlas DOT cz> + + 25 Jan 2008; Markus Rothe <corsair@gentoo.org> python-2.3.6-r4.ebuild: + Stable on ppc64; bug #198373 + + 23 Jan 2008; Peter Weller <welp@gentoo.org> python-2.3.6-r4.ebuild: + Stable on amd64; bug 198373 + + 23 Jan 2008; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r4.ebuild: + alpha/ia64/sparc stable wrt security #198373 + + 23 Jan 2008; Christian Faulhammer <opfer@gentoo.org> + python-2.3.6-r4.ebuild: + stable x86, security bug 198373 + + 23 Jan 2008; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r4.ebuild: + Stable for HPPA (bug #198373). + + 23 Jan 2008; Brent Baude <ranger@gentoo.org> python-2.3.6-r4.ebuild: + Marking python-2.3.6-r4 ppc for bug 198373 + +*python-2.3.6-r4 (22 Jan 2008) + + 22 Jan 2008; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r4.ebuild: + Revision bump. New patchset for 2.3.6 including fixes for #198373 and #204343. + Changed berkdb DEPEND, quoting. + +*python-2.5.1-r5 (07 Jan 2008) +*python-2.4.4-r8 (07 Jan 2008) + + 07 Jan 2008; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r8.ebuild, + +python-2.5.1-r5.ebuild: + Revision bump(s). New patchsets for 2.4.4 and 2.5.1 wrt #204700 and #204343 + +*python-2.5.1-r4 (18 Nov 2007) +*python-2.4.4-r7 (18 Nov 2007) + + 18 Nov 2007; Ali Polatel <hawking@gentoo.org> +python-2.4.4-r7.ebuild, + +python-2.5.1-r4.ebuild: + revbump(s). don't install windows executables, bug 198021. updated patchset + to fix implicit dependency on openssl, bug 198398. fix quoting. + + 27 Oct 2007; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.3.6-r3.ebuild, python-2.4.4-r6.ebuild: + ppc stable, bug #192876 + + 26 Oct 2007; Ali Polatel <hawking@gentoo.org> python-2.4.4-r4.ebuild, + python-2.4.4-r5.ebuild, python-2.4.4-r6.ebuild: + Changed SRC_URI of python-gentoo-patches-2.4* to mirror://gentoo + + 25 Oct 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r6.ebuild: + Stable for HPPA (bug #192876). Fixed quoting issues. + + 25 Oct 2007; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r3.ebuild: + Stable for HPPA (bug #192876). + + 25 Oct 2007; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r3.ebuild, + python-2.4.4-r6.ebuild: + alpha/ia64/sparc stable wrt security #192876 + + 25 Oct 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.3.6-r3.ebuild, + python-2.4.4-r6.ebuild: + Marked stable on amd64 for bug #192876 + + 25 Oct 2007; Markus Rothe <corsair@gentoo.org> python-2.3.6-r3.ebuild, + python-2.4.4-r6.ebuild: + Stable on ppc64; bug #192876 + + 25 Oct 2007; Christian Faulhammer <opfer@gentoo.org> + python-2.3.6-r3.ebuild: + stable x86, security bug 192876 + + 25 Oct 2007; Christian Faulhammer <opfer@gentoo.org> + python-2.4.4-r6.ebuild: + stable x86, security bug 192876 + +*python-2.5.1-r3 (24 Oct 2007) +*python-2.4.4-r6 (24 Oct 2007) +*python-2.3.6-r3 (24 Oct 2007) + + 24 Oct 2007; Ali Polatel <hawking@gentoo.org> +python-2.3.6-r3.ebuild, + +python-2.4.4-r6.ebuild, +python-2.5.1-r3.ebuild: + revbump(s). fix imageop integer overflows (CVE-2007-4965), bug 192876 + + 26 Sep 2007; Joshua Kinard <kumba@gentoo.org> python-2.4.4-r5.ebuild: + Stable on mips, per #188029. + + 24 Sep 2007; Ali Polatel <hawking@gentoo.org> python-2.5.1-r2.ebuild: + don't set LINKCC, removed nocxx use flag. don't pass --with-cxx=no to + configure. bug 193190 + + 22 Sep 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r5.ebuild: + Stable for HPPA (bug #188029). + + 22 Sep 2007; Ferris McCormick <fmccor@gentoo.org> python-2.4.4-r5.ebuild: + Sparc stable --- Bug #188029 --- all tests pass and portage still works. + + 22 Sep 2007; Brent Baude <ranger@gentoo.org> ChangeLog: + MArking python-2.4.4-r5 ppc64 for bug 188029 + + 22 Sep 2007; nixnut <nixnut@gentoo.org> python-2.4.4-r5.ebuild: + Stable on ppc wrt bug 188029 + + 22 Sep 2007; Tom Gall <tgall@gentoo.org> python-2.4.4-r5.ebuild: + stable on ppc64 + + 21 Sep 2007; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r5.ebuild: + alpha/ia64 stable wrt #188029 + + 21 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org> + python-2.4.4-r5.ebuild: + Stable on x86 wrt bug #188029. + + 21 Sep 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r5.ebuild: + Marked stable on amd64 for bug #188029 + + 10 Sep 2007; Joel Martin <kanaka@gentoo.org> + +files/python-2.4.4-test-cross.patch, python-2.4.4-r4.ebuild, + python-2.4.4-r5.ebuild, python-2.5.1-r2.ebuild: + Fix cross-compile check and add small cross-compile patch to remove unicode + in one of the tests when cross-compiling. + + 08 Sep 2007; Zac Medico <zmedico@gentoo.org> + python-2.4.4-r4.ebuild, python-2.4.4-r5.ebuild: + Add build? ( !dev-python/pycrypto ) to RDEPEND in order to enforce + correct merge order for a stage building issue similar to bug #88777. + + 07 Sep 2007; Ali Polatel <hawking@gentoo.org> + -files/python-2.4.3-db4.patch, -files/python-2.4.3-gentoo_obsd.patch, + -files/python-2.4.3-gentoo_obsd-r1.patch, -python-2.4.3-r1.ebuild, + -python-2.4.3-r4.ebuild, -python-2.4.4.ebuild, -python-2.5-r2.ebuild: + Clean out old versions + + 03 Sep 2007; Zac Medico <zmedico@gentoo.org> python-2.4.4-r4.ebuild, + python-2.4.4-r5.ebuild, python-2.5-r2.ebuild, python-2.5.1-r2.ebuild: + Add build? ( !dev-python/python-fchksum ) to RDEPEND in order + to enforce correct merge order for bug #88777. + +*python-2.4.4-r5 (24 Aug 2007) + + 24 Aug 2007; Ali Polatel <hawking@gentoo.org> +files/python-config-2.4-r1, + +python-2.4.4-r5.ebuild: + Revision bump. Use python-config provided by python-2.5 with small changes + instead of our custom python-config-2.4. bug 188029 + + 20 Aug 2007; Roy Marples <uberlord@gentoo.org> python-2.5.1-r2.ebuild: + export LDFLAGS="-L." -> append-ldflags "-L.", #189298 + thanks to Arfrever Frehtes Taifersar Arahesis. + + 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r2.ebuild, + python-2.4.3-r1.ebuild, python-2.4.3-r4.ebuild, python-2.4.4.ebuild, + python-2.4.4-r4.ebuild, python-2.5-r2.ebuild, python-2.5.1-r2.ebuild: + (QA) RESTRICT clean up. + + 30 Jun 2007; Lars Weiler <pylon@gentoo.org> python-2.3.6-r2.ebuild, + python-2.5.1-r2.ebuild: + Keyworded ~ppc; bug #177426. + + 31 May 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml: + Remove myself as I'm retiring. + + 19 May 2007; Peter Weller <welp@gentoo.org> python-2.5.1-r2.ebuild: + Keyworded ~amd64 wrt bug 177426 + + 19 May 2007; Peter Weller <welp@gentoo.org> python-2.3.6-r2.ebuild: + Added ~amd64 to python-2.3.6-r2 + + 17 May 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml: + Mark myself as maintainer. + + 16 May 2007; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.4.4-r4.ebuild: + ppc stable, bug #177804 + + 16 May 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r4.ebuild: + Marked stable on amd64 for bug #177804 + + 14 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.3.6-r2.ebuild, python-2.5.1-r2.ebuild: + Keyworded ~sparc wrt #177426 + + 14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild: + Stable on Alpha and Mips. + + 14 May 2007; Daniel Gryniewicz <dang@gentoo.org> python-2.4.4-r4.ebuild: + Marked ~amd64 for bug #177804 + + 14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild: + Fix 2.4.4-r4 tests always being disabled. + + 14 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.4.4-r4.ebuild: + Stable on sparc wrt security #177804 + + 14 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r2.ebuild, + python-2.4.4-r4.ebuild, -python-2.5.1-r1.ebuild, python-2.5.1-r2.ebuild: + Fix small bug preventing tests from running, fix manpage symlinks (bug + 177471) and filter as-needed in python-2.3.6-r2 (bug 177614). + + 14 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r4.ebuild: + Stable for HPPA (bug #177804). + + 13 May 2007; Markus Rothe <corsair@gentoo.org> python-2.4.4-r4.ebuild: + Stable on ppc64; bug #177804 + + 12 May 2007; Roy Marples <uberlord@gentoo.org> python-2.4.4-r4.ebuild: + Added ~sparc-fbsd keyword. + + 12 May 2007; Raúl Porcel <armin76@gentoo.org> python-2.4.4-r4.ebuild: + ia64 + x86 stable wrt security bug #177804 + + 12 May 2007; Markus Rothe <corsair@gentoo.org> python-2.3.6-r2.ebuild, + python-2.4.4-r4.ebuild, python-2.5.1-r2.ebuild: + Added ~ppc64; bug #177426 + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.4.4-r4.ebuild, + python-2.5.1-r2.ebuild: + Add ~alpha and ~mips keywords. + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> + -python-2.1.3-r1.ebuild, -python-2.2.3-r6.ebuild: + More cleanups, this time removing <python-2.3. + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> + -python-2.3.6-r1.ebuild, -python-2.4.4-r2.ebuild, -python-2.4.4-r3.ebuild, + -python-2.5-r1.ebuild, -python-2.5.1.ebuild: + Clean out some old versions. + +*python-2.5.1-r2 (11 May 2007) +*python-2.4.4-r4 (11 May 2007) + + 11 May 2007; Bryan Østergaard <kloeri@gentoo.org> + +python-2.4.4-r4.ebuild, +python-2.5.1-r2.ebuild: + Only apply crosscompile patch conditionally, drop tests if crosscompiling + and fix PyLocale.strxfrm leak from bug 177804. srtxfrm from Debian bug + 416934 + +*python-2.5.1-r1 (10 May 2007) +*python-2.4.4-r3 (10 May 2007) +*python-2.3.6-r2 (10 May 2007) + + 10 May 2007; Bryan Østergaard <kloeri@gentoo.org> + +python-2.3.6-r2.ebuild, +python-2.4.4-r3.ebuild, +python-2.5.1-r1.ebuild: + Change threads USE flag to nothreads, fix non-linux linker issue and fix + man-page symlink. + + 08 May 2007; Roy Marples <uberlord@gentoo.org> python-2.5.1.ebuild: + Added ~sparc-fbsd keyword, #177426. + Added ~x86-fbsd keyword, #177426. + export LDFLAGS="-L." so we link modules correctly on FreeBSD and possibly + other systems where python2.5 isn't installed yet. + + 08 May 2007; Raúl Porcel <armin76@gentoo.org> python-2.3.6-r1.ebuild, + python-2.4.4-r2.ebuild, python-2.5.1.ebuild: + Add ~ia64 wrt 177426 + + 08 May 2007; Roy Marples <uberlord@gentoo.org> python-2.4.4-r2.ebuild: + Added ~x86-fbsd keyword, #177426. + + 08 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r1.ebuild, + python-2.4.4-r2.ebuild, python-2.5.1.ebuild: + Change nptl USE flag to threads. + + 08 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.5.1.ebuild: + Marked ~hppa (bug #177426). + + 07 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r2.ebuild: + Marked ~hppa (bug #177426). + + 07 May 2007; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r1.ebuild: + Marked ~hppa (bug #177426). + +*python-2.4.4-r2 (07 May 2007) + + 07 May 2007; Bryan Østergaard <kloeri@gentoo.org> + -python-2.4.4-r1.ebuild, +python-2.4.4-r2.ebuild: + Fix broken 2.4.4 patch causing wrong linking. + + 07 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> python-2.4.4.ebuild: + Stable on sparc + + 07 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6-r1.ebuild, + python-2.4.4.ebuild, python-2.4.4-r1.ebuild: + Fix 2.3.6-r1 patch (bug 177464) and disable sax test in 2.4.4. + + 07 May 2007; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.3.6-r1.ebuild, + python-2.4.3-r1.ebuild, python-2.4.3-r4.ebuild, python-2.4.4.ebuild, + python-2.4.4-r1.ebuild, python-2.5-r1.ebuild, python-2.5-r2.ebuild: + Stable on Alpha, IA64 and x86 + fix digest issue reported in bug 177440. + +*python-2.5.1 (06 May 2007) +*python-2.4.4-r1 (06 May 2007) +*python-2.3.6-r1 (06 May 2007) + + 06 May 2007; Bryan Østergaard <kloeri@gentoo.org> + +python-2.3.6-r1.ebuild, +python-2.4.4-r1.ebuild, +python-2.5.1.ebuild: + Build problems fixed: + bug 120099 dev-lang/python-2.4.2 builds against sys-libs/gdbm with USE="-gdbm" + bug 135239 crosscompiling python. python-2.4.1-bindir-libdir.patch + bug 138647 dev-lang/python-x.x.x distutils installer does not link libraries + bug 150595 dev-lang/python-2.5 fails to compile with LC_ALL=de_DE@euro + bug 150732 python-2.4.3-r4 does not honor ROOT + bug 159967 python doesn't add pthread to LIBS correctly on BSD + + Other problems fixed: + bug 148362 File collision between python-2.4* and python-2.5* + bug 151695 dev-python/python-docs env.d entry incorrect + bug 158383 emerging python-2.4.3-r4 segfaults with -ipv6 + bug 165268 dev-lang/python-2.4.4 fails to build the dbm module + + Test failures fixed: + bug 82469: QA issue: python-2.3.5-maketest failes with propolice + bug 124188 dev-lang/python-2.4.2 fails test_cookielib + bug 154247 dev-lang/python-2.4.4 tests failed: test_sax failed -- 1 of 42 tests failed: test_xmlgen_attr_escape + + Feature requests: + bug 131325 python 2.4.4/2.3.6 enable pthreads inconditionaly + bug 135617 dev-lang/python should install Tools/freeze + bug 176066 dev-lang/python-2.5.1 bump + + Fixed in current upstream version: + bug 90660 python-2.3.5: No module named fcntl + bug 144798 dev-lang/python-2.4.3 with TZ=Australia/Melbourne fails test + bug 151246 signed integer overflow bug in dev-lang/python-2.4.3 + bug 159553 dev-lang/python-2.4.3-r4 fails test_openpty + bug 162057 dev-lang/python fails tests in test_expanduser + +*python-2.5-r2 (31 Mar 2007) + + 31 Mar 2007; Marien Zwart <marienz@gentoo.org> +python-2.5-r2.ebuild: + Revision bump python 2.5 with distutils and execstack fixes (rebuilding + installed extensions is recommended if upgrading from an older python 2.5 + ebuild). Remove unnecessary pysqlite block. Fix python 2.3 digest problem. + + 06 Feb 2007; Marius Mauch <genone@gentoo.org> python-2.3.5-r2.ebuild, + python-2.3.5-r3.ebuild, python-2.3.6.ebuild, python-2.4.3-r1.ebuild, + python-2.4.3-r4.ebuild, python-2.4.4.ebuild, python-2.5-r1.ebuild: + Replacing einfo with elog + + 11 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.6.ebuild: + Fix lib64 patch, bug 154711. + +*python-2.3.6 (09 Nov 2006) + + 09 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> +python-2.3.6.ebuild: + Bump version, bug 153944. + +*python-2.4.4 (04 Nov 2006) + + 04 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> +python-2.4.4.ebuild: + Version bump. + + 18 Oct 2006; Roy Marples <uberlord@gentoo.org> python-2.4.3-r4.ebuild, + python-2.5-r1.ebuild: + Added ~sparc-fbsd keyword. + + 27 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable on ia64. + + 27 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable on Alpha. + + 27 Sep 2006; Joshua Jackson <tsunam@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable x86; bug #149065 + + 27 Sep 2006; Jason Wever <weeve@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable on SPARC wrt security bug #149065. + + 26 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.3.5-r3.ebuild, python-2.4.3-r4.ebuild: + Stable on hppa wrt security #149065 + + 26 Sep 2006; Simon Stelling <blubb@gentoo.org> python-2.3.5-r3.ebuild: + stable on amd64; bug 149065 + + 26 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.3.5-r3.ebuild, python-2.4.3-r4.ebuild: + ppc stable, bug #149065 + + 26 Sep 2006; Simon Stelling <blubb@gentoo.org> python-2.4.3-r4.ebuild: + stable on amd64; bug 149065 + + 26 Sep 2006; Markus Rothe <corsair@gentoo.org> python-2.3.5-r3.ebuild, + python-2.4.3-r4.ebuild: + Stable on ppc64; bug #149065 + +*python-2.4.3-r4 (26 Sep 2006) +*python-2.3.5-r3 (26 Sep 2006) + + 26 Sep 2006; Marien Zwart <marienz@gentoo.org> +python-2.3.5-r3.ebuild, + +python-2.4.3-r4.ebuild: + Revision bumps for bug #149065. + +*python-2.5-r1 (19 Sep 2006) + + 19 Sep 2006; Alastair Tse <liquidx@gentoo.org> python-2.5.ebuild + +python-2.5-r1.ebuild: + Fixed patches that still contain the zlib mistake from the 2.4 + patchset. Disabled etree tests. + +*python-2.5 (19 Sep 2006) + + 19 Sep 2006; Alastair Tse <liquidx@gentoo.org> -python-2.4.3-r2.ebuild, + +python-2.5.ebuild: + python 2.5 released. + +*python-2.4.3-r3 (28 Aug 2006) + + 28 Aug 2006; Alastair Tse <liquidx@gentoo.org> +python-2.4.3-r3.ebuild: + fix mistake introduced in 2.4.3-r2 where system zlib was used that caused + problems on certain machines (#145242) + +*python-2.4.3-r2 (26 Aug 2006) + + 26 Aug 2006; Alastair Tse <liquidx@gentoo.org> +python-2.4.3-r2.ebuild: + cleanup 2.4.3 ebuild, fix collisions with slotted versions of pydoc and + idle, fix multilib installs so that everything is installed in /usr/lib64 + rather than just the .so (#118805) + + 22 Aug 2006; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r6.ebuild, + python-2.3.5-r2.ebuild, -python-2.4.2.ebuild, -python-2.4.2-r1.ebuild, + -python-2.4.2-r2.ebuild, -python-2.4.3.ebuild, python-2.4.3-r1.ebuild: + renamed patches to have short names and version numbers to indicate when + they were introduced. patches tarballs are now generated from gentoo-svn. + cleaned up older unstable versions of python leaving the latest version for + each major release. fixed some installed file collisions between the two + version. + + 20 Jul 2006; Simon Stelling <blubb@gentoo.org> python-2.4.3-r1.ebuild: + stable on amd64 + + 11 Jul 2006; Alastair Tse <liquidx@gentoo.org> python-2.4.3-r1.ebuild: + python-2.2.3-r6.ebuild, python-2.3.5-r2.ebuild, python-2.4.2.ebuild, + python-2.4.2-r1.ebuild, python-2.4.2-r2.ebuild, python-2.4.3.ebuild, + python-2.4.3-r1.ebuild: + Typo fix in DESCRIPTION (#139463) + + 09 Jul 2006; Joshua Kinard <kumba@gentoo.org> python-2.4.3-r1.ebuild: + Marked stable on mips. + + 08 Jul 2006; Doug Goldstein <cardoe@gentoo.org> python-2.1.3-r1.ebuild, + python-2.2.3-r6.ebuild, python-2.3.5-r2.ebuild, python-2.4.2.ebuild, + python-2.4.2-r1.ebuild, python-2.4.2-r2.ebuild, python-2.4.3.ebuild, + python-2.4.3-r1.ebuild: + split USE='tcltk' to 'tcl' & 'tk' per bug #17808. Nuked X USE flag since it + was only to find tk from tcltk + + 30 Jun 2006; Joel Martin <kanaka@gentoo.org> python-2.4.3-r1.ebuild: + Cross-compile update: bindir-libdir patch is no longer needed and will break + the patching if it's there. Also, unset CC to force the native python build + to use the native compiler. + + 28 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org> + python-2.4.3-r1.ebuild: + ppc stable, #138268 + + 28 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.4.3-r1.ebuild: + Stable on sparc wrt #138268 + + 28 Jun 2006; Guy Martin <gmsoft@gentoo.org> python-2.4.3-r1.ebuild: + Stable on hppa. + + 28 Jun 2006; Markus Rothe <corsair@gentoo.org> python-2.4.3-r1.ebuild: + Stable on ppc64; bug #138268 + + 27 Jun 2006; Bryan Østergaard <kloeri@gentoo.org> python-2.4.3-r1.ebuild: + Stable on alpha, ia64 and x86. + +*python-2.4.3-r1 (04 May 2006) +*python-2.4.2-r2 (04 May 2006) + + 04 May 2006; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.4.2-gentoo_obsd-r1.patch, + +files/python-2.4.3-gentoo_obsd-r1.patch, +python-2.4.2-r2.ebuild, + +python-2.4.3-r1.ebuild: + Fix obsd patch (thanks reb) fixing bugs 117261 and 130140. + + 27 Apr 2006; Marien Zwart <marienz@gentoo.org> + files/digest-python-2.1.3-r1, files/digest-python-2.2.3-r6, Manifest: + Fixing SHA256 digest, pass four + + 14 Apr 2006; Bryan Østergaard <kloeri@gentoo.org + +files/python-2.4.2-gentoo_obsd.patch, + +files/python-2.4.3-gentoo_obsd.patch, python-2.4.2-r1.ebuild, + python-2.4.3.ebuild: + Add gentoo/obsd patch, bug 117261. + +*python-2.4.3 (13 Apr 2006) + + 13 Apr 2006; Bryan Østergaard <kloeri@gentoo.org + +files/python-2.4.3-db4.patch, +python-2.4.3.ebuild: + Version bump to 2.4.3. + + 30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> python-2.4.2-r1.ebuild: + Add ~x86-fbsd keyword. + + 16 Feb 2006; Marien Zwart <marienz@gentoo.org> + -files/python-2.2.3-db4.patch, + -files/python-2.2.3-disable_modules_and_ssl.patch, + -files/python-2.2.3-fPIC.patch, + -files/python-2.2.3-gentoo_py_dontcompile.patch, + -files/python-2.2.3-xmlrpc.patch, + -files/python-2.3.2-disable_modules_and_ssl.patch, + -files/python-2.3.4-lib64.patch, -files/python-2.3.5-st_flags.patch, + -files/python-2.3-add_portage_search_path.patch, + -files/python-2.3-add_portage_search_path_take_2.patch, + -files/python-2.3-db4.2.patch, + -files/python-2.3-gentoo_py_dontcompile.patch, + -files/python-2.3-mimetypes_apache.patch, -files/python-2.3-pcre.patch, + -files/python-2.3-readline.patch, -files/python-2.4.1-bindir-libdir.patch, + -files/python-2.4.1-crosscompile.patch, -files/python-2.4.1-db4.patch, + -files/python-2.4.1-libdir.patch, -files/python-2.4.1-st_flags.patch, + -files/python-2.4.2-mmap+fd.patch, -files/python-2.4.2-no-threads.patch, + -files/python-2.4.2-readline.patch, + -files/python-2.4-add_portage_search_path.patch, + -files/python-2.4-disable_modules_and_ssl.patch, + -files/python-2.4-gentoo_py_dontcompile.patch, + -files/python-2.4-mimetypes_apache.patch, python-2.2.3-r6.ebuild, + python-2.3.5-r2.ebuild, python-2.4.2.ebuild, python-2.4.2-r1.ebuild: + Move patches from files dir to separate tarballs. + + 16 Feb 2006; Marien Zwart <marienz@gentoo.org> -files/python-config-2.2.1, + -files/python-2.2.1-r5-gentoo.diff, -files/python-config-2.2.2, + -files/python-2.2.2-tk-8.4.x.patch, -files/python-2.3-xmlrpc.patch, + -files/python-2.4-db4.2.patch, -files/python-2.4-lib64.patch, + -files/python-2.4.1-readline.patch, -files/python-2.4-libdir.patch, + -files/python-2.4-readline.patch, -files/python-2.4-xmlrpc.patch, + -python-2.3.4-r1.ebuild, -python-2.3.5.ebuild, -python-2.3.5-r1.ebuild, + -python-2.4-r3.ebuild, -python-2.4.1.ebuild, -python-2.4.1-r1.ebuild: + Remove old versions. + + 08 Feb 2006; Marien Zwart <marienz@gentoo.org> python-2.3.5-r2.ebuild, + python-2.4.2.ebuild, python-2.4.2-r1.ebuild: + Disable confcache (breaks .so loading). + + 02 Feb 2006; Bryan Østergaard <kloeri@gentoo.org + +files/python-2.4.2-mmap+fd.patch: + Add missing python-2.4.2-mmap+fd.patch. + +*python-2.4.2-r1 (02 Feb 2006) + + 02 Feb 2006; Bryan Østergaard <kloeri@gentoo.org + +files/depreorder-topsort.py, +files/python-updater-r1, + +python-2.4.2-r1.ebuild: + No more libstdc++.so linking, fix python-updater ordering (bug #95538) + + mmap (bug #113439) and fd leak (bug #118575) fixes. + + 13 Jan 2006; Mike Frysinger <vapier@gentoo.org> + +files/python-2.4.2-no-threads.patch, python-2.4.2.ebuild: + Fix from upstream for building without threads. + + 24 Nov 2005; Markus Rothe <corsair@gentoo.org> python-2.4.2.ebuild: + Stable on ppc64 + + 17 Nov 2005; Guy Martin <gmsoft@gentoo.org> python-2.4-r3.ebuild, + python-2.4.1.ebuild, python-2.4.1-r1.ebuild, python-2.4.2.ebuild: + Readded critical fix for HPPA. + + 21 Oct 2005; Aaron Walker <ka0ttic@gentoo.org> python-2.4.2.ebuild: + Stable on mips. + + 15 Oct 2005; MATSUU Takuto <matsuu@gentoo.org> python-2.4.2.ebuild: + Stable on sh. + + 15 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> python-2.4.2.ebuild: + Stable on hppa, ppc. + + 14 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> python-2.4.2.ebuild: + Stable on sparc + + 14 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.2.ebuild: + Stable on alpha. + + 13 Oct 2005; Luis Medinas <metalgod@gentoo.org> python-2.4.2.ebuild: + Marked Stable on amd64. + + 13 Oct 2005; Aron Griffis <agriffis@gentoo.org> python-2.4.2.ebuild: + Mark 2.4.2 stable on ia64 + + 13 Oct 2005; Rob Cakebread <pythonhead@gentoo.org> python-2.4.2.ebuild: + Marked x86 stable per Mr_Bones_ - memory leak in posix.access() + + 10 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> + python-2.4.1-r1.ebuild: + Stable on sparc + + 10 Oct 2005; Luis Medinas <metalgod@gentoo.org> python-2.4.1-r1.ebuild: + Marked Stable on amd64. + + 10 Oct 2005; Markus Rothe <corsair@gentoo.org> python-2.4.1-r1.ebuild: + Stable on ppc64 + + 09 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> + python-2.4.1-r1.ebuild: + Stable on hppa, ppc. + + 08 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.1-r1.ebuild: + Stable python-2.4 on alpha, ia64 and x86. + + 01 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild, + python-2.4.1-r1.ebuild, python-2.4.2.ebuild: + Disable additional test, fixing bug 82469, 94859, 96366 and 96488. + +*python-2.4.2 (28 Sep 2005) + + 28 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.4.2-readline.patch, +python-2.4.2.ebuild: + Bump version to 2.4.2. + + 14 Sep 2005; Aaron Walker <ka0ttic@gentoo.org> python-2.3.5-r2.ebuild: + 2.3.5-r2 stable on mips for security bug #104009. + + 11 Sep 2005; Simon Stelling <blubb@gentoo.org> python-2.3.5-r2.ebuild: + stable on amd64 wrt bug 104009 + + 10 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> + python-2.3.5-r2.ebuild: + Stable on ppc and hppa. + + 10 Sep 2005; MATSUU Takuto <matsuu@gentoo.org> python-2.3.5-r2.ebuild: + Stable on sh. + + 09 Sep 2005; Josh Grebe <squash@gentoo.org> python-2.3.5-r2.ebuild: + Sparc stable bump for bug #104009 + + 09 Sep 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5-r2.ebuild: + Stable on ppc64 + + 08 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r2.ebuild: + Stable on x86, alpha and ia64 - bug 104009. + +*python-2.3.5-r2 (08 Sep 2005) + + 08 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.3-pcre.patch, +python-2.3.5-r2.ebuild: + Version bump to fix pcre security vulnerability, bug 104009. + + 16 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.4-r1.ebuild, + python-2.3.5.ebuild: + Add fix for bug 88777 to arch versions. + + 15 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5-r1.ebuild, + python-2.4.1-r1.ebuild: + Fix bug 88777 in ~arch versions. + + 11 Aug 2005; Mike Frysinger <vapier@gentoo.org> + +files/python-2.4.1-bindir-libdir.patch, + +files/python-2.4.1-crosscompile.patch, python-2.4.1-r1.ebuild: + Add support for cross-compiling. Grabbed patches from uClibc/OpenEmbedded. + + 19 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.4.1-st_flags.patch, python-2.4.1-r1.ebuild: + Update st_flags patch, bug 94637. + + 03 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild: + Stable on alpha. + + 27 Jun 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5.ebuild: + Stable on ppc64 + + 18 Jun 2005; Markus Rothe <corsair@gentoo.org> python-2.4.1-r1.ebuild: + added ~ppc64 + +*python-2.4.1-r1 (16 Jun 2005) +*python-2.3.5-r1 (16 Jun 2005) + + 16 Jun 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/python-2.3.5-st_flags.patch, +python-2.3.5-r1.ebuild, + +python-2.4.1-r1.ebuild: + Add st_flags patch, requested in bug 94637. + + 09 Jun 2005; Herbie Hopkins <herbs@gentoo.org> + files/python-2.4.1-libdir.patch, python-2.4.1.ebuild: + Fix libdir patch to work with amd64s no-symlink profile, removed + append-flags -fPIC as this seems to no longer be necessary. + + 29 May 2005; <solar@gentoo.org> python-2.3.4-r1.ebuild, python-2.3.5.ebuild, + python-2.4-r3.ebuild, python-2.4.1.ebuild: + echangelog - update package to use libc expanded variable elibc_uclibc vs + uclibc so USE=-* works + + 29 May 2005; Alastair Tse <liquidx@gentoo.org> + files/python-2.4.1-libdir.patch: + remove zlib from libpython dependency (#90545) + + 28 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.1.3-r1.ebuild, + python-2.2.3-r6.ebuild, python-2.3.4-r1.ebuild, python-2.3.5.ebuild, + python-2.4-r3.ebuild, python-2.4.1.ebuild: + Add missing inherit versionator. + + 21 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.1.3-r1.ebuild: + Fix PROVIDE according to bug 93028. + + 18 May 2005; Markus Rothe <corsair@gentoo.org> python-2.3.5.ebuild: + Added ~ppc64 to KEYWORDS + + 11 May 2005; Marcus D. Hanwell <cryos@gentoo.org> python-2.3.5.ebuild: + Stable on amd64. + + 07 May 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild, + python-2.4.1.ebuild: + Fix FEATURES=test using slightly modified patch by Rob Cakebread, bug 67970. + + 01 May 2005; Stephen Bennett <spb@gentoo.org> python-2.3.4-r1.ebuild, + python-2.3.5.ebuild, python-2.4.1.ebuild: + Added compile fix for when $LIBC is set. + + 30 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> python-2.3.5.ebuild: + Stable on ppc. + + 28 Apr 2005; Gustavo Zacarias <gustavoz@gentoo.org> python-2.3.5.ebuild: + Stable on sparc + +*python-2.4.1 (27 Apr 2005) + + 27 Apr 2005; Alastair Tse <liquidx@gentoo.org> + +files/python-2.4.1-db4.patch, +files/python-2.4.1-libdir.patch, + +files/python-2.4.1-readline.patch, files/python-2.4-readline.patch, + -python-2.3.3-r2.ebuild, python-2.3.5.ebuild, -python-2.4-r1.ebuild, + -python-2.4-r2.ebuild, +python-2.4.1.ebuild: + version bump for 2.4.1, clean up readling, db4 and libdir patch for 2.4.1. + + 20 Apr 2005; Alastair Tse <liquidx@gentoo.org> python-2.3.5.ebuild, + python-2.4-r3.ebuild: + reverting changes to deps and adding note about why they are arranged in + that way (to remind myself never to touch them again :) + + 20 Apr 2005; Alastair Tse <liquidx@gentoo.org> + +files/python-2.3-readline.patch, +files/python-2.4-readline.patch, + python-2.3.5.ebuild, python-2.4-r3.ebuild: + fixing readline support to not require termcap (#79013). fixed DEPEND + and RDEPEND order (python-fchksum isn't a DEPEND only) + + 08 Apr 2005; Markus Rothe <corsair@gentoo.org> python-2.3.4-r1.ebuild: + Stable on ppc64 + +*python-2.4-r3 (19 Mar 2005) + + 19 Mar 2005; Rob Cakebread <pythonhead@gentoo.org> + files/python-2.4-libdir.patch, +python-2.4-r3.ebuild: + Removed multiple dirs in sys path. bug# 83109 + + 15 Mar 2005; Alastair Tse <liquidx@gentoo.org> python-2.3.5.ebuild: + more multilib fixes (#76791) + + 01 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.5.ebuild, + python-2.4-r1.ebuild: + Fix conditional c++ support for remaining versions. + + 27 Feb 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.3.3-r2.ebuild, + python-2.3.4-r1.ebuild, python-2.4-r2.ebuild: + Disable c++ conditionally. + +*python-2.3.5 (17 Feb 2005) + + 17 Feb 2005; Rob Cakebread <pythonhead@gentoo.org> +python-2.3.5.ebuild: + Version bump. + + 09 Feb 2005; Luca Barbato <lu_zero@gentoo.org> python-2.3.4-r1.ebuild: + Marked ppc + +*python-2.4-r2 (07 Feb 2005) + + 07 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + +files/python-2.4-libdir.patch, files/python-updater, +python-2.4-r2.ebuild: + Multilib releated cleanup. + +*python-2.2.3-r6 (06 Feb 2005) + + 06 Feb 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/python-2.2.3-xmlrpc.patch, +files/python-2.3-xmlrpc.patch, + +files/python-2.4-xmlrpc.patch, -python-2.2.3-r5.ebuild, + +python-2.2.3-r6.ebuild, -python-2.3.3-r1.ebuild, +python-2.3.3-r2.ebuild, + -python-2.3.3.ebuild, +python-2.3.4-r1.ebuild, -python-2.3.4.ebuild, + +python-2.4-r1.ebuild, -python-2.4.ebuild: + Patches and version bumps for security bug# 80592 Python bug# PSF-2005-001 xmlrpc + vulnerability. Removed obsolete versions. + + 06 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> python-2.4.ebuild: + Fix broken Manifest. + + 05 Jan 2005; Rob Cakebread <pythonhead@gentoo.org> python-2.4.ebuild: + Only apply lib64 patch on CONF_LIBDIR == lib64 + + 04 Jan 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/python-2.4-lib64.patch, python-2.4.ebuild: + Added lib64 patch + +*python-2.4 (04 Jan 2005) + + 04 Jan 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/python-2.4-add_portage_search_path.patch, + +files/python-2.4-db4.2.patch, + +files/python-2.4-disable_modules_and_ssl.patch, + +files/python-2.4-gentoo_py_dontcompile.patch, + +files/python-2.4-mimetypes_apache.patch, files/python-updater, + +python-2.4.ebuild: + Version bump. bug# 68775 + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 06 Nov 2004; Joshua Kinard <kumba@gentoo.org> python-2.3.4.ebuild: + Marked stable on mips. + + 29 Oct 2004; Alastair Tse <liquidx@gentoo.org> files/python-updater: + improvements with tmp log creation with python-updater (#68843) + + 19 Oct 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.4.ebuild: + Stable on hppa. + + 19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> python-2.3.4.ebuild: + Stable on amd64. + + 19 Oct 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.4.ebuild: + fix problem with tk-inter and USE flags handing (grumble) + + 18 Oct 2004; Mike Frysinger <vapier@gentoo.org> python-2.3.3-r1.ebuild, + python-2.3.4.ebuild: + Forward part from 2.3.3-r1 the removal of directories in /usr/lib/python + based upon USE flags. + + 17 Oct 2004; Jason Wever <weeve@gentoo.org> python-2.3.4.ebuild: + Stable on sparc. + + 24 Sep 2004; Alastair Tse <liquidx@gentoo.org> -python-2.2.2.ebuild, + python-2.3.3-r1.ebuild, python-2.3.3.ebuild, python-2.3.4.ebuild, + -python-2.3.4_rc1.ebuild: + adding workaround for -fstack-protector-all (#50309) + + 06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> python-2.3.3-r1.ebuild, + python-2.3.3.ebuild, python-2.3.4.ebuild, python-2.3.4_rc1.ebuild: + Switch to use epause and ebeep, bug #62950 + + 31 Aug 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.4.ebuild: + Removed useless -fPIC for hppa. + + 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> python-2.3.4.ebuild: + stable on alpha + + 14 Aug 2004; Travis Tilley <lv@gentoo.org> +files/python-2.3.4-lib64.patch, + python-2.3.3-r1.ebuild, python-2.3.4.ebuild: + added logic for installing to /usr/lib64, triggered by the CONF_LIBDIR + variable. proper CONF_LIBDIR support will require portage 2.0.51_pre18, soon + to be released. + + 20 Jul 2004; Lars Weiler <pylon@gentoo.org> python-2.1.3-r1.ebuild: + Made python-2.1 stable on ppc as there are still some ebuilds which require + this version. + + 03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> python-2.3.3-r1.ebuild: + Stable on alpha. + + 03 Jul 2004; Grant Goodyear <g2boojum@gentoo.org> python-2.3.4.ebuild: + x86-obsd minor fix + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> + python-2.1.3-r1.ebuild, python-2.2.2.ebuild, python-2.2.3-r5.ebuild, + python-2.3.3-r1.ebuild, python-2.3.3.ebuild, python-2.3.4.ebuild, + python-2.3.4_rc1.ebuild: + virtual/glibc -> virtual/libc + + 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.2.ebuild, + python-2.2.3-r5.ebuild, python-2.3.3-r1.ebuild, python-2.3.3.ebuild, + python-2.3.4.ebuild, python-2.3.4_rc1.ebuild: + QA - fix use invocation and a bug in the 2.3.4 ebuilds: + [ -z "use X" -o -z "use tcltk" ] doesn't do what you meant it to do + + 20 Jun 2004; Gustavo Zacarias <gustavoz@gentoo.org> python-2.3.3-r1.ebuild: + Sparc happy stable + + 15 Jun 2004; <solar@gentoo.org> python-2.3.3-r1.ebuild: + USE= cleanups and added uclibc + + 12 Jun 2004; Tom Gall <tgall@gentoo.org> python-2.3.3-r1.ebuild: + stable on ppc64, bug #53575 + + 06 Jun 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild, + python-2.3.3-r1.ebuild, python-2.3.4.ebuild, python-2.3.4_rc1.ebuild: + Fix use invocation + +*python-2.3.4 (04 Jun 2004) + + 04 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> +python-2.3.4.ebuild: + Bump version. + + 02 Jun 2004; Travis Tilley <lv@gentoo.org> python-2.3.3-r1.ebuild: + stable on amd64 + + 30 May 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3-r1.ebuild: + Marked stable on hppa. + + 22 May 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3-r1.ebuild, + python-2.3.3.ebuild, python-2.3.4_rc1.ebuild: + Fix os.utime() on hppa. utimes it not supported but unfortunately reported as + working. + +*python-2.3.4_rc1 (15 May 2004) + + 15 May 2004; Joshua Kinard <kumba@gentoo.org> python-2.3.3-r1.ebuild, + python-2.3.4_rc1.ebuild: + Marking 2.3.3 stable on mips (someone yanked the ~mips keyword at some + point...), and 2.3.4 unstable. + + 27 Apr 2004; Michael McCabe <randy@gentoo.org> python-2.3.3-r1.ebuild: + Marked stable on s390 + +*python-2.3.3-r1 (12 Apr 2004) + + 12 Apr 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3-r1.ebuild, + files/python-2.3-add_portage_search_path_take_2.patch: + add workaround for python-2.2 to python-2.3 upgrade possibly breaking older + portage versions. make /usr/lib/portage/pym appear before + /usr/lib/python*/site-packages in sys.path (not really critical, but better be + safe than sorry). also removed c++ support to reduce gcc/glibc upgrade pain + + 11 Mar 2004; Alastair Tse <liquidx@gentoo.org> python-2.2.1-r5.ebuild: + removing 2.2.1 from tree for security reasons (#44230) + + 09 Mar 2004; <agriffis@gentoo.org> python-2.3.3.ebuild: + stable on alpha and ia64 + + 05 Mar 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + added X useflag for greater tcltk seperation. now needs both X and tcltk USE + flags to enable tkinter support + + 03 Mar 2004; David Holm <dholm@gentoo.org> python-2.1.3-r1.ebuild: + Added to ~ppc. + + 27 Feb 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + completely removed pkg_setup(), added note at the top of the ebuild where you + can't miss it. + + 27 Feb 2004; Jason Stubbs <jstubbs@gentoo.org> python-2.3.3.ebuild: + Removing portage version check again as it's preventing new installations. + Bug #43036 + + 25 Feb 2004; Bryan Østergaard,,, <kloeri@gentoo.org> python-2.3.3.ebuild: + Reinstating portage version check as people keep upgrading python without + upgrading portage. + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> python-2.1.3-r1.ebuild: + Fix duplicate KEYWORDS settings and mark stable on alpha and ia64 for the sake + of dev-python/PyXML-py21 + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> python-2.1.3-r1.ebuild: + add ~alpha for the sake of dev-python/Imaging-py21 + + 10 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org> python-2.3.3.ebuild: + set ppc in keywords + + 10 Feb 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild, + files/python-2.3-db4.2.patch: + add fix to make python-2.3.3 db-4.2 (gentoo flavour) aware + + 06 Feb 2004; <gustavoz@gentoo.org> python-2.3.3.ebuild: + Stable on sparc + + 03 Feb 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3.ebuild : + Marked stable on hppa. + + 02 Feb 2004; Alastair Tse <liquidx@gentoo.org> files/depreorder.py: + update python-updater thanks to a well spotted mistake by Chris Bainbridge + <chrb@dcs.ed.ac.uk> (#40198) + + 27 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + disabling pkg_setup again after testing with stage2 + + 26 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + re-instating pkg_setup() warning/abort message. added apache mime.types to + mime type search list. modified to use tar.bz2 (saves 1MB of downloads) + + 24 Jan 2004; Guy Martin <gmsoft@gentoo.org> python-2.3.3.ebuild: + Added ~hppa to KEYWORDS. + + 24 Jan 2004; <gustavoz@gentoo.org> python-2.3.3.ebuild: + keyworded ~sparc + + 24 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + add missing doc IUSE (#39232) + + 22 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild, + files/depreorder.py: + updated python-updater for portage-2.0.50, installed python-updater in + /usr/sbin for convienence + + 19 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild, + python-2.3.3.ebuild: + disable portage check because stable portage already is compatible with + python-2.3 + + 18 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.3.ebuild: + make ROOT var more robust during postinst() + + 12 Jan 2004; Luca Barbato <lu_zero@gentoo.org> python-2.2.3-r5.ebuild: + Marked ppc + + 06 Jan 2004; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild: + Stable on ia64 to enable fix for bug 36954; portage-2.0.49-r20 depends on + this revision. + + 03 Jan 2004; Jason Wever <weeve@gentoo.org> python-2.2.3-r5.ebuild: + Marked stable on sparc as portage-2.0.49-r20 really depends on this version of + python rather than what the portage ebuild says. Fixes bug #36954 on sparc. + +*python-2.3.3 (03 Jan 2004) + + 03 Jan 2004; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild, + python-2.3.3.ebuild, files/python-2.3.2-disable_modules_and_ssl.patch: + version bump to 2.3.3, re-add python disable_modules_and_ssl patch and changed + ebuild to build 'socket' module under USE=build + + 28 Dec 2003; Joshua Kinard <kumba@gentoo.org> python-2.2.3-r5.ebuild: + Move to mips stable (~mips -> mips) + + 24 Dec 2003; Sven Blumenstein <bazik@gentoo.org> python-2.3.2-r2.ebuild, + files/python-2.3.2-disable_modules_and_ssl.patch: + Removed python-2.3.2-disable_modules_and_ssl.patch as + it broke python and caused 'ImportError: No module named _socket'. + More info: http://article.gmane.org/gmane.linux.gentoo.devel/14621 + + 14 Dec 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.3-r5.ebuild: + Marked stable on hppa. + + 13 Dec 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild: + clarified warning to prevent more bug reports + + 13 Dec 2003; Luca Barbato <lu_zero@gentoo.org> python-2.3.2-r2.ebuild: + Marked ~ppc + + 08 Dec 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild, + python-2.3.2-r2.ebuild: + fix python .pyc .pyo cleaning code + + 03 Dec 2003; Aron Griffis <agriffis@gentoo.org> python-2.2.3-r5.ebuild: + Stable on alpha + + 27 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> python-2.2.3-r5.ebuild: + Make -fPIC compilation available for all platforms and not just amd64. + + 25 Nov 2003; Brad House <brad_mssw@gentoo.org> python-2.2.3-r5.ebuild: + mark stable on amd64 + + 23 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild: + add pkg_setup() to 2.3 as a temporary measure to stop people messing up their + own system. Also added a ucs2 local useflag just in case someone complains + loudly and knows what they're doing + +*python-2.3.2-r2 (22 Nov 2003) + + 22 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r2.ebuild, + files/python-updater: + ucs4 is now default. if you previously had python-2.3 merged, you'll need to + update your packages again. (sorry, that is the price for running p.mask'ed + versions). to update your python packages if you had python-2.3 installed, + run : + + /usr/portage/dev-lang/python/files/python-updater -o 2.3 + + if you are upgrading from python-2.2, then you will need to run: + + /usr/portage/dev-lang/python/files/python-updater + + python-updater script also modified to have more robust command-line + parsing. hopefully this will be the last revision till we can go ~x86. + + 13 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild: + fix python-config install for python-2.3 + + 12 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild, + python-2.2.3-r2.ebuild, python-2.2.3-r3.ebuild, python-2.2.3-r4.ebuild, + python-2.3.2-r1.ebuild, python-2.3.2.ebuild, files/python-updater: + cleanup and add warning on python-updated or PORTDIR is not set + + 12 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> python-2.2.3-r5.ebuild : + Add a patch that adds CFLAGSFORSHARED variable to some extra modules defined in the Makefile. + This variable could hold -fPIC so that the compiled libraries will work on amd64 (and maybe others) + without using append-flags -fPIC. + + 03 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild, + python-2.3.2-r1.ebuild: + added ncurses and ssl to IUSE + + 03 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild: + export environment in src_install() + + 01 Nov 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild, + python-2.3.2-r1.ebuild, files/python-2.2.3-disable_modules_and_ssl.patch, + files/python-2.3.2-disable_modules_and_ssl.patch: + reordered deps to allow minimal python build for USE='build'. makes python + respect useflags explicitly even if the dependency exists. added support to + disable SSL. tweaked python_mod_optimize. + +*python-2.2.3-r5 (27 Oct 2003) + + 27 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r5.ebuild, + files/python-2.2.3-db4.patch: + rev bump. fixes to idle.py and bsddb with db-4.1 for 2.2.3 + + 26 Oct 2003; Rob Cakebread <pythonhead@gentoo.org> python-2.2.3-r4.ebuild: + Fixed symlink to idle.py + +*python-2.2.3-r4 (22 Oct 2003) + + 22 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r4.ebuild, + files/python-2.2.3-gentoo_py_dontcompile.patch: + Fixed PYTHON_DONTCOMPILE patch for 2.2.3 thanks to TGL + <degrenier@easyconnect.fr> (#31730) + +*python-2.2.3-r3 (17 Oct 2003) + + 17 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r3.ebuild, + files/python-2.2.3-db4.patch, + files/python-2.2.3-gentoo_py_dontcompile.patch, files/python-updater: + Add support for db-4.1, fixes for ewarn hanging for python-updater + + 14 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r3.ebuild: + new 2.2.3 version that adds PYTHON_DONTCOMPILE support + + 10 Oct 2003; Alastair Tse <liquidx@gentoo.org> files/python-updater: + fix typo in python-updater + + 09 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild, + files/depreorder.py, files/python-2.2.3-gentoo_py_dontcompile.patch, + files/python-updater: + improved byte-compiling, fixed out-of-order python-updater and added + sys-apps/portage to exclusions + + 09 Oct 2003; <tuxus@gentoo.org> python-2.2.3-r1.ebuild: + stable on mips + +*python-2.3.2-r1 (08 Oct 2003) + + 08 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.3.2-r1.ebuild, + files/python-2.3-gentoo_py_dontcompile.patch: + add patch to stop automatic generation of .pyc and .pyo by setting + PYTHON_DONTCOMPILE in your environment. also moved to use the new python + eclass to automatically optimize and cleanup compiled modules. + +*python-2.3.2 (07 Oct 2003) + + 07 Oct 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r2.ebuild, + python-2.3.2.ebuild, files/python-2.2.3-db4.patch, + files/python-2.3-add_portage_search_path.patch, files/python-config-2.3, + files/python-updater: + it has been a long time coming, but finally there's a 2.3.x release in portage + along with a python-2.2.3 update that should fix some niggling issues and also + uses the new alternative class. 2.3.2 is still masked and should stay that way + until we can confirm the rebuilding script works. + + 03 Oct 2003; Alexander Gabert <pappy@gentoo.org> python-2.2.3-r1.ebuild: + filter-flags because of segfaulting with fstackprotector in CFLAGS + + 23 Sep 2003; Bartosch Pixa <darkspecter@gentoo.org> python-2.2.3-r1.ebuild: + set ppc in keywords + + 17 Sep 2003; Jon Portnoy <avenj@gentoo.org> python-2.2.3-r1.ebuild : + ia64 keywords. + + 16 Jul 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r1.ebuild, + python-2.2.3.ebuild: + marked 2.2.3 stable for x86 + + 13 Jul 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.3-r1.ebuild: + add doc useflag to install python documentation. (#24318) + +*python-2.2.3-r1 (03 Jul 2003) + + 23 Jul 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.3-r1.ebuild : + Marked stable on hppa. + + 03 Jul 2003; Alastair Tse <liquidx@gentoo.org> metadata.xml, + python-2.2.3-r1.ebuild: + added db4 support and enabled threads (pthread) support + +*python-2.2.3 (02 Jun 2003) + + 06 Jul 2003; Joshua Kinard <kumba@gentoo.org> python-2.2.3.ebuild: + Changed ~mips to mips in KEYWORDS + + 01 Jul 2003; Todd Sunderlin <todd@gentoo.org> python-2.2.3.ebuild: + set stable on sparc + + 02 Jun 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild, + python-2.2.3.ebuild, files/python-config-2.2: + version bump to new bugfix release. fixed python-config location for unstable + versions + +*python-2.2.2-r1 (08 May 2003) + + 08 May 2003; Alastair Tse <liquidx@gentoo.org> python-2.2.2-r1.ebuild, + files/python-2.2.2-tk-8.4.x.patch: + backported patch to fix tk-8.4.x problems (#20318) + + 23 Feb 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.2.ebuild : + Added -fPIC to CFLAGS on hppa. It's needed by apps linking to some python libs. + + 21 Feb 2003; Zach Welch <zwelch@gentoo.org> python-2.2.2.ebuild : + Added arm to keywords. + + 07 Feb 2003; Guy Martin <gmsoft@gentoo.org> python-2.2.2.ebuild : + Added hppa to keywords. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 29 Nov 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : + + Added missing python-config for 2.2.2. + +*python-2.2.2 (20 Oct 2002) + + 07 Jan 2003; Jan Seidel <tuxus@gentoo.org> python-2.2.2.ebuild : + Added mips to keywords + + 20 Oct 2002; Jon Nelson <jnelson@gentoo.org> : + 2.2.2 is released + +*python-2.2.1-r5 (03 Oct 2002) + + 15 Oct 2002; Martin Schlemmer <azarah@gentoo.org> : + Fix the sed on /usr/lib/python<ver>/config/Makefile to change + OPT to 'OPT = -DNDEBUG', and not 'OPT = -NDEBUG' which caused + gcc warnings. + + 03 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> : + Security update. + +*python-2.2.1-r4 (7 Sep 2002) + 7 Sep 2002; Nicholas Jones <carpaski@gentoo.org> python-2.2.1-r4.ebuild + Fix for bug #7641 -- Fixes the OPT flags in Makefile so that gcc + isn't confused by conflicting build types of i386 and user set. + +*python-2.2.1-r3 (2 Sep 2002) + 2 Sep 2002; Jon Nelson <jnelson@gentoo.org> python-2.2.1-r3.ebuild + Filter -malign-double from flags + +*python-2.1.3-r1 (2 Jul 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org> python-2.1.3-r1.ebuild + Added missing KEYWORDS + + 2 Jul 2002; Jon Nelson <jnelson@gentoo.org> python-2.1.3-r1.ebuild: + Fix Makefile.pre.in install (the one we want is located in Misc) + +*python-2.1.3 (1 Jul 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org> python-2.1.3.ebuild + Added missing KEYWORDS + + 1 Jul 2002; Jon Nelson <jnelson@gentoo.org>: python-2.1.3.ebuild + This is a python 2.1.3 ebuild that does *not* conflict with + python 2.2.* + Note that 99.9% of the people out there won't use it anyway, + because 2.2 will always be selected as most recent. ;-) + +*python-2.2.1-r2 (1 Jul 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1-r2.ebuild + Added missing KEYWORDS + + 30 Jun 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1-r2.ebuild + Add "-lm" to the python-config script. Closes bug #4217. + 2.2.1-r2 has a 100% identical ebuild file to 2.2.1-r1, just the + python-config file has changed. + +*python-2.2.1-r1 (29 May 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1-r1.ebuild + Added missing KEYWORDS + + 29 May 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1-r1.ebuild + Add expat to build depends (except during bootstrap), use econf + and emake, and don't mess with Modules/Setup.local because modules + are build as shared on Linux as default. + +*python-2.2.1 (2 May 2002) + + 20 Jul 2002; Doug Goldstein <cardoe@gentoo.org>: python-2.2.1.ebuild + Added missing KEYWORDS + + 2 May 2002; Jon Nelson <jnelson@gentoo.org>: python-2.2.1.ebuild + Update to 2.2.1, and completely re-vamp build procedure + This should solve several build issues. + +*python-2.2-r7 (29 Apr 2002) + + 29 Apr 2002; Daniel Robbins <drobbins@gentoo.org>: New rev to fix bug #2199; + python-config should now work properly. + +*python-2.2-r6 (24 Apr 2002) + + 24 Apr 2002; Jon Nelson <jnelson@gentoo.org> python-2.2-r6.ebuild : Make + python build with shared modules. Depends on python-fchksum, as fchksum *no + longer built in* + +*python-2.2-r5 (8 Apr 2002) + + 8 Apr 2002; Jared H. Hudson <jhhudso@gentoo.org> python-2.2-r5.ebuild : + + Added include flag for compilation of tcltk with python to compile + correctly. + + -------- + + 06 Apr 2002; Daniel Robbins <drobbins@gentoo.org> : the 2.2-r4 ebuild now + disables C++ support if we are creating a new build image (since we have no + C++ in that case). + + 30 Mar 2002; Daniel Robbins <drobbins@gentoo.org> : changed PROVIDE from + virtual/python-2.2 to virtual/python. No rev bump. + +*python-2.2-r4 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest new file mode 100644 index 0000000..3758a69 --- /dev/null +++ b/dev-lang/python/Manifest @@ -0,0 +1,27 @@ +AUX CVE-2013-4238_py26.patch 15853 SHA256 3a5ae8d666cf443cf632328e86f111b9c1de163109e1f8396483a80c6c61cc8f SHA512 92c14206b20684cac0b7744113e1f325714663d086e1e3a483797f989dc796df62d224e1aedbb2b81170d8d9a1b63d3712e710b21dd6c8cce9a1e955c3d23f3d WHIRLPOOL f699488846e2a7fb9a840b910c6d45574b53ec4f8606bc4b1f96d8ef2825b4896df7352d5fcb274428e3d7f7f2151825288e93c3b703942c4baeb313a3c38ec6 +AUX CVE-2013-4238_py27.patch 11591 SHA256 050cc2d4b9d588f2587010a30819591e02130fde90594782993a39c945c1559b SHA512 f9b1d0573bc7175b8fe6bdd8b6777a376cd717a594a14a6ddb334e0107596b0fbfbfe8a0c1743a0da54ce8ac8905cb7385aa2ae26698272f679763542c13e7e2 WHIRLPOOL bbf89edb2e3620aae3f54e80feba98d75fa566594b2e71e88b75c22036201a2692a77daf56080f4413612edf159f4282f5494a0a5dd11b350bcde248ef51f139 +AUX CVE-2013-4238_py33.patch 11437 SHA256 e4f78490fc247df9d1133dc9f2deec47b1c582c4af1c8e93bd503d889c9eb716 SHA512 d1f1b64c46056f178b89abfe61c7c653afc0ed67cf9a8ef8c981d1cf6a1c389cb20bd354cac3a30c1241e6fe24a49e165527571276c1f8afb55989f5f069ba00 WHIRLPOOL e5889b6be0a2db7ec45ff8cbe9fa8481c6c69b25091b62635d2ff595ef5d0b1136485f7adb04f4c0c97402edfd9d915d4fd05e2b6bf1942497d81de1b1cefdce +AUX pydoc.conf 279 SHA256 6437e85d16d34efaf2665b3cabb0707392e6dee3df04989d3fcac63fd22997e8 SHA512 2d552b6262fa4c7cd75f45d93b8a2657eb9154decbc08f9b73d2e67e1d84367b498f8556fbba20f7b57414281cfd673fff607da3c688c1d6bb9842e92cf0c32a WHIRLPOOL 1ba44797765939d7c0bcbecb08cb6201eeff9b134d4d3caef9339729dcad9f258e20b16db5f369f49b378df3c91e530115dbce5ce3595d71cd325a48793ac814 +AUX pydoc.init 741 SHA256 913be80dea585dd161d2fd439f56a358f148853d8305cb0dbf113c91eb1643f5 SHA512 9806c6ecf55f51b74b7cf4088c22043838cee8e8192b0bd33289c80ca86f96469bcef7ad110f654505109aa325fcfcc4e54e9494c8dccef13447d12c89f00152 WHIRLPOOL 73d5e45039bc054ed5217503b0ef3d96fc8701e2c0a69342118c0e5a89949a5afb2228827e97a654868f916620578a4a8fd2fba2dc60c6850c3f61affc0dfa28 +AUX python-2.5-tcl86.patch 615 SHA256 cc649fbd471c7e348fc64f3844d9f4e1aab604cb3a028c9fb2cc58ba816b7bda SHA512 dca5eaff3ba981d699805c310dba0a7412ab2b856256ef25e41eb49e1441c382f868406ddce04a1e9768ccfacab1fb39e5e7a320f4ca6884a51583ca61a77dc8 WHIRLPOOL 515f1a5a163d4b34adff2b8e10e43c83f9575f185391440cf89155076b0399d3c5249e5a8741894d94092af4c5271c125b032bbc76c9e4e6f6d94f26133e5672 +AUX python-2.7-issue16248.patch 735 SHA256 ed137a0ab513e6d9c910e37f637aef2d58fb730070e447572f39d46d9cc99568 SHA512 da00f8571741d4cfb529b9db875b5d831d5d8e43fdc464bc43adee046f208165ab6b13d671bc90be988b1099afeac4fc0e7ba7fa473ff74a9ec7731da89e11a9 WHIRLPOOL ad770b848666efb5cc3b8c07a530f2a9aaca683f4b447c2d835e39be59a5dde35a28ab8cdb278ecf456e15e57b7401ff83fb04ac71bd8d80abc19d45beb84d62 +AUX python-2.7-issue18851.patch 11805 SHA256 4ecff8db20cdc4d9b0692a126859c318a9ba20bf1eff6e633c964871b2410d66 SHA512 b1eeec1451d011f37c65676819bf8391b9657d93a0b9f03d0db09956ef052fa3f2d922d1d5fc3c69567f549aa86f65a06670dcf3ead8300c0ac97651f9a503cd WHIRLPOOL b4b51d590175959df1f8373ff86343618b4474ea9afc2ef9360c680c986f30fa8f432eeb076de676cb87052cc6453a2b613dfaab51ab1ec5945a7c7c496a4f9f +AUX python-2.7.5-library-path.patch 991 SHA256 ff7a4a1846ebcadc2dbf979ea619072caac22e47909fe188fc4b6becce6ea2eb SHA512 74916d541eb38c526dc1243fe5e5a9de3a7875f02c53e5f49e60182ba042de2f15514364e7fbd821146dcf92db2bba88d8a9f46d4c71237b73fd39cbabf93d85 WHIRLPOOL 62bb1c85941ccaac7ca6f6fb2d93dc27f206cf9f815b90ef1f89748dfdd1d38deda9f6bf7eb2ce9fd8635d1a77576819192e8049ec5de52fdeb9f981dfb32f9f +AUX python-2.7.5-nonfatal-compileall.patch 750 SHA256 3f5a137602f1b3f0522f561c168a740f0080b29c2c888cb3a8dbbcc4407c2d9e SHA512 d2e93e2a6fcd55d516df0ddaca31af97faed677ea6b4be282eb99e7864f8a7399b5ca11139844a4b3c264832183483b0f4c8c9865c05de0e8520e6d2c8f1dbc6 WHIRLPOOL ab576e3a4e67f881d6d5c705503230ace125fe94d907d7f69bb573dd492070b8b34078a2b1205f315eb45244fbae8855c0f15ce35158f1d356f1bd4acf83b3c2 +AUX python-2.7.5-re_unsigned_ptrdiff.patch 941 SHA256 5b0c0465a23d27e1c8f0961a8d88b3af75fbc9933ab60c2a71091720a3681079 SHA512 d46fbbc8411fae78cdfca2564faca42f32bb95ee348b9aa3fd1ca90b346cc52cd468945cee07e6df4dff46c10cee6856a58004f8e453960f6dca2751c077802b WHIRLPOOL 10bb08242dd9a055f6bdaf3eb1546786b58f180667c6355ea7276114cbac0ffba6c34822add7965fe3b5d41cc92ce8ec45e2d1d56377d8a6aa2755ef4267d101 +AUX python-3.2-CVE-2013-2099.patch 2102 SHA256 76a89951e7efcf14d37e30e0104446429ca121c68cbb1753ec362a177c1b5a54 SHA512 03d2a09fe730bf8c94df1eb10f8bac37a31a28dfb45b7d49abe1c3ffe26ca948f8d00eb58319d34102f8a747a038d447d3507b11c051c778c42ae21ac1066c8e WHIRLPOOL 3cd701c606ef1f4f557d1d250af41a860a6a5c4b6d9ff9a9f469ab6974f13e1205d2c4c791e9bd353fd4ff726f6cbf979f9a3927b83b04af5128c1aea7070496 +AUX python-3.2-issue16248.patch 738 SHA256 b5e94ead2622f355d733232dcfdac4dab53889aab12980fa1e4496c296191e77 SHA512 6fcf3d4cf05e41758a6d51ad9cc25ce9fcd1d33854f096b599811a07ef6b7f0cc4f178c4db6b15c5c9ee86eb53fcc736fede0dfb4eae81ca429d0fad62d84db9 WHIRLPOOL dd620bdce394a74910f4deed50b8bcd2b5d6b61af1e2e225a7c36fe4f293560fe1237a2111a4a4a334dfd1272fa4b7faf6289b2a018864c4f154c8a8a8b85c5c +AUX python-3.3-CVE-2013-2099.patch 2102 SHA256 d5ccc8de43a176d9d16c3a7be58d32dcf3c952147d8866f84dffcd8fa66f6396 SHA512 a8e2c8fd3d3c3924acb856e89b6dc6965c887688e4c7d078c27abacfaf6b33b12484d86942b75643f28e4a14a465e2ec6a30fe53acf2ab036ae667fb7f76d737 WHIRLPOOL c02bd815d5143b6a916a91f40bb7971f1be188e836ab6095a5befd6410545acba0d44b4b0a75a5f7e7d84105018c0ef27887eefdcd883c73e68f872bb4138e35 +AUX python-config-2.4-r1 1624 SHA256 923a9e896f99cca5aa4ccbb02f981c6e26a2b1aa42326de2359d3c884bde2a9f SHA512 f8a0e12bed93385b3dddfa64a416ff4a560ec1b12c6c4a0dd715a2c804a43b6a292f0fe13e28d7828d4c4d620cde9dd7eab6a3423216786917ea6f51856ff53c WHIRLPOOL f2fe759b05ac0eb3b8dd196b0c68b8b8e0145ab79659eb4a45adee1bf7ae7260f457ae6192b9792990babd59cb98cceec05a8d93a50a3203517fe49ec30f5e0e +DIST Python-2.7.6.tar.xz 10431288 SHA256 1fd68e81f8bf7386ff239b7faee9ba387129d2cf34eab13350bd8503a0bff6a1 SHA512 e56e6cdd96ff7bcb680d11ad606c00f4264e413fc43ba7605b2d2e4a743fd6e464cbedabf18b461f742102e936f45d840302a99665b5f988b1df08b25285c238 WHIRLPOOL 3b83106e89c96d2227573595bd96c868e6ece7fb04fda0aa22c8d3249af99cedebcd224ec8ae788eabe8a091a55d12af9ed093ee1eedb7c72b66732c62d5e1b3 +DIST Python-3.2.5.tar.xz 9221624 SHA256 8ccb9645b9779fc4550055b2ebb21a724ab7a63dee45643286eb4f79b2f84116 SHA512 6e71d01695c7b1e74d9781e4ac40a8d1560cae659d5351d392fc685b84316568d93740a99d2ed878dd87d4ce1708d0474cb01c6bad7b3dab610c639f3255b09d WHIRLPOOL d5e5fae5e1d4110861e1e1dac00c9812abbbc37205e8ce3cd268535ab9f66e24038ab4778af8bb834fd472eaa0281730f1f2fabdf6dffc4f6b54ef32c1d75953 +DIST Python-3.3.3.tar.xz 12057744 SHA256 339275b30a1a3fef1589016bf6302c14e870f7a6fd2522bf87a6c2c6d383c685 SHA512 6acd905d2ae70a259de1d502c90ce9cc831b03cd32930d55bdce1f6dd4b2657c4bb8698e46f6558253338046c43ee842befa2d62e35eeb82b82659acbe6ea0aa WHIRLPOOL 680a88bc7ca312a71237350c06573d5ed6138d826613a6a8ad9e953181561966c9a9f64b176226a627175b8bb5d13755bb7cabe20ee9510ced5da14185e092a4 +DIST python-gentoo-patches-2.7.6-0.tar.xz 13916 SHA256 01971f3cfe464d80a775d2838a519b16715be02fce0145a0c4fdc361fa57ef49 SHA512 32b0d3f49294d2f7935be459bbcf0892598fc856a266abea11f4cd109e174f4de8b8bef8b74737253e1820b6de23f5df070a0927dcc499adf607eb5ac11c3709 WHIRLPOOL fb9a448ebebc7b7c68ad4460c7ae51e1619224570540e15d6b6c05039ed09da52acd364374c9f85d8d36c299d86394a078e0fb10bfb359b83a91426f1a886066 +DIST python-gentoo-patches-3.2.5-0.tar.xz 13892 SHA256 ebbfacc81486493ce4c16a697e53d77e9dc5c9d700e86cf92ae93b5e3e03abee SHA512 6d09ef5ed583dedd587d4247c7d0e99daf20d7cadb7afbcf4d951931e3a574a82f1b9dbc4e4f93d3dc55773808452284f50dee2fbfb6b68aff5f1f53c1665359 WHIRLPOOL 55b1ba0a25612b3987af93e252dd2dbd71ff0f4ff0bcadda9ba0b11e19278acdb3fa91166a854dcbe3d27bb570a104ee63a3976111d6f608614f7b3d9f734f67 +DIST python-gentoo-patches-3.3.3-0.tar.xz 12992 SHA256 38b5c604416947fdd7d87ada2ccd3febf7407f00c1e67e6a99be8765f1b25c49 SHA512 d803b287c0f407c68dd766974296239419fb35441f1796081681f28d17b1f6c7e50e0aae807ad147469eb586db8fe486a013a166cb76e08f2b7a9ba39acb1760 WHIRLPOOL 09a9dbd1831c2e7022f4df27b57435dd1df7eace294e8fa069ce5fa5c1719f64ba9bcd8f27d614a8c13ee8605db37c7e75c13fa14885b76ce289667bf2871aaf +EBUILD python-2.7.6-r1.ebuild 10038 SHA256 da6771fbecb5dd4a9a48d58ed6c9ea4301cb27ea8c9fa1dcc6bbb8d193a32e93 SHA512 e32ebcdac234d9b4d39bf109e2303d08e2088256d6de0cdca233b3e295d5eb957533d32178d8943bf75a9853198110b76c519a469a90b7aead9044c2f191e688 WHIRLPOOL defeea6d5172c66c16789843e30b40088384651cadf51a9ddb61b65f6daeb14844e275aaf040b75d265d0b43907e2bdb21bc056d5617b591eca39219a95bb9d1 +EBUILD python-3.2.5-r4.ebuild 10625 SHA256 ec1ff663e5451d2e021b362d016238900e4153f7bac28e25b9a5901d3e1aa684 SHA512 8856676c5e120c1230e4f17dac4b14f6dcf647102e755ae3f769564255a98ded4a629240a33f93cd5d8c47fa951c25bc3f12aba74ce4cdf6927151ae11c27d16 WHIRLPOOL 68725726c33faab42be22c1bfdd7041e688f57154244db97932e524b62d578397c1fd3099c36cf957d0c62e286c7c0dfe1906b22fd74f2767bc2758b1cfbb513 +EBUILD python-3.3.3-r1.ebuild 9072 SHA256 84f9ffa940b13349f1acba7573c767f79d319794d13cc789f2ead6dbb01812b4 SHA512 18a6cfd83df529c29ac82e8de652e058e4ad8ac67c62414339c5f4f869ba673b7d55d6c93911fbb32af9b8f0314be3b55598cf6ad6cb0a9a4560c30cbab019c7 WHIRLPOOL 1fbedf693cf990337958b6c58e885579f57b5d58735a11f3dab0a027803ebb1b9750cb01a872f27b89f01d0b382ee0639c4abc9fe3791402bbd5381cbb07c518 +MISC ChangeLog 27576 SHA256 d9b6928b2234df665a3ce1868f4452b24d2cc7e012e6ac08c116d8b786ab4859 SHA512 c54030c7f02a0663eea1c2a0fb5b9d0377b9245bb1de7330e85d341a05c7c3c6db117df20ac121fa1e549da3e76470714c9e4b723499716f00ee8ae6d4a64d50 WHIRLPOOL 8a878d2be539d36d6fd4102df9d493c63b528cd46a7ee3b0c89429a2370bdab90c50925e73adaf4c5920cef23efd54993d5b0e0d2cd5d946648a97b2bbbb7405 +MISC ChangeLog-2011 100599 SHA256 23129cb47321b2a6b1cb9323f1815d0cd11d6f30c3893908ed51575c270a0cc8 SHA512 4181ba9d965139ba58218da5b960c87b7a611b27606a1ab1ce1b4c3c9255b4e0e2947307cbfffc531f0f8b6b545ee11e083fcb29dc7b2b7ba31c6bb40b8ab128 WHIRLPOOL 4ceebb6a6ed58b906d3a7331795748ac6e4fe2e1401bcccae9024a8e81e2c444aebc5fec610398cfe6002354ad3b10487484598da5091867874727f07e239c56 +MISC metadata.xml 661 SHA256 2c6c3407251f7ccd6501dee49494e539a9544f2fbae99a4373eefdf4e83e8908 SHA512 871989a29417ce20d95da950fa385f1a958139de7b1567beb9cda28a1217901243cd9d25235fe3c7b0e43a82176d72286e31e4e97310b26488d2a3252ef3a8a0 WHIRLPOOL b694b1b4270ba15640d04a3b0b26a08575ea4afc9be256717f7f3b1768d75da9f71ceca6afd2f69971906227d5ba42263d2df2fc9387441aa240222d39fd094e diff --git a/dev-lang/python/files/CVE-2013-4238_py26.patch b/dev-lang/python/files/CVE-2013-4238_py26.patch new file mode 100644 index 0000000..21df540 --- /dev/null +++ b/dev-lang/python/files/CVE-2013-4238_py26.patch @@ -0,0 +1,320 @@ +diff -r 936621d33c38 Lib/test/keycert.pem +--- a/Lib/test/keycert.pem Wed Feb 20 18:19:55 2013 -0500 ++++ b/Lib/test/keycert.pem Fri Aug 16 02:32:42 2013 +0200 +@@ -1,32 +1,31 @@ +------BEGIN RSA PRIVATE KEY----- +-MIICXwIBAAKBgQC8ddrhm+LutBvjYcQlnH21PPIseJ1JVG2HMmN2CmZk2YukO+9L +-opdJhTvbGfEj0DQs1IE8M+kTUyOmuKfVrFMKwtVeCJphrAnhoz7TYOuLBSqt7lVH +-fhi/VwovESJlaBOp+WMnfhcduPEYHYx/6cnVapIkZnLt30zu2um+DzA9jQIDAQAB +-AoGBAK0FZpaKj6WnJZN0RqhhK+ggtBWwBnc0U/ozgKz2j1s3fsShYeiGtW6CK5nU +-D1dZ5wzhbGThI7LiOXDvRucc9n7vUgi0alqPQ/PFodPxAN/eEYkmXQ7W2k7zwsDA +-IUK0KUhktQbLu8qF/m8qM86ba9y9/9YkXuQbZ3COl5ahTZrhAkEA301P08RKv3KM +-oXnGU2UHTuJ1MAD2hOrPxjD4/wxA/39EWG9bZczbJyggB4RHu0I3NOSFjAm3HQm0 +-ANOu5QK9owJBANgOeLfNNcF4pp+UikRFqxk5hULqRAWzVxVrWe85FlPm0VVmHbb/ +-loif7mqjU8o1jTd/LM7RD9f2usZyE2psaw8CQQCNLhkpX3KO5kKJmS9N7JMZSc4j +-oog58yeYO8BBqKKzpug0LXuQultYv2K4veaIO04iL9VLe5z9S/Q1jaCHBBuXAkEA +-z8gjGoi1AOp6PBBLZNsncCvcV/0aC+1se4HxTNo2+duKSDnbq+ljqOM+E7odU+Nq +-ewvIWOG//e8fssd0mq3HywJBAJ8l/c8GVmrpFTx8r/nZ2Pyyjt3dH1widooDXYSV +-q6Gbf41Llo5sYAtmxdndTLASuHKecacTgZVhy0FryZpLKrU= +------END RSA PRIVATE KEY----- ++-----BEGIN PRIVATE KEY----- ++MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBANtb0+YrKuxevGpm ++LrjaUhZSgz6zFAmuGFmKmUbdjmfv9zSmmdsQIksK++jK0Be9LeZy20j6ahOfuVa0 ++ufEmPoP7Fy4hXegKZR9cCWcIe/A6H2xWF1IIJLRTLaU8ol/I7T+um5HD5AwAwNPP ++USNU0Eegmvp+xxWu3NX2m1Veot85AgMBAAECgYA3ZdZ673X0oexFlq7AAmrutkHt ++CL7LvwrpOiaBjhyTxTeSNWzvtQBkIU8DOI0bIazA4UreAFffwtvEuPmonDb3F+Iq ++SMAu42XcGyVZEl+gHlTPU9XRX7nTOXVt+MlRRRxL6t9GkGfUAXI3XxJDXW3c0vBK ++UL9xqD8cORXOfE06rQJBAP8mEX1ERkR64Ptsoe4281vjTlNfIbs7NMPkUnrn9N/Y ++BLhjNIfQ3HFZG8BTMLfX7kCS9D593DW5tV4Z9BP/c6cCQQDcFzCcVArNh2JSywOQ ++ZfTfRbJg/Z5Lt9Fkngv1meeGNPgIMLN8Sg679pAOOWmzdMO3V706rNPzSVMME7E5 ++oPIfAkEA8pDddarP5tCvTTgUpmTFbakm0KoTZm2+FzHcnA4jRh+XNTjTOv98Y6Ik ++eO5d1ZnKXseWvkZncQgxfdnMqqpj5wJAcNq/RVne1DbYlwWchT2Si65MYmmJ8t+F ++0mcsULqjOnEMwf5e+ptq5LzwbyrHZYq5FNk7ocufPv/ZQrcSSC+cFwJBAKvOJByS ++x56qyGeZLOQlWS2JS3KJo59XuLFGqcbgN9Om9xFa41Yb4N9NvplFivsvZdw3m1Q/ ++SPIXQuT8RMPDVNQ= ++-----END PRIVATE KEY----- + -----BEGIN CERTIFICATE----- +-MIICpzCCAhCgAwIBAgIJAP+qStv1cIGNMA0GCSqGSIb3DQEBBQUAMIGJMQswCQYD +-VQQGEwJVUzERMA8GA1UECBMIRGVsYXdhcmUxEzARBgNVBAcTCldpbG1pbmd0b24x +-IzAhBgNVBAoTGlB5dGhvbiBTb2Z0d2FyZSBGb3VuZGF0aW9uMQwwCgYDVQQLEwNT +-U0wxHzAdBgNVBAMTFnNvbWVtYWNoaW5lLnB5dGhvbi5vcmcwHhcNMDcwODI3MTY1 +-NDUwWhcNMTMwMjE2MTY1NDUwWjCBiTELMAkGA1UEBhMCVVMxETAPBgNVBAgTCERl +-bGF3YXJlMRMwEQYDVQQHEwpXaWxtaW5ndG9uMSMwIQYDVQQKExpQeXRob24gU29m +-dHdhcmUgRm91bmRhdGlvbjEMMAoGA1UECxMDU1NMMR8wHQYDVQQDExZzb21lbWFj +-aGluZS5weXRob24ub3JnMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC8ddrh +-m+LutBvjYcQlnH21PPIseJ1JVG2HMmN2CmZk2YukO+9LopdJhTvbGfEj0DQs1IE8 +-M+kTUyOmuKfVrFMKwtVeCJphrAnhoz7TYOuLBSqt7lVHfhi/VwovESJlaBOp+WMn +-fhcduPEYHYx/6cnVapIkZnLt30zu2um+DzA9jQIDAQABoxUwEzARBglghkgBhvhC +-AQEEBAMCBkAwDQYJKoZIhvcNAQEFBQADgYEAF4Q5BVqmCOLv1n8je/Jw9K669VXb +-08hyGzQhkemEBYQd6fzQ9A/1ZzHkJKb1P6yreOLSEh4KcxYPyrLRC1ll8nr5OlCx +-CMhKkTnR6qBsdNV0XtdU2+N25hqW+Ma4ZeqsN/iiJVCGNOZGnvQuvCAGWF8+J/f/ +-iHkC6gGdBJhogs4= ++MIICVDCCAb2gAwIBAgIJANfHOBkZr8JOMA0GCSqGSIb3DQEBBQUAMF8xCzAJBgNV ++BAYTAlhZMRcwFQYDVQQHEw5DYXN0bGUgQW50aHJheDEjMCEGA1UEChMaUHl0aG9u ++IFNvZnR3YXJlIEZvdW5kYXRpb24xEjAQBgNVBAMTCWxvY2FsaG9zdDAeFw0xMDEw ++MDgyMzAxNTZaFw0yMDEwMDUyMzAxNTZaMF8xCzAJBgNVBAYTAlhZMRcwFQYDVQQH ++Ew5DYXN0bGUgQW50aHJheDEjMCEGA1UEChMaUHl0aG9uIFNvZnR3YXJlIEZvdW5k ++YXRpb24xEjAQBgNVBAMTCWxvY2FsaG9zdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAw ++gYkCgYEA21vT5isq7F68amYuuNpSFlKDPrMUCa4YWYqZRt2OZ+/3NKaZ2xAiSwr7 ++6MrQF70t5nLbSPpqE5+5VrS58SY+g/sXLiFd6AplH1wJZwh78DofbFYXUggktFMt ++pTyiX8jtP66bkcPkDADA089RI1TQR6Ca+n7HFa7c1fabVV6i3zkCAwEAAaMYMBYw ++FAYDVR0RBA0wC4IJbG9jYWxob3N0MA0GCSqGSIb3DQEBBQUAA4GBAHPctQBEQ4wd ++BJ6+JcpIraopLn8BGhbjNWj40mmRqWB/NAWF6M5ne7KpGAu7tLeG4hb1zLaldK8G ++lxy2GPSRF6LFS48dpEj2HbMv2nvv6xxalDMJ9+DicWgAKTQ6bcX2j3GUkCR0g/T1 ++CRlNBAAlvhKzO7Clpf9l0YKBEfraJByX + -----END CERTIFICATE----- +diff -r 936621d33c38 Lib/test/nullbytecert.pem +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/Lib/test/nullbytecert.pem Fri Aug 16 02:32:42 2013 +0200 +@@ -0,0 +1,90 @@ ++Certificate: ++ Data: ++ Version: 3 (0x2) ++ Serial Number: 0 (0x0) ++ Signature Algorithm: sha1WithRSAEncryption ++ Issuer: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org ++ Validity ++ Not Before: Aug 7 13:11:52 2013 GMT ++ Not After : Aug 7 13:12:52 2013 GMT ++ Subject: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org ++ Subject Public Key Info: ++ Public Key Algorithm: rsaEncryption ++ Public-Key: (2048 bit) ++ Modulus: ++ 00:b5:ea:ed:c9:fb:46:7d:6f:3b:76:80:dd:3a:f3: ++ 03:94:0b:a7:a6:db:ec:1d:df:ff:23:74:08:9d:97: ++ 16:3f:a3:a4:7b:3e:1b:0e:96:59:25:03:a7:26:e2: ++ 88:a9:cf:79:cd:f7:04:56:b0:ab:79:32:6e:59:c1: ++ 32:30:54:eb:58:a8:cb:91:f0:42:a5:64:27:cb:d4: ++ 56:31:88:52:ad:cf:bd:7f:f0:06:64:1f:cc:27:b8: ++ a3:8b:8c:f3:d8:29:1f:25:0b:f5:46:06:1b:ca:02: ++ 45:ad:7b:76:0a:9c:bf:bb:b9:ae:0d:16:ab:60:75: ++ ae:06:3e:9c:7c:31:dc:92:2f:29:1a:e0:4b:0c:91: ++ 90:6c:e9:37:c5:90:d7:2a:d7:97:15:a3:80:8f:5d: ++ 7b:49:8f:54:30:d4:97:2c:1c:5b:37:b5:ab:69:30: ++ 68:43:d3:33:78:4b:02:60:f5:3c:44:80:a1:8f:e7: ++ f0:0f:d1:5e:87:9e:46:cf:62:fc:f9:bf:0c:65:12: ++ f1:93:c8:35:79:3f:c8:ec:ec:47:f5:ef:be:44:d5: ++ ae:82:1e:2d:9a:9f:98:5a:67:65:e1:74:70:7c:cb: ++ d3:c2:ce:0e:45:49:27:dc:e3:2d:d4:fb:48:0e:2f: ++ 9e:77:b8:14:46:c0:c4:36:ca:02:ae:6a:91:8c:da: ++ 2f:85 ++ Exponent: 65537 (0x10001) ++ X509v3 extensions: ++ X509v3 Basic Constraints: critical ++ CA:FALSE ++ X509v3 Subject Key Identifier: ++ 88:5A:55:C0:52:FF:61:CD:52:A3:35:0F:EA:5A:9C:24:38:22:F7:5C ++ X509v3 Key Usage: ++ Digital Signature, Non Repudiation, Key Encipherment ++ X509v3 Subject Alternative Name: ++ ************************************************************* ++ WARNING: The values for DNS, email and URI are WRONG. OpenSSL ++ doesn't print the text after a NULL byte. ++ ************************************************************* ++ DNS:altnull.python.org, email:null@python.org, URI:http://null.python.org, IP Address:192.0.2.1, IP Address:2001:DB8:0:0:0:0:0:1 ++ Signature Algorithm: sha1WithRSAEncryption ++ ac:4f:45:ef:7d:49:a8:21:70:8e:88:59:3e:d4:36:42:70:f5: ++ a3:bd:8b:d7:a8:d0:58:f6:31:4a:b1:a4:a6:dd:6f:d9:e8:44: ++ 3c:b6:0a:71:d6:7f:b1:08:61:9d:60:ce:75:cf:77:0c:d2:37: ++ 86:02:8d:5e:5d:f9:0f:71:b4:16:a8:c1:3d:23:1c:f1:11:b3: ++ 56:6e:ca:d0:8d:34:94:e6:87:2a:99:f2:ae:ae:cc:c2:e8:86: ++ de:08:a8:7f:c5:05:fa:6f:81:a7:82:e6:d0:53:9d:34:f4:ac: ++ 3e:40:fe:89:57:7a:29:a4:91:7e:0b:c6:51:31:e5:10:2f:a4: ++ 60:76:cd:95:51:1a:be:8b:a1:b0:fd:ad:52:bd:d7:1b:87:60: ++ d2:31:c7:17:c4:18:4f:2d:08:25:a3:a7:4f:b7:92:ca:e2:f5: ++ 25:f1:54:75:81:9d:b3:3d:61:a2:f7:da:ed:e1:c6:6f:2c:60: ++ 1f:d8:6f:c5:92:05:ab:c9:09:62:49:a9:14:ad:55:11:cc:d6: ++ 4a:19:94:99:97:37:1d:81:5f:8b:cf:a3:a8:96:44:51:08:3d: ++ 0b:05:65:12:eb:b6:70:80:88:48:72:4f:c6:c2:da:cf:cd:8e: ++ 5b:ba:97:2f:60:b4:96:56:49:5e:3a:43:76:63:04:be:2a:f6: ++ c1:ca:a9:94 ++-----BEGIN CERTIFICATE----- ++MIIE2DCCA8CgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBxTELMAkGA1UEBhMCVVMx ++DzANBgNVBAgMBk9yZWdvbjESMBAGA1UEBwwJQmVhdmVydG9uMSMwIQYDVQQKDBpQ ++eXRob24gU29mdHdhcmUgRm91bmRhdGlvbjEgMB4GA1UECwwXUHl0aG9uIENvcmUg ++RGV2ZWxvcG1lbnQxJDAiBgNVBAMMG251bGwucHl0aG9uLm9yZwBleGFtcGxlLm9y ++ZzEkMCIGCSqGSIb3DQEJARYVcHl0aG9uLWRldkBweXRob24ub3JnMB4XDTEzMDgw ++NzEzMTE1MloXDTEzMDgwNzEzMTI1MlowgcUxCzAJBgNVBAYTAlVTMQ8wDQYDVQQI ++DAZPcmVnb24xEjAQBgNVBAcMCUJlYXZlcnRvbjEjMCEGA1UECgwaUHl0aG9uIFNv ++ZnR3YXJlIEZvdW5kYXRpb24xIDAeBgNVBAsMF1B5dGhvbiBDb3JlIERldmVsb3Bt ++ZW50MSQwIgYDVQQDDBtudWxsLnB5dGhvbi5vcmcAZXhhbXBsZS5vcmcxJDAiBgkq ++hkiG9w0BCQEWFXB5dGhvbi1kZXZAcHl0aG9uLm9yZzCCASIwDQYJKoZIhvcNAQEB ++BQADggEPADCCAQoCggEBALXq7cn7Rn1vO3aA3TrzA5QLp6bb7B3f/yN0CJ2XFj+j ++pHs+Gw6WWSUDpybiiKnPec33BFawq3kyblnBMjBU61ioy5HwQqVkJ8vUVjGIUq3P ++vX/wBmQfzCe4o4uM89gpHyUL9UYGG8oCRa17dgqcv7u5rg0Wq2B1rgY+nHwx3JIv ++KRrgSwyRkGzpN8WQ1yrXlxWjgI9de0mPVDDUlywcWze1q2kwaEPTM3hLAmD1PESA ++oY/n8A/RXoeeRs9i/Pm/DGUS8ZPINXk/yOzsR/XvvkTVroIeLZqfmFpnZeF0cHzL ++08LODkVJJ9zjLdT7SA4vnne4FEbAxDbKAq5qkYzaL4UCAwEAAaOB0DCBzTAMBgNV ++HRMBAf8EAjAAMB0GA1UdDgQWBBSIWlXAUv9hzVKjNQ/qWpwkOCL3XDALBgNVHQ8E ++BAMCBeAwgZAGA1UdEQSBiDCBhYIeYWx0bnVsbC5weXRob24ub3JnAGV4YW1wbGUu ++Y29tgSBudWxsQHB5dGhvbi5vcmcAdXNlckBleGFtcGxlLm9yZ4YpaHR0cDovL251 ++bGwucHl0aG9uLm9yZwBodHRwOi8vZXhhbXBsZS5vcmeHBMAAAgGHECABDbgAAAAA ++AAAAAAAAAAEwDQYJKoZIhvcNAQEFBQADggEBAKxPRe99SaghcI6IWT7UNkJw9aO9 ++i9eo0Fj2MUqxpKbdb9noRDy2CnHWf7EIYZ1gznXPdwzSN4YCjV5d+Q9xtBaowT0j ++HPERs1ZuytCNNJTmhyqZ8q6uzMLoht4IqH/FBfpvgaeC5tBTnTT0rD5A/olXeimk ++kX4LxlEx5RAvpGB2zZVRGr6LobD9rVK91xuHYNIxxxfEGE8tCCWjp0+3ksri9SXx ++VHWBnbM9YaL32u3hxm8sYB/Yb8WSBavJCWJJqRStVRHM1koZlJmXNx2BX4vPo6iW ++RFEIPQsFZRLrtnCAiEhyT8bC2s/Njlu6ly9gtJZWSV46Q3ZjBL4q9sHKqZQ= ++-----END CERTIFICATE----- +diff -r 936621d33c38 Lib/test/test_ssl.py +--- a/Lib/test/test_ssl.py Wed Feb 20 18:19:55 2013 -0500 ++++ b/Lib/test/test_ssl.py Fri Aug 16 02:32:42 2013 +0200 +@@ -31,6 +31,7 @@ + HOST = test_support.HOST + CERTFILE = None + SVN_PYTHON_ORG_ROOT_CERT = None ++NULLBYTECERT = None + + def handle_error(prefix): + exc_format = ' '.join(traceback.format_exception(*sys.exc_info())) +@@ -88,6 +89,27 @@ + if test_support.verbose: + sys.stdout.write("\n" + pprint.pformat(p) + "\n") + ++ def test_parse_cert_CVE_2013_4073(self): ++ p = ssl._ssl._test_decode_cert(NULLBYTECERT) ++ if test_support.verbose: ++ sys.stdout.write("\n" + pprint.pformat(p) + "\n") ++ subject = ((('countryName', 'US'),), ++ (('stateOrProvinceName', 'Oregon'),), ++ (('localityName', 'Beaverton'),), ++ (('organizationName', 'Python Software Foundation'),), ++ (('organizationalUnitName', 'Python Core Development'),), ++ (('commonName', 'null.python.org\x00example.org'),), ++ (('emailAddress', 'python-dev@python.org'),)) ++ self.assertEqual(p['subject'], subject) ++ self.assertEqual(p['issuer'], subject) ++ self.assertEqual(p['subjectAltName'], ++ (('DNS', 'altnull.python.org\x00example.com'), ++ ('email', 'null@python.org\x00user@example.org'), ++ ('URI', 'http://null.python.org\x00http://example.org'), ++ ('IP Address', '192.0.2.1'), ++ ('IP Address', '2001:DB8:0:0:0:0:0:1\n')) ++ ) ++ + def test_DER_to_PEM(self): + with open(SVN_PYTHON_ORG_ROOT_CERT, 'r') as f: + pem = f.read() +@@ -1210,15 +1232,18 @@ + if skip_expected: + raise test_support.TestSkipped("No SSL support") + +- global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT ++ global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, NULLBYTECERT + CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, + "keycert.pem") + SVN_PYTHON_ORG_ROOT_CERT = os.path.join( + os.path.dirname(__file__) or os.curdir, + "https_svn_python_org_root.pem") ++ NULLBYTECERT = os.path.join(os.path.dirname(__file__) or os.curdir, ++ "nullbytecert.pem") + + if (not os.path.exists(CERTFILE) or +- not os.path.exists(SVN_PYTHON_ORG_ROOT_CERT)): ++ not os.path.exists(SVN_PYTHON_ORG_ROOT_CERT) or ++ not os.path.exists(NULLBYTECERT)): + raise test_support.TestFailed("Can't read certificate files!") + + tests = [BasicTests] +diff -r 936621d33c38 Modules/_ssl.c +--- a/Modules/_ssl.c Wed Feb 20 18:19:55 2013 -0500 ++++ b/Modules/_ssl.c Fri Aug 16 02:32:42 2013 +0200 +@@ -302,8 +302,10 @@ + self->ctx = SSL_CTX_new(TLSv1_method()); /* Set up context */ + else if (proto_version == PY_SSL_VERSION_SSL3) + self->ctx = SSL_CTX_new(SSLv3_method()); /* Set up context */ ++#ifndef OPENSSL_NO_SSL2 + else if (proto_version == PY_SSL_VERSION_SSL2) + self->ctx = SSL_CTX_new(SSLv2_method()); /* Set up context */ ++#endif + else if (proto_version == PY_SSL_VERSION_SSL23) + self->ctx = SSL_CTX_new(SSLv23_method()); /* Set up context */ + PySSL_END_ALLOW_THREADS +@@ -718,8 +720,13 @@ + + /* get a rendering of each name in the set of names */ + ++ int gntype; ++ ASN1_STRING *as = NULL; ++ + name = sk_GENERAL_NAME_value(names, j); +- if (name->type == GEN_DIRNAME) { ++ gntype = name-> type; ++ switch (gntype) { ++ case GEN_DIRNAME: + + /* we special-case DirName as a tuple of tuples of attributes */ + +@@ -741,11 +748,61 @@ + goto fail; + } + PyTuple_SET_ITEM(t, 1, v); ++ break; + +- } else { ++ case GEN_EMAIL: ++ case GEN_DNS: ++ case GEN_URI: ++ /* GENERAL_NAME_print() doesn't handle NUL bytes in ASN1_string ++ correctly. */ ++ t = PyTuple_New(2); ++ if (t == NULL) ++ goto fail; ++ switch (gntype) { ++ case GEN_EMAIL: ++ v = PyUnicode_FromString("email"); ++ as = name->d.rfc822Name; ++ break; ++ case GEN_DNS: ++ v = PyUnicode_FromString("DNS"); ++ as = name->d.dNSName; ++ break; ++ case GEN_URI: ++ v = PyUnicode_FromString("URI"); ++ as = name->d.uniformResourceIdentifier; ++ break; ++ } ++ if (v == NULL) { ++ Py_DECREF(t); ++ goto fail; ++ } ++ PyTuple_SET_ITEM(t, 0, v); ++ v = PyString_FromStringAndSize((char *)ASN1_STRING_data(as), ++ ASN1_STRING_length(as)); ++ if (v == NULL) { ++ Py_DECREF(t); ++ goto fail; ++ } ++ PyTuple_SET_ITEM(t, 1, v); ++ break; + ++ default: + /* for everything else, we use the OpenSSL print form */ +- ++ switch (gntype) { ++ /* check for new general name type */ ++ case GEN_OTHERNAME: ++ case GEN_X400: ++ case GEN_EDIPARTY: ++ case GEN_IPADD: ++ case GEN_RID: ++ break; ++ default: ++ if (PyErr_Warn(PyExc_RuntimeWarning, ++ "Unknown general name type") == -1) { ++ goto fail; ++ } ++ break; ++ } + (void) BIO_reset(biobuf); + GENERAL_NAME_print(biobuf, name); + len = BIO_gets(biobuf, buf, sizeof(buf)-1); +@@ -771,6 +828,7 @@ + goto fail; + } + PyTuple_SET_ITEM(t, 1, v); ++ break; + } + + /* and add that rendering to the list */ diff --git a/dev-lang/python/files/CVE-2013-4238_py27.patch b/dev-lang/python/files/CVE-2013-4238_py27.patch new file mode 100644 index 0000000..e215589 --- /dev/null +++ b/dev-lang/python/files/CVE-2013-4238_py27.patch @@ -0,0 +1,247 @@ +diff -r 9ddc63c039ba Lib/test/nullbytecert.pem +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/Lib/test/nullbytecert.pem Sun Aug 11 18:13:17 2013 +0200 +@@ -0,0 +1,90 @@ ++Certificate: ++ Data: ++ Version: 3 (0x2) ++ Serial Number: 0 (0x0) ++ Signature Algorithm: sha1WithRSAEncryption ++ Issuer: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org ++ Validity ++ Not Before: Aug 7 13:11:52 2013 GMT ++ Not After : Aug 7 13:12:52 2013 GMT ++ Subject: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org ++ Subject Public Key Info: ++ Public Key Algorithm: rsaEncryption ++ Public-Key: (2048 bit) ++ Modulus: ++ 00:b5:ea:ed:c9:fb:46:7d:6f:3b:76:80:dd:3a:f3: ++ 03:94:0b:a7:a6:db:ec:1d:df:ff:23:74:08:9d:97: ++ 16:3f:a3:a4:7b:3e:1b:0e:96:59:25:03:a7:26:e2: ++ 88:a9:cf:79:cd:f7:04:56:b0:ab:79:32:6e:59:c1: ++ 32:30:54:eb:58:a8:cb:91:f0:42:a5:64:27:cb:d4: ++ 56:31:88:52:ad:cf:bd:7f:f0:06:64:1f:cc:27:b8: ++ a3:8b:8c:f3:d8:29:1f:25:0b:f5:46:06:1b:ca:02: ++ 45:ad:7b:76:0a:9c:bf:bb:b9:ae:0d:16:ab:60:75: ++ ae:06:3e:9c:7c:31:dc:92:2f:29:1a:e0:4b:0c:91: ++ 90:6c:e9:37:c5:90:d7:2a:d7:97:15:a3:80:8f:5d: ++ 7b:49:8f:54:30:d4:97:2c:1c:5b:37:b5:ab:69:30: ++ 68:43:d3:33:78:4b:02:60:f5:3c:44:80:a1:8f:e7: ++ f0:0f:d1:5e:87:9e:46:cf:62:fc:f9:bf:0c:65:12: ++ f1:93:c8:35:79:3f:c8:ec:ec:47:f5:ef:be:44:d5: ++ ae:82:1e:2d:9a:9f:98:5a:67:65:e1:74:70:7c:cb: ++ d3:c2:ce:0e:45:49:27:dc:e3:2d:d4:fb:48:0e:2f: ++ 9e:77:b8:14:46:c0:c4:36:ca:02:ae:6a:91:8c:da: ++ 2f:85 ++ Exponent: 65537 (0x10001) ++ X509v3 extensions: ++ X509v3 Basic Constraints: critical ++ CA:FALSE ++ X509v3 Subject Key Identifier: ++ 88:5A:55:C0:52:FF:61:CD:52:A3:35:0F:EA:5A:9C:24:38:22:F7:5C ++ X509v3 Key Usage: ++ Digital Signature, Non Repudiation, Key Encipherment ++ X509v3 Subject Alternative Name: ++ ************************************************************* ++ WARNING: The values for DNS, email and URI are WRONG. OpenSSL ++ doesn't print the text after a NULL byte. ++ ************************************************************* ++ DNS:altnull.python.org, email:null@python.org, URI:http://null.python.org, IP Address:192.0.2.1, IP Address:2001:DB8:0:0:0:0:0:1 ++ Signature Algorithm: sha1WithRSAEncryption ++ ac:4f:45:ef:7d:49:a8:21:70:8e:88:59:3e:d4:36:42:70:f5: ++ a3:bd:8b:d7:a8:d0:58:f6:31:4a:b1:a4:a6:dd:6f:d9:e8:44: ++ 3c:b6:0a:71:d6:7f:b1:08:61:9d:60:ce:75:cf:77:0c:d2:37: ++ 86:02:8d:5e:5d:f9:0f:71:b4:16:a8:c1:3d:23:1c:f1:11:b3: ++ 56:6e:ca:d0:8d:34:94:e6:87:2a:99:f2:ae:ae:cc:c2:e8:86: ++ de:08:a8:7f:c5:05:fa:6f:81:a7:82:e6:d0:53:9d:34:f4:ac: ++ 3e:40:fe:89:57:7a:29:a4:91:7e:0b:c6:51:31:e5:10:2f:a4: ++ 60:76:cd:95:51:1a:be:8b:a1:b0:fd:ad:52:bd:d7:1b:87:60: ++ d2:31:c7:17:c4:18:4f:2d:08:25:a3:a7:4f:b7:92:ca:e2:f5: ++ 25:f1:54:75:81:9d:b3:3d:61:a2:f7:da:ed:e1:c6:6f:2c:60: ++ 1f:d8:6f:c5:92:05:ab:c9:09:62:49:a9:14:ad:55:11:cc:d6: ++ 4a:19:94:99:97:37:1d:81:5f:8b:cf:a3:a8:96:44:51:08:3d: ++ 0b:05:65:12:eb:b6:70:80:88:48:72:4f:c6:c2:da:cf:cd:8e: ++ 5b:ba:97:2f:60:b4:96:56:49:5e:3a:43:76:63:04:be:2a:f6: ++ c1:ca:a9:94 ++-----BEGIN CERTIFICATE----- ++MIIE2DCCA8CgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBxTELMAkGA1UEBhMCVVMx ++DzANBgNVBAgMBk9yZWdvbjESMBAGA1UEBwwJQmVhdmVydG9uMSMwIQYDVQQKDBpQ ++eXRob24gU29mdHdhcmUgRm91bmRhdGlvbjEgMB4GA1UECwwXUHl0aG9uIENvcmUg ++RGV2ZWxvcG1lbnQxJDAiBgNVBAMMG251bGwucHl0aG9uLm9yZwBleGFtcGxlLm9y ++ZzEkMCIGCSqGSIb3DQEJARYVcHl0aG9uLWRldkBweXRob24ub3JnMB4XDTEzMDgw ++NzEzMTE1MloXDTEzMDgwNzEzMTI1MlowgcUxCzAJBgNVBAYTAlVTMQ8wDQYDVQQI ++DAZPcmVnb24xEjAQBgNVBAcMCUJlYXZlcnRvbjEjMCEGA1UECgwaUHl0aG9uIFNv ++ZnR3YXJlIEZvdW5kYXRpb24xIDAeBgNVBAsMF1B5dGhvbiBDb3JlIERldmVsb3Bt ++ZW50MSQwIgYDVQQDDBtudWxsLnB5dGhvbi5vcmcAZXhhbXBsZS5vcmcxJDAiBgkq ++hkiG9w0BCQEWFXB5dGhvbi1kZXZAcHl0aG9uLm9yZzCCASIwDQYJKoZIhvcNAQEB ++BQADggEPADCCAQoCggEBALXq7cn7Rn1vO3aA3TrzA5QLp6bb7B3f/yN0CJ2XFj+j ++pHs+Gw6WWSUDpybiiKnPec33BFawq3kyblnBMjBU61ioy5HwQqVkJ8vUVjGIUq3P ++vX/wBmQfzCe4o4uM89gpHyUL9UYGG8oCRa17dgqcv7u5rg0Wq2B1rgY+nHwx3JIv ++KRrgSwyRkGzpN8WQ1yrXlxWjgI9de0mPVDDUlywcWze1q2kwaEPTM3hLAmD1PESA ++oY/n8A/RXoeeRs9i/Pm/DGUS8ZPINXk/yOzsR/XvvkTVroIeLZqfmFpnZeF0cHzL ++08LODkVJJ9zjLdT7SA4vnne4FEbAxDbKAq5qkYzaL4UCAwEAAaOB0DCBzTAMBgNV ++HRMBAf8EAjAAMB0GA1UdDgQWBBSIWlXAUv9hzVKjNQ/qWpwkOCL3XDALBgNVHQ8E ++BAMCBeAwgZAGA1UdEQSBiDCBhYIeYWx0bnVsbC5weXRob24ub3JnAGV4YW1wbGUu ++Y29tgSBudWxsQHB5dGhvbi5vcmcAdXNlckBleGFtcGxlLm9yZ4YpaHR0cDovL251 ++bGwucHl0aG9uLm9yZwBodHRwOi8vZXhhbXBsZS5vcmeHBMAAAgGHECABDbgAAAAA ++AAAAAAAAAAEwDQYJKoZIhvcNAQEFBQADggEBAKxPRe99SaghcI6IWT7UNkJw9aO9 ++i9eo0Fj2MUqxpKbdb9noRDy2CnHWf7EIYZ1gznXPdwzSN4YCjV5d+Q9xtBaowT0j ++HPERs1ZuytCNNJTmhyqZ8q6uzMLoht4IqH/FBfpvgaeC5tBTnTT0rD5A/olXeimk ++kX4LxlEx5RAvpGB2zZVRGr6LobD9rVK91xuHYNIxxxfEGE8tCCWjp0+3ksri9SXx ++VHWBnbM9YaL32u3hxm8sYB/Yb8WSBavJCWJJqRStVRHM1koZlJmXNx2BX4vPo6iW ++RFEIPQsFZRLrtnCAiEhyT8bC2s/Njlu6ly9gtJZWSV46Q3ZjBL4q9sHKqZQ= ++-----END CERTIFICATE----- +diff -r 9ddc63c039ba Lib/test/test_ssl.py +--- a/Lib/test/test_ssl.py Sun Aug 11 13:04:50 2013 +0300 ++++ b/Lib/test/test_ssl.py Sun Aug 11 18:13:17 2013 +0200 +@@ -25,6 +25,7 @@ + HOST = test_support.HOST + CERTFILE = None + SVN_PYTHON_ORG_ROOT_CERT = None ++NULLBYTECERT = None + + def handle_error(prefix): + exc_format = ' '.join(traceback.format_exception(*sys.exc_info())) +@@ -123,6 +124,27 @@ + ('DNS', 'projects.forum.nokia.com')) + ) + ++ def test_parse_cert_CVE_2013_4073(self): ++ p = ssl._ssl._test_decode_cert(NULLBYTECERT) ++ if test_support.verbose: ++ sys.stdout.write("\n" + pprint.pformat(p) + "\n") ++ subject = ((('countryName', 'US'),), ++ (('stateOrProvinceName', 'Oregon'),), ++ (('localityName', 'Beaverton'),), ++ (('organizationName', 'Python Software Foundation'),), ++ (('organizationalUnitName', 'Python Core Development'),), ++ (('commonName', 'null.python.org\x00example.org'),), ++ (('emailAddress', 'python-dev@python.org'),)) ++ self.assertEqual(p['subject'], subject) ++ self.assertEqual(p['issuer'], subject) ++ self.assertEqual(p['subjectAltName'], ++ (('DNS', 'altnull.python.org\x00example.com'), ++ ('email', 'null@python.org\x00user@example.org'), ++ ('URI', 'http://null.python.org\x00http://example.org'), ++ ('IP Address', '192.0.2.1'), ++ ('IP Address', '2001:DB8:0:0:0:0:0:1\n')) ++ ) ++ + def test_DER_to_PEM(self): + with open(SVN_PYTHON_ORG_ROOT_CERT, 'r') as f: + pem = f.read() +@@ -1360,7 +1382,7 @@ + + + def test_main(verbose=False): +- global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, NOKIACERT ++ global CERTFILE, SVN_PYTHON_ORG_ROOT_CERT, NOKIACERT, NULLBYTECERT + CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, + "keycert.pem") + SVN_PYTHON_ORG_ROOT_CERT = os.path.join( +@@ -1368,10 +1390,13 @@ + "https_svn_python_org_root.pem") + NOKIACERT = os.path.join(os.path.dirname(__file__) or os.curdir, + "nokia.pem") ++ NULLBYTECERT = os.path.join(os.path.dirname(__file__) or os.curdir, ++ "nullbytecert.pem") + + if (not os.path.exists(CERTFILE) or + not os.path.exists(SVN_PYTHON_ORG_ROOT_CERT) or +- not os.path.exists(NOKIACERT)): ++ not os.path.exists(NOKIACERT) or ++ not os.path.exists(NULLBYTECERT)): + raise test_support.TestFailed("Can't read certificate files!") + + tests = [BasicTests, BasicSocketTests] +diff -r 9ddc63c039ba Modules/_ssl.c +--- a/Modules/_ssl.c Sun Aug 11 13:04:50 2013 +0300 ++++ b/Modules/_ssl.c Sun Aug 11 18:13:17 2013 +0200 +@@ -741,8 +741,13 @@ + + /* get a rendering of each name in the set of names */ + ++ int gntype; ++ ASN1_STRING *as = NULL; ++ + name = sk_GENERAL_NAME_value(names, j); +- if (name->type == GEN_DIRNAME) { ++ gntype = name-> type; ++ switch (gntype) { ++ case GEN_DIRNAME: + + /* we special-case DirName as a tuple of tuples of attributes */ + +@@ -764,11 +769,61 @@ + goto fail; + } + PyTuple_SET_ITEM(t, 1, v); ++ break; + +- } else { ++ case GEN_EMAIL: ++ case GEN_DNS: ++ case GEN_URI: ++ /* GENERAL_NAME_print() doesn't handle NUL bytes in ASN1_string ++ correctly. */ ++ t = PyTuple_New(2); ++ if (t == NULL) ++ goto fail; ++ switch (gntype) { ++ case GEN_EMAIL: ++ v = PyUnicode_FromString("email"); ++ as = name->d.rfc822Name; ++ break; ++ case GEN_DNS: ++ v = PyUnicode_FromString("DNS"); ++ as = name->d.dNSName; ++ break; ++ case GEN_URI: ++ v = PyUnicode_FromString("URI"); ++ as = name->d.uniformResourceIdentifier; ++ break; ++ } ++ if (v == NULL) { ++ Py_DECREF(t); ++ goto fail; ++ } ++ PyTuple_SET_ITEM(t, 0, v); ++ v = PyString_FromStringAndSize((char *)ASN1_STRING_data(as), ++ ASN1_STRING_length(as)); ++ if (v == NULL) { ++ Py_DECREF(t); ++ goto fail; ++ } ++ PyTuple_SET_ITEM(t, 1, v); ++ break; + ++ default: + /* for everything else, we use the OpenSSL print form */ +- ++ switch (gntype) { ++ /* check for new general name type */ ++ case GEN_OTHERNAME: ++ case GEN_X400: ++ case GEN_EDIPARTY: ++ case GEN_IPADD: ++ case GEN_RID: ++ break; ++ default: ++ if (PyErr_Warn(PyExc_RuntimeWarning, ++ "Unknown general name type") == -1) { ++ goto fail; ++ } ++ break; ++ } + (void) BIO_reset(biobuf); + GENERAL_NAME_print(biobuf, name); + len = BIO_gets(biobuf, buf, sizeof(buf)-1); +@@ -794,6 +849,7 @@ + goto fail; + } + PyTuple_SET_ITEM(t, 1, v); ++ break; + } + + /* and add that rendering to the list */ diff --git a/dev-lang/python/files/CVE-2013-4238_py33.patch b/dev-lang/python/files/CVE-2013-4238_py33.patch new file mode 100644 index 0000000..41db4d2 --- /dev/null +++ b/dev-lang/python/files/CVE-2013-4238_py33.patch @@ -0,0 +1,241 @@ +diff -r e0f86c3b3685 Lib/test/nullbytecert.pem +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/Lib/test/nullbytecert.pem Sun Aug 11 18:17:23 2013 +0200 +@@ -0,0 +1,90 @@ ++Certificate: ++ Data: ++ Version: 3 (0x2) ++ Serial Number: 0 (0x0) ++ Signature Algorithm: sha1WithRSAEncryption ++ Issuer: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org ++ Validity ++ Not Before: Aug 7 13:11:52 2013 GMT ++ Not After : Aug 7 13:12:52 2013 GMT ++ Subject: C=US, ST=Oregon, L=Beaverton, O=Python Software Foundation, OU=Python Core Development, CN=null.python.org\x00example.org/emailAddress=python-dev@python.org ++ Subject Public Key Info: ++ Public Key Algorithm: rsaEncryption ++ Public-Key: (2048 bit) ++ Modulus: ++ 00:b5:ea:ed:c9:fb:46:7d:6f:3b:76:80:dd:3a:f3: ++ 03:94:0b:a7:a6:db:ec:1d:df:ff:23:74:08:9d:97: ++ 16:3f:a3:a4:7b:3e:1b:0e:96:59:25:03:a7:26:e2: ++ 88:a9:cf:79:cd:f7:04:56:b0:ab:79:32:6e:59:c1: ++ 32:30:54:eb:58:a8:cb:91:f0:42:a5:64:27:cb:d4: ++ 56:31:88:52:ad:cf:bd:7f:f0:06:64:1f:cc:27:b8: ++ a3:8b:8c:f3:d8:29:1f:25:0b:f5:46:06:1b:ca:02: ++ 45:ad:7b:76:0a:9c:bf:bb:b9:ae:0d:16:ab:60:75: ++ ae:06:3e:9c:7c:31:dc:92:2f:29:1a:e0:4b:0c:91: ++ 90:6c:e9:37:c5:90:d7:2a:d7:97:15:a3:80:8f:5d: ++ 7b:49:8f:54:30:d4:97:2c:1c:5b:37:b5:ab:69:30: ++ 68:43:d3:33:78:4b:02:60:f5:3c:44:80:a1:8f:e7: ++ f0:0f:d1:5e:87:9e:46:cf:62:fc:f9:bf:0c:65:12: ++ f1:93:c8:35:79:3f:c8:ec:ec:47:f5:ef:be:44:d5: ++ ae:82:1e:2d:9a:9f:98:5a:67:65:e1:74:70:7c:cb: ++ d3:c2:ce:0e:45:49:27:dc:e3:2d:d4:fb:48:0e:2f: ++ 9e:77:b8:14:46:c0:c4:36:ca:02:ae:6a:91:8c:da: ++ 2f:85 ++ Exponent: 65537 (0x10001) ++ X509v3 extensions: ++ X509v3 Basic Constraints: critical ++ CA:FALSE ++ X509v3 Subject Key Identifier: ++ 88:5A:55:C0:52:FF:61:CD:52:A3:35:0F:EA:5A:9C:24:38:22:F7:5C ++ X509v3 Key Usage: ++ Digital Signature, Non Repudiation, Key Encipherment ++ X509v3 Subject Alternative Name: ++ ************************************************************* ++ WARNING: The values for DNS, email and URI are WRONG. OpenSSL ++ doesn't print the text after a NULL byte. ++ ************************************************************* ++ DNS:altnull.python.org, email:null@python.org, URI:http://null.python.org, IP Address:192.0.2.1, IP Address:2001:DB8:0:0:0:0:0:1 ++ Signature Algorithm: sha1WithRSAEncryption ++ ac:4f:45:ef:7d:49:a8:21:70:8e:88:59:3e:d4:36:42:70:f5: ++ a3:bd:8b:d7:a8:d0:58:f6:31:4a:b1:a4:a6:dd:6f:d9:e8:44: ++ 3c:b6:0a:71:d6:7f:b1:08:61:9d:60:ce:75:cf:77:0c:d2:37: ++ 86:02:8d:5e:5d:f9:0f:71:b4:16:a8:c1:3d:23:1c:f1:11:b3: ++ 56:6e:ca:d0:8d:34:94:e6:87:2a:99:f2:ae:ae:cc:c2:e8:86: ++ de:08:a8:7f:c5:05:fa:6f:81:a7:82:e6:d0:53:9d:34:f4:ac: ++ 3e:40:fe:89:57:7a:29:a4:91:7e:0b:c6:51:31:e5:10:2f:a4: ++ 60:76:cd:95:51:1a:be:8b:a1:b0:fd:ad:52:bd:d7:1b:87:60: ++ d2:31:c7:17:c4:18:4f:2d:08:25:a3:a7:4f:b7:92:ca:e2:f5: ++ 25:f1:54:75:81:9d:b3:3d:61:a2:f7:da:ed:e1:c6:6f:2c:60: ++ 1f:d8:6f:c5:92:05:ab:c9:09:62:49:a9:14:ad:55:11:cc:d6: ++ 4a:19:94:99:97:37:1d:81:5f:8b:cf:a3:a8:96:44:51:08:3d: ++ 0b:05:65:12:eb:b6:70:80:88:48:72:4f:c6:c2:da:cf:cd:8e: ++ 5b:ba:97:2f:60:b4:96:56:49:5e:3a:43:76:63:04:be:2a:f6: ++ c1:ca:a9:94 ++-----BEGIN CERTIFICATE----- ++MIIE2DCCA8CgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBxTELMAkGA1UEBhMCVVMx ++DzANBgNVBAgMBk9yZWdvbjESMBAGA1UEBwwJQmVhdmVydG9uMSMwIQYDVQQKDBpQ ++eXRob24gU29mdHdhcmUgRm91bmRhdGlvbjEgMB4GA1UECwwXUHl0aG9uIENvcmUg ++RGV2ZWxvcG1lbnQxJDAiBgNVBAMMG251bGwucHl0aG9uLm9yZwBleGFtcGxlLm9y ++ZzEkMCIGCSqGSIb3DQEJARYVcHl0aG9uLWRldkBweXRob24ub3JnMB4XDTEzMDgw ++NzEzMTE1MloXDTEzMDgwNzEzMTI1MlowgcUxCzAJBgNVBAYTAlVTMQ8wDQYDVQQI ++DAZPcmVnb24xEjAQBgNVBAcMCUJlYXZlcnRvbjEjMCEGA1UECgwaUHl0aG9uIFNv ++ZnR3YXJlIEZvdW5kYXRpb24xIDAeBgNVBAsMF1B5dGhvbiBDb3JlIERldmVsb3Bt ++ZW50MSQwIgYDVQQDDBtudWxsLnB5dGhvbi5vcmcAZXhhbXBsZS5vcmcxJDAiBgkq ++hkiG9w0BCQEWFXB5dGhvbi1kZXZAcHl0aG9uLm9yZzCCASIwDQYJKoZIhvcNAQEB ++BQADggEPADCCAQoCggEBALXq7cn7Rn1vO3aA3TrzA5QLp6bb7B3f/yN0CJ2XFj+j ++pHs+Gw6WWSUDpybiiKnPec33BFawq3kyblnBMjBU61ioy5HwQqVkJ8vUVjGIUq3P ++vX/wBmQfzCe4o4uM89gpHyUL9UYGG8oCRa17dgqcv7u5rg0Wq2B1rgY+nHwx3JIv ++KRrgSwyRkGzpN8WQ1yrXlxWjgI9de0mPVDDUlywcWze1q2kwaEPTM3hLAmD1PESA ++oY/n8A/RXoeeRs9i/Pm/DGUS8ZPINXk/yOzsR/XvvkTVroIeLZqfmFpnZeF0cHzL ++08LODkVJJ9zjLdT7SA4vnne4FEbAxDbKAq5qkYzaL4UCAwEAAaOB0DCBzTAMBgNV ++HRMBAf8EAjAAMB0GA1UdDgQWBBSIWlXAUv9hzVKjNQ/qWpwkOCL3XDALBgNVHQ8E ++BAMCBeAwgZAGA1UdEQSBiDCBhYIeYWx0bnVsbC5weXRob24ub3JnAGV4YW1wbGUu ++Y29tgSBudWxsQHB5dGhvbi5vcmcAdXNlckBleGFtcGxlLm9yZ4YpaHR0cDovL251 ++bGwucHl0aG9uLm9yZwBodHRwOi8vZXhhbXBsZS5vcmeHBMAAAgGHECABDbgAAAAA ++AAAAAAAAAAEwDQYJKoZIhvcNAQEFBQADggEBAKxPRe99SaghcI6IWT7UNkJw9aO9 ++i9eo0Fj2MUqxpKbdb9noRDy2CnHWf7EIYZ1gznXPdwzSN4YCjV5d+Q9xtBaowT0j ++HPERs1ZuytCNNJTmhyqZ8q6uzMLoht4IqH/FBfpvgaeC5tBTnTT0rD5A/olXeimk ++kX4LxlEx5RAvpGB2zZVRGr6LobD9rVK91xuHYNIxxxfEGE8tCCWjp0+3ksri9SXx ++VHWBnbM9YaL32u3hxm8sYB/Yb8WSBavJCWJJqRStVRHM1koZlJmXNx2BX4vPo6iW ++RFEIPQsFZRLrtnCAiEhyT8bC2s/Njlu6ly9gtJZWSV46Q3ZjBL4q9sHKqZQ= ++-----END CERTIFICATE----- +diff -r e0f86c3b3685 Lib/test/test_ssl.py +--- a/Lib/test/test_ssl.py Sun Aug 11 13:04:50 2013 +0300 ++++ b/Lib/test/test_ssl.py Sun Aug 11 18:17:23 2013 +0200 +@@ -55,6 +55,7 @@ + WRONGCERT = data_file("XXXnonexisting.pem") + BADKEY = data_file("badkey.pem") + NOKIACERT = data_file("nokia.pem") ++NULLBYTECERT = data_file("nullbytecert.pem") + + DHFILE = data_file("dh512.pem") + BYTES_DHFILE = os.fsencode(DHFILE) +@@ -162,6 +163,27 @@ + ('DNS', 'projects.forum.nokia.com')) + ) + ++ def test_parse_cert_CVE_2013_4073(self): ++ p = ssl._ssl._test_decode_cert(NULLBYTECERT) ++ if support.verbose: ++ sys.stdout.write("\n" + pprint.pformat(p) + "\n") ++ subject = ((('countryName', 'US'),), ++ (('stateOrProvinceName', 'Oregon'),), ++ (('localityName', 'Beaverton'),), ++ (('organizationName', 'Python Software Foundation'),), ++ (('organizationalUnitName', 'Python Core Development'),), ++ (('commonName', 'null.python.org\x00example.org'),), ++ (('emailAddress', 'python-dev@python.org'),)) ++ self.assertEqual(p['subject'], subject) ++ self.assertEqual(p['issuer'], subject) ++ self.assertEqual(p['subjectAltName'], ++ (('DNS', 'altnull.python.org\x00example.com'), ++ ('email', 'null@python.org\x00user@example.org'), ++ ('URI', 'http://null.python.org\x00http://example.org'), ++ ('IP Address', '192.0.2.1'), ++ ('IP Address', '2001:DB8:0:0:0:0:0:1\n')) ++ ) ++ + def test_DER_to_PEM(self): + with open(SVN_PYTHON_ORG_ROOT_CERT, 'r') as f: + pem = f.read() +@@ -294,6 +316,13 @@ + fail(cert, 'foo.a.com') + fail(cert, 'bar.foo.com') + ++ # NULL bytes are bad, CVE-2013-4073 ++ cert = {'subject': ((('commonName', ++ 'null.python.org\x00example.org'),),)} ++ ok(cert, 'null.python.org\x00example.org') # or raise an error? ++ fail(cert, 'example.org') ++ fail(cert, 'null.python.org') ++ + # Slightly fake real-world example + cert = {'notAfter': 'Jun 26 21:41:46 2011 GMT', + 'subject': ((('commonName', 'linuxfrz.org'),),), +diff -r e0f86c3b3685 Modules/_ssl.c +--- a/Modules/_ssl.c Sun Aug 11 13:04:50 2013 +0300 ++++ b/Modules/_ssl.c Sun Aug 11 18:17:23 2013 +0200 +@@ -771,12 +771,14 @@ + ext->value->length)); + + for(j = 0; j < sk_GENERAL_NAME_num(names); j++) { +- + /* get a rendering of each name in the set of names */ ++ int gntype; ++ ASN1_STRING *as = NULL; + + name = sk_GENERAL_NAME_value(names, j); +- if (name->type == GEN_DIRNAME) { +- ++ gntype = name-> type; ++ switch (gntype) { ++ case GEN_DIRNAME: + /* we special-case DirName as a tuple of + tuples of attributes */ + +@@ -798,11 +800,62 @@ + goto fail; + } + PyTuple_SET_ITEM(t, 1, v); ++ break; + +- } else { ++ case GEN_EMAIL: ++ case GEN_DNS: ++ case GEN_URI: ++ /* GENERAL_NAME_print() doesn't handle NUL bytes in ASN1_string ++ correctly. */ ++ t = PyTuple_New(2); ++ if (t == NULL) ++ goto fail; ++ switch (gntype) { ++ case GEN_EMAIL: ++ v = PyUnicode_FromString("email"); ++ as = name->d.rfc822Name; ++ break; ++ case GEN_DNS: ++ v = PyUnicode_FromString("DNS"); ++ as = name->d.dNSName; ++ break; ++ case GEN_URI: ++ v = PyUnicode_FromString("URI"); ++ as = name->d.uniformResourceIdentifier; ++ break; ++ } ++ if (v == NULL) { ++ Py_DECREF(t); ++ goto fail; ++ } ++ PyTuple_SET_ITEM(t, 0, v); ++ v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_data(as), ++ ASN1_STRING_length(as)); ++ if (v == NULL) { ++ Py_DECREF(t); ++ goto fail; ++ } ++ PyTuple_SET_ITEM(t, 1, v); ++ break; + ++ default: + /* for everything else, we use the OpenSSL print form */ +- ++ switch (gntype) { ++ /* check for new general name type */ ++ case GEN_OTHERNAME: ++ case GEN_X400: ++ case GEN_EDIPARTY: ++ case GEN_IPADD: ++ case GEN_RID: ++ break; ++ default: ++ if (PyErr_WarnFormat(PyExc_RuntimeWarning, 1, ++ "Unknown general name type %d", ++ gntype) == -1) { ++ goto fail; ++ } ++ break; ++ } + (void) BIO_reset(biobuf); + GENERAL_NAME_print(biobuf, name); + len = BIO_gets(biobuf, buf, sizeof(buf)-1); +@@ -829,6 +882,7 @@ + goto fail; + } + PyTuple_SET_ITEM(t, 1, v); ++ break; + } + + /* and add that rendering to the list */ diff --git a/dev-lang/python/files/pydoc.conf b/dev-lang/python/files/pydoc.conf new file mode 100644 index 0000000..20e3628 --- /dev/null +++ b/dev-lang/python/files/pydoc.conf @@ -0,0 +1,7 @@ +# /etc/init.d/pydoc.conf +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/files/pydoc.conf,v 1.3 2011/10/27 13:56:55 neurogeek Exp $ + +# This file contains the configuration for pydoc's internal webserver. + +# Default port for Python's pydoc server. +@PYDOC_PORT_VARIABLE@="7464" diff --git a/dev-lang/python/files/pydoc.init b/dev-lang/python/files/pydoc.init new file mode 100755 index 0000000..0d62dfc --- /dev/null +++ b/dev-lang/python/files/pydoc.init @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public Licence v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/files/pydoc.init,v 1.4 2011/10/27 13:56:55 neurogeek Exp $ + +depend() { + need net +} + +start() { + local pydoc_port="${@PYDOC_PORT_VARIABLE@-${PYDOC_PORT}}" + + if [ -z "${pydoc_port}" ]; then + eerror "Port not set" + return 1 + fi + + ebegin "Starting pydoc server on port ${pydoc_port}" + start-stop-daemon --start --background --make-pidfile \ + --pidfile /var/run/@PYDOC@.pid \ + --exec /usr/bin/@PYDOC@ -- -p "${pydoc_port}" + eend $? +} + +stop() { + ebegin "Stopping pydoc server" + start-stop-daemon --stop --quiet --pidfile /var/run/@PYDOC@.pid + eend $? +} diff --git a/dev-lang/python/files/python-2.5-tcl86.patch b/dev-lang/python/files/python-2.5-tcl86.patch new file mode 100644 index 0000000..2362e98 --- /dev/null +++ b/dev-lang/python/files/python-2.5-tcl86.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -1518,7 +1518,7 @@ + # The versions with dots are used on Unix, and the versions without + # dots on Windows, for detection by cygwin. + tcllib = tklib = tcl_includes = tk_includes = None +- for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2', ++ for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83', '8.2', + '82', '8.1', '81', '8.0', '80']: + tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version) + tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version) diff --git a/dev-lang/python/files/python-2.7-issue16248.patch b/dev-lang/python/files/python-2.7-issue16248.patch new file mode 100644 index 0000000..ce9c654 --- /dev/null +++ b/dev-lang/python/files/python-2.7-issue16248.patch @@ -0,0 +1,19 @@ +# HG changeset patch +# User Antoine Pitrou <solipsis@pitrou.net> +# Date 1375388712 -7200 +# Node ID 0f17aed78168e63ec058c219d03cea7240f83dd6 +# Parent bb546f6d8ab4f513804d7a420657963881e5b447 +Fix tkinter regression introduced by the security fix in #16248. + +diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py +--- a/Lib/lib-tk/Tkinter.py ++++ b/Lib/lib-tk/Tkinter.py +@@ -1736,7 +1736,7 @@ class Tk(Misc, Wm): + # ensure that self.tk is always _something_. + self.tk = None + if baseName is None: +- import sys, os ++ import os + baseName = os.path.basename(sys.argv[0]) + baseName, ext = os.path.splitext(baseName) + if ext not in ('.py', '.pyc', '.pyo'): diff --git a/dev-lang/python/files/python-2.7-issue18851.patch b/dev-lang/python/files/python-2.7-issue18851.patch new file mode 100644 index 0000000..35c69ae --- /dev/null +++ b/dev-lang/python/files/python-2.7-issue18851.patch @@ -0,0 +1,287 @@ +# HG changeset patch +# User Antoine Pitrou <solipsis@pitrou.net> +# Date 1377898693 -7200 +# Node ID 43749cb6bdbd0fdab70f76cd171c3c02a3f600dd +# Parent ba54011aa295004ad87438211fe3bb1568dd69ab +Issue #18851: Avoid a double close of subprocess pipes when the child process fails starting. + +diff --git a/Lib/subprocess.py b/Lib/subprocess.py +--- a/Lib/subprocess.py ++++ b/Lib/subprocess.py +@@ -698,12 +698,12 @@ class Popen(object): + + (p2cread, p2cwrite, + c2pread, c2pwrite, +- errread, errwrite) = self._get_handles(stdin, stdout, stderr) ++ errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr) + + try: + self._execute_child(args, executable, preexec_fn, close_fds, + cwd, env, universal_newlines, +- startupinfo, creationflags, shell, ++ startupinfo, creationflags, shell, to_close, + p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite) +@@ -711,18 +711,12 @@ class Popen(object): + # Preserve original exception in case os.close raises. + exc_type, exc_value, exc_trace = sys.exc_info() + +- to_close = [] +- # Only close the pipes we created. +- if stdin == PIPE: +- to_close.extend((p2cread, p2cwrite)) +- if stdout == PIPE: +- to_close.extend((c2pread, c2pwrite)) +- if stderr == PIPE: +- to_close.extend((errread, errwrite)) +- + for fd in to_close: + try: +- os.close(fd) ++ if mswindows: ++ fd.Close() ++ else: ++ os.close(fd) + except EnvironmentError: + pass + +@@ -816,8 +810,9 @@ class Popen(object): + """Construct and return tuple with IO objects: + p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite + """ ++ to_close = set() + if stdin is None and stdout is None and stderr is None: +- return (None, None, None, None, None, None) ++ return (None, None, None, None, None, None), to_close + + p2cread, p2cwrite = None, None + c2pread, c2pwrite = None, None +@@ -835,6 +830,10 @@ class Popen(object): + # Assuming file-like object + p2cread = msvcrt.get_osfhandle(stdin.fileno()) + p2cread = self._make_inheritable(p2cread) ++ # We just duplicated the handle, it has to be closed at the end ++ to_close.add(p2cread) ++ if stdin == PIPE: ++ to_close.add(p2cwrite) + + if stdout is None: + c2pwrite = _subprocess.GetStdHandle(_subprocess.STD_OUTPUT_HANDLE) +@@ -848,6 +847,10 @@ class Popen(object): + # Assuming file-like object + c2pwrite = msvcrt.get_osfhandle(stdout.fileno()) + c2pwrite = self._make_inheritable(c2pwrite) ++ # We just duplicated the handle, it has to be closed at the end ++ to_close.add(c2pwrite) ++ if stdout == PIPE: ++ to_close.add(c2pread) + + if stderr is None: + errwrite = _subprocess.GetStdHandle(_subprocess.STD_ERROR_HANDLE) +@@ -863,10 +866,14 @@ class Popen(object): + # Assuming file-like object + errwrite = msvcrt.get_osfhandle(stderr.fileno()) + errwrite = self._make_inheritable(errwrite) ++ # We just duplicated the handle, it has to be closed at the end ++ to_close.add(errwrite) ++ if stderr == PIPE: ++ to_close.add(errread) + + return (p2cread, p2cwrite, + c2pread, c2pwrite, +- errread, errwrite) ++ errread, errwrite), to_close + + + def _make_inheritable(self, handle): +@@ -895,7 +902,7 @@ class Popen(object): + + def _execute_child(self, args, executable, preexec_fn, close_fds, + cwd, env, universal_newlines, +- startupinfo, creationflags, shell, ++ startupinfo, creationflags, shell, to_close, + p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite): +@@ -934,6 +941,10 @@ class Popen(object): + # kill children. + creationflags |= _subprocess.CREATE_NEW_CONSOLE + ++ def _close_in_parent(fd): ++ fd.Close() ++ to_close.remove(fd) ++ + # Start the process + try: + hp, ht, pid, tid = _subprocess.CreateProcess(executable, args, +@@ -958,11 +969,11 @@ class Popen(object): + # pipe will not close when the child process exits and the + # ReadFile will hang. + if p2cread is not None: +- p2cread.Close() ++ _close_in_parent(p2cread) + if c2pwrite is not None: +- c2pwrite.Close() ++ _close_in_parent(c2pwrite) + if errwrite is not None: +- errwrite.Close() ++ _close_in_parent(errwrite) + + # Retain the process handle, but close the thread handle + self._child_created = True +@@ -1088,6 +1099,7 @@ class Popen(object): + """Construct and return tuple with IO objects: + p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite + """ ++ to_close = set() + p2cread, p2cwrite = None, None + c2pread, c2pwrite = None, None + errread, errwrite = None, None +@@ -1096,6 +1108,7 @@ class Popen(object): + pass + elif stdin == PIPE: + p2cread, p2cwrite = self.pipe_cloexec() ++ to_close.update((p2cread, p2cwrite)) + elif isinstance(stdin, int): + p2cread = stdin + else: +@@ -1106,6 +1119,7 @@ class Popen(object): + pass + elif stdout == PIPE: + c2pread, c2pwrite = self.pipe_cloexec() ++ to_close.update((c2pread, c2pwrite)) + elif isinstance(stdout, int): + c2pwrite = stdout + else: +@@ -1116,6 +1130,7 @@ class Popen(object): + pass + elif stderr == PIPE: + errread, errwrite = self.pipe_cloexec() ++ to_close.update((errread, errwrite)) + elif stderr == STDOUT: + errwrite = c2pwrite + elif isinstance(stderr, int): +@@ -1126,7 +1141,7 @@ class Popen(object): + + return (p2cread, p2cwrite, + c2pread, c2pwrite, +- errread, errwrite) ++ errread, errwrite), to_close + + + def _set_cloexec_flag(self, fd, cloexec=True): +@@ -1170,7 +1185,7 @@ class Popen(object): + + def _execute_child(self, args, executable, preexec_fn, close_fds, + cwd, env, universal_newlines, +- startupinfo, creationflags, shell, ++ startupinfo, creationflags, shell, to_close, + p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite): +@@ -1189,6 +1204,10 @@ class Popen(object): + if executable is None: + executable = args[0] + ++ def _close_in_parent(fd): ++ os.close(fd) ++ to_close.remove(fd) ++ + # For transferring possible exec failure from child to parent + # The first char specifies the exception type: 0 means + # OSError, 1 means some other error. +@@ -1283,17 +1302,17 @@ class Popen(object): + # be sure the FD is closed no matter what + os.close(errpipe_write) + +- if p2cread is not None and p2cwrite is not None: +- os.close(p2cread) +- if c2pwrite is not None and c2pread is not None: +- os.close(c2pwrite) +- if errwrite is not None and errread is not None: +- os.close(errwrite) +- + # Wait for exec to fail or succeed; possibly raising exception + # Exception limited to 1M + data = _eintr_retry_call(os.read, errpipe_read, 1048576) + finally: ++ if p2cread is not None and p2cwrite is not None: ++ _close_in_parent(p2cread) ++ if c2pwrite is not None and c2pread is not None: ++ _close_in_parent(c2pwrite) ++ if errwrite is not None and errread is not None: ++ _close_in_parent(errwrite) ++ + # be sure the FD is closed no matter what + os.close(errpipe_read) + +diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py +--- a/Lib/test/test_subprocess.py ++++ b/Lib/test/test_subprocess.py +@@ -14,6 +14,10 @@ try: + import resource + except ImportError: + resource = None ++try: ++ import threading ++except ImportError: ++ threading = None + + mswindows = (sys.platform == "win32") + +@@ -629,6 +633,36 @@ class ProcessTestCase(BaseTestCase): + if c.exception.errno not in (errno.ENOENT, errno.EACCES): + raise c.exception + ++ @unittest.skipIf(threading is None, "threading required") ++ def test_double_close_on_error(self): ++ # Issue #18851 ++ fds = [] ++ def open_fds(): ++ for i in range(20): ++ fds.extend(os.pipe()) ++ time.sleep(0.001) ++ t = threading.Thread(target=open_fds) ++ t.start() ++ try: ++ with self.assertRaises(EnvironmentError): ++ subprocess.Popen(['nonexisting_i_hope'], ++ stdin=subprocess.PIPE, ++ stdout=subprocess.PIPE, ++ stderr=subprocess.PIPE) ++ finally: ++ t.join() ++ exc = None ++ for fd in fds: ++ # If a double close occurred, some of those fds will ++ # already have been closed by mistake, and os.close() ++ # here will raise. ++ try: ++ os.close(fd) ++ except OSError as e: ++ exc = e ++ if exc is not None: ++ raise exc ++ + def test_handles_closed_on_exception(self): + # If CreateProcess exits with an error, ensure the + # duplicate output handles are released +@@ -783,7 +817,7 @@ class POSIXProcessTestCase(BaseTestCase) + + def _execute_child( + self, args, executable, preexec_fn, close_fds, cwd, env, +- universal_newlines, startupinfo, creationflags, shell, ++ universal_newlines, startupinfo, creationflags, shell, to_close, + p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite): +@@ -791,7 +825,7 @@ class POSIXProcessTestCase(BaseTestCase) + subprocess.Popen._execute_child( + self, args, executable, preexec_fn, close_fds, + cwd, env, universal_newlines, +- startupinfo, creationflags, shell, ++ startupinfo, creationflags, shell, to_close, + p2cread, p2cwrite, + c2pread, c2pwrite, + errread, errwrite) diff --git a/dev-lang/python/files/python-2.7.5-library-path.patch b/dev-lang/python/files/python-2.7.5-library-path.patch new file mode 100644 index 0000000..6f43575 --- /dev/null +++ b/dev-lang/python/files/python-2.7.5-library-path.patch @@ -0,0 +1,25 @@ +# HG changeset patch +# User Ned Deily <nad@acm.org> +# Date 1368666045 25200 +# Node ID cd577c3288860b0deb459443ca5c489dc0f99ef6 +# Parent 149340b3004acfcb68e5ed36b1e96b7463c756c7 +Issue #17990: Only modify include and library search paths when cross-compiling. + +diff --git a/setup.py b/setup.py +--- a/setup.py ++++ b/setup.py +@@ -437,9 +437,11 @@ class PyBuildExt(build_ext): + + def detect_modules(self): + # Ensure that /usr/local is always used +- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') +- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') +- self.add_gcc_paths() ++ if not cross_compiling: ++ add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') ++ add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') ++ if cross_compiling: ++ self.add_gcc_paths() + self.add_multiarch_paths() + + # Add paths specified in the environment variables LDFLAGS and diff --git a/dev-lang/python/files/python-2.7.5-nonfatal-compileall.patch b/dev-lang/python/files/python-2.7.5-nonfatal-compileall.patch new file mode 100644 index 0000000..a762dfb --- /dev/null +++ b/dev-lang/python/files/python-2.7.5-nonfatal-compileall.patch @@ -0,0 +1,18 @@ +diff --git a/Makefile.pre.in b/Makefile.pre.in +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1000,12 +1000,12 @@ + $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ + $(DESTDIR)$(LIBDEST)/distutils/tests ; \ + fi +- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ ++ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ + $(PYTHON_FOR_BUILD) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST) -f \ + -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ + $(DESTDIR)$(LIBDEST) +- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ ++ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ + $(PYTHON_FOR_BUILD) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST) -f \ + -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ diff --git a/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch b/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch new file mode 100644 index 0000000..a905839 --- /dev/null +++ b/dev-lang/python/files/python-2.7.5-re_unsigned_ptrdiff.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/show_bug.cgi?id=476426 +http://bugs.python.org/issue17998 +diff -r d91da96a55bf Modules/_sre.c +--- a/Modules/_sre.c Thu May 16 22:47:47 2013 +0100 ++++ b/Modules/_sre.c Fri May 17 21:02:48 2013 +0300 +@@ -1028,7 +1028,7 @@ + TRACE(("|%p|%p|REPEAT_ONE %d %d\n", ctx->pattern, ctx->ptr, + ctx->pattern[1], ctx->pattern[2])); + +- if (ctx->pattern[1] > end - ctx->ptr) ++ if ((Py_ssize_t) ctx->pattern[1] > end - ctx->ptr) + RETURN_FAILURE; /* cannot match */ + + state->ptr = ctx->ptr; +@@ -1111,7 +1111,7 @@ + TRACE(("|%p|%p|MIN_REPEAT_ONE %d %d\n", ctx->pattern, ctx->ptr, + ctx->pattern[1], ctx->pattern[2])); + +- if (ctx->pattern[1] > end - ctx->ptr) ++ if ((Py_ssize_t) ctx->pattern[1] > end - ctx->ptr) + RETURN_FAILURE; /* cannot match */ + + state->ptr = ctx->ptr; diff --git a/dev-lang/python/files/python-3.2-CVE-2013-2099.patch b/dev-lang/python/files/python-3.2-CVE-2013-2099.patch new file mode 100644 index 0000000..9055a03 --- /dev/null +++ b/dev-lang/python/files/python-3.2-CVE-2013-2099.patch @@ -0,0 +1,51 @@ +# HG changeset patch +# User Antoine Pitrou <solipsis@pitrou.net> +# Date 1368892602 -7200 +# Sat May 18 17:56:42 2013 +0200 +# Branch 3.2 +# Node ID b9b521efeba385af0142988899a55de1c1c805c7 +# Parent 6255b40c6a6127933d8ea7a2b9de200f5a0e6154 +Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099). + +diff --git a/Lib/ssl.py b/Lib/ssl.py +--- a/Lib/ssl.py ++++ b/Lib/ssl.py +@@ -108,9 +108,16 @@ + pass + + +-def _dnsname_to_pat(dn): ++def _dnsname_to_pat(dn, max_wildcards=1): + pats = [] + for frag in dn.split(r'.'): ++ if frag.count('*') > max_wildcards: ++ # Issue #17980: avoid denials of service by refusing more ++ # than one wildcard per fragment. A survery of established ++ # policy among SSL implementations showed it to be a ++ # reasonable choice. ++ raise CertificateError( ++ "too many wildcards in certificate DNS name: " + repr(dn)) + if frag == '*': + # When '*' is a fragment by itself, it matches a non-empty dotless + # fragment. +diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py +--- a/Lib/test/test_ssl.py ++++ b/Lib/test/test_ssl.py +@@ -326,6 +326,17 @@ + self.assertRaises(ValueError, ssl.match_hostname, None, 'example.com') + self.assertRaises(ValueError, ssl.match_hostname, {}, 'example.com') + ++ # Issue #17980: avoid denials of service by refusing more than one ++ # wildcard per fragment. ++ cert = {'subject': ((('commonName', 'a*b.com'),),)} ++ ok(cert, 'axxb.com') ++ cert = {'subject': ((('commonName', 'a*b.co*'),),)} ++ ok(cert, 'axxb.com') ++ cert = {'subject': ((('commonName', 'a*b*.com'),),)} ++ with self.assertRaises(ssl.CertificateError) as cm: ++ ssl.match_hostname(cert, 'axxbxxc.com') ++ self.assertIn("too many wildcards", str(cm.exception)) ++ + def test_server_side(self): + # server_hostname doesn't work for server sockets + ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23) diff --git a/dev-lang/python/files/python-3.2-issue16248.patch b/dev-lang/python/files/python-3.2-issue16248.patch new file mode 100644 index 0000000..d0e80ca --- /dev/null +++ b/dev-lang/python/files/python-3.2-issue16248.patch @@ -0,0 +1,19 @@ +# HG changeset patch +# User Georg Brandl <georg@python.org> +# Date 1379142489 -7200 +# Node ID c18c18774e240377d47638fb23e8276c1ac2e606 +# Parent b9b521efeba385af0142988899a55de1c1c805c7 +Fix tkinter regression introduced by the security fix in #16248. + +diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py +--- a/Lib/tkinter/__init__.py ++++ b/Lib/tkinter/__init__.py +@@ -1722,7 +1722,7 @@ class Tk(Misc, Wm): + # ensure that self.tk is always _something_. + self.tk = None + if baseName is None: +- import sys, os ++ import os + baseName = os.path.basename(sys.argv[0]) + baseName, ext = os.path.splitext(baseName) + if ext not in ('.py', '.pyc', '.pyo'): diff --git a/dev-lang/python/files/python-3.3-CVE-2013-2099.patch b/dev-lang/python/files/python-3.3-CVE-2013-2099.patch new file mode 100644 index 0000000..44b9ace --- /dev/null +++ b/dev-lang/python/files/python-3.3-CVE-2013-2099.patch @@ -0,0 +1,51 @@ +# HG changeset patch +# User Antoine Pitrou <solipsis@pitrou.net> +# Date 1368892602 -7200 +# Sat May 18 17:56:42 2013 +0200 +# Branch 3.3 +# Node ID c627638753e2d25a98950585b259104a025937a9 +# Parent 9682241dc8fcb4b1aef083bd30860efa070c3d6d +Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099). + +diff --git a/Lib/ssl.py b/Lib/ssl.py +--- a/Lib/ssl.py ++++ b/Lib/ssl.py +@@ -129,9 +129,16 @@ + pass + + +-def _dnsname_to_pat(dn): ++def _dnsname_to_pat(dn, max_wildcards=1): + pats = [] + for frag in dn.split(r'.'): ++ if frag.count('*') > max_wildcards: ++ # Issue #17980: avoid denials of service by refusing more ++ # than one wildcard per fragment. A survery of established ++ # policy among SSL implementations showed it to be a ++ # reasonable choice. ++ raise CertificateError( ++ "too many wildcards in certificate DNS name: " + repr(dn)) + if frag == '*': + # When '*' is a fragment by itself, it matches a non-empty dotless + # fragment. +diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py +--- a/Lib/test/test_ssl.py ++++ b/Lib/test/test_ssl.py +@@ -349,6 +349,17 @@ + self.assertRaises(ValueError, ssl.match_hostname, None, 'example.com') + self.assertRaises(ValueError, ssl.match_hostname, {}, 'example.com') + ++ # Issue #17980: avoid denials of service by refusing more than one ++ # wildcard per fragment. ++ cert = {'subject': ((('commonName', 'a*b.com'),),)} ++ ok(cert, 'axxb.com') ++ cert = {'subject': ((('commonName', 'a*b.co*'),),)} ++ ok(cert, 'axxb.com') ++ cert = {'subject': ((('commonName', 'a*b*.com'),),)} ++ with self.assertRaises(ssl.CertificateError) as cm: ++ ssl.match_hostname(cert, 'axxbxxc.com') ++ self.assertIn("too many wildcards", str(cm.exception)) ++ + def test_server_side(self): + # server_hostname doesn't work for server sockets + ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23) diff --git a/dev-lang/python/files/python-config-2.4-r1 b/dev-lang/python/files/python-config-2.4-r1 new file mode 100644 index 0000000..af45113 --- /dev/null +++ b/dev-lang/python/files/python-config-2.4-r1 @@ -0,0 +1,58 @@ +#! /usr/bin/python2.4 + +import sys +import os +import getopt +from distutils import sysconfig + +valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', + 'ldflags', 'help'] + +def exit_with_usage(code=1): + print >>sys.stderr, "Usage: %s [%s]" % (sys.argv[0], + '|'.join('--'+opt for opt in valid_opts)) + sys.exit(code) + +try: + opts, args = getopt.getopt(sys.argv[1:], '', valid_opts) +except getopt.error: + exit_with_usage() + +if not opts: + #exit_with_usage() + #be compatible with our old python-config-2.4 + import string + print "-lpython2.4 -lm -L/usr/lib/python2.4/config",string.join(string.split(sysconfig.get_config_var("MODLIBS"))) + sys.exit(0) + +opt = opts[0][0] + +pyver = sysconfig.get_config_var('VERSION') +getvar = sysconfig.get_config_var + +if opt == '--help': + exit_with_usage(0) + +elif opt == '--prefix': + print sysconfig.PREFIX + +elif opt == '--exec-prefix': + print sysconfig.EXEC_PREFIX + +elif opt in ('--includes', '--cflags'): + flags = ['-I' + sysconfig.get_python_inc(), + '-I' + sysconfig.get_python_inc(plat_specific=True)] + if opt == '--cflags': + flags.extend(getvar('CFLAGS').split()) + print ' '.join(flags) + +elif opt in ('--libs', '--ldflags'): + libs = getvar('LIBS').split() + getvar('SYSLIBS').split() + libs.append('-lpython'+pyver) + # add the prefix/lib/pythonX.Y/config dir, but only if there is no + # shared library in prefix/lib/. + if opt == '--ldflags' and not getvar('Py_ENABLE_SHARED'): + libs.insert(0, '-L' + getvar('LIBPL')) + print ' '.join(libs) + + diff --git a/dev-lang/python/metadata.xml b/dev-lang/python/metadata.xml new file mode 100644 index 0000000..51a9e80 --- /dev/null +++ b/dev-lang/python/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +<use> + <flag name="threads">Enable threading support. (DON'T DISABLE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)</flag> + <flag name="wide-unicode">Enable wide Unicode implementation which uses 4-byte Unicode characters. Switching of this USE flag changes ABI of Python and requires reinstallation of many Python modules. (DON'T DISABLE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)</flag> + <flag name="wininst">Install Windows executables required to create an executable installer for MS Windows.</flag> +</use> +</pkgmetadata> diff --git a/dev-lang/python/python-2.7.6-r1.ebuild b/dev-lang/python/python-2.7.6-r1.ebuild new file mode 100644 index 0000000..f9d4b0c --- /dev/null +++ b/dev-lang/python/python-2.7.6-r1.ebuild @@ -0,0 +1,345 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" +WANT_AUTOMAKE="none" +WANT_LIBTOOL="none" + +inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing + +MY_P="Python-${PV}" +PATCHSET_REVISION="0" + +DESCRIPTION="An interpreted, interactive, object-oriented programming language" +HOMEPAGE="http://www.python.org/" +SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz + mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz + http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz" + +LICENSE="PSF-2" +SLOT="2.7" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml" + +# Do not add a dependency on dev-lang/python to this ebuild. +# If you need to apply a patch which requires python for bootstrapping, please +# run the bootstrap code on your dev box and include the results in the +# patchset. See bug 447752. + +RDEPEND="app-arch/bzip2 + >=sys-libs/zlib-1.1.3 + virtual/libffi + virtual/libintl + !build? ( + berkdb? ( || ( + sys-libs/db:5.3 + sys-libs/db:5.2 + sys-libs/db:5.1 + sys-libs/db:5.0 + sys-libs/db:4.8 + sys-libs/db:4.7 + sys-libs/db:4.6 + sys-libs/db:4.5 + sys-libs/db:4.4 + sys-libs/db:4.3 + sys-libs/db:4.2 + ) ) + gdbm? ( sys-libs/gdbm[berkdb] ) + ncurses? ( + >=sys-libs/ncurses-5.2 + readline? ( >=sys-libs/readline-4.1 ) + ) + sqlite? ( >=dev-db/sqlite-3.3.8:3 ) + ssl? ( dev-libs/openssl ) + tk? ( + >=dev-lang/tk-8.0 + dev-tcltk/blt + ) + xml? ( >=dev-libs/expat-2.1 ) + ) + !!<sys-apps/portage-2.1.9" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-devel/autoconf-2.65 + !sys-devel/gcc[libffi]" +RDEPEND+=" !build? ( app-misc/mime-types ) + doc? ( dev-python/python-docs:${SLOT} )" +PDEPEND="app-admin/eselect-python + app-admin/python-updater" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use berkdb; then + ewarn "'bsddb' module is out-of-date and no longer maintained inside" + ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally" + ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module" + ewarn "is provided by dev-python/bsddb3." + else + if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then + ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]" + ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]." + ewarn "You might need to migrate your databases." + fi + fi +} + +src_prepare() { + # Ensure that internal copies of expat, libffi and zlib are not used. + rm -r Modules/expat || die + rm -r Modules/_ctypes/libffi* || die + rm -r Modules/zlib || die + + if tc-is-cross-compiler; then + local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch" + fi + + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" + + # Fix for cross-compiling. + epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch" + + sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \ + Lib/distutils/command/install.py \ + Lib/distutils/sysconfig.py \ + Lib/site.py \ + Lib/sysconfig.py \ + Lib/test/test_site.py \ + Makefile.pre.in \ + Modules/Setup.dist \ + Modules/getpath.c \ + setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@" + + epatch_user + + eautoconf + eautoheader +} + +src_configure() { + if use build; then + # Disable extraneous modules with extra dependencies. + export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat" + export PYTHON_DISABLE_SSL="1" + else + # dbm module can be linked against berkdb or gdbm. + # Defaults to gdbm when both are enabled, #204343. + local disable + use berkdb || use gdbm || disable+=" dbm" + use berkdb || disable+=" _bsddb" + use gdbm || disable+=" gdbm" + use ncurses || disable+=" _curses _curses_panel" + use readline || disable+=" readline" + use sqlite || disable+=" _sqlite3" + use ssl || export PYTHON_DISABLE_SSL="1" + use tk || disable+=" _tkinter" + use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat. + export PYTHON_DISABLE_MODULES="${disable}" + + if ! use xml; then + ewarn "You have configured Python without XML support." + ewarn "This is NOT a recommended configuration as you" + ewarn "may face problems parsing any XML documents." + fi + fi + + if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then + einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" + fi + + if [[ "$(gcc-major-version)" -ge 4 ]]; then + append-flags -fwrapv + fi + + filter-flags -malign-double + + [[ "${ARCH}" == "alpha" ]] && append-flags -fPIC + + # https://bugs.gentoo.org/show_bug.cgi?id=50309 + if is-flagq -O3; then + is-flagq -fstack-protector-all && replace-flags -O3 -O2 + use hardened && replace-flags -O3 -O2 + fi + + # Export CXX so it ends up in /usr/lib/python2.X/config/Makefile. + tc-export CXX + # The configure script fails to use pkg-config correctly. + # http://bugs.python.org/issue15506 + export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG) + + # Set LDFLAGS so we link modules with -lpython2.7 correctly. + # Needed on FreeBSD unless Python 2.7 is already installed. + # Please query BSD team before removing this! + append-ldflags "-L." + + local dbmliborder + if use gdbm; then + dbmliborder+="${dbmliborder:+:}gdbm" + fi + if use berkdb; then + dbmliborder+="${dbmliborder:+:}bdb" + fi + + BUILD_DIR="${WORKDIR}/${CHOST}" + mkdir -p "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + + ECONF_SOURCE="${S}" OPT="" \ + econf \ + --with-fpectl \ + --enable-shared \ + $(use_enable ipv6) \ + $(use_with threads) \ + $(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \ + --infodir='${prefix}/share/info' \ + --mandir='${prefix}/share/man' \ + --with-dbmliborder="${dbmliborder}" \ + --with-libc="" \ + --enable-loadable-sqlite-extensions \ + --with-system-expat \ + --with-system-ffi +} + +src_compile() { + # Avoid invoking pgen for cross-compiles. + touch Include/graminit.h Python/graminit.c + + cd "${BUILD_DIR}" || die + emake + + # Work around bug 329499. See also bug 413751 and 457194. + if has_version dev-libs/libffi[pax_kernel]; then + pax-mark E python + else + pax-mark m python + fi +} + +src_test() { + # Tests will not work when cross compiling. + if tc-is-cross-compiler; then + elog "Disabling tests due to crosscompiling." + return + fi + + cd "${BUILD_DIR}" || die + + # Skip failing tests. + local skipped_tests="distutils gdb" + + for test in ${skipped_tests}; do + mv "${S}"/Lib/test/test_${test}.py "${T}" + done + + # Rerun failed tests in verbose mode (regrtest -w). + emake test EXTRATESTOPTS="-w" < /dev/tty + local result="$?" + + for test in ${skipped_tests}; do + mv "${T}/test_${test}.py" "${S}"/Lib/test + done + + elog "The following tests have been skipped:" + for test in ${skipped_tests}; do + elog "test_${test}.py" + done + + elog "If you would like to run them, you may:" + elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'" + elog "and run the tests separately." + + if [[ "${result}" -ne 0 ]]; then + die "emake test failed" + fi +} + +src_install() { + local libdir=${ED}/usr/$(get_libdir)/python${SLOT} + + cd "${BUILD_DIR}" || die + emake DESTDIR="${D}" altinstall + + sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed" + + # Backwards compat with Gentoo divergence. + dosym python${SLOT}-config /usr/bin/python-config-${SLOT} + + # Fix collisions between different slots of Python. + mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}" + mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}" + mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}" + rm -f "${ED}usr/bin/smtpd.py" + + if use build; then + rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test} + else + use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die + use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die + use tk || rm -r "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die + use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test} + fi + + use threads || rm -r "${libdir}/multiprocessing" || die + use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die + + dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r "${S}"/Tools + fi + insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 + local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \ + emake --no-print-directory -s -f - 2>/dev/null) + newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py + + newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} + sed \ + -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \ + -e "s:@PYDOC@:pydoc${SLOT}:" \ + -i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" + + # for python-exec + python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR + + # if not using a cross-compiler, use the fresh binary + if ! tc-is-cross-compiler; then + local PYTHON=./python + local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}. + fi + + echo "EPYTHON='${EPYTHON}'" > epython.py + python_domodule epython.py +} + +pkg_preinst() { + if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then + python_updater_warning="1" + fi +} + +eselect_python_update() { + if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then + eselect python update + fi + + if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then + eselect python update --python${PV%%.*} + fi +} + +pkg_postinst() { + eselect_python_update + + if [[ "${python_updater_warning}" == "1" ]]; then + ewarn "You have just upgraded from an older version of Python." + ewarn "You should switch active version of Python ${PV%%.*} and run" + ewarn "'python-updater [options]' to rebuild Python modules." + fi +} + +pkg_postrm() { + eselect_python_update +} diff --git a/dev-lang/python/python-3.2.5-r4.ebuild b/dev-lang/python/python-3.2.5-r4.ebuild new file mode 100644 index 0000000..4c011a5 --- /dev/null +++ b/dev-lang/python/python-3.2.5-r4.ebuild @@ -0,0 +1,370 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" +WANT_AUTOMAKE="none" +WANT_LIBTOOL="none" + +inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing + +MY_P="Python-${PV}" +PATCHSET_REVISION="0" + +DESCRIPTION="An interpreted, interactive, object-oriented programming language" +HOMEPAGE="http://www.python.org/" +SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz + mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz" + +LICENSE="PSF-2" +SLOT="3.2" +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml" + +# Do not add a dependency on dev-lang/python to this ebuild. +# If you need to apply a patch which requires python for bootstrapping, please +# run the bootstrap code on your dev box and include the results in the +# patchset. See bug 447752. + +RDEPEND="app-arch/bzip2 + >=sys-libs/zlib-1.1.3 + virtual/libffi + virtual/libintl + !build? ( + gdbm? ( sys-libs/gdbm[berkdb] ) + ncurses? ( + >=sys-libs/ncurses-5.2 + readline? ( >=sys-libs/readline-4.1 ) + ) + sqlite? ( >=dev-db/sqlite-3.3.8:3 ) + ssl? ( dev-libs/openssl ) + tk? ( + >=dev-lang/tk-8.0 + dev-tcltk/blt + ) + xml? ( >=dev-libs/expat-2.1 ) + )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-devel/autoconf-2.65 + !sys-devel/gcc[libffi]" +RDEPEND+=" !build? ( app-misc/mime-types ) + doc? ( dev-python/python-docs:${SLOT} )" +PDEPEND="app-admin/eselect-python + app-admin/python-updater" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if [[ "${PV}" =~ ^3\.2(\.[1234])?(_pre)? ]]; then + rm -f "${EROOT}usr/$(get_libdir)/llibpython3.so" + else + die "Deprecated code not deleted" + fi +} + +src_prepare() { + # Ensure that internal copies of expat, libffi and zlib are not used. + rm -r Modules/expat + rm -r Modules/_ctypes/libffi* + rm -r Modules/zlib + + local excluded_patches + if ! tc-is-cross-compiler; then + excluded_patches="*_all_crosscompile.patch" + fi + + EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \ + epatch "${WORKDIR}/${PV}-${PATCHSET_REVISION}" + + epatch "${FILESDIR}/python-3.2-CVE-2013-2099.patch" + epatch "${FILESDIR}/CVE-2013-4238_py33.patch" + epatch "${FILESDIR}/python-3.2-issue16248.patch" + + sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \ + Lib/distutils/command/install.py \ + Lib/distutils/sysconfig.py \ + Lib/site.py \ + Lib/sysconfig.py \ + Lib/test/test_site.py \ + Makefile.pre.in \ + Modules/Setup.dist \ + Modules/getpath.c \ + setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@" + + # Disable ABI flags. + sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed" + + epatch_user + + eautoconf + eautoheader +} + +src_configure() { + if use build; then + # Disable extraneous modules with extra dependencies. + export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat" + export PYTHON_DISABLE_SSL="1" + else + local disable + use gdbm || disable+=" gdbm" + use ncurses || disable+=" _curses _curses_panel" + use readline || disable+=" readline" + use sqlite || disable+=" _sqlite3" + use ssl || export PYTHON_DISABLE_SSL="1" + use tk || disable+=" _tkinter" + use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat. + export PYTHON_DISABLE_MODULES="${disable}" + + if ! use xml; then + ewarn "You have configured Python without XML support." + ewarn "This is NOT a recommended configuration as you" + ewarn "may face problems parsing any XML documents." + fi + fi + + if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then + einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" + fi + + if [[ "$(gcc-major-version)" -ge 4 ]]; then + append-flags -fwrapv + fi + + filter-flags -malign-double + + [[ "${ARCH}" == "alpha" ]] && append-flags -fPIC + + # https://bugs.gentoo.org/show_bug.cgi?id=50309 + if is-flagq -O3; then + is-flagq -fstack-protector-all && replace-flags -O3 -O2 + use hardened && replace-flags -O3 -O2 + fi + + # Run the configure scripts in parallel. + multijob_init + + mkdir -p "${WORKDIR}"/{${CBUILD},${CHOST}} + + if tc-is-cross-compiler; then + ( + multijob_child_init + cd "${WORKDIR}"/${CBUILD} >/dev/null + OPT="-O1" CFLAGS="" CPPFLAGS="" LDFLAGS="" CC="" \ + "${S}"/configure \ + --{build,host}=${CBUILD} \ + || die "cross-configure failed" + ) & + multijob_post_fork + + # The configure script assumes it's buggy when cross-compiling. + export ac_cv_buggy_getaddrinfo=no + export ac_cv_have_long_long_format=yes + fi + + # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile. + tc-export CXX + # The configure script fails to use pkg-config correctly. + # http://bugs.python.org/issue15506 + export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG) + + # Set LDFLAGS so we link modules with -lpython3.2 correctly. + # Needed on FreeBSD unless Python 3.2 is already installed. + # Please query BSD team before removing this! + append-ldflags "-L." + + local dbmliborder + if use gdbm; then + dbmliborder+="${dbmliborder:+:}gdbm" + fi + + cd "${WORKDIR}"/${CHOST} + ECONF_SOURCE=${S} OPT="" \ + econf \ + --with-fpectl \ + --enable-shared \ + $(use_enable ipv6) \ + $(use_with threads) \ + $(use_with wide-unicode) \ + --infodir='${prefix}/share/info' \ + --mandir='${prefix}/share/man' \ + --with-computed-gotos \ + --with-dbmliborder="${dbmliborder}" \ + --with-libc="" \ + --enable-loadable-sqlite-extensions \ + --with-system-expat \ + --with-system-ffi + + if tc-is-cross-compiler; then + # Modify the Makefile.pre so we don't regen for the host/ one. + # We need to link the host python programs into $PWD and run + # them from here because the distutils sysconfig module will + # parse Makefile/etc... from argv[0], and we need it to pick + # up the target settings, not the host ones. + sed -i \ + -e '1iHOSTPYTHONPATH = ./hostpythonpath:' \ + -e '/^HOSTPYTHON/s:=.*:= ./hostpython:' \ + -e '/^HOSTPGEN/s:=.*:= ./Parser/hostpgen:' \ + Makefile{.pre,} || die "sed failed" + fi + + multijob_finish +} + +src_compile() { + if tc-is-cross-compiler; then + cd "${WORKDIR}"/${CBUILD} + # Disable as many modules as possible -- but we need a few to install. + PYTHON_DISABLE_MODULES=$( + sed -n "/Extension('/{s:^.*Extension('::;s:'.*::;p}" "${S}"/setup.py | \ + egrep -v '(unicodedata|time|cStringIO|_struct|binascii)' + ) \ + PTHON_DISABLE_SSL="1" \ + SYSROOT= \ + emake + # See comment in src_configure about these. + ln python ../${CHOST}/hostpython || die + ln Parser/pgen ../${CHOST}/Parser/hostpgen || die + ln -s ../${CBUILD}/build/lib.*/ ../${CHOST}/hostpythonpath || die + fi + + cd "${WORKDIR}"/${CHOST} + emake CPPFLAGS="" CFLAGS="" LDFLAGS="" + + # Work around bug 329499. See also bug 413751 and 457194. + if has_version dev-libs/libffi[pax_kernel]; then + pax-mark E python + else + pax-mark m python + fi +} + +src_test() { + # Tests will not work when cross compiling. + if tc-is-cross-compiler; then + elog "Disabling tests due to crosscompiling." + return + fi + + cd "${WORKDIR}"/${CHOST} + + # Skip failing tests. + local skipped_tests="gdb" + + for test in ${skipped_tests}; do + mv "${S}"/Lib/test/test_${test}.py "${T}" + done + + # Rerun failed tests in verbose mode (regrtest -w). + PYTHONDONTWRITEBYTECODE="" emake test EXTRATESTOPTS="-w" CPPFLAGS="" CFLAGS="" LDFLAGS="" < /dev/tty + local result="$?" + + for test in ${skipped_tests}; do + mv "${T}/test_${test}.py" "${S}"/Lib/test + done + + elog "The following tests have been skipped:" + for test in ${skipped_tests}; do + elog "test_${test}.py" + done + + elog "If you would like to run them, you may:" + elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'" + elog "and run the tests separately." + + if [[ "${result}" -ne 0 ]]; then + die "emake test failed" + fi +} + +src_install() { + local libdir=${ED}/usr/$(get_libdir)/python${SLOT} + + cd "${WORKDIR}"/${CHOST} + emake DESTDIR="${D}" altinstall + + sed \ + -e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \ + -e "s/\(PY_LDFLAGS=\).*/\1/" \ + -i "${libdir}/config-${SLOT}/Makefile" || die "sed failed" + + # Backwards compat with Gentoo divergence. + dosym python${SLOT}-config /usr/bin/python-config-${SLOT} + + # Fix collisions between different slots of Python. + rm "${ED}usr/$(get_libdir)/libpython3.so" || die + + if use build; then + rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter} + else + use elibc_uclibc && rm -fr "${libdir}/test" + use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*} + use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*} + fi + + use threads || rm -fr "${libdir}/multiprocessing" + use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe + + dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} + + if use examples; then + insinto /usr/share/doc/${PF}/examples + find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr + doins -r "${S}"/Tools + fi + insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 + local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \ + emake --no-print-directory -s -f - 2>/dev/null) + newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py + + newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} + sed \ + -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \ + -e "s:@PYDOC@:pydoc${SLOT}:" \ + -i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" + + # for python-exec + python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR + + # if not using a cross-compiler, use the fresh binary + if ! tc-is-cross-compiler; then + local PYTHON=./python \ + LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}. + export LD_LIBRARY_PATH + fi + + echo "EPYTHON='${EPYTHON}'" > epython.py + python_domodule epython.py +} + +pkg_preinst() { + if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then + python_updater_warning="1" + fi +} + +eselect_python_update() { + if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then + eselect python update + fi + + if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then + eselect python update --python${PV%%.*} + fi +} + +pkg_postinst() { + eselect_python_update + + if [[ "${python_updater_warning}" == "1" ]]; then + ewarn "You have just upgraded from an older version of Python." + ewarn "You should switch active version of Python ${PV%%.*} and run" + ewarn "'python-updater [options]' to rebuild Python modules." + fi +} + +pkg_postrm() { + eselect_python_update +} diff --git a/dev-lang/python/python-3.3.3-r1.ebuild b/dev-lang/python/python-3.3.3-r1.ebuild new file mode 100644 index 0000000..b8153f9 --- /dev/null +++ b/dev-lang/python/python-3.3.3-r1.ebuild @@ -0,0 +1,314 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" +WANT_AUTOMAKE="none" +WANT_LIBTOOL="none" + +inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing + +MY_P="Python-${PV}" +PATCHSET_REVISION="0" + +DESCRIPTION="An interpreted, interactive, object-oriented programming language" +HOMEPAGE="http://www.python.org/" +SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz + http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz + mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz" + +LICENSE="PSF-2" +SLOT="3.3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk wininst +xml" + +# Do not add a dependency on dev-lang/python to this ebuild. +# If you need to apply a patch which requires python for bootstrapping, please +# run the bootstrap code on your dev box and include the results in the +# patchset. See bug 447752. + +RDEPEND="app-arch/bzip2 + app-arch/xz-utils + >=sys-libs/zlib-1.1.3 + virtual/libffi + virtual/libintl + !build? ( + gdbm? ( sys-libs/gdbm[berkdb] ) + ncurses? ( + >=sys-libs/ncurses-5.2 + readline? ( >=sys-libs/readline-4.1 ) + ) + sqlite? ( >=dev-db/sqlite-3.3.8:3 ) + ssl? ( dev-libs/openssl ) + tk? ( + >=dev-lang/tk-8.0 + dev-tcltk/blt + ) + xml? ( >=dev-libs/expat-2.1 ) + ) + !!<sys-apps/sandbox-2.6-r1" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=sys-devel/autoconf-2.65 + !sys-devel/gcc[libffi]" +RDEPEND+=" !build? ( app-misc/mime-types ) + doc? ( dev-python/python-docs:${SLOT} )" +PDEPEND="app-admin/eselect-python + app-admin/python-updater" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Ensure that internal copies of expat, libffi and zlib are not used. + rm -fr Modules/expat + rm -fr Modules/_ctypes/libffi* + rm -fr Modules/zlib + + if tc-is-cross-compiler; then + # Invokes BUILDPYTHON, which is built for the host arch + local EPATCH_EXCLUDE="05_all_regenerate_platform-specific_modules.patch" + fi + + EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" + + sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \ + Lib/distutils/command/install.py \ + Lib/distutils/sysconfig.py \ + Lib/site.py \ + Lib/sysconfig.py \ + Lib/test/test_site.py \ + Makefile.pre.in \ + Modules/Setup.dist \ + Modules/getpath.c \ + setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@" + + # Disable ABI flags. + sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed" + + epatch_user + + eautoconf + eautoheader +} + +src_configure() { + if use build; then + # Disable extraneous modules with extra dependencies. + export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat" + export PYTHON_DISABLE_SSL="1" + else + local disable + use gdbm || disable+=" gdbm" + use ncurses || disable+=" _curses _curses_panel" + use readline || disable+=" readline" + use sqlite || disable+=" _sqlite3" + use ssl || export PYTHON_DISABLE_SSL="1" + use tk || disable+=" _tkinter" + use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat. + export PYTHON_DISABLE_MODULES="${disable}" + + if ! use xml; then + ewarn "You have configured Python without XML support." + ewarn "This is NOT a recommended configuration as you" + ewarn "may face problems parsing any XML documents." + fi + fi + + if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then + einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" + fi + + if [[ "$(gcc-major-version)" -ge 4 ]]; then + append-flags -fwrapv + fi + + filter-flags -malign-double + + [[ "${ARCH}" == "alpha" ]] && append-flags -fPIC + + # https://bugs.gentoo.org/show_bug.cgi?id=50309 + if is-flagq -O3; then + is-flagq -fstack-protector-all && replace-flags -O3 -O2 + use hardened && replace-flags -O3 -O2 + fi + + # Export CXX so it ends up in /usr/lib/python3.X/config/Makefile. + tc-export CXX + # The configure script fails to use pkg-config correctly. + # http://bugs.python.org/issue15506 + export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG) + + # Set LDFLAGS so we link modules with -lpython3.2 correctly. + # Needed on FreeBSD unless Python 3.2 is already installed. + # Please query BSD team before removing this! + append-ldflags "-L." + + local dbmliborder + if use gdbm; then + dbmliborder+="${dbmliborder:+:}gdbm" + fi + + BUILD_DIR="${WORKDIR}/${CHOST}" + mkdir -p "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + + ECONF_SOURCE="${S}" OPT="" \ + econf \ + --with-fpectl \ + --enable-shared \ + $(use_enable ipv6) \ + $(use_with threads) \ + --infodir='${prefix}/share/info' \ + --mandir='${prefix}/share/man' \ + --with-computed-gotos \ + --with-dbmliborder="${dbmliborder}" \ + --with-libc="" \ + --enable-loadable-sqlite-extensions \ + --with-system-expat \ + --with-system-ffi +} + +src_compile() { + # Avoid invoking pgen for cross-compiles. + touch Include/graminit.h Python/graminit.c || die + + cd "${BUILD_DIR}" || die + emake CPPFLAGS="" CFLAGS="" LDFLAGS="" + + # Work around bug 329499. See also bug 413751 and 457194. + if has_version dev-libs/libffi[pax_kernel]; then + pax-mark E python + else + pax-mark m python + fi +} + +src_test() { + # Tests will not work when cross compiling. + if tc-is-cross-compiler; then + elog "Disabling tests due to crosscompiling." + return + fi + + cd "${BUILD_DIR}" || die + + # Skip failing tests. + local skipped_tests="gdb" + + for test in ${skipped_tests}; do + mv "${S}"/Lib/test/test_${test}.py "${T}" + done + + PYTHONDONTWRITEBYTECODE="" emake test EXTRATESTOPTS="-u -network" FLAGS="" CFLAGS="" LDFLAGS="" < /dev/tty + local result="$?" + + for test in ${skipped_tests}; do + mv "${T}/test_${test}.py" "${S}"/Lib/test + done + + elog "The following tests have been skipped:" + for test in ${skipped_tests}; do + elog "test_${test}.py" + done + + elog "If you would like to run them, you may:" + elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'" + elog "and run the tests separately." + + if [[ "${result}" -ne 0 ]]; then + die "emake test failed" + fi +} + +src_install() { + local libdir=${ED}/usr/$(get_libdir)/python${SLOT} + + cd "${BUILD_DIR}" || die + + emake DESTDIR="${D}" altinstall + + sed \ + -e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \ + -e "s/\(PY_LDFLAGS=\).*/\1/" \ + -i "${libdir}/config-${SLOT}/Makefile" || die "sed failed" + + # Backwards compat with Gentoo divergence. + dosym python${SLOT}-config /usr/bin/python-config-${SLOT} + + # Fix collisions between different slots of Python. + rm -f "${ED}usr/$(get_libdir)/libpython3.so" + + if use build; then + rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter} + else + use elibc_uclibc && rm -fr "${libdir}/test" + use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*} + use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*} + fi + + use threads || rm -fr "${libdir}/multiprocessing" + use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe + + dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} + + if use examples; then + insinto /usr/share/doc/${PF}/examples + find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr + doins -r "${S}"/Tools + fi + insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 + local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \ + emake --no-print-directory -s -f - 2>/dev/null) + newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py + + newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} + sed \ + -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \ + -e "s:@PYDOC@:pydoc${SLOT}:" \ + -i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" + + # for python-exec + python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR + + # if not using a cross-compiler, use the fresh binary + if ! tc-is-cross-compiler; then + local PYTHON=./python + local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}. + fi + + echo "EPYTHON='${EPYTHON}'" > epython.py + python_domodule epython.py +} + +pkg_preinst() { + if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then + python_updater_warning="1" + fi +} + +eselect_python_update() { + if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then + eselect python update + fi + + if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then + eselect python update --python${PV%%.*} + fi +} + +pkg_postinst() { + eselect_python_update + + if [[ "${python_updater_warning}" == "1" ]]; then + ewarn "You have just upgraded from an older version of Python." + ewarn + ewarn "Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules." + ewarn + ewarn "For legacy packages, you should switch active version of Python and run 'python-updater [options]' to rebuild Python modules." + fi +} + +pkg_postrm() { + eselect_python_update +} |