Up to [cvs.NetBSD.org] / pkgsrc / lang / python24
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove python24 and all traces of it from pkgsrc. Remove devel/py-ctypes (only needed by and supporting python24). Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE lines that just mirror defaults now. Miscellaneous cleanup while editing all these files.
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.
Pullup ticket 2334 - requested by drochner
security updates for python24
Revisions pulled up:
- pkgsrc/lang/python24/Makefile 1.41,1.42
- pkgsrc/lang/python24/distinfo 1.27,1.28
- pkgsrc/lang/python24/PLIST.common 1.9
- pkgsrc/lang/python24/patches/patch-au 1.1
- pkgsrc/lang/python/srcdist.mk 1.20
Module Name: pkgsrc
Committed By: drochner
Date: Fri Apr 11 10:32:33 UTC 2008
Modified Files:
pkgsrc/lang/python24: Makefile distinfo
Added Files:
pkgsrc/lang/python24/patches: patch-au
Log Message:
fix possible buffer overflow by negative atguments to zlib.flush(),
from upstream CVS, bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 pkgsrc/lang/python24/Makefile
cvs rdiff -r1.26 -r1.27 pkgsrc/lang/python24/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/lang/python24/patches/patch-au
---
Module Name: pkgsrc
Committed By: drochner
Date: Fri Apr 11 10:44:09 UTC 2008
Modified Files:
pkgsrc/lang/python24: Makefile PLIST.common distinfo
Log Message:
update to 2.4.5
This release includes just a small number of fixes, primarily preventing
crashes of the interpreter in certain boundary cases.
To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 pkgsrc/lang/python24/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/lang/python24/PLIST.common
cvs rdiff -r1.27 -r1.28 pkgsrc/lang/python24/distinfo
---
Module Name: pkgsrc
Committed By: drochner
Date: Fri Apr 11 10:44:48 UTC 2008
Modified Files:
pkgsrc/lang/python: srcdist.mk
Log Message:
update for 2.4.5
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 pkgsrc/lang/python/srcdist.mk
Fix botched PLIST_VARS conversion.
Convert to use PLIST_VARS instead of manually passing "@comment " through PLIST_SUBST to the plist module.
update to 2.4.5 This release includes just a small number of fixes, primarily preventing crashes of the interpreter in certain boundary cases.
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.
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.
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.
update python24 to 2.4.3 Python 2.4 is now in bugfix-only mode, no new features are being added. At least 50 bugs have been squashed since Python 2.4.2, including a number of bugs and potential bugs found by Coverity.
update to Python 2.4.1
Highlights of this new release include:
- Bug fixes. According to the release notes, several dozen bugs
have been fixed, including a fix for the SimpleXMLRPCServer
security issue (PSF-2005-001).
Also add a patch by Joerg Sonnenberger to add basic support
for DragonFly BSD.
For a detailed list of changes see:
http://python.org/2.4.1/NEWS.html
Pullup ticket 298 - requested by Marc Recht PLIST fix for python24 Revisions pulled up: - pkgsrc/lang/python24/PLIST.common 1.3 Module Name: pkgsrc Committed By: recht Date: Fri Feb 18 22:25:22 UTC 2005 Modified Files: pkgsrc/lang/python24: PLIST.common Log Message: add dl.so to PLIST.common (conditionally) addresses PR 29402 by salo
add dl.so to PLIST.common (conditionally) addresses PR 29402 by salo
Fix some wrong variable (eg. LOWER_OPSYS -> PY_PLATNAME) names sneaked in by print-PLIST.
initial import of Python 2.4 Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction to programming in Python you are referred to the Python Tutorial. The Python Library Reference documents built-in and standard types, constants, functions and modules. Finally, the Python Reference Manual describes the syntax and semantics of the core language in (perhaps too) much detail. Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an exten- sion language for existing applications. See the internal documentation for hints. This package has been compiled without support for threads.
Initial revision