summaryrefslogtreecommitdiff
path: root/lang/python24/patches
AgeCommit message (Collapse)AuthorFilesLines
2009-09-19Fixes module names in disabled_module_listobache1-2/+2
* "bsddb" does not exists, probably removed/renamed before/in Python24. * "mpz" was removed in Python24.
2009-09-09Fix a possibly long-standing issue, but also possibly fallout from the db4dsainty1-11/+15
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.
2008-08-07Add a patch from the upstream 2.5 branch (svn rev.63883) to fix androchner1-0/+57
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-05also apply upstream svn rev.65262, fixes overflow checks in memorydrochner5-0/+165
allocation (CVE-2008-3142), ride on PKGREVISION bump some minutes ago
2008-08-05add patches from upstream svn rev.65333, fix integer overflows indrochner7-0/+263
memory allocation (CVE-2008-2315)
2008-04-11fix possible buffer overflow by negative atguments to zlib.flush(),drochner1-0/+15
from upstream CVS, bump PKGREVISION
2008-02-22Don't use FreeBSD's bluetooth define on DragonFly as well.joerg1-2/+2
From PR 37821.
2007-07-17NetBSD has a 4-argument mremap, so adjust for that.joerg1-0/+18
2007-06-08Update to 2.4.4:wiz11-81/+115
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.
2006-12-27Fix build on FreeBSD.joerg1-9/+17
2006-11-03On NetBSD, assume that MKYP=no when /usr/bin/ypcat doesn't exist.joerg1-12/+21
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-10-11Fixed "test ==" and improved the randomness of $RANDOM.rillig1-0/+22
2006-09-20libpython needs the pkgsrc-provided LDFLAGS to resolve all dependenciesrillig1-11/+22
at runtime. Fixes PR 34565.
2006-06-20Don't try to compile in Bluetooth support under NetBSD(-current).tron1-0/+14
The stub code is not compatible with the API presented by NetBSD.
2006-04-13Strip of anything after the version number in distutils.util.get_platformjoerg1-0/+13
on DragonFly. Since that version is used e.g. as part of the file name for python eggs, it makes handling easier to match normal pkgsrc platform policy. Bump revisions of all Python packages.
2006-04-12update python24 to 2.4.3drochner4-93/+85
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.
2006-01-23Fix module compilation / libpython build on Darwin. This enables modulesrecht2-68/+940
not part of the std. Python install to work again. Secondly, add a patch from Christoph Ludwig ( http://sourceforge.net/tracker/?func=detail&aid=1324762&group_id=5470&atid=305470 ) which contains the following changes (from the SourceForge post): 1) The configure option --with-cxx is renamed --with-cxx-main. This was done to avoid surprising the user by the changed meaning. Furthermore, it is now possible that CXX has a different value than provided by --with-cxx-main, so the old name would have been confusing. 2) The compiler used to translate python's main() function is stored in the configure / Makefile variable MAINCC. By default, MAINCC=$(CC). If --with-cxx-main is given (without an appended compiler name), then MAINCC=$(CXX). If --with-cxx-main=<compiler> is on the configure command line, then MAINCC=<compiler>. Additionally, configure sets CXX=<compiler> unless CXX was already set on the configure command line. 3) The command used to link the python executable is (as before) stored in LINKCC. By default, LINKCC='$(PURIFY) $(MAINCC)', i.e. the linker front-end is the compiler used to translate main(). If necessary, LINKCC can be set on the configure command line in which case it won't be altered. 4) If CXX is not set by the user (on the command line or via --with-cxx-main), then configure tries several likely C++ compiler names. CXX is assigned the first name that refers to a callable program in the system. (CXX is set even if python is built with a C compiler only, so distutils can build C++ extensions.) 5) Modules/ccpython.cc is no longer used and can be removed.
2005-11-16Fix Python's makesetup script to treat -pthread as linker flag.joerg1-0/+12
This is needed for databases/py-psycopg at least to compile properly. Since the installed version changed, bump revision.
2005-10-01Update to Python 2.4.2recht5-53/+30
Python 2.4.2 is a bugfix release of Python 2.4 - Python 2.4 is now in bugfix-only mode, no new features are being added. More than 60 bugs have been squashed since Python 2.4.1, including bugs that prevented Python working properly on 64 bit AIX and HP/UX. For a detailed list of changes see: http://python.org/2.4.2/NEWS.html
2005-08-31Fix problem where LDFLAGS is not being expanded on the command line.darcy1-4/+4
Patch supplied by KISHIMOTO, Makoto <ksmakoto (you know what ) dd.iij4u.or.jp> Closes PR 31027
2005-08-23There was a bug in Python that was supposed to be fixed but it seems to havedarcy1-0/+18
regressed in the latest version. I have contacted a Python developer to have this fixed properly. In the meantime I have created a patch to fix it in our tree. See http://sourceforge.net/tracker/index.php?func=detail&aid=1196315&group_id=5470&atid=105470 for details of the bug. Bumped PKGREVISION.
2005-08-19include LDFLAGS when linking shared libraries, so they can find theirgrant1-2/+13
prerequisite libraries at runtime. fixes build on Solaris (and probably others).
2005-07-29make the fcntl selftest recognize "netbsd3" so that the rightdrochner1-2/+2
structure padding is used not application relevant, so I abstain from bumping PKGREVISION
2005-07-21patch-an was removed from distinfo during 2.4.1 update, remove file too.wiz1-28/+0
2005-07-03Add devel/gettext-lib as dependency to avoid problems with the locale module ↵recht1-0/+28
not being built. - fix suggested by Simon Kuhn in PR 29735 Add a patch from darwinports to workaround for deprecated ostat in sys/stat.h on OS X 10.4. bump PKGREVISION
2005-05-09update to Python 2.4.1recht4-263/+173
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
2005-02-04apply the security fix fromdrochner1-0/+82
http://www.python.org/security/PSF-2005-001/ This disables hierarchical object lookups in SimpleXMLRPCServer. Unfortunately, this breaks some applications (eg kenosis). Don't shoot me for this. bump PKGREVISION
2005-01-24Pull in first-stab Interix support from lang/python23.tv1-4/+33
2004-12-30Honor LDFLAGS when building shared libraries on Linux. Previously,minskim1-3/+8
python2[34]{,-pth} failed on Linux when Berkeley DB from pkgsrc was used.
2004-12-19fix missed from previous: Darwin 7.x doesn't appear to want thegrant1-6/+18
"-u PyMac_Error" when linking the shared library.
2004-12-19Darwin build fixes:grant1-10/+18
- ignore poll() - needs dlopen.buildlink3.mk - pass -fPIC -fno-common to CC for objects being linked into a shared library
2004-12-05initial import of Python 2.4recht13-0/+660
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.