Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.7.18_3 15 May 2024 03:34:26 |
Yasuhiro Kimura (yasu) |
lang/python27: Fix build with 'DEFAULT_VERSIONS=ssl=openssl'
Reported by: Odhiambo Washington
Approved by: portmgr blanket (just fix it)
MFH: 2024Q2 |
2.7.18_3 13 Apr 2024 15:49:45 |
Po-Chuan Hsieh (sunpoet) |
lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after
9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9 |
2.7.18_3 23 Jan 2024 19:56:19 |
Muhammad Moinur Rahman (bofh) |
lang/python27: Impelled to share/man
Approved by: portmgr (blanket) |
2.7.18_2 31 Dec 2023 00:37:05 |
Muhammad Moinur Rahman (bofh) |
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068 |
2.7.18_2 10 Aug 2023 20:02:23 |
Piotr Kubaj (pkubaj) |
lang/python27: drop noop powerpc64 conditional |
2.7.18_2 30 Jun 2023 00:51:03 |
Muhammad Moinur Rahman (bofh) |
lang/python27: Fix build with OpenSSL 3
This was fixed in an earlier commit but an arbitrary OSVERSION was used
to check the side effects in exp-run. As there is a proper OSVERSION now
this patch fixes the OSVERSION.
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation |
2.7.18_2 03 Jun 2023 14:08:49 |
Muhammad Moinur Rahman (bofh) |
lang/python27: Fix build with OpenSSL 3 and later
PR: 271656
Reported by: exp-run
Approved by: portmgr (blanket) |
2.7.18_2 04 Nov 2022 11:16:39 |
Felix Palmen (zirias) |
lang/python27: Fix build with libressl 3.5
Approved by: python (maintainer, timeout), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D37047 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.7.18_2 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.7.18_2 09 May 2022 19:23:51 |
Kevin Bowling (kbowling) |
devel/libffi: Bump deps PORTREVISION for shlib change
PR: 263764
Reported by: VVD <vvd@unislabs.com> |
2.7.18_1 14 Jul 2021 18:56:31 |
Dmitry Marakasov (amdmi3) |
lang/python*: sort pkg-plists
Sort pkg-plists to reduce diff between existing and future versions
of python.
Approved by: portmgr blanket (cosmetic change) |
2.7.18_1 25 May 2021 13:55:44 |
Dmitry Marakasov (amdmi3) |
Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION
This brings python framework in consistense with handbook recommendations
to prefer DISTVERSION and simplifies adding prerelease versions of
python
PR: 255013
Differential Revision: https://reviews.freebsd.org/D29418
Exp-run by: antoine
Approved by: wen@, no objection from python@ or portmgr@ |
2.7.18_1 15 May 2021 07:14:04 |
Tobias Kortkamp (tobik) Author: Yasuhiro Kimura |
*: Remove unnecessary 'port' argument from USES=readline
PR: 248459
Exp-run by: antoine |
2.7.18_1 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.7.18_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.7.18_1 04 Jul 2020 18:11:42 |
zeising |
Chanse update of devel/libffi
Chase the devel/libffi update
Bump portrevision of all dependent ports to chace shard library version bump
in libffi.
Update LIB_DEPENDS lines where needed to not require a specific version of
libffi.so.
PR: 247028 (for tracking) |
2.7.18 05 May 2020 08:23:11 |
wen |
- Update to 2.7.18 [1]
(include security fix)
- Fix build with OPTION of DEBUG THREADS [2]
PR: 245776
Submitted by: vvd@unislabs.com [1],
takefu@airport.fm [2]
Exp-run by: antoine@ [1]
MFH: 2020Q2
Security: CVE-2019-18348, CVE-2020-8492 |
2.7.17_1 01 Jan 2020 16:21:17 |
antoine |
Deprecate python2
With hat: portmgr |
2.7.17_1 29 Nov 2019 10:55:00 |
koobs |
lang/python{27,35,36,37,38}: Add closefrom(2) support
A single close(fd) syscall is cheap, but when MAXFDS (maximum file
descriptor number) is high, the loop calling close(fd) on each file
descriptor can take several milliseconds.
The default value of subprocess.Popen "close_fds" parameter changed to True
in Python 3. Compared to Python 2, close_fds=True can make Popen 10x
slower: see bpo-37790 [1]
The present workaround on FreeBSD to improve performance is to load and
mount the fdescfs kernel module, but this is not enabled by default.
This change adds minimum viable (and upstreamable) closefrom(2) syscall
support to Python's subprocess and posix modules, improving performance (Only the first 15 lines of the commit message are shown above ) |
2.7.17 24 Oct 2019 15:13:27 |
wen |
- Update lang/python27 to 2.7.17
PR: 241357
Submitted by: wen@
Exp-run by: antoine@ |
2.7.16_1 09 Oct 2019 11:53:57 |
bapt |
Drop the ipv6 virtual category for l* category as it is not relevant anymore |
2.7.16_1 04 Oct 2019 22:46:20 |
linimon |
In various places in the ports tree, tests against ARCH are iterated
one-by-one when a pattern test would be more robust.
This consolidates the tests for 64-bit functionality.
PR: 239163
Approved by: sunpoet (python, maintainer) |
2.7.16_1 13 Aug 2019 22:29:43 |
mat |
onvert to UCL & cleanup pkg-message (categories l-m) |
2.7.16_1 09 Apr 2019 14:04:50 |
sunpoet |
Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://tiswww.case.edu/php/chet/readline/CHANGES
PR: 236156
Exp-run by: antoine |
2.7.16 29 Mar 2019 14:16:57 |
sunpoet |
Add note to update python documentation (lang/python-doc-*) |
2.7.16 11 Mar 2019 08:18:01 |
wen |
- Update python27 to 2.7.16
PR: 236318
Submitted by: wen@(myself)
Exp-run by: antoine@FreeBSD.org |
2.7.15 02 Nov 2018 13:32:35 |
rene |
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724 |
2.7.15 17 Oct 2018 06:23:59 |
koobs |
lang/python27,35+: Remove MAKE_JOBS_UNSAFE
ports r393217 via bug 200622 [1] originally set MAKE_JOBS_UNSAFE=yes due to
incorrect uses of recursive make [2], causing intermittent build failures when
run with multiple jobs (-jN).
Upstream committed a fix for the issue in default (3.6, at the time), 3.5 and
2.7 which are now contained in all released lang/python?? port versions. 3.4 did
not receieve a backport merge.
lang/python3.5+ ports inadvertently inherited MAKE_JOBS_UNSAFE=yes, via
repocopies from lang/python34 on their creation, when they were infact safe to
use with -j.
Remove MAKE_JOBS_UNSAFE in all lang/python?? ports except python34 accordingly.
[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200622
[2] https://bugs.python.org/issue22359
PR: 232308
Reported by: cem
Reviewed by: cem
Approved by: koobs (python)
MFH: 2018Q4
Differential Revision: D17579 |
2.7.15 11 May 2018 12:49:33 |
wen |
- Update to 2.7.15(include security fix)
PR: 228028
Submitted by: wen@(myself)
Exp-run by: antoine@
MFH: 2018Q2 |
2.7.14_1 28 Apr 2018 19:11:13 |
brnrd |
lang/python27: Fix build with LibreSSL 2.7
PR: 226883
Submitted by: Charlie Li <ml+freebsd vishwin info>
Approved by: python (koobs)
Differential Revision: https://reviews.freebsd.org/D14837 |
2.7.14_1 02 Mar 2018 06:54:14 |
antoine |
Revert r462630, it introduced regressions
PR: 226135
With hat: portmgr |
2.7.14_1 02 Mar 2018 06:31:47 |
antoine |
Revert r463321, it breaks lang/python27 on at least vanilla FreeBSD 10.x
Reported by: pkg-fallout
With hat: portmgr |
2.7.14_1 01 Mar 2018 13:47:10 |
koobs |
lang/python27: Fix build regression
r462630 added OpenSSL include/library paths to CFLAGS/LIBS which caused
the _elementtree and pyexpat modules to fail to build. Adding paths to CFLAGS
is known to cause issues [1].
Accordingly:
- Switch to using CPPFLAGS for OpenSSL include/library paths (like NLS).
- Move the comment describing why this is necessary to the top of the port
with reasonable warning about what can happen and why.
[1] https://svnweb.freebsd.org/ports?view=revision&revision=326729
PR: 226135, 222795)
Reported by: many
Reviewed by: sunpoet (python)
Approved by: koobs (python) |
2.7.14_1 22 Feb 2018 19:50:54 |
sunpoet |
Fix build with OpenSSL 1.1.0 (security/openssl-devel)
This is a follow up commit of r461915.
MFH: 2018Q1 |
2.7.14_1 16 Feb 2018 15:43:43 |
sunpoet |
Clean up ARCH statement
PR: 223985
Submitted by: linimon
MFH: 2018Q1 |
2.7.14_1 15 Feb 2018 12:47:58 |
sunpoet |
Fix build with OpenSSL 1.1.0 (security/openssl-devel)
- Remove BROKEN_SSL=openssl-devel
Reference: https://bugs.python.org/issue30622
https://github.com/python/cpython/commit/b2d096bd2a5ff86e53c25d00ee5fa097b36bf1d8
PR: 222795
Submitted by: brnrd
MFH: 2018Q1 |
2.7.14_1 12 Feb 2018 19:03:48 |
sunpoet |
Silence patch messages |
2.7.14_1 11 Feb 2018 16:52:36 |
sunpoet |
Set PORTNAME to python and add PKGNAMESUFFIX
- Sort USES
- Remove CPE_*: all of them are default values
- Update http:// links in Makefile comments and patch files |
2.7.14_1 15 Oct 2017 15:01:15 |
antoine |
When cross-compiling with qemu, recompile _sysconfigdata.py after patching it
Reported by: rene@
With hat: portmgr |
2.7.14 24 Sep 2017 11:57:09 |
wen |
- Update to 2.7.14(include security fix)
PR: 222398
Submitted by: wen@(myself)
Exp-run by: antoine@
MFH: 2017Q3 |
2.7.13_7 02 Aug 2017 17:58:03 |
sbruno |
Add a code block for the qemu-user enabled cross build environment. When using
this environment in poudriere, CC is not set to the default of /usr/bin/cc and
a cross-compile toolchain is used. We need to hand edit this so that the run
time configuration for python matches what the FreeBSD base system provides.
PR: 208282
Submitted by: manu
Approved by: portmgr (mat) |
2.7.13_6 28 Jun 2017 02:37:53 |
dbaio |
lang/python{27,33,34,35,36}: Make Python curses module work with Unicode
Use readline from ports (USES= readline:port) and patch
setup.py to ignore readline from base. The patch is necessary for
FreeBSD < 1100000, as after this the readline library became an
INTERNALLIB, see base r268461 [1]
Link devel/readline against termcapw instead of termcap is part of
this change, see ports r444463 [2]
Note that this is the **ports** approach for getting Python curses
module working with Unicode. The other way is splitting libncurses
into separate libncurses and libtinfo in base, for which an open
issue exists [3].
(Only the first 15 lines of the commit message are shown above ) |
2.7.13_5 27 Jun 2017 13:46:53 |
sunpoet |
Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change
Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision: https://reviews.freebsd.org/D11172
PR: 219947
Exp-run by: antoine |
2.7.13_4 06 Jun 2017 12:56:48 |
koobs |
lang/python{27,33,34,35,36}: Install GDB debugging script
Users with a GDB that supports [1] Python extensions will automatically
load the extra debugging extensions when debugging programs that are
linked with libpythonX.Y.so.foo.
This enables extensions like 'py-bt' and 'py-frame' as described in
the Fedora Wiki Article: Easier Python Debugging [2], which can be
useful for debugging Python program state from crashes in C extensions,
for example.
[1] PYTHON option enabled in devel/gdb
[2] https://fedoraproject.org/wiki/Features/EasierPythonDebugging
PR: 203021
Submitted by: cem
Reviewed by: mat, koobs (python)
Approved by: koobs (python)
Differential Revision: D10398 |
2.7.13_3 23 Apr 2017 21:16:47 |
miwi |
- Remove SEM option by making it always avalible
Since FreeBSD 8.x EOL in 2015-08-01 the option doesn't have any value beyond
footshooting[1]. sem_open() and sem_init(pshared=1) always work FreeBSD 9.0
or later after base r201546.
[1] https://lists.freebsd.org/pipermail/freebsd-ports/2017-April/108116.html
PR: 218641
Reported by: jbeich
Exp-run: antoine
MFH: 2017Q2
Differential Revision: https://reviews.freebsd.org/D10446 |
2.7.13_2 16 Apr 2017 11:08:25 |
sunpoet |
Use BROKEN_SSL and update WWW |
2.7.13_2 14 Apr 2017 18:07:08 |
miwi |
- Fix shebang
Thanks to: amdmi3 |
2.7.13_1 26 Dec 2016 14:12:26 |
wen |
- Fix the pkg-plist when build with WITHOUT_NIS=yes |
2.7.13 26 Dec 2016 01:01:04 |
wen |
- Update to 2.7.13
PR: 215375
Submitted by: wen@
Exp-run by: antoine@ |
2.7.12 29 Nov 2016 18:46:22 |
mat |
Mark some ports as not openssl-devel ready.
Sponsored by: Absolight |
2.7.12 02 Nov 2016 14:51:48 |
tijl |
Remove no-op patch.
This patch was submitted to upstream libffi and from there to upstream
libtool, but it doesn't do anything. The original patch committed in
r158131 did do something but when it was no longer needed it was changed
into something that doesn't make sense in r221521 instead of being removed.
Remove it now before it causes more confusion. |
2.7.12 21 Oct 2016 15:21:13 |
mat |
Use USES=pathfix where applicable.
PR: 213195
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D8093 |
2.7.12 03 Jul 2016 00:10:42 |
wen |
- Update to version 2.7.12
- Remove patch that is included upstream
- Switch USE_OPENSSL to USES= ssl [1]
- Update documentation for python27
- Don't set CPE_VERSION, default is PORTVERSION [1]
PR: 210685
Submitted by: wen@(myself), brnrd@ [1]
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D6994 |
2.7.11_3 17 Jun 2016 17:09:05 |
rm |
lang/python[xx]: backport upstream fix for CVE-2016-5636
Add patch for integer overflow in zipimport module to all our python ports.
While I'm here, get rid of -f flag in ${RM} invocation, because ${RM} already
expands to rm -f, so in result we are getting something like:
/bin/rm -f -f
/wrkdirs/usr/ports/lang/python35/work/stage/usr/local/lib/libpython3.so
PR: 210325
Submitted by: Vladimir Krstulja <vlad-fbsd@acheronmedia.com>
Security: 1d0f6852-33d8-11e6-a671-60a44ce6887b
With hat: python |
2.7.11_2 23 May 2016 20:35:01 |
amdmi3 |
Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by
default anyway and don't need to be listed
Approved by: portmgr blanket |
2.7.11_2 25 Apr 2016 20:22:20 |
dim |
For the various lang/python* ports, improve the __FreeBSD_version
check in pyport.h for working around a very old ctype issue.
If the workaround for this issue is enabled, pyport.h redefines
toupper() and some other ctype macros, and this wreaks havoc when
including newer libc++ headers (or any other system header which tries
to declare those functions).
Approved by: portmgr (antoine)
PR: 208486
MFH: 2016Q2 |
2.7.11_1 01 Apr 2016 14:08:38 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat: portmgr
Sponsored by: Absolight |
2.7.11_1 08 Jan 2016 16:45:09 |
koobs |
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 ) |
2.7.11 29 Dec 2015 12:03:09 |
marino |
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) |
2.7.11 24 Dec 2015 11:39:54 |
miwi |
- Switch regression-test to TEST_TARGED
Discussed in: D4695
Reviewed by: koobs |
2.7.11 19 Dec 2015 01:45:47 |
cem |
lang/python: Update to 2.7.11
Announcement: https://www.python.org/downloads/release/python-2711/
Mailing list:
https://mail.python.org/pipermail/python-announce-list/2015-December/010999.html
Changelog: https://hg.python.org/cpython/raw-file/v2.7.11/Misc/NEWS
Important changes for this release:
- Python 2.7.11 is a bug fix release of the Python 2.7.x series.
Reviewed by: koobs
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D4413 |
2.7.10_1 18 Oct 2015 09:50:39 |
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 ) |
2.7.10 30 Jul 2015 03:31:56 |
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 |
2.7.10 03 Jul 2015 13:27:41 |
brnrd |
lang/python: Update to 2.7.10
The FreeBSD Python team welcomes Python 2.7.10 to the Ports tree!
Announcement: https://www.python.org/downloads/release/python-2710/
Changelog: https://hg.python.org/cpython/raw-file/v2.7.10/Misc/NEWS
Important changes for this release:
- Python 2.7.10 is a bug fix release of the Python 2.7.x series.
- Fixes issues with LibreSSL 2.2+
PR: 192511, 201088
Differentialr Revision: D2637
Reviewed by: koobs (mentor), vsevolod (mentor), antoine
Approved by: koobs (mentor) |
2.7.9_1 30 Jun 2015 15:44:05 |
sbruno |
Add AARCH64 to the list of 64bit targets that require PLIST handling
PR: 201182
Differential Revision: https://reviews.freebsd.org/D2948
Reviewed by: koobs lwhsu emaste |
2.7.9_1 14 May 2015 10:15:09 |
mat |
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 |
2.7.9_1 06 Apr 2015 16:58:37 |
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. |
2.7.9 25 Mar 2015 12:58:34 |
marino |
lang category: Remove $PTHREAD_LIBS
Note: ecl did not pass check-plist (pre-existing), PR 198897 submitted.
approved by: PTHREAD blanket |
2.7.9 21 Jan 2015 09:40:18 |
koobs |
lang/python27: Fix packaging for mips64
- Fix packaging for mips64 (Reported by: sbruno)
mips64 is also not a 32-bit ${ARCH}, so add it to the list of
architectures for which imageop.so and dl.so aren't packaged:
%%32BIT_ONLY%%lib/python2.7/lib-dynload/dl.so
%%32BIT_ONLY%%lib/python2.7/lib-dynload/imageop.so
Both dl and imageop have been removed in Python 3.x [1][2][3][4]
Thanks jhibbits@ for his help testing.
- Add BROKEN for i386 without LIBFFI option, and add upstream (Only the first 15 lines of the commit message are shown above ) |
2.7.9 22 Dec 2014 16:45:42 |
mva |
- Revert the previous NIS check, since it does not help at all
PR: 196195
Submitted by: ache@
With hat: python@ |
2.7.9 22 Dec 2014 09:45:38 |
mva |
lang/python27: Update to 2.7.9
The FreeBSD Python team welcomes Python 2.7.9 to the Ports tree!
Announcement: https://www.python.org/downloads/release/python-279/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.9/Misc/NEWS
Important changes for this release:
- The entirety of Python 3.4's ssl module has been backported for Python
2.7.9. See PEP 466 for justification.
- HTTPS certificate validation using the system's certificate store is
now enabled by default. See PEP 476 for details.
- SSLv3 has been disabled by default in httplib and its reverse
dependencies due to the POODLE attack.
- The ensurepip module module has been backported, which provides the
pip package manager in every Python 2.7 installation. See PEP 477.
- While updating, try to improve the NIS detection for FreeBSD
PR: 193650
Differential Revision: https://reviews.freebsd.org/D1323
Reviewed by: koobs
With hat: python |
2.7.8_6 04 Nov 2014 09:14:21 |
demon |
Add an option to use libffi from ports instead of bundled version.
Submitted by: cy
Reviewed by: koobs |
2.7.8_5 27 Oct 2014 15:23:31 |
bapt |
Cleanup plist |
2.7.8_5 12 Sep 2014 20:52:18 |
antoine |
Do not define __BSD_VISIBLE/_XOPEN_SOURCE/_POSIX_C_SOURCE in
include/python2.7/pyconfig.h
This fixes x11-toolkits/py-wxPython30 build on head
PR: 192365
Exp-run: self
Reviewed by: jilles
With hat: portmgr |
2.7.8_4 04 Sep 2014 19:26:24 |
antoine |
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 |
2.7.8_4 23 Aug 2014 05:19:50 |
koobs |
lang/python{27,33,34}: Bump PORTREVISION, sanitizes builds.
Bump PORTREVISION, as prior to the previous change that fixed upstream Issue
#21166, Python builds could be potentially polluted by the host environment
which could caused runtime issues because of ABI differences. |
2.7.8_3 23 Aug 2014 03:53:25 |
koobs |
lang/python{27,33,34}: Backport fix for upstream Issue #21166
Backport fix for upstream Issue #21166:
Prevent possible segfaults and other random failures of python
--generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances. [1]
This changeset has been committed for release in 2.7.9, 3.4.2, and 3.5.0.
A HUGE thank you to Ned Deily from the Python Core Development Team
for helping to identify the underlying cause, produce a fix and
wonderfully document the explanation.
[1] http://bugs.python.org/issue21166 |
2.7.8_3 10 Aug 2014 18:36:27 |
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@ |
2.7.8_2 02 Aug 2014 14:45:43 |
antoine |
Add back ac_cv_opt_olimit_ok=no, this is misdected with clang and causes
failures for ports using python's BASEFLAGS (devel/py-mx-experimental
for instance)
See also: r335669
With hat: portmgr |
2.7.8_1 02 Aug 2014 06:54:20 |
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.
- Remove the FPECTL option to align the build with the clean "template" from
lang/python34.
- Remove support for GNU pthreads via the PTH option. It is a permanent
troublemaker for ports using Python and pthread support.
- 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.
- Remove bin/smtpd. Only Python2.7 wants to install it, but we'd like to keep
it consistent with the other lang/pythonXX ports
- Add CPE support.
- Reactivate curses/ncurses support.
- Use buildbottest in the regression-test: target.
- Move pkg-message to the right place.
Phabric: D488
Exp-run: 192242, 192244
Reviewed by: koobs
With hat: python@ |
2.7.8 14 Jul 2014 07:20:40 |
koobs |
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention (Only the first 15 lines of the commit message are shown above ) |
2.7.6_4 11 Jul 2014 18:09:01 |
sbz |
- Add CPE entries for python
- Remove NOPORTDATA as it's deprecated since r359061 |
2.7.6_4 11 Jun 2014 14:50:00 |
tijl |
Support LIBS like LDFLAGS.
- 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 (Only the first 15 lines of the commit message are shown above ) |
2.7.6_4 22 Apr 2014 14:37:04 |
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. |
2.7.6_4 22 Apr 2014 12:14:26 |
koobs |
lang/python{31,32,33}: Fix stage/package as non-root
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 |
2.7.6_4 20 Apr 2014 01:35:39 |
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 |
2.7.6_4 11 Apr 2014 08:25:47 |
sunpoet |
- Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILE |
2.7.6_4 05 Apr 2014 09:04:28 |
antoine |
Allow staging/packaging as a regular user:
- 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 |
2.7.6_4 01 Mar 2014 14:10:14 |
antoine |
- Fix build with readline 6.3 from ports
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 |
2.7.6_4 01 Mar 2014 10:52:56 |
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 |
2.7.6_3 28 Feb 2014 03:04:20 |
sbruno |
Unbreak python module builds across the tree as a result of clang 3.4 import
now disallowing the use of -R.
Submitted by: antoine
Reviewed by: gjb |
2.7.6_2 01 Feb 2014 09:21:24 |
mva |
- Fix bad libpython* symlinks after enabling the lang/python* ports to
be stagedir-aware
PR: ports/186284
Submitted by: marino@
Pointyhat to: myself |
2.7.6_1 29 Jan 2014 14:54:52 |
danfe |
Remove references to long unsupported alpha. |
2.7.6_1 26 Jan 2014 14:47:56 |
mva |
- Enable stagedir support
- Convert to new LIB_DEPENDS |
2.7.6_1 08 Dec 2013 09:03:01 |
koobs |
Bump PORTREVISION for all Python ports to pickup the recent ARM patch
PR: ports/149167 |
2.7.6 08 Dec 2013 08:57:35 |
koobs |
Reduce diffs, sort sections & Add LICENSE for Python 2.6, 2.7 & 3.3
- Sort USE_*, *_WRKSRC and CONFIGURE/MAKE sections
- Whitespace alignment for readability
- Add LICENSE (PSFL)
Reviewed by: milki |
2.7.6 08 Dec 2013 06:22:08 |
koobs |
All Python ports: Address abort() for ctypes import on FreeBSD/ARM
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 |
2.7.6 05 Dec 2013 13:33:18 |
koobs |
lang/python27: Remove patch-configure, its now a NOOP
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 |
2.7.6 24 Nov 2013 13:22:41 |
koobs |
lang/python27: Update to 2.7.6
- 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 |