Commit Graph

206 Commits

Author SHA1 Message Date
alek
974327c525 Switch default python version to 2.4 2006-06-03 09:14:04 +00:00
alek
b48cf21d31 Update to 2.4.3 2006-04-18 17:29:35 +00:00
bernd
c3969a91b0 Don't override do-build and do-install targets if CONFIGURE_STYLE is used.
"put this in" alek@
2006-01-27 17:50:54 +00:00
alek
407c9d0193 Fix build here as well 2006-01-22 11:34:45 +00:00
alek
64dd827320 Fix build 2006-01-22 11:33:32 +00:00
alek
135879e05a - Better RUN_DEPENDS for subpackages
- Use SHARED_LIBS
- Bump PKGNAMEs

spotted by naddy@ and sturm@
SHARED_LIBS tips from espie@
2005-12-27 19:41:21 +00:00
alek
b7726698e9 - Add no_tests and no_tools FLAVORS, just like it's mentioned in DESCR file
- Better RUN_DEPENDS for subpackages
- Build expat subpackage for all versions of python
2005-12-17 12:45:39 +00:00
alek
6f511ff03f - Update to 2.4.2
- Enable -expat subpackage base on included libexpat sources
2005-12-17 12:33:00 +00:00
alek
0e5c057f82 Fix MASTER_SITES 2005-11-11 09:45:29 +00:00
fgsch
7f59f4b5cc fix bug #1019808 and bump package. maintainer@ ok. 2005-10-12 02:41:41 +00:00
naddy
63347c3c80 SECURITY:
CAN-2005-2491, http://securitytracker.com/id?1014744
A remote or local user may be able to supply a specially crafted
regular expression to trigger a heap integer overflow in PCRE.

ok pvalchev@
2005-08-27 15:57:31 +00:00
espie
f1e7eab840 those packages have not changed names since 3.6, even though their
packing-lists was changes in significant ways, and they do not have
enough dependencies that pkg_add can detect they changed through their
signature.

Bump the pkgname, so that pkg_add -r will choose to update them.

okay pvalchev@
2005-08-17 16:10:02 +00:00
jolan
8f70db9040 3.8-beta still has the "defining _XOPEN_SOURCE breaks shit" bug so
extend the python workaround to include 3.8 and bump pkgnames
2005-08-10 02:14:13 +00:00
alek
609a50a01b Add 2.4 2005-06-07 01:13:52 +00:00
alek
65a7f47309 Import python 2.4
Python is an interpreted, interactive, object-oriented
programming language that combines remarkable power with
very clear syntax.

tested by djm@ and mpech@ (but more tests are needed!)
mbalmer@ and xsa@ want it to go in
2005-06-07 01:12:54 +00:00
alek
868c44e6c6 Mpz and expat modules only work with python 2.3 2005-06-06 20:47:04 +00:00
alek
1089355064 - Move stuff around in preparation for python 2.4
- Better WANTLIB marker for base package
2005-05-23 20:39:36 +00:00
alek
721889d57b Missed in previous commit 2005-05-22 12:02:55 +00:00
alek
4fe315c497 Please use lang/python/2.3
ok mbalmer@, xsa@, krw@ and others too
2005-05-22 12:01:13 +00:00
alek
1f8e9733e2 Remove old version as we have newer ones.
ok mbalmer@, krw@ (and others too)
2005-05-17 17:53:25 +00:00
jolan
a0900859f7 X_OPEN_SOURCE workaround for 3.7 as well... 2005-03-08 09:20:32 +00:00
alek
1c7c77e466 Better dependencies for (sub)packages 2005-03-03 23:20:47 +00:00
alek
2691258fe2 - Update to 2.3.5 (this version has a fix for PSF-2005-001)
- Fix -tkinter subpackage
- Cleanup PLIST-tools

ok fgsch@, xsa@
2005-03-03 22:29:49 +00:00
alek
8d985aab06 - Security update PSF-2005-001 http://www.python.org/security/PSF-2005-001/
- Fix -tkinter subpackage
- Bump PKGNAME

ok fgsch@
2005-03-03 22:23:56 +00:00
alek
9df2e2b83d - Fix -tkinter subpackage
- Bump PKGNAME
2005-03-03 21:59:57 +00:00
alek
522ecd0c11 Add/fix WANTLIB markers 2005-02-24 13:20:41 +00:00
sturm
b1d1e479a4 better and consistent LIB_DEPENDS on db; this fixes a few possible
build time failures, where the wrong version of db could be found
2005-01-12 21:31:05 +00:00
naddy
a8817eabcc SIZE 2005-01-05 16:50:35 +00:00
alek
b41845d74b - Replace $Id$ with $OpenBSD$
- Add missing $OpenBSD$
2004-12-30 23:45:07 +00:00
espie
63d1ab3303 repair some dependency paths. 2004-12-30 12:06:22 +00:00
espie
909bea101a fix dependency. 2004-12-21 11:30:39 +00:00
espie
66fe9ee3b0 Fix tk dependency 2004-11-16 02:10:56 +00:00
espie
cff383bc22 tag shared libraries... this is mandatory for libspecs to work. 2004-11-14 11:48:19 +00:00
alek
d661833f65 Remove empty patch
noticed and ok naddy@
2004-11-06 14:28:28 +00:00
alek
c2fae5b651 Update my email address
ok pvalchev@
2004-11-04 22:14:11 +00:00
espie
ee6b38872c new style conflicts 2004-09-18 12:52:54 +00:00
espie
c687e4bbba new-style conflicts for other versions of python. 2004-09-18 10:11:57 +00:00
espie
bd937b885e new-style PLISTs, use new style conflicts as well. 2004-09-18 10:07:26 +00:00
espie
da21c3fc86 remove older fragments 2004-09-15 21:28:54 +00:00
espie
08b0103bad a few missing fragments 2004-09-15 21:27:01 +00:00
espie
7baa1914ab new plists.
some fragment games with python.
2004-09-15 19:16:07 +00:00
pvalchev
666a93cb2d mark broken on hppa: compiler hangs on py-Checker for example 2004-08-11 21:53:10 +00:00
xsa
d19c085d01 fix build on 3.6; reminded/ok by jolan@. ok maintainer, pvalsquid@.
sync patches while there.
2004-08-11 08:11:50 +00:00
xsa
a1aab65acd increase THREAD_STACK_SIZE for use with www/zope;
>From: MAINTAINER.
2004-08-08 15:38:00 +00:00
xsa
081857cde9 introduce MODPY_TKINTER_DEPENDS and MODPY_EXPAT_DEPENDS to deal
with -tkinter and -expat subpackages on no shared libs archs;
from discussion with espie@. Python maintainer agrees as well.
2004-08-06 07:33:19 +00:00
xsa
f2b0723b76 update to python-2.3.4
> From: MAINTAINER Aleksander Piotrowski
2004-08-05 21:50:25 +00:00
xsa
e5bf1c78ee sync patch; 2004-06-25 18:34:57 +00:00
xsa
4b93030f65 respect CC when building ports with distutils as it checks if
the env variable CC is, if yes, it uses it...
okay sturm@.
2004-06-21 23:25:07 +00:00
xsa
dfab581583 use LOCALBASE instead of PREFIX for directories that are already
created by python itself; while here add MODPY_INCDIR;
2004-05-15 09:24:12 +00:00
sturm
f652f3d422 fix srcdir to ${WRKSRC} in order to fix build with systrace 2004-05-15 06:43:23 +00:00
brad
fa4cee34db Make sure to pass the PIC flag when linking. 2004-05-12 22:27:24 +00:00
sturm
ebcf7f2f8e - teach makesetup about -pthread
- better pthread handling in configure
- find python binary when running regression tests, even when no python
  is installed

from maintainer Aleksander Piotrowski <aleksander.piotrowski at nic.com.pl>
2004-04-18 12:13:58 +00:00
brad
996dac4f2b add amd64, another 64bit target. 2004-04-06 02:39:23 +00:00
espie
26bd7c43d8 explicitly tag no-autoheader some ports for which re-running it after autoconf
is a problem.
2004-03-04 17:49:26 +00:00
jolan
df6aa4127b fix build on OpenBSD 3.5 2004-03-01 04:36:12 +00:00
naddy
8920bb773e Remove workarounds for gcc2.95/sparc64 compiler bugs.
From: Aleksander Piotrowski <aleksander.piotrowski@nic.com.pl>
2004-02-29 16:39:39 +00:00
pvalchev
130396896f fix amd64; from maintainer Aleksander Piotrowski <aleksander.piotrowski@nic.com.pl> 2004-02-27 21:04:50 +00:00
xsa
bde493e8d6 no BUILD_DEPENDS for NO_BUILD= Yes ports;
ok sturm@.
2004-02-06 08:37:22 +00:00
sturm
2e9f9cae33 - complete PLISTs for static archs
- patch cosmetics

from maintainer Aleksander Piotrowski
2004-02-03 07:39:51 +00:00
sturm
a362888a2c switch modules to python 2.3 by default
prodded by Xavier Santolaria who helped testing
2004-01-22 06:28:35 +00:00
sturm
93927108e0 better db4 LIB_DEPENDS 2004-01-14 19:51:40 +00:00
sturm
220641dd7f fix braino in PATCH_LIST handling 2004-01-08 21:11:22 +00:00
sturm
0926d07225 fix tk84 warnings in 2.1 and 2.2, bump PKGNAME, from jose@
spelling fixes in CHANGES.OpenBSD
remove mpz.so from PFRAG.mm, it has its own SUBPACKAGE
from maintainer Aleksander Piotrowski
2004-01-03 17:32:57 +00:00
sturm
e0e1f5795d adapt to python 2.3
new subpackage -bsddb for python 2.3 only
2003-12-31 17:40:20 +00:00
sturm
282437dff5 initial import of python 2.3.3 from
Aleksander Piotrowski <aleksander dot piotrowski at nic dot com dot pl>
2003-12-31 17:38:25 +00:00
sturm
febebd33b4 both modules are actually the same, remove one
requested by maintainer
Aleksander Piotrowski <aleksander dot piotrowski at nic dot com dot pl>
2003-12-31 16:04:09 +00:00
sturm
81277bd19a this is a generic 64bit diff that applies to alpha, too 2003-12-31 12:05:22 +00:00
sturm
30a52ed69b update to python 2.2.3, lots of bugfixes
from Aleksander Piotrowski <aleksander dot piotrowski at nic dot com dot pl>
2003-12-30 22:21:24 +00:00
sturm
13adcc1494 more cleanups in preparation for 2.2 update and 2.3 import from
Aleksander Piotrowski <aleksander dot piotrowski at nic dot com dot pl>

- fix MASTER_SITES
- --without-pymalloc is not needed in 2.1 and 2.2 as it is disabled by default
  this will allow using it in 2.3
- some PREFIX -> LOCALBASE cleanup
- patch distributed pydoc instead of providing our own 3-liner
- some improvements on sparc64
- teach regression suite about openbsd
- regen some patch files
2003-12-30 17:05:30 +00:00
espie
a1309e4fd0 tcl/tk8.4 2003-12-30 00:26:19 +00:00
jose
7bc6e421e0 update to tcl/tk 8.4, ok brad@ naddy@ 2003-12-27 23:34:42 +00:00
sturm
e3158913d6 cleanup CHANGES.OpenBSD
PREFIX -> LOCALBASE in Setup.tkinter
set/remove links for pydoc in INSTALL/DEINSTALL
2003-12-13 16:03:48 +00:00
sturm
68a978a26f new packages -gdbm (GNU DBM support) and -idle (split from -tools)
from new maintainer Aleksander Piotrowski
<aleksander dot piotrowski at nic dot com dot pl>

more to come
2003-12-13 15:03:07 +00:00
sturm
e181562db2 Most python ports rebuild their files at install time, as root. This
removes this behaviour, additionally "make clean" is now able to clean
such a port's directory and no longer fails due to missing permissions.

from Andrew Dalgleish via Xavier Santolaria
2003-10-10 16:38:18 +00:00
sturm
8238657cc7 - add new variables MODPY_LIBDIR and MODPY_SITEPKG
- make MODPY_CMD intern

from Xavier Santolaria <xavier@santolaria.net>
2003-08-12 20:23:20 +00:00
jolan
6ad72bdf91 Author (Xavier Santolaria) puts these into the PD. 2003-07-31 07:01:21 +00:00
sturm
4440c9f33e use MAKE_ENV when building/installing
from Xavier Santolaria <xavier@santolaria.net>
2003-07-29 19:35:32 +00:00
sturm
706f3c88e2 python module for all standard python ports
from Xavier Santolaria <xavier@santolaria.net>
2003-07-28 17:48:13 +00:00
brad
18846513ef the MAINTAINER should have been removed some time ago. 2003-06-02 15:13:42 +00:00
brad
0da69615f6 Fix security issue with Python 2.1/2.2
Zack Weinberg found a vulnerability in the way the exevpe() method
from the os.py module uses a temporary file name. A file which
supposedly should not exist is created in a unsafe way and the method
tries to execute it. The objective of such code is to discover what
error the operating system returns in a portable way.

By exploiting this vulnerability a local attacker can execute
arbitrary code with the privileges of the user running python code
which uses the execvpe() method.

http://python.org/sf/590294
http://python.org/sf/601077
2002-10-08 02:52:25 +00:00
matt
5f9671ba58 taken by Chris Humphries <chumphries@drauku.net> 2002-07-09 12:32:34 +00:00
espie
8e0401df9e More MASTER_SITES_SUBDIR out 2002-05-13 23:31:24 +00:00
matt
debc4b10c2 > Changes by: brad@cvs.openbsd.org 2002/05/11 19:05:49
>
> Modified files:
>         lang/python/2.2/patches: patch-configure_in
>
> Log message:
> fixes for shared lib support

if it's good enough for 2.2, it's good enough for 2.1
2002-05-12 19:32:41 +00:00
brad
2ca43de5eb fixes for shared lib support 2002-05-12 01:05:49 +00:00
matt
585f78ec56 - 2.2 -> 2.2.1
- annotate patches submitted to Python patch tracker
- 100% license compliance: install CHANGES.OpenBSD file
2002-05-11 21:35:13 +00:00
matt
4a6074040c teach testsuite about OpenBSD >= 3.0 2002-04-19 12:54:13 +00:00
matt
9b44287b51 upgrade to 2.1.3
2.1.3 has very few improvements over 2.1.2, but the most important
are some thread-safety fixes that were causing heavily loaded Zope
sites to keel over.
2002-04-19 12:19:30 +00:00
brad
5f23fa06f4 OpenBSD threads. 2002-04-16 03:40:02 +00:00
matt
240c522768 fix dependencies
- subpackage @pkgdep -> RUN_DEPENDS
- no no_tkinter shouldn't unconditionally add LIB_DEPENDS of tk
2002-03-23 04:34:22 +00:00
drahn
f09bd9153d Fix vararg handling where code wants to double parse varargs data. ok matt@ 2002-03-16 15:24:26 +00:00
matt
1ee8599ea4 Restore shared libpython. The problem was that pthreads' 64k stack
size is not adequate for some of the complex processing that Zope
does, and -fPIC was aggravating that condition.  Now, if we're using
shared libs, up the stack size to 128k.

Also remove some stray files that never should have been committed
in the first place.
2002-02-25 21:25:37 +00:00
matt
518c580e61 test code crept in, oops 2002-02-15 19:55:14 +00:00
matt
cf056f6c83 Python 2.1.2 and Python 2.2.
Major changes:

- no more threads flavor, threads is now the default.

- subpackage modules that depend on other packages instead of having
largely redundant flavors (unless platform has no shared libs, then
flavors count again)

- shared libpython stuff disabled until someone can figure out why
it makes Zope crash
2002-02-15 19:42:18 +00:00
jasoni
428a49333b add regress target 2001-11-16 22:18:27 +00:00
shell
90eec6783e oops.. missed '\' in my last commit.
reported by Kenneth R Westerback <kwesterback@home.com>
2001-11-06 17:40:31 +00:00
shell
db677c6d74 new MASTER_SITES, ok jasoni@ 2001-11-05 22:46:53 +00:00
brad
90159fbd3d deal with threads properly on OpenBSD. 2001-10-28 01:52:44 +00:00
brad
2e3c79152a - only enable threads FLAVOR by default on i386.
- mark threads usage BROKEN on anything other than i386 for now.
- suggest using env when trying to set FLAVOR variable from command line.
- simplify Makefile a bit and push some of it out into the autoconf script where it properly
belongs.
2001-10-27 03:01:53 +00:00
naddy
7792a9b4b1 if we install a shared lib, we also need DYNLIBDIR; ok brad@ 2001-10-19 14:32:08 +00:00
naddy
f35f396730 fix on ELF architectures; from drahn@ 2001-10-18 18:52:51 +00:00