aboutsummaryrefslogtreecommitdiff
path: root/lang/python26
Commit message (Collapse)AuthorAgeFilesLines
* Remove python26, it is expired and nothing depends on it anymore.Rene Ladan2014-01-1318-2979/+0
| | | | | | | | Reviewed by: python (mva, rm) Approved by: portmgr-lurkers (mat) Notes: svn path=/head/; revision=339637
* Bump PORTREVISION for all Python ports to pickup the recent ARM patchKubilay Kocak2013-12-081-1/+1
| | | | | | | PR: ports/149167 Notes: svn path=/head/; revision=335872
* Reduce diffs, sort sections & Add LICENSE for Python 2.6, 2.7 & 3.3Kubilay Kocak2013-12-081-12/+15
| | | | | | | | | | | - Sort USE_*, *_WRKSRC and CONFIGURE/MAKE sections - Whitespace alignment for readability - Add LICENSE (PSFL) Reviewed by: milki Notes: svn path=/head/; revision=335871
* lang/python26: Add FreeBSD 11 support, enable POSIX Semaphores on FreeBSD 7+Kubilay Kocak2013-12-084-10/+21
| | | | | | | | | | | | | | | | 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
* lang/python26: Use ports libffi to address ctypes build failure on i386Kubilay Kocak2013-12-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Unconditionally use libffi from ports because the Python 2.6 branch was closed for maintenance when the import of libffi 3.0.13 took place. fixes _ctypes module build failure on i386. [1] This change was also committed to lang/python31 [2] and makes the recent FreeBSD/ARM patch [3] a NOOP, which will once again be addressed when ports/184517 lands [4]. This gives users the greatest amount of choice and flexibility just prior to expiry of the python27 and python31 ports [1] Fixes Issue #17192: Update the ctypes module's libffi to v3.0.13. This specifically addresses a stack misalignment issue on x86 and issues on some more recent platforms. [#17192] http://bugs.python.org/issue17192 http://hg.python.org/cpython/rev/a94b3b4599f1 http://hg.python.org/cpython/rev/688bc0b44d96 [2] https://svnweb.freebsd.org/ports?view=revision&revision=335370 [3] https://svnweb.freebsd.org/ports?view=revision&revision=335867 PR: ports/184517 [4] Notes: svn path=/head/; revision=335868
* 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-242-20/+11
| | | | | | | | | | | | | | | | | | - 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
* - Update to version 2.6.9Marcus von Appen2013-11-023-8/+9
| | | | | | | | | | | | | | | | | With the 2.6.9 release, and five years after its first release, the Python 2.6 series is now officially retired. All official maintenance for Python 2.6, including security patches, has ended. [1] Please migrate to lang/python27 or later as soon as possible. lang/python26 will expire and be removed in January 2014. [1] http://www.python.org/download/releases/2.6.9/ With hat on: python@ Reviewed by: koobs@ Notes: svn path=/head/; revision=332472
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | lang) Notes: svn path=/head/; revision=327741
* Resolve gettext (libintl) detection and linking in all Python portsKubilay Kocak2013-09-081-5/+8
| | | | | | | | | | | | | | | | | | | | Fix gettext (NLS) detection, includes and linking: - all: Use LDFLAGS and CPPFLAGS over CFLAGS for NLS option (with comment) - python26,27: Pass LIBS="-lintl" to CONFIGURE_ENV Workaround Pythons odd build mechanics causing duplicate args: - all: Remove CFLAGS from OPT= in CONFIGURE_ENV - python32,33: Remove CONFIGURE_* variables from Makefile.pre.in Other: - python32: Patch setup.py to pass OPT correctly to shared modules PR: ports/181721 Reported by: pawel Reviewed by: bapt mva sbz Notes: svn path=/head/; revision=326729
* - Move the symlink magic for the default python version into lang/pythonMarcus von Appen2013-08-172-34/+1
| | | | | | | | | | | | | | and lang/python2 and lang/python3. This change brings us closer to the goal of making Python ports usable with different Python versions at the same time. - Add a new lang/python2 port to handle the symlinks for bin/python2, bin/idle2, bin/pydoc2 and so on. - Add a new lang/python3 port to handle the symlinks for bin/python3, bin/idle3, bin/pydoc3 and so on. - Bump the PORTREVISION on all lang/python* ports. Notes: svn path=/head/; revision=324864
* - Remove MAKE_JOBS_SAFE variableAlex Kozlov2013-08-141-1/+0
| | | | | | | Approved by: portmgr (bdrewery) Notes: svn path=/head/; revision=324744
* 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-172-56/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . 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-112-3/+3
| | | | | | | | | | | | | | | | | 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
* - adoption of USES for gettextJason Helfman2013-05-061-9/+11
| | | | | | | Approved by: portmgr (bapt@) Notes: svn path=/head/; revision=317469
* - Remove "first-installed-win" logic for automatically settingLi-Wen Hsu2012-12-232-16/+25
| | | | | | | | | | | | | | | | | | | | ${PYTHON_DEFAULT_VERSION}, this generates conflicting packages. - Create symbolic links as PEP 394 [1] suggests. ${PYTHON_DEFAULT_VERSION} will create python and python${MAJOR_VERSION} links. In current default, lang/python27 will create: python -> python2 -> python2.7 - Introduce ${PYTHON3_DEFAULT_VERSION}, which will handle bin/python3 link. At this point, lang/python33 will create python3 -> python3.3 - Minor cleanups * Trim Makefile headers * Remove ${OSVERSION} detection for xz, whihc is done by USE_XZ [1] http://www.python.org/dev/peps/pep-0394/ Notes: svn path=/head/; revision=309444
* Don't try to tidy up user-created directories.Koop Mast2012-10-061-1/+0
| | | | | | | Approved by: crees (python@) Notes: svn path=/head/; revision=305341
* - do not hardcode distfile extension for lang/python ports in bsd.python.mkRuslan Makhmatkhanov2012-10-032-2/+3
| | | | | | | | | | | | (PYTHON_DISTFILE variable) - switch lang/python ports (and it's slaves) to tar.xz I compared all the four pairs .tgz/.tar.xz and they have no content differences. Discussed on: python@ Notes: svn path=/head/; revision=305181
* - fix PORT_OPTIONS s/)/}/Olli Hauer2012-09-081-1/+1
| | | | Notes: svn path=/head/; revision=303895
* - Fix Python OPT flags for WITH_PTH knobMarcus von Appen2012-07-221-2/+6
| | | | | | | | PR: ports/168767 Submitted by: Marcus von Appen <mva@freebsd.org> Notes: svn path=/head/; revision=301311
* - Fix builds, if the NLS option switch is set. In some casesMarcus von Appen2012-06-201-2/+3
| | | | | | | | | | expat-related modules are not built correctly. PR: ports/169276 Submitted by: Greg Byshenk <freebsd@byshenk.net> Notes: svn path=/head/; revision=299710
* - Fix gettext detection for the locale moduleMarcus von Appen2012-06-191-1/+11
| | | | | | | | | | - Explicitly enable/disable gettext support via a new NLS OPTION switch. PR: ports/168684 ports/136917 On behalf of: python@ Notes: svn path=/head/; revision=299648
* - Revert back UCS changesMartin Wilke2012-05-311-2/+2
| | | | Notes: svn path=/head/; revision=297882
* - Correct PYMALLOC logic (that fix the build of devel/gobject-introspection)Martin Wilke2012-05-311-3/+4
| | | | | | | | - Remove old OPTION layout from py32 - Bump PORTREVISON Notes: svn path=/head/; revision=297867
* - Convert to new options frameworkMartin Wilke2012-05-291-23/+25
| | | | | | | Reviewed by: bapt Notes: svn path=/head/; revision=297696
* - Unbreak build on powerpcMartin Wilke2012-05-282-7/+2
| | | | | | | | PR: 168361 Submitted by: linimon Notes: svn path=/head/; revision=297572
* - Update:Martin Wilke2012-04-114-20/+5
| | | | | | | | | | | | | * 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-182-1/+15
| | | | | | | | | | | | - 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
* - Remove WITH_FBSD10_FIX, is no longer neededMartin Wilke2011-11-091-1/+0
| | | | Notes: svn path=/head/; revision=285379
* - Remove outdated patch to prune __wchar_t from CFLAGS (python-config --cflags)Sunpoet Po-Chuan Hsieh2011-11-051-4/+2
| | | | | | | | | | - Bump PORTREVISION for package change PR: ports/161564 Submitted by: Nali Toja <nalitoja@gmail.com> Notes: svn path=/head/; revision=285071
* - Fix build on FreeBSD 10Beat Gaetzi2011-10-287-8/+15
| | | | | | | Approved by: miwi (implicit) Notes: svn path=/head/; revision=284516
* - Remove the HUGE_STACK_SIZE option, now Python will use defaultLi-Wen Hsu2011-09-251-6/+1
| | | | | | | thread stack size of the system. Notes: svn path=/head/; revision=282370
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)Dmitry Marakasov2011-09-231-6/+3
| | | | | | | | | | | | - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav Notes: svn path=/head/; revision=282282
* Handle built world without NIS more gracefully; detect missing ypcat andChris Rees2011-09-181-1/+8
| | | | | | | | | | | disable NIS module. PR: ports/115940 Submitted by: Alex Deiter <tiamat@komi.mts.ru> Reviewed by: bf Notes: svn path=/head/; revision=281933
* - Fix pkg-plist when building with WITHOUT_THREADSLi-Wen Hsu2011-08-192-1/+3
| | | | | | | | PR: ports/159842 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Notes: svn path=/head/; revision=280013
* - Update to 2.6.7Wen Heping2011-06-084-48/+5
| | | | Notes: svn path=/head/; revision=275215
* - Apply two patch from svn.python.org to fix CVE-2010-3493 and SA43463Wen Heping2011-03-073-0/+131
| | | | | | | | 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-242-2/+2
| | | | | | | | | | | | 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-243-1/+16
| | | | | | | | | | | | yet tested). Tested on: powerpc, i386 Hat: portmgr PR: ports/153657 (partial) Submitted by: andreast Notes: svn path=/head/; revision=269609
* Changes to make python ports work on powerpc (32-bit mode; 64-bit notMark Linimon2011-02-241-5/+0
| | | | | | | | | | | | yet tested). Tested on: powerpc, i386 Hat: portmgr PR: ports/153657 (partial) Submitted by: andreast Notes: svn path=/head/; revision=269608
* - Fix the build with pth.Wen Heping2010-09-131-5/+5
| | | | Notes: svn path=/head/; revision=261056
* - Update to 2.6.6Wen Heping2010-09-129-120/+137
| | | | Notes: svn path=/head/; revision=261021
* Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).Jung-uk Kim2010-07-194-0/+88
| | | | | | | | | | | | | | | 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
* - Update lang/python26 to 2.6.5Wen Heping2010-05-123-6/+15
| | | | | | | | | - Update lang/python31 to 3.1.2 Reviewed by: miwi@, lwhsu@ Notes: svn path=/head/; revision=254191
* - Update to 2.6.4Martin Wilke2009-11-263-7/+12
| | | | | | | | Changelog: http://python.org/download/releases/2.6.4/NEWS.txt Notes: svn path=/head/; revision=244804
* Fix build if POSIX semaphore enabled isMartin Wilke2009-09-152-2/+8
| | | | | | | | | | 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-115-15/+38
| | | | | | | PR: based on 138600 Notes: svn path=/head/; revision=241238
* - Use dirrmtry in lib-old dir to fix some plist leftloversMartin Wilke2009-08-132-2/+2
| | | | Notes: svn path=/head/; revision=239430
* - Fix build with WITH_SEM but ${OSVERSION} < 701106 (mark IGNORE correctly)Li-Wen Hsu2009-08-021-1/+0
| | | | | | | | PR: ports/136992 Submitted by: Andrey Zonov <andrey.zonov AT gmail.com> Notes: svn path=/head/; revision=238767