summaryrefslogtreecommitdiff
path: root/lang/python26/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove python26, it is expired and nothing depends on it anymore.Rene Ladan2014-01-1314-426/+0
| | | | | | | | Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat) Notes: svn path=/head/; revision=339637
* lang/python26: Add FreeBSD 11 support, enable POSIX Semaphores on FreeBSD 7+Kubilay Kocak2013-12-082-9/+15
| | | | | | | | | | | | | | | | Finish off adding FreeBSD 11 support to our Python ports by backporting wg@'s changesets [1] and [2], and mine from python32 [3] to lang/python26. These changes also bring more consistency and reduced diffs between ports [1] https://svnweb.freebsd.org/ports?view=revision&revision=333665 [2] https://svnweb.freebsd.org/ports?view=revision&revision=333487 [3] https://svnweb.freebsd.org/ports?view=revision&revision=335376 Reviewed by: milki Notes: svn path=/head/; revision=335869
* All Python ports: Address abort() for ctypes import on FreeBSD/ARMKubilay Kocak2013-12-081-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | The current FreeBSD/ARM __clear_cache() implementation does nothing #if __i386__ || __x86_64__ #else abort(); cognet@ advises this is an issue for anything !Apple that is using the libcompiler_rt provided by Clang on ARM, and requires upstreaming. This is the root cause of abort() on import for the ctypes module in Python, as they bundle libffi. [1] This change patches the bundled libffi library in all Python ports, even though it is a NOOP for the ports that use devel/libffi. These ports, currently python31, will get the fix via ports/184517 A huge shout out to cognet@ who helped diagnose the issue and created the patch to address it. Thank you! PR: ports/149167 [1] PR: ports/184517 Submitted by: cognet [3] Reviewed by: cognet, eadler, milki, ak Notes: svn path=/head/; revision=335867
* lang/python26: Fix CFLAGS in python-config where cc = clangKubilay Kocak2013-11-241-12/+0
| | | | | | | | | | | | | | | | | | - Temporarily override OPT:Olimit using CONFIGURE_ENV (ports/182952) [1] - Replace patch: extra-patch-configure-pth with CONFIGURE_ENV instead - QA: Clean up and group related USE_*, WRKSRC and CONFIGURE entries - QA: Whitespace alignment - QA: Clarify DEPRECATED message [1] Python removed OPT:Olimit in 3.2+, requested backport or alternative upstream patch: http://bugs.python.org/issue877121 PR: ports/182952 Submitted by: pawel Reviewed by: antoine Notes: svn path=/head/; revision=334727
* Correct syntax in kernel config is 'options'Li-Wen Hsu2013-07-031-1/+1
| | | | | | | Submitted by: kevlo Notes: svn path=/head/; revision=322216
* - update to latest upstream versions:Ruslan Makhmatkhanov2013-05-171-55/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . lang/python27: 2.7.3 -> 2.7.5 . lang/python32: 3.2.3 -> 3.2.4 . lang/python33: 3.3.0 -> 3.3.1 - update Mk/bsd.python.mk with new versions - mark lang/python26 and lang/python31 as deprecated (set them to upstream EoL dates) - update docs (lang/python-doc-html) - align databases/py-bsddb patch for python27 - most of it was applied upstream. Raise BDB version to 4.3 atleast, according to upstream requirements. Many thanks to Martin (miwi) for his time on this update. PR: 178506 Submitted by: rm (myself) Exp-run by: portmgr (miwi) - revert erroneous threads patch in lang/python26 and lang/python27, that was added after ports/131080. It was rejected upstream, because it's not actually a bug, but misuse. Gabor Pali (pgj) in collaboration with Kubilay Kocak (koobs) did an independent investigation regard the issue. See here for details: http://lists.freebsd.org/pipermail/freebsd-python/2013-April/005376.html PR: 153167 Submitted by: Duncan Findlay <duncan@duncf.ca> Reported by: pgj/koobs (at python@ ML) Exp-run by: portmgr (miwi) Notes: svn path=/head/; revision=318353
* Commit all the non-functional changes to python ports to reduce the diff sizeRuslan Makhmatkhanov2013-05-111-1/+1
| | | | | | | | | | | | | | | | | for an exp-run of updated python versions. - trim Makefile headers - remove leading indefinite article from COMMENT - use PYTHON shortcut in MASTER_SITES - whitespace fixes - remove checks for unsupported versions of FreeBSD - use static value ``33'' instead of PYTHON_SUFFIX in lang/python33/pkg-plist, because this value is not supposed to be changed across the branch and for consistency with other python3 ports - remove conflicts in lang/python-mode.el with not more existing python-2.4 Notes: svn path=/head/; revision=317865
* - Update:Martin Wilke2012-04-111-14/+0
| | | | | | | | | | | | | * python26 -> 2.6.8 * python27 -> 2.7.3 * python31 -> 3.1.5 * python32 -> 3.2.1 Security: http://www.vuxml.org/freebsd/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html CVE-2012-0845 CVE-2012-0876 CVE-2012-1150 CVE-2012-0845 CVE-2011-3389 Notes: svn path=/head/; revision=294647
* - Mark Python as SecureMartin Wilke2012-02-181-0/+14
| | | | | | | | | | | | - Fix DoS via malformed XML-RPC / HTTP POST Submitted by: rm@ Reported by: many Obtained from: python hg Security: http://www.vuxml.org/freebsd/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html Notes: svn path=/head/; revision=291731
* - Fix build on FreeBSD 10Beat Gaetzi2011-10-285-7/+7
| | | | | | | Approved by: miwi (implicit) Notes: svn path=/head/; revision=284516
* - Update to 2.6.7Wen Heping2011-06-081-41/+0
| | | | Notes: svn path=/head/; revision=275215
* - Apply two patch from svn.python.org to fix CVE-2010-3493 and SA43463Wen Heping2011-03-072-0/+130
| | | | | | | | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-3493 http://secunia.com/advisories/43463 Notes: svn path=/head/; revision=270407
* Changes to make python ports work on powerpc (32-bit mode; 64-bit notMark Linimon2011-02-241-1/+1
| | | | | | | | | | | | yet tested). Tested on: powerpc, i386 Hat: portmgr PR: ports/153657 (partial) Submitted by: andreast Notes: svn path=/head/; revision=269610
* Changes to make python ports work on powerpc (32-bit mode; 64-bit notMark Linimon2011-02-241-0/+10
| | | | | | | | | | | | yet tested). Tested on: powerpc, i386 Hat: portmgr PR: ports/153657 (partial) Submitted by: andreast Notes: svn path=/head/; revision=269609
* - Fix the build with pth.Wen Heping2010-09-131-5/+5
| | | | Notes: svn path=/head/; revision=261056
* - Update to 2.6.6Wen Heping2010-09-126-103/+123
| | | | Notes: svn path=/head/; revision=261021
* Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).Jung-uk Kim2010-07-193-0/+87
| | | | | | | | | | | | | | | Although POSIX says the type is 'int', all BSD variants (including Mac OS X) have been using 'unsigned long' type for very long time and its use predates the standard long enough. For certain commands (e.g., TIOCSWINSZ, FIONBIO), the Python value may get sign-extended on 64-bit platforms (by implicit type promotion) and it causes annoying warnings from kernel such as this: WARNING pid 24509 (python2.6): ioctl sign-extension ioctl ffffffff8004667e Approved by: python (maintainer timeout) Notes: svn path=/head/; revision=257978
* Fix build if POSIX semaphore enabled isMartin Wilke2009-09-151-1/+1
| | | | | | | | | | Reported by: many on ports@/python@ Patched by: beat@ Feature safe: yes Notes: svn path=/head/; revision=241486
* - Add support for FreeBSD 9.0Martin Wilke2009-09-113-13/+31
| | | | | | | PR: based on 138600 Notes: svn path=/head/; revision=241238
* - Update lang/python26 and make Python 2.6.2 to the default Python versionMartin Wilke2009-06-081-0/+11
| | | | | | | | Tested by: 3 pointyhat runs Thanks to: pav, gahr, lwhsu, mva, amdmi3 Notes: svn path=/head/; revision=235453
* Add support for building Python against GNU Portable Threads (Pth),Bruce M Simpson2009-03-145-8/+100
| | | | | | | | | | | | | | | | | | | and also add experimental support for POSIX semaphores in FreeBSD 7-STABLE and up. The option knobs PTH and SEM respectively are added to enable this behaviour. Python is able to use POSIX semaphores for thread synchronization in threading, and prefers them. The multiprocessing module in Python 2.6 requires POSIX semaphores, however, the FreeBSD rtld and malloc need further work to allow a process to call pthread_create() immediately after fork() as it is not something allowed by a strict interpretation of the POSIX specs; therefore allow GNU Pth to be used until the situation is resolved. Approved by: miwi Notes: svn path=/head/; revision=230031
* Make sure the singal is delivered to the main thread, where pythonMaxim Sobolev2009-02-271-0/+30
| | | | | | | | | | | | | | | | | | runs its signal handlers, not to a random thread that happens to be executing at the time when signal arrives. This functionality has been lost since Python 2.3, possible cause is that the linux implementation of POSIX threads always delivered signal to the main thread. This bug results in rather annoying inability to terminate threading script with ^C for example and there could be other issues as well. Bump PORTREVISION. PR: ports/131080 Submitted by: Andriy Pylypenko <bamby@sippysoft.com> Approved by: MAINTAINER's timeout Notes: svn path=/head/; revision=229118
* Introduce two new versions of Python: 2.6 and 3.0rc1 (finally!)Hye-Shik Chang2008-10-1324-1867/+27
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=221521
* - Security fixesMartin Wilke2008-09-0819-0/+876
| | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=220193
* - Fix zlib crash from zlib.decompressobj().flush(val)Martin Wilke2008-04-252-0/+27
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=211912
* Force to build bsddb185 module to make pkg-plist consistent.Hye-Shik Chang2008-02-291-9/+18
| | | | | | | Reported by: ports/121191 Notes: svn path=/head/; revision=208184
* Add support for FreeBSD 8.Hye-Shik Chang2007-10-291-0/+938
| | | | | | | Obtained from: Python SVN (r58697, r58698) Notes: svn path=/head/; revision=202249
* - Force setup.py picks up readline and ncurses from base. This fixes buildRong-En Fan2007-02-271-3/+37
| | | | | | | | | | | | 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@) Notes: svn path=/head/; revision=186149
* Correct a patch not to install unwanted files.Hye-Shik Chang2006-10-161-10/+10
| | | | | | | Approved by: portmgr (kris) Notes: svn path=/head/; revision=175345
* Revert the default version of Python to 2.4 for the ports freezeHye-Shik Chang2006-10-131-0/+10
| | | | | | | | | | | | 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) Notes: svn path=/head/; revision=175244
* - Update the main python version to 2.5.Hye-Shik Chang2006-10-091-12/+11
| | | | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=175093
* Fix plist for FreeBSD 7 or systems with OpenSSL 0.9.8.Hye-Shik Chang2006-08-101-3/+12
| | | | | | | Spotted by: pointyhat via kris Notes: svn path=/head/; revision=170267
* Update python-devel to 2.5b1.Hye-Shik Chang2006-06-231-5/+5
| | | | Notes: svn path=/head/; revision=166069
* Update to Python trunk snapshot as of 2006-03-26.Hye-Shik Chang2006-03-261-0/+11
| | | | Notes: svn path=/head/; revision=158131
* Resurrect lang/python-devel port with Python 2.5 development snapshotHye-Shik Chang2005-01-292-542/+0
| | | | | | | as of today. Notes: svn path=/head/; revision=127590
* Update to 2.4a3Hye-Shik Chang2004-09-033-137/+5
| | | | | | | | PR: 71340 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> Notes: svn path=/head/; revision=118057
* - Add support for FreeBSD 6.Hye-Shik Chang2004-08-213-3/+653
| | | | | | | | | | | - Drop FreeBSD 2 support. - Fix build on -stable. Spotted by: marcus, kris Obtained from: Python CVS Notes: svn path=/head/; revision=116864
* - Update to 2.4a2Hye-Shik Chang2004-08-072-20/+0
| | | | | | | | | | - Add IPV6 option [1] PR: 69950 [1] Submitted by: Marcus Grando <marcus@corp.grupos.com.br> [1] Notes: svn path=/head/; revision=115547
* - Update to 2.4a1, the first alpha release of Python 2.4.Hye-Shik Chang2004-07-083-21/+17
| | | | | | | | | | | | | - 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> Notes: svn path=/head/; revision=113222
* Ignore syntax errors on compiling 3rd party packages.Hye-Shik Chang2003-11-151-0/+16
| | | | | | | Tested by: Lee Harr <missive@hotmail.com> Notes: svn path=/head/; revision=94043
* - Include pyexpat module in python base ports because python incorporatedHye-Shik Chang2003-11-041-1/+1
| | | | | | | | | | | 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> Notes: svn path=/head/; revision=93094
* - Update lang/python-devel to Python-2.4 031022 snapshot.Hye-Shik Chang2003-10-293-25/+31
| | | | | | | | | | | | | - 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] Notes: svn path=/head/; revision=92598
* Update to 2.3c1Hye-Shik Chang2003-07-192-16/+7
| | | | Notes: svn path=/head/; revision=85183
* o Utilize MASTER_SITE_PYTHON.Hye-Shik Chang2003-07-041-6/+15
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=84198
* Update new python-devel port to 2.3.b2.Hye-Shik Chang2003-07-031-0/+24
| | | | | | | | | | | | | | | | 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!) Notes: svn path=/head/; revision=84141
* PORTREVISION => 1Alan Eldridge2002-11-211-0/+12
| | | | | | | | | | | | | | | | | | | | | | 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: Notes: svn path=/head/; revision=70679
* Upgrade to Python-2.2.2.Hye-Shik Chang2002-10-172-24/+0
| | | | | | | Approved by: tg Notes: svn path=/head/; revision=68198
* Add patch from SF PR #541980. This fixes 4suite.Thomas Gellekum2002-04-171-0/+14
| | | | | | | Submitted by: nectar Notes: svn path=/head/; revision=57801
* Upgrade to Python-2.2.Thomas Gellekum2002-04-121-56/+0
| | | | | | | | PR: 36977 Submitted by: Hye-Shik Chang <perky@fallin.lv> Notes: svn path=/head/; revision=57615
* Fix sizeof(wchar_t) calculation.Thomas Gellekum2002-01-211-0/+10
| | | | Notes: svn path=/head/; revision=53452