non port: lang/python32/Makefile |
SVNWeb
|
Number of commits found: 62 |
Fri, 8 Jan 2016
|
[ 16:45 koobs ] (Only the first 10 of 12 ports in this commit are shown above. )
lang/python{27,3*}: Backport patch in upstream issue20397
In certain situations, file references (.py[co]) for Python files that
fail to compile with compileall() are still added to distutils --record
output.
This output is used for pkg-plist generation and must only contain
references to files that will be installed.
One example of a failure condition is when a Python 2/3 compatible
package containing a file containing Python 3.x only code is built with
Python 2.x, such as Gunicorn's _gaiohttp.py [1]
This change backports patches submitted against upstream issue 20397 [2]
that has not yet been committed. (Only the first 15 lines of the commit message are shown above )
|
Tue, 29 Dec 2015
|
[ 12:03 marino ] (Only the first 10 of 11 ports in this commit are shown above. )
lang/python27(3*), Mk/Uses/python.mk: remove make spawn
There are some inefficiencies in python.mk that significantly slow down
full tree scanning. The use of bmake to obtain the current version of
a specific python is responsible for the majority of the slow done.
This commit splits out the PYTHON_PORTVERSION definition (which is the
same as the lang/python* PORTVERSION) into separate files. With this
change, python.mk can simple include the makefile fragment instead of
spawning a new instance of make.
Different Revision: https://reviews.freebsd.org/D4660
Approved by: antoine (python), mva (python)
|
Thu, 24 Dec 2015
|
[ 17:09 brnrd ]
lang/python32: Mark deprecated / fix No-EDGD/-SSLv3
- Mark DEPRECATED, EXPIRES Feb 2016 [1]
- Backport issue21356 RAND_egd fix [2]
- Fix build for openssl -nossl3
[1] https://www.python.org/dev/peps/pep-0392/#lifespan
[2] http://bugs.python.org/issue21356
PR: 195513
Reviewed by: koobs (mentor, python), feld (mentor)
Approved by: koobs (python, mentor)
Differential Revision: https://reviews.freebsd.org/D4701
> Description of fields to fill in above: 76 columns --|
> PR: If a Bugzilla PR is affected by the change. (Only the first 15 lines of the commit message are shown above )
|
[ 11:39 miwi ]
- Switch regression-test to TEST_TARGED
Discussed in: D4695
Reviewed by: koobs
|
Mon, 21 Dec 2015
|
[ 18:13 miwi ]
- Update lang/python32 to 3.2.6 [1]
- Update lang/python35 to 3.5.1 [2]
- Update lang/python-doc-html for [1]
- Switch to do-test
Changelog:
[1] https://hg.python.org/cpython/file/v3.2.6/Misc/NEWS
[2] https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-1-final
Reviewed by: koobs (python)
Approved by: mat (mentor)
Differential Revision: D4663
|
Thu, 19 Nov 2015
|
[ 01:28 lwhsu ] (Only the first 10 of 39 ports in this commit are shown above. )
Add version specified ports of separated standard Python modules for
non-default Python versions:
- Add pyXY-{sqlite3,gdbm,tkinter} ports for generating binary packages
- Improve/add pkg-message to point users to install respective packages of
separated Python standard modules
- Add COMMENT to explicitly show the Python version that package should be
used with
- Simplify version-related PYTHON_* for lang/python35
Reviewed by: koobs
Differential Revision: https://reviews.freebsd.org/D4170
|
Sun, 18 Oct 2015
|
[ 09:50 koobs ]
lang/python{27,32,33}: Fix missing shlib path in python-config
In Python 3.4+, upstream added and switched to using a shell
implementation of the python-config script [1]. The Python
implementation (python-config.py) remained used by all versions < 3.4.
While the shell implementation returns the path to the Python
shared library when using the --ldflags script argument, the Python
implementation of the script does not. The bug has been reported, but
has not yet been merged [2].
The Python ports currently default to including ${LOCALBASE}/lib
in LIBS when the NLS option is enabled (which it is by default).
When built *with* NLS (gettext) support, the flags added to LIBS (Only the first 15 lines of the commit message are shown above )
|
Thu, 30 Jul 2015
|
[ 03:31 koobs ]
lang/python{27,32,33,34}: Mark MAKE_JOBS_UNSAFE
Parser/pgen code intermittently and non-deterministically fails
at build time causing errors including, among others:
* Parser/pgen.o: file not recognized: File truncated
* pgenmain.c:(.text+0x244): undefined reference to `_Py_pgen'
This is apparently due to incorrect uses of recursive make [1] which
was fixed in the upstream Python 'default' (3.5) branch [2].
This change marks all Python port versions as MAKE_JOBS_UNSANFE until
the the original changeset [1] and the resulting regression in
cross-builds [3], whos fix is still pending, can be backported.
[1] https://bugs.python.org/issue22359
[2] https://hg.python.org/cpython/rev/c2a53aa27cad
[3] https://bugs.python.org/issue22625
PR: 200622
Reported by: marino
MFH: 2015Q3
|
Thu, 14 May 2015
|
[ 10:15 mat ] (Only the first 10 of 1814 ports in this commit are shown above. )
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
|
Mon, 6 Apr 2015
|
[ 16:58 bdrewery ]
Force a rebuild/upgrade to chase head r280306 which removed SSLv2 support.
This fixes head package users so they have working SSL support. There was
already a built-time fix for this.
|
Wed, 25 Mar 2015
|
[ 12:58 marino ] (Only the first 10 of 26 ports in this commit are shown above. )
lang category: Remove $PTHREAD_LIBS
Note: ecl did not pass check-plist (pre-existing), PR 198897 submitted.
approved by: PTHREAD blanket
|
Wed, 21 Jan 2015
|
[ 12:34 koobs ]
lang/python32: Fix ABIFLAGS for PYMALLOC option
Investigating the comment regarding a 'configure script bug' lead me
to a bug which manifested itself in 'm' not being added to ABIFLAGS
when PYMALLOC was enabled, not the inability to set
--without-pymalloc using PYMALLOC_CONFIGURE_WITH (options helpers).
The incorrect ABIFLAGS caused packaging failures with default options, so
I'm not sure how this wasn't picked up earlier:
Error: Orphaned: include/python3.2u/<file>
<snip>
Error: Missing: include/python3.2mu/<file>
- Backport an upstream commit [1] to correct the configure bug that never (Only the first 15 lines of the commit message are shown above )
|
Mon, 22 Dec 2014
|
[ 16:45 mva ]
- Revert the previous NIS check, since it does not help at all
PR: 196195
Submitted by: ache@
With hat: python@
|
[ 09:47 mva ]
- Python 3.x: try to improve the NIS detection for FreeBSD
PR: 193650
With hat: python
|
Tue, 4 Nov 2014
|
[ 09:14 demon ]
Add an option to use libffi from ports instead of bundled version.
Submitted by: cy
Reviewed by: koobs
|
Thu, 4 Sep 2014
|
[ 19:26 antoine ] (Only the first 10 of 63 ports in this commit are shown above. )
Change INSTALL_DATA to install with mode 644
Remove patches and hacks that were used to work around the previous
situation
This allows to stage more ports as a regular user
Differential Revision: https://reviews.freebsd.org/D703
Reviewed by and discussed with: bapt
With hat: portmgr
|
Sun, 10 Aug 2014
|
[ 18:36 mva ]
- Add USE_OPENSSL, since all lang/python ports build the _ssl module, which
requires a working OpenSSL implementation
Phabric: D569
Reviewed by: wg@
With hat: python@
|
Fri, 1 Aug 2014
|
[ 16:37 mva ]
- Remove everything related to USE_PYTHON and bsd.python.mk. This is a
preparatory step to convert bsd.python.mk into a USES file.
- Remove the shared/static build separation, which is the source of many
problems and even more hacks. Instead build only the shared version, which
greatly simplifies the build.
- Use NLS_LIBS instead of NLS_LDFLAGS as done for lang/python27 (r357486)
- Remove the FPECTL option to align the build with the clean "template" from
lang/python34.
- Remove PORTDATA and EXAMPLES. Those will be made available via separate
ports.
- Add a new DEBUG option to enable debug builds as for lang/python34.
- Add a new TSC option for precise timestamp counter support as for
lang/python34.
- Add CPE support.
- Reactivate curses/ncurses support.
- Use buildbottest in the regression-test: target.
Phabric: D448
Reviewed by: koobs, bapt
With hat: python@
|
Fri, 11 Jul 2014
|
[ 18:09 sbz ]
- Add CPE entries for python
- Remove NOPORTDATA as it's deprecated since r359061
|
Tue, 22 Apr 2014
|
[ 14:37 koobs ]
lang/python{27,31,32}: Replace USE_XZ with USES=tar:xz
USE_XZ has been deprecated, replace it with the new USES value.
Python 3.3 and 3.4 ports have already been converted.
|
Sun, 20 Apr 2014
|
[ 01:35 koobs ]
lang/python{31,32,33}: Add clang 3.4 fix from python27
Copy change committed to python27 [1] to python31, python32 and
python33 to fix builds of some extensions with Clang 3.4.
Also add breadcrumbs to the patch header in lang/python27 referencing
the upstream issue. [2]
The Python 3.4 port (lang/python34) already carries the patch.
[1] https://svnweb.freebsd.org/ports?view=revision&revision=346428
[2] http://bugs.python.org/issue20767
|
Fri, 11 Apr 2014
|
[ 08:25 sunpoet ]
- Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILE
|
Sat, 1 Mar 2014
|
[ 15:19 antoine ]
- Fix build with readline 6.3 from ports
the patch was backported from upstream (issue #20374)
- Add missing USES=readline
Obtained from: python
|
[ 10:52 koobs ]
lang/python*: Backport security fix for CVE-2014-1912
A vulnerability was reported [1] in Python's socket module, due to a
boundary error within the sock_recvfrom_into() function, which could be
exploited to cause a buffer overflow.
This could be used to crash a Python application that uses the
socket.recvfrom_info() function or, possibly, execute arbitrary code
with the permissions of the user running vulnerable Python code.
This vulnerable function, socket.recvfrom_into(), was introduced in
Python 2.5. Earlier versions are not affected by this flaw. This is
fixed in upstream branches for version 2.7, 3.1, 3.2 and 3.3.
[1] http://bugs.python.org/issue20246
MFH: 2014Q1
Security: 8e5e6d42-a0fa-11e3-b09a-080027f2d077
|
Sat, 1 Feb 2014
|
[ 09:21 mva ]
- Fix bad libpython* symlinks after enabling the lang/python* ports to
be stagedir-aware
PR: ports/186284
Submitted by: marino@
Pointyhat to: myself
|
Sun, 26 Jan 2014
|
[ 14:47 mva ]
- Enable stagedir support
- Convert to new LIB_DEPENDS
|
Sun, 8 Dec 2013
|
[ 09:03 koobs ]
Bump PORTREVISION for all Python ports to pickup the recent ARM patch
PR: ports/149167
|
Sun, 1 Dec 2013
|
[ 12:25 koobs ]
Fix OSS Audio and enable FreeBSD 11 support in Python 3.2 and 3.1
- Add the appropriate Python platform (plat-*) files for FreeBSD 11
- Update pkg-plist
Backport a upstream change [1] removing OS major version from the check
to enable the OSS Audio module in setup.py:
Issue #12326: don't test the major version of sys.platform Use
startswith, instead of ==, when testing sys.platform to support
new platforms like Linux 3 or OpenBSD 5. [2]
[1] http://hg.python.org/cpython/rev/50f1922bc1d5
[2] http://bugs.python.org/issue12326
|
[ 09:36 koobs ]
lang/python32: Backport upstream kevent fix
Backport a change fixing use of kevent flags that was merged to Python
default, 3.3 and 2.7 branches, but not 3.2 and 3.1 that were in
security-only mode at the time of commit. [1]
- Add patch: patch-Modules__selectmodule.c
References:
[1] Issue #11973: Fix a problem in kevent. The flags and fflags fields
are now properly handled as unsigned. [#11973]
http://bugs.python.org/issue11973
http://hg.python.org/cpython/rev/8345fb616cbd
While I'm here:
- Add LICENSE (PSFL)
- Clean up, reorganise, sort & whitespace align sections
PR: ports/156759
Submitted by: David Naylor <naylor.b.david@gmail.com>
Reviewed by: mva
|
Sat, 30 Nov 2013
|
[ 10:48 mva ]
- Unbreak the build on 10.x and newer, which provides pipe2()
This relates to http://bugs.python.org/issue12852
PR: ports/184140
Submitted by: Yuta Sato <nigoro.gentoo@0x100.com>
|
Fri, 20 Sep 2013
|
[ 19:53 bapt ] (Only the first 10 of 379 ports in this commit are shown above. )
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
|
Sun, 8 Sep 2013
|
[ 14:05 koobs ]
Resolve gettext (libintl) detection and linking in all Python ports
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
|
Sat, 17 Aug 2013
|
[ 19:10 mva ] (Only the first 10 of 18 ports in this commit are shown above. )
- Move the symlink magic for the default python version into lang/python
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.
|
Wed, 14 Aug 2013
|
[ 22:35 ak ] (Only the first 10 of 1725 ports in this commit are shown above. )
- Remove MAKE_JOBS_SAFE variable
Approved by: portmgr (bdrewery)
|
Mon, 10 Jun 2013
|
[ 08:20 rm ]
Add patch that resolves the issue, found after r250991 in src HEAD.
Investigation and the patch are from Marcel Moolenaar.
I also added upstream bug-report, based on Marcel's info:
http://bugs.python.org/issue18178
There also was relevant discussion on current@:
http://lists.freebsd.org/pipermail/freebsd-current/2013-June/
Please see there for details of the issue.
Submitted by: marcel (python@ ML)
Reported by: many
|
Sat, 18 May 2013
|
[ 08:21 rm ]
Update lang/python32 to 3.2.5 and lang/python33 to 3.3.2
|
Fri, 17 May 2013
|
[ 04:17 rm ] (Only the first 10 of 25 ports in this commit are shown above. )
- update to latest upstream versions:
. 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 (Only the first 15 lines of the commit message are shown above )
|
Sat, 11 May 2013
|
[ 11:37 rm ] (Only the first 10 of 19 ports in this commit are shown above. )
Commit all the non-functional changes to python ports to reduce the diff size
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
|
Mon, 6 May 2013
|
[ 09:58 jgh ]
- finish conversion for USES of gettext
|
[ 06:32 jgh ]
- adoption of USES for gettext
Approved by: portmgr (bapt@)
|
Sun, 23 Dec 2012
|
[ 17:52 lwhsu ] (Only the first 10 of 11 ports in this commit are shown above. )
- Remove "first-installed-win" logic for automatically setting
${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/
|
Wed, 3 Oct 2012
|
[ 04:06 rm ] (Only the first 10 of 13 ports in this commit are shown above. )
- do not hardcode distfile extension for lang/python ports in bsd.python.mk
(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@
|
Wed, 20 Jun 2012
|
[ 22:35 mva ]
- Fix builds, if the NLS option switch is set. In some cases
expat-related modules are not built correctly.
PR: ports/169276
Submitted by: Greg Byshenk <freebsd@byshenk.net>
|
Tue, 19 Jun 2012
|
[ 17:48 mva ]
- Fix gettext detection for the locale module
- Explicitly enable/disable gettext support via a new NLS OPTION switch.
PR: ports/168684 ports/136917
On behalf of: python@
|
Thu, 31 May 2012
|
[ 10:13 miwi ]
- Correct PYMALLOC logic (that fix the build of devel/gobject-introspection)
- Remove old OPTION layout from py32
- Bump PORTREVISON
|
Tue, 29 May 2012
|
[ 16:42 miwi ]
- Convert to new options framework
Reviewed by: bapt
|
Wed, 11 Apr 2012
|
[ 12:52 miwi ] (Only the first 10 of 22 ports in this commit are shown above. )
- Update:
* 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
|
Sat, 18 Feb 2012
|
[ 17:53 miwi ] (Only the first 10 of 11 ports in this commit are shown above. )
- Mark Python as Secure
- 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
|
Wed, 9 Nov 2011
|
[ 15:26 miwi ] (Only the first 10 of 250 ports in this commit are shown above. )
- Remove WITH_FBSD10_FIX, is no longer needed
|
Sat, 5 Nov 2011
|
[ 13:18 sunpoet ]
- Remove outdated patch to prune __wchar_t from CFLAGS (python-config --cflags)
- Bump PORTREVISION for package change
PR: ports/161564
Submitted by: Nali Toja <nalitoja@gmail.com>
|
Fri, 28 Oct 2011
|
[ 10:42 beat ] (Only the first 10 of 23 ports in this commit are shown above. )
- Fix build on FreeBSD 10
Approved by: miwi (implicit)
|
Sun, 25 Sep 2011
|
[ 15:05 lwhsu ]
- Remove the HUGE_STACK_SIZE option, now Python will use default
thread stack size of the system.
|
Fri, 23 Sep 2011
|
[ 22:26 amdmi3 ] (Only the first 10 of 2369 ports in this commit are shown above. )
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- 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
|
Sun, 18 Sep 2011
|
[ 08:33 crees ]
Handle built world without NIS more gracefully; detect missing ypcat and
disable NIS module.
PR: ports/115940
Submitted by: Alex Deiter <tiamat@komi.mts.ru>
Reviewed by: bf
|
Mon, 5 Sep 2011
|
[ 01:28 wen ]
- Update lang/python32 to 3.2.2
|
Fri, 19 Aug 2011
|
[ 13:09 lwhsu ]
- Fix pkg-plist when building with WITHOUT_THREADS
PR: ports/159842
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
|
Fri, 22 Jul 2011
|
[ 15:12 lwhsu ]
- Update to 3.2.1
PR: ports/158850
Submitted by: wen
|
Mon, 28 Feb 2011
|
[ 05:40 lwhsu ]
- Link the shared library to correct name
Reported by: Alex Vasylenko <lxv AT omut.org>
|
Sun, 27 Feb 2011
|
[ 15:39 lwhsu ]
- Suport PEP 3149 -- ABI version tagged .so files
This fixes building with UCS4 or PYMALLOC turned off.
|
Sat, 26 Feb 2011
|
[ 11:31 lwhsu ]
- Finish removal of PLIST trick and OpenSSL 0.9.8 detection.
Now supported FreeBSD versions are all use OpenSSL greater
than 0.9.8 . This also fixes the problem of generating and
leaving pkg-plist.tmp in /usr/ports/lang/python32 .
- Add some PLIST_SUB anchors, this does:
* Not being conflict with default python version
(the one installed as /usr/local/bin/python)
* Make life easier for later 3.2.x (and higher) updates
* Add NO_NIS support back
|
Tue, 22 Feb 2011
|
[ 07:44 wen ]
- Update to 3.2.0 and complete repocopy
PR: ports/153829
Submitted by: Wen Heping (myself)
Reviewed by: miwi@
|
[ 07:38 wen ]
- Force Repocopy Commit
|
Number of commits found: 62 |