notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
We just patched an SQL injection. There is no evidence it was exploited. That doesn’t mean it wasn’t. Please change your password. You might want to hold off on that change. We have a few more to fix.
non port: lang/python31/Makefile
SVNWeb

Number of commits found: 48

Tue, 22 Apr 2014
[ 14:37 koobs search for other commits by this committer ] Original commit   Revision:351842
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 search for other commits by this committer ] Original commit   Revision:351610
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 search for other commits by this committer ] Original commit   Revision:350904
- Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILE
Sat, 1 Mar 2014
[ 15:53 antoine search for other commits by this committer ] Original commit   Revision:346635
- 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 search for other commits by this committer ] Original commit   Revision:346614
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
Fri, 21 Feb 2014
[ 13:42 koobs search for other commits by this committer ] Original commit   Revision:345444
lang/python31: Backport fox for Python issue #8168

- Backport Python issue #8168 [1]:

    python3 py_compile does not ignore UTF-8 BOM characters

This causes installation (during bytecode compilation) errors for Python
ports with sources that contain BOM characters [2]

The issue was fixed [3] in the default branch at the time (3.2) but was
not backported to 3.1.

Since Python 3.1 is now in security-fix-only mode (no new features or bug
fixes), backporting is required.

[1] http://bugs.python.org/issue8168
[2] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186034
[3] http://hg.python.org/cpython/rev/e15a8a476494/

PR:		ports/186034
Reported by:	Mark Andrews <marka at isc dot org>
Sat, 1 Feb 2014
[ 09:21 mva search for other commits by this committer ] Original commit   Revision:342104
- 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 search for other commits by this committer ] Original commit   Revision:341192
- Enable stagedir support
- Convert to new LIB_DEPENDS
Sun, 8 Dec 2013
[ 09:03 koobs search for other commits by this committer ] Original commit   Revision:335872
Bump PORTREVISION for all Python ports to pickup the recent ARM patch

PR:		ports/149167
Sun, 1 Dec 2013
[ 12:25 koobs search for other commits by this committer ] Original commit   Revision:335376
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:34 koobs search for other commits by this committer ] Original commit   Revision:335370
lang/python31: Backport upstream kevent fix and use libffi from ports

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

Based on patch by: David Naylor <naylor.b.david@gmail.com>

Unconditionally use libffi from ports because the Python 3.1 branch was
closed for maintenance when the import of libffi 3.0.13 took place. This
fixes _ctypes module build failure on i386. [2]

- Add global CONFIGURE_ARGS and LIB_DEPENDS
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Sun, 24 Nov 2013
[ 14:05 koobs search for other commits by this committer ] Original commit   Revision:334728
lang/python31: Fix CFLAGS in python-config where cc = clang

- Temporarily override OPT:Olimit using CONFIGURE_ENV (ports/182952) [1]
- 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
Fri, 20 Sep 2013
[ 19:53 bapt search for other commits by this committer ] Original commit   Revision:327741 (Only the first 10 of 379 ports in this commit are shown above. View all ports for this commit)
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
Sun, 8 Sep 2013
[ 14:05 koobs search for other commits by this committer ] Original commit   Revision:326729
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 search for other commits by this committer ] Original commit   Revision:324864 (Only the first 10 of 18 ports in this commit are shown above. View all ports for this commit)
- 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 search for other commits by this committer ] Original commit   Revision:324744 (Only the first 10 of 1725 ports in this commit are shown above. View all ports for this commit)
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
Fri, 17 May 2013
[ 04:17 rm search for other commits by this committer ] Original commit   Revision:318353 (Only the first 10 of 25 ports in this commit are shown above. View all ports for this commit)
- 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 View all of this commit message)
Sat, 11 May 2013
[ 11:37 rm search for other commits by this committer ] Original commit   Revision:317865 (Only the first 10 of 19 ports in this commit are shown above. View all ports for this commit)
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
[ 06:32 jgh search for other commits by this committer ] Original commit   Revision:317469
- adoption of USES for gettext

Approved by:	portmgr (bapt@)
Sun, 23 Dec 2012
[ 17:52 lwhsu search for other commits by this committer ] Original commit   Revision:309444 (Only the first 10 of 11 ports in this commit are shown above. View all ports for this commit)
- 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 search for other commits by this committer ] Original commit   Revision:305181 (Only the first 10 of 13 ports in this commit are shown above. View all ports for this commit)
- 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 search for other commits by this committer ] Original commit 
- 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 search for other commits by this committer ] Original commit 
- 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 search for other commits by this committer ] Original commit 
- Correct PYMALLOC logic (that fix the build of devel/gobject-introspection)
- Remove old OPTION layout from py32
- Bump PORTREVISON
Tue, 29 May 2012
[ 17:23 miwi search for other commits by this committer ] Original commit 
- Unbreak INDEX
[ 16:42 miwi search for other commits by this committer ] Original commit 
- Convert to new options framework

Reviewed by:    bapt
Wed, 11 Apr 2012
[ 12:52 miwi search for other commits by this committer ] Original commit  (Only the first 10 of 22 ports in this commit are shown above. View all ports for this commit)
- 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 search for other commits by this committer ] Original commit  (Only the first 10 of 11 ports in this commit are shown above. View all ports for this commit)
- 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 search for other commits by this committer ] Original commit  (Only the first 10 of 250 ports in this commit are shown above. View all ports for this commit)
- Remove WITH_FBSD10_FIX, is no longer needed
Sat, 5 Nov 2011
[ 13:18 sunpoet search for other commits by this committer ] Original commit 
- 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 search for other commits by this committer ] Original commit  (Only the first 10 of 23 ports in this commit are shown above. View all ports for this commit)
- Fix build on FreeBSD 10

Approved by:    miwi (implicit)
Sun, 25 Sep 2011
[ 15:05 lwhsu search for other commits by this committer ] Original commit 
- Remove the HUGE_STACK_SIZE option, now Python will use default
  thread stack size of the system.
Fri, 23 Sep 2011
[ 22:26 amdmi3 search for other commits by this committer ] Original commit  (Only the first 10 of 2369 ports in this commit are shown above. View all ports for this commit)
- 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 search for other commits by this committer ] Original commit 
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
Fri, 19 Aug 2011
[ 13:09 lwhsu search for other commits by this committer ] Original commit 
- Fix pkg-plist when building with WITHOUT_THREADS

PR:             ports/159842
Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Thu, 16 Jun 2011
[ 08:18 wen search for other commits by this committer ] Original commit 
- Update lang/python31 to 3.1.4
Sat, 26 Feb 2011
[ 11:41 lwhsu search for other commits by this committer ] Original commit 
- Remove using of ?=, this port is a not a master port
- Using variable provided by PLIST_SUB in pkg-plist
Tue, 14 Dec 2010
[ 06:31 wen search for other commits by this committer ] Original commit 
- Update to 3.1.3
Mon, 19 Jul 2010
[ 21:59 jkim search for other commits by this committer ] Original commit  (Only the first 10 of 15 ports in this commit are shown above. View all ports for this commit)
Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

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)
Wed, 12 May 2010
[ 12:13 wen search for other commits by this committer ] Original commit 
- Update lang/python26 to 2.6.5
- Update lang/python31 to 3.1.2

Reviewed by:    miwi@, lwhsu@
Thu, 26 Nov 2009
[ 12:46 miwi search for other commits by this committer ] Original commit 
- Ups s/PORTREVISON/PORTREVISION
[ 12:44 miwi search for other commits by this committer ] Original commit 
- Add support for FreeBSD 9
Sat, 22 Aug 2009
[ 07:22 lwhsu search for other commits by this committer ] Original commit 
- Update lang/python31 to Python 3.1.1

Submitted by:   wen heping <wenheping AT gmail.com>
Tue, 14 Jul 2009
[ 09:29 lwhsu search for other commits by this committer ] Original commit 
- Ask the first Python installed to install the bin/python link,
  and be the default Python version

PR:             ports/109550
Submitted by:   David Yeske <dyeske AT yahoo.com>
Obtained from:  tmclaugh
Tue, 7 Jul 2009
[ 23:23 lwhsu search for other commits by this committer ] Original commit 
- Install pkgconfig file under libdata/pkgconfig

Notified by:    wen heping <wenheping AT gmail.com>
Mon, 6 Jul 2009
[ 21:34 lwhsu search for other commits by this committer ] Original commit 
- Remove regression-test target since it is not quite useful at this point
[ 20:30 lwhsu search for other commits by this committer ] Original commit 
- Add Python 3.1
[ 20:09 lwhsu search for other commits by this committer ] Original commit 
- Forced commit to note repocopy: lang/python30 -> lang/python31

PR:             ports/136196
Submitted by:   lwhsu
Repocopy by:    marcus

Number of commits found: 48