<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/lang/python27/files, branch 2014Q3</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=2014Q3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=2014Q3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2014-04-22T12:14:26Z</updated>
<entry>
<title>lang/python{31,32,33}: Fix stage/package as non-root</title>
<updated>2014-04-22T12:14:26Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2014-04-22T12:14:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=aab3da8d2a0a8217ca1350b9d140834e2c7ed0ad'/>
<id>urn:sha1:aab3da8d2a0a8217ca1350b9d140834e2c7ed0ad</id>
<content type='text'>
Copy the second part of a change previously made to python27 [1], to
python31, python32 and python33.

This fixes staging and packaging of these ports by a non-root user by
running ranlib on the archive prior to it being installed read-only.

While I'm here:

- python27: Add breadcrumbs and references to the patch header
- python34: Update breadcrumbs and references to the patch header

[1] https://svnweb.freebsd.org/ports?view=revision&amp;revision=350207

Submitted by:	antoine
Reviewed by:	kwm, sbz
</content>
</entry>
<entry>
<title>lang/python{31,32,33}: Add clang 3.4 fix from python27</title>
<updated>2014-04-20T01:35:39Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2014-04-20T01:35:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=21c7eb29520ac1b037a61fad06cc3f6deb9d8fec'/>
<id>urn:sha1:21c7eb29520ac1b037a61fad06cc3f6deb9d8fec</id>
<content type='text'>
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&amp;revision=346428
[2] http://bugs.python.org/issue20767
</content>
</entry>
<entry>
<title>Allow staging/packaging as a regular user:</title>
<updated>2014-04-05T09:04:28Z</updated>
<author>
<name>Antoine Brodin</name>
<email>antoine@FreeBSD.org</email>
</author>
<published>2014-04-05T09:04:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=7acf693fdfb55ef9133e1cf848f5b181785c51ad'/>
<id>urn:sha1:7acf693fdfb55ef9133e1cf848f5b181785c51ad</id>
<content type='text'>
- pycompile only once, previously it would pycompile 3 imported modules
  (getopt, struct and py_compile) and make them read-only, and later try
  to pycompile them again and fail
- ranlib before installing archive read-only

With hat:	portmgr
</content>
</entry>
<entry>
<title>- Fix build with readline 6.3 from ports</title>
<updated>2014-03-01T14:10:13Z</updated>
<author>
<name>Antoine Brodin</name>
<email>antoine@FreeBSD.org</email>
</author>
<published>2014-03-01T14:10:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=8376e278628c3123e4635346d5c06d15e01353e9'/>
<id>urn:sha1:8376e278628c3123e4635346d5c06d15e01353e9</id>
<content type='text'>
  the patch was obtained from upstream (issue #20374)
- Add missing USES=readline

PR:		ports/187174
Reported by:	O. Hartmann
Reviewed by:	koobs
Obtained from:	python
</content>
</entry>
<entry>
<title>lang/python*: Backport security fix for CVE-2014-1912</title>
<updated>2014-03-01T10:52:55Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2014-03-01T10:52:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=7a2c2ce6e780ec6a01f1de55c980810b9175edce'/>
<id>urn:sha1:7a2c2ce6e780ec6a01f1de55c980810b9175edce</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Unbreak python module builds across the tree as a result of clang 3.4 import</title>
<updated>2014-02-28T03:04:19Z</updated>
<author>
<name>Sean Bruno</name>
<email>sbruno@FreeBSD.org</email>
</author>
<published>2014-02-28T03:04:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=6de6c75db37892a8544085b70b4f3c3e357b4548'/>
<id>urn:sha1:6de6c75db37892a8544085b70b4f3c3e357b4548</id>
<content type='text'>
now disallowing the use of -R.

Submitted by:	antoine
Reviewed by:	gjb
</content>
</entry>
<entry>
<title>All Python ports: Address abort() for ctypes import on FreeBSD/ARM</title>
<updated>2013-12-08T06:22:07Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2013-12-08T06:22:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=d536d1d88b8a10edd67366a4f34510a67d906962'/>
<id>urn:sha1:d536d1d88b8a10edd67366a4f34510a67d906962</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>lang/python27: Remove patch-configure, its now a NOOP</title>
<updated>2013-12-05T13:33:17Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2013-12-05T13:33:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=a8610b8d32a91a7ad0296869dd48b3938f5f1730'/>
<id>urn:sha1:a8610b8d32a91a7ad0296869dd48b3938f5f1730</id>
<content type='text'>
lang/python26, lang/python27 and lang/python31 now add
ac_cv_opt_olimit_ok=no to CONFIGURE_ENV to disable functionality that
was removed in Python 3.2+ [1]

Pending a backport of the commit [2] to 2.7, we can now remove the
locally maintained patch to configure that disabled the functionality
when CC = clang.

Apart from being narrower in scope than ac_cv_opt_olimit_ok=no, the patch
doesn't work for FreeBSD versions where clang *is* cc (eg: 10.0+)

[1] http://hg.python.org/lookup/r85656
[2] http://bugs.python.org/issue877121

Reviewed by:	antoine
</content>
</entry>
<entry>
<title>lang/python27: Update to 2.7.6</title>
<updated>2013-11-24T13:22:40Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2013-11-24T13:22:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=9c597eecc629439b2e1629f5d35707330bbe0ac5'/>
<id>urn:sha1:9c597eecc629439b2e1629f5d35707330bbe0ac5</id>
<content type='text'>
- Update to 2.7.6
- Update pkg-plist
- Temporarily override OPT:Olimit using CONFIGURE_ENV (ports/182952) [1]
- Replace patch: extra-patch-configure-pth with CONFIGURE_ENV instead
- Remove patch: patch-Modules-_ctypes-libffi_fficonfig.py.in [2]
- QA: Clean up and group related USE_*, WRKSRC and CONFIGURE entries
- QA: Whitespace alignment

Changes: 2.7.6 - November 10, 2013

http://www.python.org/download/releases/2.7.6/

[1] Python removed OPT:Olimit in 3.2+, requested backport or
    alternative upstream patch: http://bugs.python.org/issue877121
[2] Upstreamed: http://bugs.python.org/issue18178

PR:		ports/182952
PR:		ports/156759
Reviewed by:	antoine, mva
</content>
</entry>
<entry>
<title>lang/python27: fix patch for SEM option</title>
<updated>2013-11-13T09:42:04Z</updated>
<author>
<name>William Grzybowski</name>
<email>wg@FreeBSD.org</email>
</author>
<published>2013-11-13T09:42:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=f451bf37d7e103f58ef22ca50b3c1da05c7b19d3'/>
<id>urn:sha1:f451bf37d7e103f58ef22ca50b3c1da05c7b19d3</id>
<content type='text'>
PR:		ports/183884
</content>
</entry>
</feed>
