Commit graph

208 commits

Author SHA1 Message Date
Martin Wilke
5d6556dc39 - add patches from upstream svn rev.65333, fix integer overflows in
memory allocation (CVE-2008-2315 and CVE-2008-2316)
- also apply upstream svn rev.65262, fixes overflow checks in memory
  allocation (CVE-2008-3142 and CVE-2008-3144)

Approved by:	portmgr (pav)
Security:	http://www.vuxml.org/freebsd/0dccaa28-7f3c-11dd-8de5-0030843d3802.html
2008-09-11 08:05:23 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Martin Wilke
a4336f71cc - s/PORTREVSION/PORTREVISION/
Submitted by:	Uwe Doering <gemini@geminix.org>
2008-04-30 11:20:29 +00:00
Martin Wilke
a90aa21ef5 - 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

PR:		123153
Submitted by:	Nick Barkas <snb@threerings.net>
Security:	http://www.vuxml.org/freebsd/ec41c3e2-129c-11dd-bab7-0016179b2dd5.html
2008-04-28 07:39:59 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Hye-Shik Chang
7a90a036a7 Update python23 to Python 2.3.6 and python24 to Python 2.4.5. 2008-03-16 10:25:08 +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
Edwin Groothuis
c0b3ecac44 Remove support for OSVERSION < 5 2007-10-03 23:22:04 +00:00
Alexander Botero-Lowry
4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +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
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