1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
Commit Graph

182 Commits

Author SHA1 Message Date
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
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
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
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
3c61d8d746 Force to build bsddb185 module to make pkg-plist consistent.
Reported by:	ports/121191
2008-02-29 14:05:31 +00:00
Pav Lucistnik
ae4d9bdc60 - Fix plist
Reported by:	pointyhat
2008-02-25 16:39:19 +00:00
Hye-Shik Chang
bfb5f6f187 Update to Python 2.5.2. 2008-02-24 13:42:27 +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
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
e8b7ef58d8 Fix build with WITH_FPECTL=yes on i386.
PR:		104243
Submitted by:	S Roberts <stacey@vickiandstacey.com>
2006-10-10 05:31:20 +00:00
Hye-Shik Chang
2af3fdd8cf - Restrict a dependency to the real interpreter to _RUN only. This
allows portupgrade to upgrade lang/python from 2.4 flawlessly.
- So remove obsolete instruction.
2006-10-09 15:51:28 +00:00
Hye-Shik Chang
9d94ca02c9 Simple portupgrade doesn't upgrade python correctly, so add a check
and an instruction.
2006-10-09 15:40:08 +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
2e854e2553 - Update lang/python-devel to Python 2.5c2
- Sync some recent workarounds from lang/python.
2006-09-13 16:26:49 +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
ae152aa766 Update python-devel to 2.5b3. 2006-08-04 06:37:06 +00:00
Mark Linimon
70aa8343ff Mark broken: fails to install cleanly. 2006-07-15 19:37:32 +00:00
Hye-Shik Chang
06295f9285 Update python-devel to 2.5b1. 2006-06-23 03:09:16 +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
e442a1bec8 Fix build on environments without python. 2006-03-27 23:22:18 +00:00
Hye-Shik Chang
b243082281 Update to Python trunk snapshot as of 2006-03-26. 2006-03-26 07:58:41 +00:00
Edwin Groothuis
c92c635b24 SHA256ify
Approved by: krion@
2006-01-22 12:42:24 +00:00
Hye-Shik Chang
ec0aa03843 Update python-devel to 2.5.a0.20050728 snapshot. 2005-07-28 08:29:32 +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
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
e329251631 Add a patch from PSF-2005-001 which fixes SimpleXMLRPCServer
vulnerability.

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:14:40 +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
7563992988 IGNORE this port for a while. Some 2.5.a0 snapshot will be available
in this port soon.
2004-12-01 15:09:16 +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
61282086ba Update -devel to Python-2.4b2. 2004-11-06 19:48:48 +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
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
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
68c031de51 More OPTIONS change of UCS2->UCS4 which is missed in previous commit. 2004-06-28 06:25:26 +00:00
Hye-Shik Chang
c4a8480ea9 Test lack of non-default options for CONFIG-unaware environments
as done in lang/python either.

Submitted by:	fjoe
2004-06-28 06:24:11 +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
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