Commit graph

93 commits

Author SHA1 Message Date
obache
65fabcc454 Update python24 to 2.4.6.
What's New in Python 2.4.6?
===========================

*Release date: 19-Dec-2008*



What's New in Python 2.4.6c1?
=============================

*Release date: 13-Dec-2008*

Core and builtins
-----------------

- Issue #4469: Prevent expandtabs() on string and unicode
  objects from causing a segfault when a large width is passed
  on 32-bit platforms. CVE-2008-5031.

- Issue #4317: Fixed a crash in the imageop.rgb2rgb8() function.

- Issue #4230: Fix a crash when a class has a custom __getattr__ and an
  __getattribute__ method that deletes the __getattr__ attribute.

- Apply security patches from Apple. CVE-2008-2315.

- Issue #2620: Overflow checking when allocating or reallocating memory
  was not always being done properly in some python types and extension
  modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
  all been updated to perform better checks and places in the code that
  would previously leak memory on the error path when such an allocation
  failed have been fixed.

- Issue #1179: Fix CVE-2007-4965 and CVE-2008-1679, multiple integer
  overflows in the imageop and rgbimgmodule modules.

- Issue #2586: Fix CVE-2008-1721, zlib crash from
  zlib.decompressobj().flush(val) when val is not positive.

- Issues #2588, #2589: Fix potential integer underflow and overflow
  conditions in the PyOS_vsnprintf C API function. CVE-2008-3144.

- Issue #2587: In the C API, PyString_FromStringAndSize() takes a signed size
  parameter but was not verifying that it was greater than zero.  Values
  less than zero will now raise a SystemError and return NULL to indicate a
  bug in the calling C code. CVE-2008-1887.

- Security Issue #2: imageop did not validate arguments correctly and could
  segfault as a result. CVE-2008-4864.

Extension Modules
-----------------

Library
-------

Tests
-----

Build
-----

Tools/Demos
-----------

- Tools/faqwiz/move-faqwiz.sh: Fix unsecure use of temporary files.
2011-04-23 08:53:53 +00:00
obache
0a0802065d remove tail enmty line. 2011-04-23 06:06:30 +00:00
obache
e942fcbed1 move extra buildlinks into the guard. 2011-04-23 06:04:37 +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
wiz
e2f84ad43f Reset maintainer for retired developers. 2011-02-28 14:52:37 +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
heinz
6e529a2234 Added LICENSE information for Python. The license was approved by OSI
so I added it to the acceptable set of licenses.
2010-01-21 16:28:51 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
obache
822849e3a9 Fixes module names in disabled_module_list
* "bsddb" does not exists, probably removed/renamed before/in Python24.
 * "mpz" was removed in Python24.
2009-09-19 09:30:41 +00:00
drochner
9fcb55370f remove assignments to the LIBS env var -- this should have been done
earlier, but there became no-ops due to my change to db4/bl3 and thus
didn't do harm. Now that part of that change was backed out they became
harmful again and thus need to go.
2009-09-12 17:47:17 +00:00
dsainty
72087cc6b9 Fix a possibly long-standing issue, but also possibly fallout from the db4
changes.  The "dbm" module could fail to build correctly, erroring out with:

*** WARNING: renaming "dbm" since importing it failed: build/lib.linux-i686-2.4/dbm.so: undefined symbol: dbm_firstkey

In this case, the "dbm" module has accidentally linked with "databases/gdbm",
which happens to be installed, but was never buildlinked in.  It may be
relevant that /usr/include/gdbm/ndbm.h is installed on this system.

Remove the "gdbm" test from the "dbm" module configuration, leaving the "ndbm"
support, and the fall-back "bdb" support (which will likely fall back to db4).

Bump PKGREVISION - the package would still install, but with missing
functionality.
2009-09-09 05:59:37 +00:00
drochner
3507e16d3a bump PKGREVs for Python pkgs, as suggested by David Sainty -- at least
on Linux one can't build some extensions against an old Python (with
spurious -ldb4 linkage) anymore
also sync the bl3 files of the non-default versions with python25
for consistency
2009-09-08 10:06:35 +00:00
wiz
96bbe43140 Remove empty PLIST.common_end. 2009-07-22 09:29:57 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
272d51cc21 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:05 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
dsainty
82a2ee5b15 Any package that determines libraries to link via:
$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('SHLIBS');"

... where bdb.buildlink.mk has been used and it satisfied the requirement from
Pkgsrc (E.g. via databases/db4) would fail to build because the required -ldb4
library was not itself buildlinked.

To rectify this, pull in bdb.buildlink.mk in python??/buildlink3.mk under the
same conditions as it is pulled in in the package's own makefile.

No revision bump required, this almost certainly only affects packages and
environments that simply wouldn't build at all prior to the fix.

Fixes the build of py-ORBit on Linux (Python 2.4 or 2.5), and PR39377.
2009-01-23 03:05:53 +00:00
adrianp
8145d3dbc4 Add a note about SunOS and needing to have SUNWaudh installed to
compile the sunaudiodev module.
2008-09-13 09:49:43 +00:00
drochner
35baa89b31 Add a patch from the upstream 2.5 branch (svn rev.63883) to fix an
integer overflow in the vsnprintf replacement function.
This is likely not a real problem, and the patch wasn't pulled to
the upstream 2.4 branch, but so we can formally declare our 2.4
as not vulnerable now.
2008-08-07 11:20:18 +00:00
drochner
20cca7e4a5 also apply upstream svn rev.65262, fixes overflow checks in memory
allocation (CVE-2008-3142), ride on PKGREVISION bump some minutes ago
2008-08-05 10:45:45 +00:00
drochner
ed29f353e5 add patches from upstream svn rev.65333, fix integer overflows in
memory allocation (CVE-2008-2315)
2008-08-05 10:13:34 +00:00
joerg
653cfdaeb5 Always build depend on readline, so that devel/py-readline can pick up
the right config. Bump revision.
2008-07-14 14:42:51 +00:00
tnn
eac0b12cfd Fix botched PLIST_VARS conversion. 2008-04-13 11:03:33 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
drochner
b9e90c2488 update to 2.4.5
This release includes just a small number of fixes, primarily preventing
crashes of the interpreter in certain boundary cases.
2008-04-11 10:44:08 +00:00
drochner
95931af496 fix possible buffer overflow by negative atguments to zlib.flush(),
from upstream CVS, bump PKGREVISION
2008-04-11 10:32:33 +00:00
joerg
e26004958b Don't use FreeBSD's bluetooth define on DragonFly as well.
From PR 37821.
2008-02-22 13:03:25 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
adrianp
69f8937d0b Fix builds on Darwin 2007-12-16 16:44:51 +00:00
tron
9508c23e2a Fix build problems under Mac OS X Leopard. 2007-12-15 18:43:31 +00:00
wiz
1900e4b154 Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 11:17:22 +00:00
joerg
fb376375ff Don't force su-clean on DESTDIR users. 2007-10-28 15:30:44 +00:00
joerg
b626b37fa4 NetBSD has a 4-argument mremap, so adjust for that. 2007-07-17 21:08:52 +00:00
adrianp
2fb736a53a s/PRIVILEGED_STAGE/PRIVILEGED_STAGES/g as it could refer to multiple
stages in the future.  Suggested by rillig@
2007-07-02 20:24:27 +00:00
adrianp
ecedaf57d5 Add PRIVILEGED_STAGE+= clean (NetBSD only) 2007-07-01 00:10:18 +00:00
dmcmahill
3e50b8ba51 repair build on SunOS-5.9 2007-06-15 21:08:41 +00:00
tron
36cdb45af2 We have to use GNU make under Mac OS X because the "configure" script
generates a GNU make specific makefile on this platform.
2007-06-08 22:16:25 +00:00
wiz
1e8671d641 Update to 2.4.4:
We are pleased to announce the release of Python 2.4.4 (FINAL), a
bugfix release of Python 2.4, on October 18, 2006.

Important: 2.4.4 includes a security fix (PSF-2006-001) for the
repr() of unicode strings in wide unicode builds (UCS-4) [does not
affect pkgsrc]

Python 2.4 is now in bugfix-only mode; no new features are being
added. At least 80 bugs have been squished since Python 2.4.3,
including a number of bugs and potential bugs found by with the
Coverity and Klocwork static analysis tools. We'd like to offer
our thanks to both these firms for making this available for open
source projects - see their websites if you're interested.
2007-06-08 14:16:15 +00:00
tnn
6aeb597b5b correct installation and plist on hpux 2007-04-22 20:12:43 +00:00
joerg
cd0ebd2244 Fix build on FreeBSD. 2006-12-27 20:49:04 +00:00
joerg
450decce94 On NetBSD, assume that MKYP=no when /usr/bin/ypcat doesn't exist.
The NIS module is not available in that case.
Call the regen script with RUNSHARED, so that it finds libpython.so,
even in the DESTDIR case.

XXX The call to regen should be moved to the build phase.
2006-11-03 07:15:41 +00:00
rillig
b2a13218c0 Fixed "test ==" and improved the randomness of $RANDOM. 2006-10-11 18:20:37 +00:00
rillig
d0cfa8cd6b libpython needs the pkgsrc-provided LDFLAGS to resolve all dependencies
at runtime. Fixes PR 34565.
2006-09-20 12:07:19 +00:00
joerg
b6494c15d4 Don't use the Python platform variable to check for OSS support on
FreeBSD, but OPSYS directly. We ignore FreeBSD < 4 anyway, so simply the
handling for newer FreeBSD versions.
2006-08-26 15:29:05 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
tron
ab5ff69efc Don't try to compile in Bluetooth support under NetBSD(-current).
The stub code is not compatible with the API presented by NetBSD.
2006-06-20 13:29:01 +00:00
minskim
2f1eb8ab82 Add a missing file to PLIST.Darwin. Bump PKGREVISION. 2006-06-19 17:50:57 +00:00
jlam
44b37cc4b1 Inspecting the setup.py file, one can see that python23 and python24
only build certain modules if the platform is *not* 64-bit.  Correct
the PLIST for those cases.  This should fix the build on non-64bit,
non-x86 platforms, e.g. powerpc.
2006-06-01 15:25:03 +00:00