Commit graph

35 commits

Author SHA1 Message Date
joerg
d4b0eafdb2 Fix Python's makesetup script to treat -pthread as linker flag.
This is needed for databases/py-psycopg at least to compile properly.
Since the installed version changed, bump revision.
2005-11-16 19:18:58 +00:00
rillig
993a70d9e3 Added a @comment line to PLIST.Darwin. Removed trailing empty lines from
patch-af and patch-bb.
2005-10-23 20:05:33 +00:00
recht
bd2ff29fe1 Add a patch for CAN-2005-2491 (uffer overflow vulnerability in the PCRE
library) from ubuntu Linux (via gentoo).
For details see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2491

Bump PKGREVISION's.
2005-10-01 19:36:01 +00:00
joerg
b635917be7 Allow Python 2.3 to build dynamic modules on DragonFly. 2005-09-21 09:39:26 +00:00
drochner
3b80fee363 make the fcntl selftest recognize "netbsd3" so that the right
structure padding is used
not application relevant, so I abstain from bumping PKGREVISION
2005-07-29 13:27:26 +00:00
recht
8fea9ce29c Add devel/gettext-lib as dependency to avoid problems with the locale module not being built.
- fix suggested by Simon Kuhn in PR 29735

Add a patch from Antoine Reilles submitted in PR 30466 to fix the buid of some modules on OS X 10.4.

Bump PKGREVISION
2005-07-03 19:49:06 +00:00
minskim
e01525633e Backport from Python-2.4 a configure condition that prevents
_POSIX_C_SOURCE from being defined on Darwin-8.x.  This makes the
package build on Darwin-8.x.
2005-06-30 03:38:22 +00:00
hira
a62edb0fea Add missing RCS Id tag to patch-dc. 2005-06-16 12:44:34 +00:00
dmcmahill
e9baf2c702 add LDFLAGS when linking libpython. Needed to find -ldb4 2005-03-07 12:11:49 +00:00
drochner
60fbe387c7 update to 2.3.5
This is a bug-fix release. It contains the fix for
http://www.python.org/security/PSF-2005-001/
which we added in 2.3.4nb7.
2005-02-15 12:25:07 +00:00
drochner
2cefade65d apply the security fix from
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-02-04 15:39:04 +00:00
tv
5a8104e7b5 Fix ld -h argument. 2005-01-19 17:45:34 +00:00
tv
43f9945aea First stab at Interix support; --image-base hack not yet used here. 2005-01-18 18:22:34 +00:00
minskim
ff7fee44a5 Honor LDFLAGS when building shared libraries on Linux. Previously,
python2[34]{,-pth} failed on Linux when Berkeley DB from pkgsrc was
used.
2004-12-30 21:56:20 +00:00
recht
97217b7045 Add patches from darwinports/fink to make the posixmodule work on Darwin/
OSX and build the libpython as dynamic library.
While at it also fix the PLIST for Darwin/OSX.
2004-11-28 13:33:19 +00:00
jschauma
6a04b1b261 Make this compile, install and deinstall cleanly under IRIX and IRIX64
version 6.5 by backporting some patches from Python 2.4 and leaving out
some broken modules.

This partially addresses PR pkg/28373, too, though fixes particular to
older Irix versions still need to be tested and added.
2004-11-24 20:45:10 +00:00
lukem
16f02bb613 * Add patches to ensure that signal handlers consistently don't set SA_RESTART
(restartable system calls).  (These patches have been submitted back to the
  python community.).  Fixes the bug in NetBSD PR [pkg/24797] that I submitted.
* Highlight in the DESCR files what the thread support is for that package.
* Bump PKGREVISION.
2004-06-14 02:31:13 +00:00
recht
b5316b9c7d NetBSD 2.0 changes sys.platform to netbsd2 -- catch up with this
patch by drochner@ in private mail

bump PKGREVISION to 1
2004-06-10 10:13:06 +00:00
recht
bb50a9cc2d Update to 2.3.4
This is a bug-fix release for Python 2.3 that fixes a number of bugs,
including a couple of weakref bugs and a bug in pickle version 2. There
are also a number of fixes to the standard library, and some build
fixes - see the release notes ( http://www.python.org/2.3.4/NEWS.html )
for details.
2004-06-02 12:29:28 +00:00
recht
c3fe9a0f17 - Merge bugfixes from python 2.3 maintenance branch:
o weakref object's garbage collection problem.
  o save unnecessary startup-time memory allocation of 100KB+ from
    intobject.

via FreeBSD ports

- Enable pkgviews installation.

Bump PKGREVISION for the bugfixes.
2004-05-12 15:19:49 +00:00
recht
0f312c17dc Rework bdb detection: Since we're using buildlink we could save rely
on the variables it sets (eg. BDB_TYPE). While at bl3ify.
Thanks to minskim@ for fixes and testing.
2004-04-13 22:48:41 +00:00
recht
85fbc8a8a9 Fix patch-aa so that it works with patch -p0. 2004-04-09 10:48:09 +00:00
darcy
6888bba10d Move patch to Python directory as that is where the file being patched is. 2004-04-02 10:56:22 +00:00
minskim
dcc10c5606 Disable db3 and db4 detection in python23 and python23-pth, so as to
prevent them from picking up a wrong db library on systems that have
native db3 or db4.
2004-03-22 06:33:58 +00:00
recht
ee8ddf1d62 Apply first part (creation of libpython.so) of the patch provided by
Michal Pasternak in PR 24599.
Leave the RUNSHARED part for now until it's proven that it's really needed
and a cleaner has been found.
2004-03-01 00:16:35 +00:00
grant
37b935502a fix build and install on Solaris:
- use -h instead of -soname= when creating shared objects to appease
  Solaris linker.
- link against librt for fdatasync().
- tweak PLIST for installed modules.
2004-01-26 12:10:24 +00:00
recht
6ff2e5bdd5 update to 2.3.3
This is a bug-fix release for Python 2.3 that fixes a number of bugs,
including a couple of serious errors with weakrefs and the cyclic garbage
collector. There are also a number of fixes to the standard library
- see the release notes ( http://www.python.org/2.3.3/NEWS.html )for details.
2003-12-23 17:24:42 +00:00
recht
d5dc8a4e54 Update to Python 2.3.2
Changes in Python:
Quite a few fixes.. See NEWS for details.

Changes in the pkg:
- add FreeBSD patches from the FreeBSD port
- add fix for a fatal bug in type's GC handling causes segfaults
  (via FreeBSD port)
  see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u
- always build the db 1.85 module (on all platforms)
2003-12-08 21:13:56 +00:00
recht
9b36f82e48 Avoid redefinition of redefinition of wchar_t and wint_ if
_XOPEN_SOURCE_EXTENDED is defined. This fixes py-curses on NetBSD > 1.6T.

Bumb PKGREVSION to 2, because of the header change.
2003-09-14 14:04:31 +00:00
recht
92483009b1 Correctly disable POSIX* and XOPEN* macros on < 1.6T. This should fix
py-curses in hubertf's bulk build.
Also add a patch from drochner@ for 1.5.
Bump PKGREVISION 1, because the This the pyconfig.h header is affected.
2003-09-10 00:11:03 +00:00
recht
a666fc8beb Split the PLIST into common and os dependent parts. Start with NetBSD
and Linux. Disable the curses module on Linux.
2003-08-18 20:57:11 +00:00
recht
e39670cde9 - Fix build for NetBSD <= 1.5.
- Include bzip2's buildlink2.mk to work-around different API versions.
- Include db's buildlink2.mk on non-NetBSD platforms to get a similar
  feature-set on a pkgsrc platforms.
2003-08-18 17:16:53 +00:00
drochner
6e80dc318e -add a patch from Marc Recht vie pkgsrc-wip which meddes with these
XOPEN/POSIX/NetBSD_SOURCE definitions so that it builds on 1.6.x
-pull in some GNU-pth related fixes from Python-2.2-pth
2003-08-06 11:38:10 +00:00
drochner
89febf819d oops - forgot a piece of a patch taken over from Python-2.2 2003-08-06 11:05:27 +00:00
drochner
f50dd9af9f Extend the Python version zoo by Python-2.3 w/o threads.
Tested with -current on i386 only so far; 3 of the selftests still
failing, for reasons NetBSD cannot be blamed for.
CVS----------------------------------------------------------------------
2003-08-04 08:25:22 +00:00