| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=356142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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&revision=350207
Submitted by: antoine
Reviewed by: kwm, sbz
Notes:
svn path=/head/; revision=351815
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=351610
|
|
|
|
|
|
|
|
|
|
| |
the patch was backported from upstream (issue #20374)
- Add missing USES=readline
Obtained from: python
Notes:
svn path=/head/; revision=346635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=346614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
Notes:
svn path=/head/; revision=345444
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=335376
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
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
[2] 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
While I'm here:
- Add LICENSE (PSFL)
- Clean up & whitespace alignment
PR: ports/156759 [1]
Reviewed by: mva
Notes:
svn path=/head/; revision=335370
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
PR: 162633
Submitted by: novel@
Feature safe: yes
Notes:
svn path=/head/; revision=286073
|
|
|
|
|
|
|
| |
Approved by: miwi (implicit)
Notes:
svn path=/head/; revision=284516
|
|
|
|
| |
Notes:
svn path=/head/; revision=266272
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=244769
|
|
|
|
| |
Notes:
svn path=/head/; revision=244768
|
|
|
|
| |
Notes:
svn path=/head/; revision=237278
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove bsddb module in pkg-message since it's removed from
Python default modules
(python3 user should use databases/py-bsddb3)
- Fix WITH_UCS4 support
- Mark jobs safe
- Makefile/patch cleanup
PR: ports/133440
Submitted by: Paul Hoffman <phoffman AT proper.com>
Notes:
svn path=/head/; revision=236890
|
|
|
|
|
|
|
|
|
| |
this port.
Reported by: QAT
Notes:
svn path=/head/; revision=221522
|
|
|
|
|
|
|
|
|
|
|
| |
Python 2.6 will be the next default python version when enough
testings of consumer ports are done. The new "2to3" program is
renamed to 2to3-2.6 and 2to3-3.0 for each version, respectively.
Repo-copied by: marcus
Notes:
svn path=/head/; revision=221521
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Multiple vulnerabilities:
1) Various integer overflow errors exist in core modules e.g. stringobject,
unicodeobject, bufferobject, longobject, tupleobject, stropmodule, gcmodule, mmapmodule.
2) An integer overflow in the hashlib module can lead to an unreliable cryptographic digest results.
3) Integer overflow errors in the processing of unicode strings can be exploited to cause
buffer overflows on 32-bit systems.
4) An integer overflow exists in the PyOS_vsnprintf() function on architectures that do not
have a "vsnprintf()" function.
5) An integer underflow error in the PyOS_vsnprintf() function when passing zero-length strings
can lead to memory corruption.
PR: 127172 (based on)
Submitted by: bf <bf2006a@yahoo.com>
Obtained from: python svn
Security: CVE-2008-2315, CVE-2008-2316, CVE-2008-3142, CVE-2008-3144, CVE-2008-3143. (vuxml come later)
Notes:
svn path=/head/; revision=220193
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when val was not positive. It tried to allocate negative
or zero memory. That fails.
- Bump PORTREVISION
Reviewed by: alexbl
Obtained from: python svn
Security: http://www.vuxml.org/freebsd/ec41c3e2-129c-11dd-bab7-0016179b2dd5.html
Notes:
svn path=/head/; revision=211912
|
|
|
|
|
|
|
| |
Reported by: ports/121191
Notes:
svn path=/head/; revision=208184
|
|
|
|
|
|
|
| |
Obtained from: Python SVN (r58697, r58698)
Notes:
svn path=/head/; revision=202249
|
|
|
|
|
|
|
|
|
|
|
|
| |
when devel/ncurses installed.
- Similar to python24, don't pick up ncursesw in python25. This results
in both ncurses are linked into _curses.so
Tested by: krion
Approved by: alexbl (python@)
Notes:
svn path=/head/; revision=186149
|
|
|
|
|
|
|
| |
Approved by: portmgr (kris)
Notes:
svn path=/head/; revision=175345
|
|
|
|
|
|
|
|
|
|
|
|
| |
period. Python 2.5 brought a vast range of incompatibility to a
large number of ports, so the python@ team will do more basic
compatibility work in a private repository and merge it later.
Sorry for the inconvenience.
Approved by: portmgr (kris)
Notes:
svn path=/head/; revision=175244
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Now, lang/python is just a meta-port which depends on lang/python25.
- And all versions of Python ports have short version identifier in its
package name; python25-2.5, python24-2.4.3 and etc.
- Also you must upgrade all python modules after lang/python updated,
cd /usr/ports/lang/python && make upgrade-site-packages
- Give maintainership of Python ports to the new python@ group which
includes me, alexbl@ and others.
Notes:
svn path=/head/; revision=175093
|
|
|
|
|
|
|
| |
Spotted by: pointyhat via kris
Notes:
svn path=/head/; revision=170267
|
|
|
|
| |
Notes:
svn path=/head/; revision=166069
|
|
|
|
| |
Notes:
svn path=/head/; revision=158131
|
|
|
|
|
|
|
| |
as of today.
Notes:
svn path=/head/; revision=127590
|
|
|
|
|
|
|
|
| |
PR: 71340
Submitted by: Marcus Grando <marcus@corp.grupos.com.br>
Notes:
svn path=/head/; revision=118057
|
|
|
|
|
|
|
|
|
|
|
| |
- Drop FreeBSD 2 support.
- Fix build on -stable.
Spotted by: marcus, kris
Obtained from: Python CVS
Notes:
svn path=/head/; revision=116864
|
|
|
|
|
|
|
|
|
|
| |
- Add IPV6 option [1]
PR: 69950 [1]
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> [1]
Notes:
svn path=/head/; revision=115547
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Provide USE_PYTHON_BUILD and USE_PYTHON_RUN to allow explicit
dependencies. [1]
- Provide PYDISTUTILS_CONFIGUREARGS and run ${PYSETUP} config on
'do-configure' targets. [2]
Reviewed by: eik [1]
Submitted by: Mike Brown <mike@skew.org>
Notes:
svn path=/head/; revision=113222
|
|
|
|
|
|
|
| |
Tested by: Lee Harr <missive@hotmail.com>
Notes:
svn path=/head/; revision=94043
|
|
|
|
|
|
|
|
|
|
|
| |
expat 1.95.6 in its distribution from Python-2.3.
- Bump PORTREVISION subsequently.
Requested by: Mike Brown <mike@skew.org>
Jeremy Kloth <jeremy.kloth@fourthought.com>
Notes:
svn path=/head/; revision=93094
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Correct USE_ZOPE dependency to Python 2.1. [1]
- Fetch from correct MASTER_SITE_SUBDIR when upgrading python
in same branch. [2]
- Enable installing separated standard modules for python-devel port.
Reported by: Filippo Natali <pitonat@libero.it> [1],
Yoshihiko Sarumaru <mistral@imasy.or.jp> [2]
Notes:
svn path=/head/; revision=92598
|
|
|
|
| |
Notes:
svn path=/head/; revision=85183
|
|
|
|
|
|
|
|
|
|
|
| |
o Rename pydoc to pydoc${PORTVERSION} to avoid conflicts among these
ports. (lang/python port keeps both of bin/pydoc and bin/pydoc2.2)
o Set LATEST_LINK to ${PYTHON_VERSION:S/.//} except lang/python.
Now, we can install all of these python versions together cleanly.
Notes:
svn path=/head/; revision=84198
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This update introduces two new knobs to _disable_ somewhat
experimental options:
BUILD_STATIC=yes Unless this option is specified,
the port will build python as shared
binary.
WITH_UCS2=yes Unless this option is specified,
Py_UNICODE type will charge 4 bytes
per character (as we do for wchar_t)
Repo-copied by: joe (thanks!)
Notes:
svn path=/head/; revision=84141
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added lotsa missing files to pllist.
Added dl module for those who like to live dangerously (petef?).
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Notes:
svn path=/head/; revision=70679
|
|
|
|
|
|
|
| |
Approved by: tg
Notes:
svn path=/head/; revision=68198
|
|
|
|
|
|
|
| |
Submitted by: nectar
Notes:
svn path=/head/; revision=57801
|
|
|
|
|
|
|
|
| |
PR: 36977
Submitted by: Hye-Shik Chang <perky@fallin.lv>
Notes:
svn path=/head/; revision=57615
|
|
|
|
| |
Notes:
svn path=/head/; revision=53452
|
|
|
|
|
|
|
|
|
|
|
| |
Python-2.2. This will fix at least the metakit port.
Bump PORTREVISION.
Obtained from: Python CVS tree
Notes:
svn path=/head/; revision=53162
|
|
|
|
|
|
|
|
|
|
| |
PR: 33444
Submitted by: Hye-Shik Chang <perky@fallin.lv>
Add new MD5 to dependent ports.
Notes:
svn path=/head/; revision=52711
|