Commit graph

20 commits

Author SHA1 Message Date
obache
df6b106d18 fixes reverse condition usage of CHECK_BUILTIN.openssl. 2012-05-13 09:00:43 +00:00
obache
2ccd668147 Update python31 to 3.1.5.
(CVE-2012-0845 is already fixed in pkgsrc)

What's New in Python 3.1.5?
===========================

*Release date: 2012-04-08*

Core and Builtins
-----------------

- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
  environment variable, to provide an opt-in way to protect against denial of
  service attacks due to hash collisions within the dict and set types.  Patch
  by David Malcolm, based on work by Victor Stinner.

Library
-------

- Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes in the hash
  table internal to the pyexpat module's copy of the expat library to avoid a
  denial of service due to hash collisions.  Patch by David Malcolm with some
  modifications by the expat project.

- Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in
  SimpleXMLRPCServer upon malformed POST request.

- Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC
  IV attack countermeasure.

- Issue #11603: Fix a crash when __str__ is rebound as __repr__.  Patch by
  Andreas Stührk.
2012-04-14 11:22:07 +00:00
obache
8c4ad19574 also drop idle3.1 from ALTERNATIVES. 2012-03-22 09:24:53 +00:00
markd
bb20d2fd73 Don't install idle3.1. It requires _tkinter which is split out to a
separate package.  We have a separate package for idle (py-idle).
2012-03-22 09:20:43 +00:00
sbd
a6a632828d python install different files on Linux-2.* and Linux-3.* 2012-03-08 07:23:39 +00:00
obache
9b48576500 * change ALTERNATIVES for pydoc3.1 to pydoc3, match to original name.
* also rename idle3 with version suffix to avoid conflict with future python3.
* stop to rename smtpd.py, it will not be installed as script in python3.

Bump PKGREVISION.
2012-03-04 08:11:51 +00:00
drochner
0c0a4a8bd9 apply fix for CVE-2012-0845 to other Python versions too
(2.4 is not affected)
2012-02-15 16:08:25 +00:00
adam
70b4394a59 Revbump after updating db5 2012-01-18 13:55:13 +00:00
hans
08a9a325d1 On SunOS, don't ever override _XOPEN_SOURCE if it is already set.
Fixes build on SunOS with gcc>=4.6.
2011-12-16 17:04:17 +00:00
sbd
e9c5eab9e8 Change a unused variable referacne to a fixed string that I missed when
coping the Mac OS X sdk filename handling.

Thank to Matthias Rampke in PR#45581 for catching this.
2011-11-08 07:30:08 +00:00
sbd
162efd13cd Improve the gdbm_compat handling by searching any ndbm.h found for the
string 'This file is part of GDBM' and ignoring it if it dose.

Thanks to obache@ for the idea.
2011-10-31 06:50:53 +00:00
sbd
ae16b89304 Deal with the fact that if /usr/include/ndbm.h exists on Linux it probably
belongs to gdbm_compat.  I.E. _don't_ use ndbm on Linux.
2011-10-18 21:59:17 +00:00
hans
d588874303 No more sunaudiodev in Python 3.1 2011-09-14 17:09:07 +00:00
obache
8128c12816 Fixes disabling pyexpat module.
PR pkg/45345 by Pierre Allegraud.

Bump PKGREVISION.
2011-09-10 11:23:12 +00:00
cheusov
eae3696138 PLIST fix for Linux 2011-09-06 09:52:04 +00:00
cheusov
5c228a61bf revert previous commit 2011-09-06 09:51:27 +00:00
cheusov
993918908f PLIST fix for Linux 2011-09-06 09:50:16 +00:00
adam
7ef16df517 PLIST fix for Darwin + pkglint cosmetics 2011-06-22 18:42:16 +00:00
reed
a3cb6ba246 Add missing custom PLIST entries for _sha256.so and _sha512.so
for some systems that have older openssl. (The Makefile
part was already there but was unused.)

Also replace interpreter for all scripts.

This caused the build attempt to rebuild opcode_targets.h. But
that uses "python" which does not exist yet.
2011-06-17 00:59:25 +00:00
reed
0952b2bd73 Add python3.1 version 3.1.4.
I will commit some additional changes for this separately.
2011-06-17 00:10:18 +00:00