Up to [cvs.NetBSD.org] / pkgsrc / lang / python25
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove python25, as promised in March. EOL'd last year.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
recursive bump from libffi shlib major bump (additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
fixes reverse condition usage of CHECK_BUILTIN.openssl.
On recent FreeBSD, ossaudiodev.so is not created. Fix "make package" on FreeBSD 9.0.
python install different files on Linux-2.* and Linux-3.*
Pullup ticket #3685 - requested by drochner lang/python25: security patch lang/python26: security patch lang/python27: security patch lang/python31: security patch Revisions pulled up: - lang/python25/Makefile 1.37 via patch - lang/python25/distinfo 1.22 - lang/python25/patches/patch-CVE-2012-0845 1.1 - lang/python26/Makefile 1.45 via patch - lang/python26/distinfo 1.43 - lang/python26/patches/patch-CVE-2012-0845 1.1 - lang/python27/Makefile 1.11 via patch - lang/python27/distinfo 1.15 - lang/python27/patches/patch-CVE-2012-0845 1.1 - lang/python31/Makefile 1.6 via patch - lang/python31/distinfo 1.8 - lang/python31/patches/patch-CVE-2012-0845 1.1 --- Module Name: pkgsrc Committed By: drochner Date: Wed Feb 15 12:21:41 UTC 2012 Modified Files: pkgsrc/lang/python26: Makefile distinfo Added Files: pkgsrc/lang/python26/patches: patch-CVE-2012-0845 Log Message: add patch from Python issue#14001 to fix xmlrpc server endless loop by malformed request bump PKGREV --- Module Name: pkgsrc Committed By: drochner Date: Wed Feb 15 16:08:26 UTC 2012 Modified Files: pkgsrc/lang/python25: Makefile distinfo pkgsrc/lang/python27: Makefile distinfo pkgsrc/lang/python31: Makefile distinfo Added Files: pkgsrc/lang/python25/patches: patch-CVE-2012-0845 pkgsrc/lang/python27/patches: patch-CVE-2012-0845 pkgsrc/lang/python31/patches: patch-CVE-2012-0845 Log Message: apply fix for CVE-2012-0845 to other Python versions too (2.4 is not affected)
apply fix for CVE-2012-0845 to other Python versions too (2.4 is not affected)
Revbump after updating db5
Update python25 to 2.5.6. (contains already fixed issues, #11662 patch-b{a,b}, #8674,#7673 patch-bc) What's New in Python 2.5.6? =========================== *Release date: 26-May-2011* What's New in Python 2.5.6c1? ============================= *Release date: 17-Apr-2011* Library ------- - Issue #11442: Add a charset parameter to the Content-type in SimpleHTTPServer to avoid XSS attacks. - Issue #11662: Make urllib and urllib2 ignore redirections if the scheme is not HTTP, HTTPS or FTP (CVE-2011-1521). - Issue #8674: Fixed a number of incorrect or undefined-behaviour-inducing overflow checks in the audioop module (CVE-2010-1634). - Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module, ensure that the input string length is a multiple of the frame size.
Recent SunOS has netpacket/packet.h, but it is not what Python expects. Fixes build on SunOS.
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.
recursive bump from gettext-lib shlib bump.
fix two security issues, using patches from upstream: -stricter redirect handling in urllib, to prevent redirects to eg "file://" URLs (CVE-2011-1521) -stricter argument checks in the audioop module (CVE-2010-2089)
Merge the patch for http://secunia.com/advisories/43463/ from the copy in python26.
Reset maintainer for retired developers.
Share distfile related information for each python variants with srcdist.mk to make update simplicity.
work around a configure check which looks for bind_textdomain_codeset(3) only in libc but not in libintl: assume it is always there on NetBSD (unbreaks gnome-sudoku and glchess of gnome-games) bump PKGREVISION
Update to 2.5.5, a minor security fix release with very few changes relative to 2.5.4. (ok to update during freeze by wiz@) Extension Modules ----------------- - expat: Fix DoS via XML document with malformed UTF-8 sequences (CVE_2009_3560). - expat: Fix DoS via malformed XML (CVE-2009-3720). Core and builtins ----------------- - Issue #6990: Fix threading.local subclasses leaving old state around after a reference cycle GC which could be recycled by new locals. Library ------- - Issue #7403: logging: Fixed possible race condition in lock creation. - Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop forever on incomplete input. That caused tarfile.open() to hang when used with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or partial bzip2 compressed data.
Pullup ticket #2974 - requested by wiz python25: build fix Revisions pulled up: - lang/python25/Makefile 1.25 via patch - lang/python25/PLIST.common 1.5 - lang/python25/distinfo 1.12 - lang/python25/patches/patch-am 1.6 --- Module Name: pkgsrc Committed By: wiz Date: Wed Jan 27 08:43:04 UTC 2010 Modified Files: pkgsrc/lang/python25: Makefile PLIST.common distinfo pkgsrc/lang/python25/patches: patch-am Log Message: Properly disable pyexpat module here as well. Bump PKGREVISION.
Properly disable pyexpat module here as well. Bump PKGREVISION.
Added LICENSE information for Python. The license was approved by OSI so I added it to the acceptable set of licenses.
Recursive PKGREVISION bump for jpeg update to 8.
Disable ipv6 on Tru64, configure complains about buggy getaddrinfo() Closes PR pkg/42472. May want to revisit this later, though.
Fix build under Mac OS X Snow Leopard.
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.
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.5/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.
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
Remove empty PLIST.common_end.
Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib major change. Reported by Robert Elz in PR 41345.
python.org has no ftp service. remove master site.
Update python25 to 2.5.4. Spammy changes: What's New in Python 2.5.4? =========================== *Release date: 23-Dec-2008* Core and builtins ----------------- - Revert patch for #1706039, as it can crash the interpreter. - Added test case to ensure attempts to read from a file opened for writing fail. What's New in Python 2.5.3? =========================== *Release date: 19-Dec-2008* Build ----- - In the OSX installer, update SQLite to 3.6.7, and change bsddb URL. Build against system Tcl framework. What's New in Python 2.5.3c1? ============================= *Release date: 13-Dec-2008* Core and builtins ----------------- - Issue #1706039: Support continued reading from a file even after EOF was hit. - Issue #1683: prevent forking from interfering in threading storage. - Issue #4597: Fixed several opcodes that weren't always propagating exceptions. - Issue #4589: Propagated an exception thrown by a context manager's __exit__ method's result while it's being converted to bool. - Issue #4317: Fixed a crash in the imageop.rgb2rgb8() function. - Issue #4230: If ``__getattr__`` is a descriptor, it now functions correctly. - Issue #4048: The parser module now correctly validates relative imports. - Issue #4176: Fixed a crash when pickling an object which ``__reduce__`` method does not return iterators for the 4th and 5th items. - Issue #3967: Fixed a crash in the count() and find() methods of string-like objects, when the "start" parameter is a huge value. - Issue #3936: The parser warnings for using "as" and "with" as variable names didn't fire after import statements. - Issue #3751: str.rpartition would perform a left-partition when called with a unicode argument. - Issue #3537: Fix an assertion failure when an empty but presized dict object was stored in the freelist. - Apply security patches from Apple. - 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 #2242: Fix a crash when decoding invalid utf-7 input on certain Windows / Visual Studio versions. - Issue #3360: Fix incorrect parsing of '020000000000.0', which produced a ValueError instead of giving the correct float. - Issue #3242: Fix a crash inside the print statement, if sys.stdout is set to a custom object whose write() method happens to install another file in sys.stdout. - Issue #3088: Corrected a race condition in classes derived from threading.local: the first member set by a thread could be saved in another thread's dictionary. - Issue #3100: Corrected a crash on deallocation of a subclassed weakref which holds the last (strong) reference to its referent. - Issue #1686386: Tuple's tp_repr did not take into account the possibility of having a self-referential tuple, which is possible from C code. Nor did object's tp_str consider that a type's tp_str could do something that could lead to an inifinite recursion. Py_ReprEnter() and Py_EnterRecursiveCall(), respectively, fixed the issues. (Backport of r58288 from trunk.) - Patch #1442: properly report exceptions when the PYTHONSTARTUP file cannot be executed. - The compilation of a class nested in another class used to leak one reference on the outer class name. - Issue #1477: With narrow Unicode builds, the unicode escape sequence \Uxxxxxxxx did not accept values outside the Basic Multilingual Plane. This affected raw unicode literals and the 'raw-unicode-escape' codec. Now UTF-16 surrogates are generated in this case, like normal unicode literals and the 'unicode-escape' codec. - Issue #2321: use pymalloc for unicode object string data to reduce memory usage in some circumstances. - Issue #2238: Some syntax errors in *args and **kwargs expressions could give bogus error messages. - 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. - Issue #2588, #2589: Fix potential integer underflow and overflow conditions in the PyOS_vsnprintf C API function. - Issue #1204: The configure script now tests for additional libraries that may be required when linking against readline. This fixes issues with x86_64 builds on some platforms (a few Linux flavors and OpenBSD). - Issue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared library targets in the Makefile. Library ------- - Issue #3767: Convert Tk object to string in tkColorChooser. - Issue #4342: Always convert Text.index result to string. - Issue 3248: Allow placing ScrolledText in a PanedWindow. - Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to give correct results in the case where one argument is a quiet NaN and the other is a finite number that requires rounding. - Issue #1776581 and #4302. Minor corrections to smtplib. - Issue #3774: Fixed an error when create a Tkinter menu item without command and then remove it. - Assigning methods to ctypes.Structure and ctypes.Union subclasses after creation of the class does now work correctly. See Issue #1700288. - Issue #3895: _lsprof could be crashed with an external timer that did not return a float when a Profiler object is garbage collected. - Issues #3968 and #3969: two minor turtle problems. - Issue #3547: Fixed ctypes structures bitfields of varying integer sizes. - Issue #3762: platform.architecture() fails if python is lanched via its symbolic link. - Issue #3554: ctypes.string_at and ctypes.wstring_at did call Python api functions without holding the GIL, which could lead to a fatal error when they failed. - Issue #2234: distutils failed for some versions of the cygwin compiler. The version reported by these tools does not necessarily follow the python version numbering scheme, so the module is less strict when parsing it. - Issue #2222: Fixed reference leak when occured os.rename() fails unicode conversion on 2nd parameter. (windows only) - Issue #3134: shutil referenced undefined WindowsError symbol. - Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to menu entries were not deleted. - Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap Tcl command objects. - Issue #3339: dummy_thread.acquire() could return None which is not a valid return value. - Issue #3116 and #1792: Fix quadratic behavior in marshal.dumps(). - Issue #2682: ctypes callback functions no longer contain a cyclic reference to themselves. - Issue #2670: Fix a failure in urllib2.build_opener(), when passed two handlers that derive the same default base class. - Issue #2495: tokenize.untokenize now inserts a space between two consecutive string literals; previously, ["" ""] was rendered as [""""], which is incorrect python code. - Issue #2482: Make sure that the coefficient of a Decimal is always stored as a str instance, not as a unicode instance. This ensures that str(Decimal) is always an instance of str. This fixes a regression from Python 2.5.1 to Python 2.5.2. - Issue #2478: fix failure of decimal.Decimal(0).sqrt() - Issue #2432: give DictReader the dialect and line_num attributes advertised in the docs. - Issue #1747858: Fix chown to work with large uid's and gid's on 64-bit platforms. - Bug #2220: handle rlcompleter attribute match failure more gracefully. - Bug #1725737: In distutil's sdist, exclude RCS, CVS etc. also in the root directory, and also exclude .hg, .git, .bzr, and _darcs. - Bug #1389051: imaplib causes excessive memory fragmentation when reading large messages. - Bug #1389051, 1092502: fix excessively large memory allocations when calling .read() on a socket object wrapped with makefile(). - Bug #1433694: minidom's .normalize() failed to set .nextSibling for last child element. - Issue #2791: subprocess.Popen.communicate explicitly closes its stdout and stderr fds rather than leaving them open until the instance is destroyed. - Issue #2632: Prevent socket.read(bignumber) from over allocating memory in the common case when the data is returned from the underlying socket in increments much smaller than bignumber. - Issue #1857: subprocess.Popen.poll gained an additional _deadstate keyword argument in python 2.5, this broke code that subclassed Popen to include its own poll method. Fixed my moving _deadstate to an _internal_poll method. - Issue #2113: Fix error in subprocess.Popen if the select system call is interrupted by a signal. - Issue #874900: after an os.fork() call the threading module state is cleaned up in the child process to prevent deadlock and report proper thread counts if the new process uses the threading module. - Issue #3309: Fix bz2.BZFile iterator to release its internal lock properly when raising an exception due to the bz2file being closed. Prevents a deadlock. Extension Modules ----------------- - Issue #1040026: Fix os.times result on systems where HZ is incorrect. - Issue #4228: Pack negative values the same way as 2.4 in struct's L format. - Security Issue #2: imageop did not validate arguments correctly and could segfault as a result. - Issue 3886: [CVE-2008-2316] Possible integer overflow in the _hashopenssl module was closed. - Issue 1179: [CVE-2007-4965] Integer overflow in imageop module. Also fixes rgbimg module. - Issue #3205: When iterating over a BZ2File fails allocating memory, raise a MemoryError rather than silently stop the iteration. - Patch #2111: Avoid mmap segfault when modifying a PROT_READ block. - zlib.decompressobj().flush(value) no longer crashes the interpreter when passed a value less than or equal to zero. - issue2858: Fix potential memory corruption when bsddb.db.DBEnv.lock_get and other bsddb.db object constructors raised an exception. - Issue #3120: On 64-bit Windows the subprocess module was truncating handles. - Issue #1471: Arguments to fcntl.ioctl are no longer broken on 64-bit OpenBSD and similar platforms due to sign extension. - Issue #3312: Fix two crashes in sqlite3. Tests ----- - Issue #3863: Disabled a unit test of fork being called from a thread when running on platforms known to exhibit OS bugs when attempting that. - Issue #3261: test_cookielib had an improper file encoding specified. - Patch #2232: os.tmpfile might fail on Windows if the user has no permission to create files in the root directory. Documentation ------------- Build ----- - Issue #4368: Don't define _XOPEN_SOURCE on FreeBSD 4.*.
Reduce maintaince cost by using our libffi. Bump revision.
FreeBSD on amd64 builds ossaudiodev.so as well. Noted by Jens Rehsack.
Remove "-Wno-long-double" from the Darwin C compiler flags as suggested by Chris Herborth in PR pkg/39425. This is somewhat cleaner than using buildlink3 to do the same job.
Strip out the "-Wno-long-double" option. It's not mentioned in any GCC manual page I have access to and breaks the build under Mac OS X Leopard using the GCC 4.2.1 provided by Xcode Tools 3.1.2.
* Add a note about SunOS and needing to have SUNWaudh installed to compile the sunaudiodev module. * PLIST fix for SunOS
pullup ticket #2511 - requested by tron python25: update for security fixes revisions pulled up: pkgsrc/lang/python25/Makefile 1.7,1.8 pkgsrc/lang/python25/distinfo 1.6 pkgsrc/lang/python25/patches/patch-at 1.2 pkgsrc/lang/python25/patches/patch-ba 1.1 pkgsrc/lang/python25/patches/patch-bb 1.1 pkgsrc/lang/python25/patches/patch-bc 1.1 pkgsrc/lang/python25/patches/patch-bd 1.1 pkgsrc/lang/python25/patches/patch-be 1.1 pkgsrc/lang/python25/patches/patch-bf 1.1 pkgsrc/lang/python25/patches/patch-bg 1.1 pkgsrc/lang/python25/patches/patch-bh 1.1 pkgsrc/lang/python25/patches/patch-bi 1.1 pkgsrc/lang/python25/patches/patch-bj 1.1 pkgsrc/lang/python25/patches/patch-bk 1.1 pkgsrc/lang/python25/patches/patch-ca 1.1 pkgsrc/lang/python25/patches/patch-cb 1.1 pkgsrc/lang/python25/patches/patch-cc 1.1 pkgsrc/lang/python25/patches/patch-cd 1.1 pkgsrc/lang/python25/patches/patch-ce 1.1 pkgsrc/lang/python25/patches/patch-da 1.1 pkgsrc/lang/python25/patches/patch-db 1.1 pkgsrc/lang/python25/patches/patch-ea 1.1 Module Name: pkgsrc Committed By: joerg Date: Mon Jul 14 14:42:51 UTC 2008 Modified Files: pkgsrc/lang/python25: Makefile Log Message: Always build depend on readline, so that devel/py-readline can pick up the right config. Bump revision. ------------------------------------------------------------------------ Module Name: pkgsrc Committed By: tron Date: Sat Aug 30 10:02:33 UTC 2008 Modified Files: pkgsrc/lang/python25: Makefile distinfo pkgsrc/lang/python25/patches: patch-at Added Files: pkgsrc/lang/python25/patches: patch-ba patch-bb patch-bc patch-bd patch-be patch-bf patch-bg patch-bh patch-bi patch-bj patch-bk patch-ca patch-cb patch-cc patch-cd patch-ce patch-da patch-db patch-ea Log Message: Add security patches for CVE-2008-2315, CVE-2008-2316, CVE-2008-3142 and CVE-2008-3144 (this one shouldn't affect platforms supported by pkgsrc) all taken from Gentoo. Bump package revision.
Add security patches for CVE-2008-2315, CVE-2008-2316, CVE-2008-3142 and CVE-2008-3144 (this one shouldn't affect platforms supported by pkgsrc) all taken from Gentoo. Bump package revision.
Always build depend on readline, so that devel/py-readline can pick up the right config. Bump revision.
Apply patch by Brian de Alwis to fix build problems under Mac OS X Leopard. Tested under Leopard and NetBSD-i386 4.0_STABLE. This fixes PR pkg/39042 by myself.
Shorten staircase.
Fix PLIST for systems that have builtin OpenSSL < 0.9.8, such as NetBSD-3. While here, fix typo in previous.
Convert to PLIST_VARS
We're not in pkgsrc-wip anymore, so replace 'wip' with 'lang' in paths to PLIST.*. ;) While here, patch sunaudiodev.c to use AUDIO_GETBUFINFO (when available) and BSD AUDIO_FLUSH on NetBSD and OpenBSD. This could be #ifdef AUDIO_FLUSH, but for now I am only certain about these two platforms. Bump PKGREVISION.
Here's python25-2.5.2, courtesy of pkgsrc-wip. It probably needs plenty more polishing, especially on !NetBSD. Python 2.4 will remain the default for some time. For the new features in Python 2.5, look here: * http://docs.python.org/whatsnew/whatsnew25.html
Initial revision