Commit graph

93 commits

Author SHA1 Message Date
bsiegert
a8448ee3ef Redo reverted commit from obache@. Original description:
Prevent to detect unwanted builtin openssl.

After bump of BUILDLINK_API_DEPENDS.openssl to 1.0.1c,
buitin openssl is not acceptable for various platforms.
2014-04-13 14:56:56 +00:00
obache
9c28249942 fixes for readline-6.3.
backported from Python 2.7.
2014-03-27 06:14:57 +00:00
obache
e641b26932 revert last change, should not be committed dureing freeze. 2014-03-27 05:36:10 +00:00
obache
a672644455 Prevent to detect unwanted builtin openssl.
After bump of BUILDLINK_API_DEPENDS.openssl to 1.0.1c,
buitin openssl is not acceptable for various platforms.
2014-03-27 05:15:00 +00:00
obache
6adf0a6bb5 For smtpd.py, only rename with ${PY_VER_SUFFIX} to be installed as a tool,
or rename of module name affect to other parts using this module.
Noticed by Benjamin Lorenz in tech-pkg@.

Additionally, set ALTERNATIVE for bin/smtpd.py.
2014-03-12 12:57:06 +00:00
tron
6b995eb81c Remove now unnecessary package list handling for OpenSSL 0.9.*. 2014-02-12 23:28:16 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
drochner
7c98d92bcc adopt the socket.recvfrom_into() security fix from Python-2.7
bump PKGREV
2014-02-09 13:47:10 +00:00
adam
774848635f Python 2.6.9 is a security-fix source-only release for Python 2.6.8, fixing several reported security issues: issue 16037, issue 16038, issue 16039, issue 16040, issue 16041, and issue 16042 (CVE-2013-1752, long lines consuming too much memory), as well as issue 14984 (security enforcement on $HOME/.netrc files), issue 16248 (code execution vulnerability in tkinter), and issue 18709 (CVE-2013-4238, SSL module handling of NULL bytes inside subjectAltName). 2013-11-06 07:25:49 +00:00
joerg
faafd761a1 Always pass rpath argument with -Wl prefix, especially if clang is not called
gcc. Bump revision.
2013-09-10 14:22:29 +00:00
tez
205ad986c6 Patch for CVE-2013-4238 from http://hg.python.org/cpython/raw-rev/79007c4244d6 2013-08-27 18:00:32 +00:00
ryoon
f8e628f818 * .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
2013-07-15 02:02:17 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
dholland
9779b39196 Revert previous as it breaks clang. PR 47342 2012-12-21 20:28:36 +00:00
dholland
ff9fd1aaf2 Use -Werror=format when checking HAVE_ATTRIBUTE_FORMAT_PARSETUPLE, so
injecting -Wall -Wno-error does not cause the test to produce the wrong
answer. (If it does, the wrong information is installed in /usr/include,
and ultimately provokes PR 47342.)

Same as -r1.8 of python27's patch-al.
2012-12-16 23:32:46 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
obache
c38c120ee5 recursive bump from libffi shlib major bump
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-15 10:03:29 +00:00
drochner
df2589f37e as with python27: avoid POSIX semaphores on NetBSD, this is broken
at least on -current
2012-08-14 18:41:19 +00:00
obache
df6b106d18 fixes reverse condition usage of CHECK_BUILTIN.openssl. 2012-05-13 09:00:43 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
joerg
fc4bb6cc7e Fix build of py26-expat against expat-2.0. Bump revision. 2012-05-05 22:16:14 +00:00
obache
771b02612e Update python26 to 2.6.8.
(CVE-2012-0845, CVE-2012-1150 are alredy fixed in pkgsrc,
 CVE-2012-0876 is not affect to pkgsrc, using external expat)

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

*Release date: 2012-04-10*

No changes since 2.6.8rc2.


What's New in Python 2.6.8 rc 2?
================================

*Release date: 2012-03-17*

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.


What's New in Python 2.6.8 rc 1?
================================

*Release date: 2012-02-23*

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

- Issue #13703: oCERT-2011-003 CVE-2012-1150: 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 #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.
2012-04-14 10:47:17 +00:00
tron
d605795da0 Add a fix for the DoS vulnerability reported in CVE-2012-1150 taken
from the Python Mercurial repository.
2012-03-25 09:09:05 +00:00
drochner
e35e1d9723 add patch from Python issue#14001 to fix xmlrpc server endless loop
by malformed request
bump PKGREV
2012-02-15 12:21:40 +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
dsainty
668a742391 Internally, Python has a set of modules depending on "platform". The
"platform" in Python terms is different for Linux kernel 2.* Vs Linux
kernel 3.*.  Add in support to pull in a different PLIST for Linux 3.*.

Fixes build under Ubuntu 11.10.

XXX Perhaps it would be cleaner to name the PLIST to match the python platform
name - since we already calculate that anyway, and that is exactly what drives
the contents of these PLISTs.
2011-10-28 10:38:07 +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
dsainty
fa63a0d9ad Debian (and therefore Ubuntu) have taken to hiding some libraries
awkwardly, leading to Python 2.6 failing to build.

Python 2.7 builds ok, because it has been taught to deal with this.
This patch retro-fits the 2.7 code into 2.6, and allows 2.6 to build on
Ubuntu 11.04.

Ok'd by wiz@
2011-10-01 03:11:15 +00:00
yyamano
7185c82bbd Make this build on Mac OS X Lion. Fixes PR pkg/45389.
It is not a leaf package, but the changes affect Mac OS X only.
Test builds on 10.5/i386, 10.6/i386 (thanks tron@), 10.7/i386 and
10.7/x86_64 (thanks ryoon@).
2011-09-30 08:34:26 +00:00
adam
faf8ae6ee8 Fix for intereger overflow when compiled with Clang 2011-09-16 10:08:20 +00:00
hans
2b251bca1e Teach configure about SunOS 5.11, preventing some pyconfig.h weirdness. 2011-09-14 17:06:32 +00:00
bsiegert
496f003e12 Fix build on MirBSD by adding the respective stanzas to configure and fix
building the select module.

Reviewed by Bernd Ernesti and Jörg Sonnenberger.
2011-09-12 20:14:06 +00:00
obache
645baf25ae Update python26 to 2.6.7.
(CVE-2011-1521 had been fixed in pkgsrc).

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

*Release date: 2011-06-03*

*NOTE: Python 2.6 is in security-fix-only mode.  No non-security bug fixes are
 allowed.  Python 2.6.7 and beyond will be source only releases.*

* No changes since 2.6.7rc2.


What's New in Python 2.6.7 rc 2?
================================

*Release date: 2011-05-20*

*NOTE: Python 2.6 is in security-fix-only mode.  No non-security bug fixes are
 allowed.  Python 2.6.7 and beyond will be source only releases.*


Library
-------

- Issue #11662: Make urllib and urllib2 ignore redirections if the
  scheme is not HTTP, HTTPS or FTP (CVE-2011-1521).

- Issue #11442: Add a charset parameter to the Content-type in SimpleHTTPServer
  to avoid XSS attacks.


What's New in Python 2.6.7 rc 1?
================================

*Release date: 2011-05-06*

Library
-------

- Issue #9129: smtpd.py is vulnerable to DoS attacks deriving from missing
  error handling when accepting a new connection.
2011-06-04 03:58:58 +00:00
hans
de3bfc1243 Recent SunOS has netpacket/packet.h, but it is not what Python expects.
Fixes build on SunOS.
2011-05-15 10:06:11 +00:00
tron
5d15900b8b Correct path to Python interpreter in all ".py" files to fix build
with revision 1.26 of "pkgsrc/mk/check/check-interpreter.mk".

Bump package revision because the binary package changed.
2011-04-23 10:35:28 +00:00
obache
bef9293041 more replace interpreter line. 2011-04-23 01:41:36 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
drochner
df521f8a77 comment out BUILDLINK_INCDIRS/BUILDLINK_LIBDIRS/BUILDLINK_TRANSFORM
definitions which do things behind the client pkgs back, in particular
manipulate the library search path
It is well possible that this causes some fallout, but I hope it
will be small and can be dealt with on a per-pkg basis.
(partly) suggested by Mark Davies on tech-pkg
2011-04-15 17:23:23 +00:00
drochner
afd941b03d fix a security issue, using patches from upstream:
stricter redirect handling in urllib, to prevent redirects to eg
"file://" URLs (CVE-2011-1521)
bump PKGREV
2011-03-28 16:00:06 +00:00
tron
50d2377f61 Add fix for the information disclosure vulnerability reported in SA43463
taken from the Python SVN repository.
2011-02-28 22:35:53 +00:00
hiramatsu
244fb1a923 Build shared library on OpenBSD too. 2011-02-05 09:34:04 +00:00
adam
305c76abff Fix find_library_file on Darwin 2011-01-03 12:13:21 +00:00
obache
cf8c8aff00 * Remove a redundant hunk for Darwin,
* Use $(CC) for LDSHARED on NetBSD and DragonFly like any other.
  Fixes PR#42598 for that libpython will be linked with sufficient flags.

Bump PKGREVISION.
2010-12-25 05:45:15 +00:00
tron
a99c0c697c Add fix for CVE-2010-3492 and update the fix for CVE-2010-3493. Both
fixes taken from the Python 2.7 branch in the Python SVN repository.
2010-11-23 08:24:04 +00:00
tez
96a928f480 Add fix for SA41968 (CVE-2010-3493) from the 2.7 branch repo
http://svn.python.org/view/python/branches/release27-maint/Lib/smtpd.py?r1=86084
&r2=82503&view=patch
2010-11-17 18:44:06 +00:00
obache
6027a800eb Remove unwanted hunk from patch-au.
linkage target for Darwin is already exists, and the additonal target
break build on MacOS X 10.4.11 as reported by PR#42993.
2010-09-22 09:13:47 +00:00
obache
5a5140be39 Share distfile related information for each python variants with
srcdist.mk to make update simplicity.
2010-09-17 07:11:41 +00:00