<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/lang/python27, 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-06-11T14:49:59Z</updated>
<entry>
<title>Support LIBS like LDFLAGS.</title>
<updated>2014-06-11T14:49:59Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2014-06-11T14:49:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=9f8b4bcde30c0ca3bf6cead5f48aa102536e0e92'/>
<id>urn:sha1:9f8b4bcde30c0ca3bf6cead5f48aa102536e0e92</id>
<content type='text'>
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION &lt; 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
</content>
</entry>
<entry>
<title>lang/python{27,31,32}: Replace USE_XZ with USES=tar:xz</title>
<updated>2014-04-22T14:37:04Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2014-04-22T14:37:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=5d7a9aceb6a93f723b9f8aa8dfce7b8d6dcc39a8'/>
<id>urn:sha1:5d7a9aceb6a93f723b9f8aa8dfce7b8d6dcc39a8</id>
<content type='text'>
USE_XZ has been deprecated, replace it with the new USES value.

Python 3.3 and 3.4 ports have already been converted.
</content>
</entry>
<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>- Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILE</title>
<updated>2014-04-11T08:25:47Z</updated>
<author>
<name>Sunpoet Po-Chuan Hsieh</name>
<email>sunpoet@FreeBSD.org</email>
</author>
<published>2014-04-11T08:25:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=c5569783bdee1084b70d5401db26f219788cd263'/>
<id>urn:sha1:c5569783bdee1084b70d5401db26f219788cd263</id>
<content type='text'>
</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>- Fix bad libpython* symlinks after enabling the lang/python* ports to</title>
<updated>2014-02-01T09:21:23Z</updated>
<author>
<name>Marcus von Appen</name>
<email>mva@FreeBSD.org</email>
</author>
<published>2014-02-01T09:21:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=a23998721f3c218be97f642ed50796a026f05488'/>
<id>urn:sha1:a23998721f3c218be97f642ed50796a026f05488</id>
<content type='text'>
  be stagedir-aware

PR:		ports/186284
Submitted by:	marino@
Pointyhat to:	myself
</content>
</entry>
</feed>
