Commit graph

199 commits

Author SHA1 Message Date
Rong-En Fan
ec9c55f34b - Force setup.py picks up readline and ncurses from base. This fixes build
when devel/ncurses installed.
- Similar to python24, don't pick up ncursesw in python25. This results
  in both ncurses are linked into _curses.so

Tested by:	krion
Approved by:	alexbl (python@)
2007-02-27 19:00:23 +00:00
Xin LI
f523e0e7b2 Update to Python 2.4.4.
Approved by:	maintainer timeout, alexbl (python@)
Tested by:	pointyhat
PR:		ports/105901
2007-02-14 06:07:29 +00:00
Hye-Shik Chang
e18b838fd9 Revert the default version of Python to 2.4 for the ports freeze
period.  Python 2.5 brought a vast range of incompatibility to a
large number of ports, so the python@ team will do more basic
compatibility work in a private repository and merge it later.
Sorry for the inconvenience.

Approved by:	portmgr (kris)
2006-10-13 07:16:45 +00:00
Hye-Shik Chang
1d18bb4fff - Update the main python version to 2.5.
- Now, lang/python is just a meta-port which depends on lang/python25.
  - And all versions of Python ports have short version identifier in its
    package name; python25-2.5, python24-2.4.3 and etc.
  - Also you must upgrade all python modules after lang/python updated,
     cd /usr/ports/lang/python && make upgrade-site-packages

- Give maintainership of Python ports to the new python@ group which
  includes me, alexbl@ and others.
2006-10-09 14:29:18 +00:00
Simon L. B. Nielsen
a1560e82eb Fix buffer overrun when performing repr() on a unicode string in a build
with wide unicode (UCS-4) support.

Obtained from:	Python SVN (#51466)
Security:	CVE-2006-4980
With hat:	secteam
2006-10-08 06:48:01 +00:00
Hye-Shik Chang
750745277b Add a checksum for 2.5c2 and remove checksums for old beta releases. 2006-09-13 16:29:31 +00:00
Hye-Shik Chang
773ced5faf Avoid to use "ncursesw" which causes segfault when the system has
devel/ncurses installed due to a shared library collision between
a base ncurses from libreadline dependency and a local ncurses from
libncursesw dependency.

PR:		99496
Submitted by:	rachid achellal <rachid@in.nl>,
		Xiao-Yong Jin <xj2106@columbia.edu>
2006-08-12 03:57:46 +00:00
Hye-Shik Chang
1e199b4c5b Add checksums for Python 2.5b3 and remove old checksums for pre-alpha
versions.
2006-08-04 06:39:10 +00:00
Hye-Shik Chang
450fd714b8 Add a checksum for Python 2.5b1 2006-06-23 03:11:37 +00:00
Edwin Groothuis
75ab390ea5 [PATCH] lang/python: Some portlint fixes
- Fix tab/space issues

PR:		ports/95779
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
Approved by:	maintainer timeout
2006-05-14 01:17:03 +00:00
Edwin Groothuis
7c6393360c Remove USE_REINPLACE from the categories starting with L 2006-05-09 20:52:24 +00:00
Hye-Shik Chang
5c0873479e Update to Python 2.4.3. 2006-03-30 09:40:13 +00:00
Hye-Shik Chang
b93202c714 Add a checksum for Python 2.5.a0.20060326 2006-03-26 08:05:43 +00:00
Edwin Groothuis
6461bf0db2 SHA256ify (approved by krion@) 2006-02-01 03:47:20 +00:00
Hye-Shik Chang
332512a476 Add a CONFLICT to lang/python-mode.el. 2005-11-02 13:40:51 +00:00
Hye-Shik Chang
b9805fae01 Bring a bugfix enabling WITHOUT_THREADS build again.
Requested by:	Mike Harding <mvh@ix.netcom.com>
Obtained from:	Python CVS
2005-10-04 13:50:02 +00:00
Hye-Shik Chang
08a19a2887 - Update to Python 2.4.2. [1]
- Allow to override a command passing to distutils using
  PYDISTUTILS_{CONFIGURE,BUILD,INSTALL}_TARGET [2]
- Allow to specify BUILD/RUN dependency separatedly. [3]
- Replace shell executions with regex replacement on bsd.python.mk. [3]
- Remove thread serialization from socket.getaddrinfo() on FreeBSD 5.3
  and later versions because we've got thread-safe implementation. [4]
- Add a workaround to avoid curses.h problem of FreeBSD base.

PR:		86685 [1]
Submitted by:	Soeren Straarup <xride@x12.dk> [1],
		lioux [2], vsevolod [3], sobomax [4]
Obtained from:	Python CVS [4]
2005-10-02 14:31:39 +00:00
Hye-Shik Chang
e430271557 Add checksum for 2.5.a0.20050728 snapshot. 2005-07-28 08:30:36 +00:00
Hye-Shik Chang
b185b497ae Fix fcntl.ioctl argument parsing to accept termios.TIOCGWINSZ.
Submitted by:	jkim
Obtained from:	Python CVS
2005-07-28 06:23:56 +00:00
Hye-Shik Chang
ecd685d3d6 Backport support for FreeBSD 7 and drop support for FreeBSD 3.
Fixes for other versions of python will be followed tomorrow.

Submitted by:	nork
Obtained from:	Python CVS
2005-07-18 12:44:08 +00:00
Hye-Shik Chang
814a29cb2b - Disable "fpectl" base module on non-i386 platforms to fix build
on the recent -CURRENT i386 base. [1]
- Fix package build on NO_NIS base. [2]

PR:		81806 [1]
Submitted by:	Li-Lun Wang (Leland Wang) <llwang@infor.org> [1],
		ache [2]
2005-06-19 11:34:56 +00:00
Hye-Shik Chang
92e02ee037 - Make FPECTL support optional and turn it off by default because
the feature brings huge overheads for floating point arithmetics
  and integer divisions. [1]
- Fix plist
- Bump PORTREVISION

Requested by:	Ewan Todd <ewan@mathcode.net> [1]
2005-05-12 01:49:54 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Hye-Shik Chang
88c5d79c02 Update to Python 2.4.1 2005-04-03 13:55:44 +00:00
Hye-Shik Chang
fe1f003f68 Fix package building on non-i386 platforms by unrestrict audioop
module for them in plist.

Approved by:	portmgr (kris)
2005-03-28 23:11:44 +00:00
Hye-Shik Chang
b73a0c98c1 Unbreak package building on ia64, alpha, amd64 and sparc64 by
adding ossaudiodev module to their plists, either.

Approved by: portmgr (kris)
2005-03-23 04:43:57 +00:00
Hye-Shik Chang
d5491d3c9f Add checksum info for Python 2.3.5. 2005-03-20 16:20:11 +00:00
Hye-Shik Chang
d19bc113cf Add a patch from PSF-2005-001 which fixes SimpleXMLRPCServer
vulnerability.

PR:		77078
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Security:	CAN-2005-0089
Security:	http://www.vuxml.org/freebsd/6afa87d3-764b-11d9-b0e7-0000e249a0a2.html
Security:	SimpleXMLRPCServer.py allows unrestricted traversal
2005-02-04 04:13:41 +00:00
Hye-Shik Chang
35c8a898d4 Resurrect lang/python-devel port with Python 2.5 development snapshot
as of today.
2005-01-29 05:01:02 +00:00
Hye-Shik Chang
2339b74306 Add new utility target named 'upgrade-site-packages' to upgrade
site-packages which was built on previous version of python.
2004-12-06 05:28:34 +00:00
Hye-Shik Chang
7e89d7bc4b mpz module is deprecated since Python 2.2 and removed in Python 2.4. 2004-12-02 05:22:15 +00:00
Hye-Shik Chang
cbee63519e - Update lang/python to 2.4 final release.
- Finish repocopy lang/python -> lang/python23 for Python 2.3.4
2004-12-01 15:04:05 +00:00
Hye-Shik Chang
c8faaa29b0 - Update python-devel to 2.4c1 2004-11-20 17:17:28 +00:00
FUJISHIMA Satsuki
a787f0b075 farewell to libxpg4. 2004-11-15 05:19:30 +00:00
Hye-Shik Chang
79f412180b Add checksum for Python-2.4b2. 2004-11-06 19:50:06 +00:00
Hye-Shik Chang
172630458a Add distinfo for Python-2.4a3 2004-09-03 17:14:14 +00:00
Hye-Shik Chang
6dbe12234a Fix package build on 4-STABLE.
Submitted by:	kstewart <kstewart@owt.com>
2004-08-21 11:13:41 +00:00
Hye-Shik Chang
d918a1e17c - Add support for FreeBSD 6.
- Remove support for FreeBSD 2.

Spotted by:	marcus, kris
Obtained from:	Python CVS
2004-08-20 23:56:16 +00:00
Hye-Shik Chang
f0c20c8b69 - Allow to disable IPv6 support [1]
- Add checksum for 2.4a2

PR:		69950 [1]
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2004-08-07 07:00:18 +00:00
Hye-Shik Chang
b9a4c8f834 Make PORTREVISION overridable by slave ports.
Found by:	eik's chkversion
2004-07-10 01:53:37 +00:00
Hye-Shik Chang
90c653ebbf Allow to install and use 3rd party packages in X11BASE.
${X11BASE}/lib/{python2.3{,/site-packages},site-python} will be
added to your python's sys.path if each directory exists.

Suggested by:	marcus
2004-07-09 17:18:00 +00:00
Hye-Shik Chang
d8b04cd486 The tarball for Python 2.4a1 is renamed in the site. 2004-07-09 16:53:03 +00:00
Hye-Shik Chang
b5e05a7dd0 Add checksum info for 2.4a1. 2004-07-08 15:58:53 +00:00
Hye-Shik Chang
3babc490d7 Fix comment.
Submitted by:	fjoe
2004-06-28 06:02:39 +00:00
Hye-Shik Chang
7d6e16a1f2 Use ${CC} instead of cc on dynamic linkings.
PR:		67515
Submitted by:	michael johnson <ahze@ahze.net>
2004-06-04 05:21:57 +00:00
Hye-Shik Chang
7866c5194c - Update to Python 2.3.4.
- Test WITHOUT_* instead of WITH_* for values which are on by default
  so that package build clusters detect correctly.
2004-05-27 15:58:02 +00:00
Hye-Shik Chang
cd74272ff9 Use OPTIONS.
Submitted by:	Stephane E. Potvin <sepotvin@videotron.ca>
2004-05-07 05:39:33 +00:00
Hye-Shik Chang
1a830c3a8c Reduce configure warning.
PR:		55180 [1], 65680 [2]
Submitted by:	Rui Lopes <rui@ruilopes.com> [1],
		Roman Neuhauser <neuhauser@chello.cz> [2]
2004-04-18 11:42:37 +00:00
Hye-Shik Chang
9e1cf11978 Fixed a bug where the configure script couldn't detect getaddrinfo()
properly if the KAME stack had SCTP support.

Submitted by:	suz
2004-04-14 06:49:21 +00:00