Commit graph

60 commits

Author SHA1 Message Date
Li-Wen Hsu
48d856c3b2 - Add Python 3.1 2009-07-06 20:30:29 +00:00
Li-Wen Hsu
8390759afb - Honor EXAMPLESDIR, DATADIR and NOPORTEXAMPLES, NOPORTDATA
- Remove bsddb module in pkg-message since it's removed from
  Python default modules
  (python3 user should use databases/py-bsddb3)
- Fix WITH_UCS4 support
- Mark jobs safe
- Makefile/patch cleanup

PR:		ports/133440
Submitted by:	Paul Hoffman <phoffman AT proper.com>
2009-07-02 01:46:33 +00:00
Hye-Shik Chang
dfecaa4e9d Remove "_gdbm" module from packaging which should be excluded in
this port.

Reported by:	QAT
2008-10-13 09:50:53 +00:00
Hye-Shik Chang
3813a5dbe7 Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)
Python 2.6 will be the next default python version when enough
testings of consumer ports are done.  The new "2to3" program is
renamed to 2to3-2.6 and 2to3-3.0 for each version, respectively.

Repo-copied by:	marcus
2008-10-13 08:23:00 +00:00
Martin Wilke
8a1ff65b9b - Security fixes
Multiple vulnerabilities:

	1) Various integer overflow errors exist in core modules e.g. stringobject,
	   unicodeobject, bufferobject, longobject, tupleobject, stropmodule, gcmodule, mmapmodule.
	2) An integer overflow in the hashlib module can lead to an unreliable cryptographic digest results.
	3) Integer overflow errors in the processing of unicode strings can be exploited to cause
	   buffer overflows on 32-bit systems.
	4) An integer overflow exists in the PyOS_vsnprintf() function on architectures that do not
	   have a "vsnprintf()" function.
	5) An integer underflow error in the PyOS_vsnprintf() function when passing zero-length strings
	   can lead to memory corruption.

PR:		127172 (based on)
Submitted by:	bf <bf2006a@yahoo.com>
Obtained from:	python svn
Security:	CVE-2008-2315, CVE-2008-2316, CVE-2008-3142, CVE-2008-3144, CVE-2008-3143. (vuxml come later)
2008-09-08 00:14:06 +00:00
Martin Wilke
87262d65c4 - Fix zlib crash from zlib.decompressobj().flush(val)
when val was not positive. It tried to allocate negative
  or zero memory.  That fails.
- Bump PORTREVISION

Reviewed by:	alexbl
Obtained from:	python svn
Security:	http://www.vuxml.org/freebsd/ec41c3e2-129c-11dd-bab7-0016179b2dd5.html
2008-04-25 08:16:04 +00:00
Hye-Shik Chang
3c61d8d746 Force to build bsddb185 module to make pkg-plist consistent.
Reported by:	ports/121191
2008-02-29 14:05:31 +00:00
Hye-Shik Chang
6e02f1db93 Add support for FreeBSD 8.
Obtained from:	Python SVN (r58697, r58698)
2007-10-29 00:14:50 +00:00
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
Hye-Shik Chang
ab1df0e8f4 Correct a patch not to install unwanted files.
Approved by:	portmgr (kris)
2006-10-16 03:12:44 +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
Hye-Shik Chang
df0b95301a Fix plist for FreeBSD 7 or systems with OpenSSL 0.9.8.
Spotted by:	pointyhat via kris
2006-08-10 10:05:13 +00:00
Hye-Shik Chang
06295f9285 Update python-devel to 2.5b1. 2006-06-23 03:09:16 +00:00
Hye-Shik Chang
b243082281 Update to Python trunk snapshot as of 2006-03-26. 2006-03-26 07:58: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
a8ff97aec3 Update to 2.4a3
PR:		71340
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2004-09-03 17:12:28 +00:00
Hye-Shik Chang
adca4f9d0e - Add support for FreeBSD 6.
- Drop FreeBSD 2 support.
- Fix build on -stable.

Spotted by:	marcus, kris
Obtained from:	Python CVS
2004-08-21 01:02:12 +00:00
Hye-Shik Chang
03cd3fd2e0 - Update to 2.4a2
- Add IPV6 option [1]

PR:		69950 [1]
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br> [1]
2004-08-07 06:36:57 +00:00
Hye-Shik Chang
95340a84dc - Update to 2.4a1, the first alpha release of Python 2.4.
- Provide USE_PYTHON_BUILD and USE_PYTHON_RUN to allow explicit
  dependencies. [1]
- Provide PYDISTUTILS_CONFIGUREARGS and run ${PYSETUP} config on
  'do-configure' targets. [2]

Reviewed by:	eik [1]
Submitted by:	Mike Brown <mike@skew.org>
2004-07-08 15:53:45 +00:00
Hye-Shik Chang
299b967868 Ignore syntax errors on compiling 3rd party packages.
Tested by:	Lee Harr <missive@hotmail.com>
2003-11-15 19:22:37 +00:00
Hye-Shik Chang
62e80c6399 - Include pyexpat module in python base ports because python incorporated
expat 1.95.6 in its distribution from Python-2.3.
- Bump PORTREVISION subsequently.

Requested by:	Mike Brown <mike@skew.org>
		Jeremy Kloth <jeremy.kloth@fourthought.com>
2003-11-04 18:00:37 +00:00
Hye-Shik Chang
040577c1f7 - Update lang/python-devel to Python-2.4 031022 snapshot.
- Correct USE_ZOPE dependency to Python 2.1. [1]
- Fetch from correct MASTER_SITE_SUBDIR when upgrading python
  in same branch. [2]
- Enable installing separated standard modules for python-devel port.

Reported by:	Filippo Natali <pitonat@libero.it> [1],
		Yoshihiko Sarumaru <mistral@imasy.or.jp> [2]
2003-10-29 21:31:13 +00:00
Hye-Shik Chang
ab4b78dba6 Update to 2.3c1 2003-07-19 07:44:46 +00:00
Hye-Shik Chang
6b9a7cf778 o Utilize MASTER_SITE_PYTHON.
o Rename pydoc to pydoc${PORTVERSION} to avoid conflicts among these
  ports. (lang/python port keeps both of bin/pydoc and bin/pydoc2.2)
o Set LATEST_LINK to ${PYTHON_VERSION:S/.//} except lang/python.

Now, we can install all of these python versions together cleanly.
2003-07-04 11:57:54 +00:00
Hye-Shik Chang
c84dbd4727 Update new python-devel port to 2.3.b2.
This update introduces two new knobs to _disable_ somewhat
experimental options:
 BUILD_STATIC=yes	Unless this option is specified,
			the port will build python as shared
			binary.
 WITH_UCS2=yes		Unless this option is specified,
			Py_UNICODE type will charge 4 bytes
			per character (as we do for wchar_t)

Repo-copied by:	joe (thanks!)
2003-07-03 14:41:09 +00:00
Alan Eldridge
e3f1cd18ae PORTREVISION => 1
Added lotsa missing files to pllist.
Added dl module for those who like to live dangerously (petef?).

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
2002-11-21 16:14:10 +00:00
Hye-Shik Chang
72143e1b7c Upgrade to Python-2.2.2.
Approved by:	tg
2002-10-17 11:14:17 +00:00
Thomas Gellekum
b0bf616a46 Add patch from SF PR #541980. This fixes 4suite.
Submitted by:	nectar
2002-04-17 11:57:49 +00:00
Thomas Gellekum
70f395a1f5 Upgrade to Python-2.2.
PR:		36977
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
2002-04-12 10:33:42 +00:00
Thomas Gellekum
8a7b647585 Fix sizeof(wchar_t) calculation. 2002-01-21 12:54:09 +00:00
Thomas Gellekum
7d4762e8bb Implement PyObject_DelItemString(), which was obviously forgotten for
Python-2.2. This will fix at least the metakit port.

Bump PORTREVISION.

Obtained from:	Python CVS tree
2002-01-16 12:22:20 +00:00
Thomas Gellekum
555f286ca1 Upgrade lang/python to 2.2. Adjust bsd.python.mk accordingly.
PR:		33444
Submitted by:	Hye-Shik Chang <perky@fallin.lv>

Add new MD5 to dependent ports.
2002-01-07 13:26:47 +00:00
Thomas Gellekum
998b2d08ec Don't build mpz extension, it's moved to a separate port. 2001-10-19 11:16:55 +00:00
Thomas Gellekum
a0e827ef6c Upgrade to 2.1. 2001-05-02 11:25:02 +00:00
Thomas Gellekum
566dfe5616 Fix building on -current.
PR:		26778
Obtained from:	Python CVS
2001-04-26 11:18:46 +00:00
Thomas Gellekum
78f16e0bfd Upgrade to 2.0. 2000-10-18 11:58:50 +00:00
Thomas Gellekum
21f7ea9447 Upgrade to 1.6. 2000-09-08 11:41:43 +00:00
Thomas Gellekum
0221fd2063 Don't create group-writable directories.
Submitted by:	jedgar
2000-08-14 12:36:05 +00:00
Thomas Gellekum
992725797a Add the SHA module to the build. 1999-07-28 07:54:24 +00:00
Thomas Gellekum
1722c439ae Link some modules against libmytinfo to pick up a working tputs().
Noticed by:	Klaus-Jürgen Wolf <kjwolf@online.de>
1999-06-18 11:42:21 +00:00
Thomas Gellekum
a7ec9960d9 Enable the parser module.
Submitted by:	nectar
1999-05-21 07:06:06 +00:00
Jacques Vidrine
b1860f81da * Update python 1.5.1 -> 1.5.2
* Remove python-beta
1999-04-21 05:56:27 +00:00
Thomas Gellekum
2d5b8efd45 Activate some modules needed for zope (www.zope.com).
Submitted by:	jkoshy
1999-03-10 17:17:22 +00:00
Thomas Gellekum
be73fc6e37 Add new official patches and activate the dl module. 1998-04-29 07:15:42 +00:00
Thomas Gellekum
69dc0df901 Upgrade to 1.5.1. 1998-04-15 07:35:49 +00:00
Thomas Gellekum
006ffd57de Use tk80, not an unsupported alpha version of tk81.
Include locale module.
1998-02-27 10:21:35 +00:00
Thomas Gellekum
9d49792924 Upgrade to 1.5. 1998-01-06 08:03:13 +00:00
Thomas Gellekum
3876bae11f Use an option to disable the Tk extension (WITH_TK). Don't use
libc_r if we're not building the thread module. Respect options
given in the environment.

The defaults (build with Tk and thread support) don't change.
1997-11-24 15:12:44 +00:00
Thomas Gellekum
8f042a171a Use tk-8.0. Minor makefile cleanups. Add some `@dirrm's in PLIST. 1997-08-29 07:04:27 +00:00