Commit graph

224 commits

Author SHA1 Message Date
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
Hye-Shik Chang
dce05b6781 Fix stackless build broken by the recent shared-build commit.
Submitted by:	Sven Petai <hadara@bsd.ee>
2004-03-22 08:59:52 +00:00
Hye-Shik Chang
2f813973a5 Correct pre-install target to pre-su-install so that the credential
switch happens before directories are created under PREFIX.

Submitted by:	marcel
2004-03-18 07:00:08 +00:00
Hye-Shik Chang
2c1a480460 - Fix installation problem where PREFIX != LOCALBASE.
- Add checksum for Python-2.4.a0.20040311
2004-03-11 15:55:38 +00:00
Hye-Shik Chang
3c031745cd Create a symbolic link to lib/python2.3.so on lib/python2.3/config/
for seamless upgrade from a static library.

Suggested by:	dd
2004-03-09 02:24:31 +00:00
Hye-Shik Chang
1ba15b7a7e Build and install a shared library and its frontend besides static one
by default.

[HEADS UP] The python executable and static library isn't built PIC
anymore even on amd64 and ia64. Please use a shared library instead.

Requested by:	jhay, dd
Tested by:	Charles Swiger <cswiger@mac.com>,
		Tim Middleton <x@Vex.Net>
2004-03-08 12:43:11 +00:00
Hye-Shik Chang
ebd4836132 - Update stackless_python to 2.3.3 as of 040225 and unmark BROKEN.
- Set mutually exclusive confliction for {,stackless_}python.
2004-02-27 13:00:06 +00:00
Hye-Shik Chang
1efbe2254e - Add a workaround for the net/straw port installation problem
recently introduced by libpthread. The problem was that waitpid(2)
raised EINTR but python's distutils didn't catch it correctly.
- PORTREVISION is bumped to 2, subsequently.
2004-02-24 08:19:54 +00:00
Marcel Moolenaar
e91938d7ff On ia64, libpython2.3 must be built with -fPIC as well. This unbreaks
KDE (for example).
2004-02-16 19:03:00 +00:00
Hye-Shik Chang
d3a457db41 - Use process scope threads instead of system scope to enable large
amount of threads on -CURRENT libpthread by default. [1]
- Merge bugfixes from python 2.3 maintenance branch: [2]
  o weakref object's garbage collection problem.
  o save unnecessary startup-time memory allocation of 100KB+ from
    intobject.
- SIZEify.
- Bump PORTREVISION subsequently.

Advised by:	eischen, julian [1]
Obtained from:	Python CVS [2]
2004-02-09 09:54:07 +00:00
Hye-Shik Chang
5443533e04 Add checksum entry for Python 2.4 040106. 2004-01-09 02:01:39 +00:00
Hye-Shik Chang
0af36bc41c Fix builds for whom has VPATH on his/her environment variables.
PR:		57731
Reported by:	bms
2003-12-28 13:55:06 +00:00
Hye-Shik Chang
60d09f59f5 - Update to Python-2.3.3
- Pass PYTHON_VERSION variable to dependent builds.
- Enable email package to use cjkcodecs.
- Decrease default recursion limit to 900 on sparc64.
2003-12-20 07:13:43 +00:00
Dmitry Sivachenko
576e13422f Add WWW.
Approved by:	maintainer
2003-12-04 10:41:46 +00:00
Hye-Shik Chang
f2e9fdbd86 Add fix for a fatal bug in type's GC handling causes segfaults.
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

Obtained from:	Python CVS
2003-11-21 03:15:02 +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
76e8fac83e Clarify a sentence on pkg-message.
PR:		59196
Submitted by:	Linh Pham <question@closedsrc.org>
2003-11-12 20:58:38 +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
Maxim Sobolev
75fd45d40b Add missed ossaudiodev.so into pkg-plist (only for x86, since I don't have
access to other arches yet), and enable it on freebsd5 (it's enabled on
freebsd4 OOB).
2003-10-29 20:52:32 +00:00
Hye-Shik Chang
bdb7bf2167 Don't use PYTHON_DISTFILE as well as PYTHON_WRKSRC on lang/python* ports
because it does not point the most recent version of each from
ports/Mk/bsd.python.mk 1.38.

Reported by:	Andy Fawcett <andy@athame.co.uk>
2003-10-21 17:17:45 +00:00
Hye-Shik Chang
16d82beb8e - Add WITHOUT_PYMALLOC knob that disables pymalloc, the internal
optimized heap manager for Python 2.3. [1]
- Utilize PYTHON_SITE_SUBDIR.

Submitted by:	kuriyama [1]
2003-10-19 09:17:44 +00:00
Hye-Shik Chang
d01c77a494 Add alpha to list of 64bit architectures. (This fixes package
building on alpha)

Spotted by:	kris
2003-10-16 05:36:05 +00:00
Hye-Shik Chang
ec722082a1 Update to Python-2.3.2 2003-10-04 05:17:10 +00:00
Hye-Shik Chang
dc8b35d2fb - Install a 'real' shared object when BUILD_SHARED=yes. [1]
- Fix plist on 32bit architectures.
- Bump PORTREVISION.

PR:		57269 [1]
Submitted by:	Tim Middleton <x@Vex.Net> [1],
		Kostik I. Belousov <kostya@tessart.kiev.ua> [1]
2003-09-29 11:44:32 +00:00
Hye-Shik Chang
e7f4671585 Use smaller recursion limits on amd64 and sparc64 to avoid
stack overflows.

Tested on:	sledge, panther
2003-09-27 18:29:04 +00:00
Hye-Shik Chang
a121af1f80 - Revive os.fsync function which is disabled by a typo of Python-2.3.1.
- Bump PORTREVISION

Obtained from:	Python CVS
2003-09-26 16:44:13 +00:00
Hye-Shik Chang
a51136bd60 Add notes about separated standard modules. 2003-09-26 04:24:56 +00:00
Hye-Shik Chang
ac5bea6285 - Update to Python-2.3.1, the lastest Bugfix release.
- Disable dlmodule on amd64 and sparc64 because dlmodule isn't designed
  for them.
- Add -fPIC on CFLAGS on amd64 for mod_python3 and other ports using it
  on linking their own dynamic library.
2003-09-24 11:07:22 +00:00
Hye-Shik Chang
9d32a5e594 BUILD_STATIC by default because it's better.
(See http://mail.python.org/pipermail/python-dev/2003-August/037472.html)
2003-08-22 05:31:45 +00:00
Hye-Shik Chang
d82437caea Add md5 digest for python 2.4a0.20030801 2003-08-01 09:14:44 +00:00
Hye-Shik Chang
d6fb067853 - Update to Python-2.3
- Correct pydoc search path to lang/python-doc-html port's [1]

PR:		43036 [1]
Submitted by:	Emil Sit <sit@amsterdam.lcs.mit.edu> [1]
2003-07-31 19:34:54 +00:00
Hye-Shik Chang
153572d683 Set per-thread stack size to 0x20000 (default) or 0x100000
(WITH_HUGE_STACK_SIZE=yes). This will enable python2.2 to
run Zope and its products.

Requested by:	dwhite
Reviewed by:	dwhite
2003-07-09 07:40:56 +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
3b1c9bec7b Take maintainerships from alane's python ports.
Rest in Peace, Alan.
2003-06-09 05:42:04 +00:00
Will Andrews
f9be1a26da REST IN PEACE
Alan Eldridge
Born December 15, 1961 in Iowa
Died June 6, 2003 in Denver, Colorado

Thank you for your contributions, you
will be greatly missed.
2003-06-08 21:06:22 +00:00
Hye-Shik Chang
63f2be090f Update to 2.2.3
PR:		52830
Submitted by:	Chuck Swiger <chuck@pkix.net> (partly)
Approved by:	maintainer (implicitly)
2003-06-04 08:36:48 +00:00
Ade Lovett
84ea4ee842 Destroy pkg-comment for some of the stranger uses in the tree,
pending the final semi-automatic purge.

Approved by:	portmgr (implicitly)
2003-03-06 19:23:19 +00:00
Alan Eldridge
b31107f713 PORTREVSION => 2.
Fix error pointed out by tg@. Now just blow away the Tools subdir on uninstall
in case something compiled that stuff.
2002-11-21 17:07:28 +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
Alan Eldridge
182328e593 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:

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
2002-11-21 16:14:09 +00:00
Alan Eldridge
3c9be6b0f3 Simplified threads configuration. 2002-11-21 15:32:09 +00:00
Alan Eldridge
46fa14c679 Take over as maintainer since tg is taking a leave of absence from port
maintenance.
2002-11-15 17:12:56 +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
5abd985434 Use new PYTHONPREFIX_*DIR variables to make these ports PREFIX-clean. 2002-06-14 11:19:13 +00:00
Thomas Gellekum
e399f180fd Fix building on the Alpha.
Submitted by:	gallatin
2002-05-16 12:07:26 +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
683d86a04a Add SourceForge as a well connected secondary MASTER_SITES location.
Submitted by:	"Jason R. Mastaler" <jason-dated-1018216403.d8ed28@mastaler.com>
2002-04-02 12:03:43 +00:00
Thomas Gellekum
33830c0c52 Explicitly enable IPv6 support.
Submitted by:	sumikawa
2002-04-02 11:55:20 +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
c5186aed0a Re-add fpectl.so to the plist to fix packaging. Re-enable support
for it in the python binary.

Noticed by:	will
2001-11-20 13:23:48 +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
2718c15787 Depend on math/libgmp when running a recent -current. 2001-09-25 11:39:45 +00:00
Thomas Gellekum
ef41855096 Upgrade to 2.1.1. 2001-07-25 11:11:25 +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
Maxim Sobolev
4ca0e60800 -pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}

Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
2001-03-29 16:35:19 +00:00
Maxim Sobolev
84d049fc2b Allow MAINTAINER to be redefined in a slave port. 2001-03-29 08:13:31 +00:00
Thomas Gellekum
d1115e3827 MASTER_SITE changed.
Submitted by:	sobomax
2000-12-07 12:06:30 +00:00
Thomas Gellekum
e3c1c82e91 Install Demo/ dir to $PREFIX/share/examples/python. 2000-11-29 12:35:31 +00:00
Thomas Gellekum
63f9ef6a35 Fix compilation on FreeBSD-3.x.
PR:		22226
Reviewed by:	Alan Bawden <Alan@LCS.MIT.EDU>
2000-11-13 13:22:34 +00:00
Thomas Gellekum
78f16e0bfd Upgrade to 2.0. 2000-10-18 11:58:50 +00:00
Satoshi Asami
da97619562 Rename PLIST.{Tools,gmp} to pkg-plist.{Tools,gmp}. 2000-10-08 02:21:24 +00:00
Thomas Gellekum
ea19a38fbb Use USE_PYTHON. 2000-09-28 11:28:11 +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
3e25aa0528 Clarify comment even further. 2000-07-28 11:08:07 +00:00
Thomas Gellekum
3a97a73ec6 - Clarify comment on thread support.
- Don't link against libxpg4 on newer systems.
- Remove last remnants of Tkinter support,
  it's all in x11-toolkits/py-tkinter.
2000-07-27 12:19:38 +00:00
Jeremy Lea
b4455771cc Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
2000-04-17 00:19:02 +00:00
David E. O'Brien
5cd5b258b5 Convert to the PORTNAME - PORTVERSION syntax. 2000-04-12 06:21:15 +00:00
Thomas Gellekum
9c0d74037c Separate the Python Tk module from the main port. I've been
wanting do to this for a long time now. Now we got rid of the stupid
dependency on Tcl/Tk and save some checks in python's makefile.

Update the dependent ports accordingly.
2000-04-04 09:53:12 +00:00
Thomas Gellekum
548805770e Fix packaging on -current. 2000-03-24 09:17:27 +00:00
Munechika SUMIKAWA
a6d7ea1d57 move IPv6-enable python to python+ipv6 and revert origial python
to before IPv6.

Since IPv6-enable python make bigger the size of sockaddr, some of scripts
are affected. I maintain python+ipv6 separately to minimize impact for users.
It will be removed when IPv6 patches are merged into original distribution,
such as ruby.

Repositry copied by:	asami
2000-01-27 15:54:26 +00:00