notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: lang/python36/Makefile

Number of commits found: 45

Friday, 31 Dec 2021
13:02 Rene Ladan (rene) search for other commits by this committer
cleanup: Remove expired ports:

2021-12-31 lang/python36: Upgrade to a newer Python version. 3.6 is in
maintenance status and gets security fixes only. End-of-Life: 2021-12-23. See
https://devguide.python.org/
commit hash: 6c401020d1946446ed7f46742d7dca78c201408f commit hash: 6c401020d1946446ed7f46742d7dca78c201408f commit hash: 6c401020d1946446ed7f46742d7dca78c201408f commit hash: 6c401020d1946446ed7f46742d7dca78c201408f 6c40102
Friday, 26 Nov 2021
18:48 Dimitry Andric (dim) search for other commits by this committer
lang/python3(6|7|8|9|10|11): work around unwanted multiarch detection again

In ports 6bef09666460 we patched out python's erroneous multiarch
detection using sed, but upstream changed the surrounding parts in the
configure script to defeat the regex we were using. Update the regex to
cope with the change.

PR:		259896, 258377
MFH:		2021Q4
Approved by:	maintainer timeout (9 days)
commit hash: 4af982e6bea019a33ae85c6c92a3042fadccb739 commit hash: 4af982e6bea019a33ae85c6c92a3042fadccb739 commit hash: 4af982e6bea019a33ae85c6c92a3042fadccb739 commit hash: 4af982e6bea019a33ae85c6c92a3042fadccb739 4af982e
Wednesday, 13 Oct 2021
17:05 Thierry Thomas (thierry) search for other commits by this committer
lang/python3X: Fix library installation

The Python ports install the library libpython3.x.so under $PREFIX/lib,
and they set USE_LDCONFIG, but these libraries are not registered, due
to a missing symlink, and they are not found by `ldconfig -r'.

This commit make them to be registered, and for some reason it helps the
dynamic linker to find them, and this allows to fix an error in
french/aster. It also helps to fix errors in newer releases of math/sage
(not yet ready to be committed due to other problems).

No exp-run, but it has been tested with many ports on several platforms.

PR:		257864
Approved by:	koobs (Python team)
MFH:		2021Q4
commit hash: 693abe1cb40ba9f505b2c72497443ca3ce85887d commit hash: 693abe1cb40ba9f505b2c72497443ca3ce85887d commit hash: 693abe1cb40ba9f505b2c72497443ca3ce85887d commit hash: 693abe1cb40ba9f505b2c72497443ca3ce85887d 693abe1
Monday, 27 Sep 2021
17:56 Dimitry Andric (dim) search for other commits by this committer
lang/python3([6-9]|10): disable detection of multiarch

It breaks with clang >= 13, which adds a major.minor version number in
-print-multiarch output, and the dot confuses Python:

ModuleNotFoundError: No module named
'_sysconfigdata__freebsd14_x86_64-unknown-freebsd14'

Since we do not support multiarch, and the configure script has no way
to disable the multiarch check, stub it out during post-patch.

PR:		258377
Approved by:	maintainer timeout (2 weeks)
MFH:		2021Q3
commit hash: 6bef09666460fb9f9052550854fa69f5d5e4a0e8 commit hash: 6bef09666460fb9f9052550854fa69f5d5e4a0e8 commit hash: 6bef09666460fb9f9052550854fa69f5d5e4a0e8 commit hash: 6bef09666460fb9f9052550854fa69f5d5e4a0e8 6bef096
Thursday, 9 Sep 2021
09:02 Kai Knoblich (kai) search for other commits by this committer
lang/python36: Deprecate and set to expire

Python 3.6 will reach its End-of-Life at 23rd December 2021.

Set the deprecation note and expiration date accordingly.

Approved by:	koobs (python, maintainer)
MFH:		No (not neccessary, 3+ months from now should be OK)
Differential Revision:	https://reviews.freebsd.org/D31783
commit hash: c92e5f7b9ad0fb306bbc01171ba4bc95d01ba55b commit hash: c92e5f7b9ad0fb306bbc01171ba4bc95d01ba55b commit hash: c92e5f7b9ad0fb306bbc01171ba4bc95d01ba55b commit hash: c92e5f7b9ad0fb306bbc01171ba4bc95d01ba55b c92e5f7
Tuesday, 25 May 2021
13:55 Dmitry Marakasov (amdmi3) search for other commits by this committer
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@
commit hash: 5f69415313f894338dca54e21b5c3981e5e5f58f commit hash: 5f69415313f894338dca54e21b5c3981e5e5f58f commit hash: 5f69415313f894338dca54e21b5c3981e5e5f58f commit hash: 5f69415313f894338dca54e21b5c3981e5e5f58f 5f69415
Saturday, 15 May 2021
07:14 Tobias Kortkamp (tobik) search for other commits by this committer Author: Yasuhiro Kimura
*: Remove unnecessary 'port' argument from USES=readline

PR:		248459
Exp-run by:	antoine
commit hash: 9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2 commit hash: 9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2 commit hash: 9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2 commit hash: 9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2 9671981
Tuesday, 6 Apr 2021
14:31 Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb 305f148
Tuesday, 23 Feb 2021
11:43 wen search for other commits by this committer
- Update to 3.6.13
Original commitRevision:566389 
Wednesday, 14 Oct 2020
18:09 kevans search for other commits by this committer
lang/python3{6,7,8,9}: Backport close_range patches

Worked out over BPO-40422 and BPO-40423, this is the culmination of months
of work to coordinate with Linux and get close_range(2) added to FreeBSD,
then the usage accepted into CPython. It has landed for Python 3.10 and here
I've backported it locally to all the supported Python 3 versions we have.

Note that this does include and supercede our previous closefrom(2) patches.
There was a lot of intersection between the work done, so this patch against
the ports tree does remove those patches from each of the ports in favor of
this patch. All the patches involved have been accepted and merged upstream.

This patch will bring a performance boost in some more situations on 12.2
and 13.0, as close_range exists there.

There is one additional patch sitting in an upstream PR that shuffles the
_Py_closerange implementation into a different file -- this is not important
for the backport, and the absence of that patch here will not realistically
cause any issues.

PR:		250322
Approved by:	lwhsu (python)
Original commitRevision:552351 
Friday, 21 Aug 2020
15:01 wen search for other commits by this committer
- Set PORTREVISION
Original commitRevision:545604 
Wednesday, 19 Aug 2020
15:55 wen search for other commits by this committer
- Remove PORTREVISION which forgot in last commit

Spotted by:	lwhsu@(Thanks!)
Original commitRevision:545338 
Saturday, 4 Jul 2020
18:11 zeising search for other commits by this committer
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)
Original commitRevision:541232 
Sunday, 28 Jun 2020
13:34 dbaio search for other commits by this committer
lang/python36: Update to 3.6.11

Approved by:	python (with hat)
Original commitRevision:540709 
Saturday, 13 Jun 2020
13:24 dbaio search for other commits by this committer
lang/python36: Update to 3.6.10, Fix security issues

The patches for CVE-2019-18348 and CVE-2020-8492 are in the 3.6 branch
and will be present on the next release.

Patch for applying CVE-2020-8492 fix here in the ports tree was reported
and submitted by Mike Fisher <mfisher911@gmail.com> and
Dani <i.dani@outlook.com>.

PR:		246984
MFH:		2020Q2
Security:	ca595a25-91d8-11ea-b470-080027846a02 (CVE-2019-18348)
Security:	a27b0bb6-84fc-11ea-b5b4-641c67a117d8 (CVE-2020-8492)
Original commitRevision:538669 
Saturday, 7 Dec 2019
22:19 tcberner search for other commits by this committer
Fix makefile ordering.

Reported by:	mat
Original commitRevision:519244 
21:28 lwhsu search for other commits by this committer
Backport fix of https://bugs.python.org/issue32849

This is needed for starting sysutils/azure-agent at boot:
https://github.com/Azure/WALinuxAgent/issues/1687

Obtained
from:	https://github.com/python/cpython/pull/12852/commits/f9c01a16dae8aa15d264a1937fb589e8598d1c88
MFH:		2019Q4
Sponsored by:	The FreeBSD Foundation
Original commitRevision:519241 
19:11 tcberner search for other commits by this committer
Fix namespace pollution in python3.5 and python3.6 (upstreamed fix)

The standard math library (libm) may follow IEEE-754 recommendation to
include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x).
And this triggers a name clash, found by FreeBSD developer
Steve Kargl, who worked on putting sinpi into libm used on FreeBSD
(it has to be named "sinpi", not "sinPi", cf. e.g.
https://en.cppreference.com/w/c/experimental/fpext4).

- python2.7 and > 3.6 are already fixed

PR:		232792
Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>, Dima Pasechnik
<dimpase+freebsd@gmail.com>
Approved by:	python (maintainer timeout)
Obtained
from:	https://github.com/python/cpython/commit/b545ba0a508a5980ab147ed2641a42be3b31a2db
Original commitRevision:519233 
Friday, 29 Nov 2019
10:55 koobs search for other commits by this committer
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
significantly for loads that involve working with many processes, such as
diffoscope, ansible, and many others.

For additional optimizations, upstream recently (3.8) landed posix_spawn(2)
support [3] and has stated that they will adopt close_range(2) after Linux
merges it [4]. Linux/FreeBSD developers are already collaborating on
ensuring compatible implementations, with FreeBSD's implementation pending
in D21627. [5]

Thank you emaste, cem, kevans for providing analysis, input,
clarifications, comms/upstream support and patches.

[1] https://bugs.python.org/issue37790
[2] https://bugs.python.org/issue38061
[3] https://bugs.python.org/issue35537
[4] https://lwn.net/Articles/789023/
[5] https://reviews.freebsd.org/D21627

Additional References:

https://bugs.python.org/issue8052
https://bugs.python.org/issue11284
https://bugs.python.org/issue13788
https://bugs.python.org/issue1663329
https://www.python.org/dev/peps/pep-0446/

PR:		242274, 221700
Submitted by:	kevans (emaste, cem)
Approved by:	koobs (python (maintainer), santa)
Original commitRevision:518640 
Wednesday, 9 Oct 2019
11:53 bapt search for other commits by this committer
Drop the ipv6 virtual category for l* category as it is not relevant anymore
Original commitRevision:514140 
Monday, 8 Jul 2019
23:10 wen search for other commits by this committer
- Update to python-3.6.9(include security fix)

PR:		238952
Submitted by:	wenheping2000@hotmail.com(myself)
Reviewed by:	koobs@
Exp-run by:	antoine@
MFH:		2019Q3
Original commitRevision:506253 
Sunday, 14 Apr 2019
16:27 antoine search for other commits by this committer
Recompile _sysconfigdata.py after reinplacing it

Reported by:	tcberner
With hat:	portmgr
Original commitRevision:498910 
Tuesday, 9 Apr 2019
14:04 sunpoet search for other commits by this committer
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
Original commitRevision:498476 
Wednesday, 27 Mar 2019
19:23 sunpoet search for other commits by this committer
Fix CVE-2019-5010

- Bump PORTREVISION for package change

Obtained
from:	https://github.com/python/cpython/commit/216a4d83c3b72f4fdcd81b588dc3f42cc461739a
Reference:	https://bugs.python.org/issue35746
Security:	d74371d2-4fee-11e9-a5cd-1df8a848de3d
MFH:		2019Q1
Original commitRevision:496975 
Friday, 2 Nov 2018
13:32 rene search for other commits by this committer
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
Original commitRevision:483807 
Saturday, 27 Oct 2018
04:06 wen search for other commits by this committer
- Update to 3.6.7

PR:		232504
Submitted by:	wen@(myself)
Exp-run by:	antoine@
Original commitRevision:483109 
Wednesday, 17 Oct 2018
06:23 koobs search for other commits by this committer
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
Original commitRevision:482271 
Thursday, 26 Jul 2018
08:58 tobik search for other commits by this committer
lang/python3?: Fix python3.?-config behavior when symlinked

When python3.?-config is symlinked to another location it starts
outputting bogus paths.  For example

$ pwd
/home/tobias
$ python3.6-config --includes
-I/usr/local/include/python3.6m -I/usr/local/include/python3.6m
$ ln -s /usr/local/bin/python3.6-config python3-config
$ ./python3-config --includes
-I/home/include/python3.6m -I/home/include/python3.6m

This breaks ports trying to use BINARY_ALIAS together with
python3.?-config.  Apply a patch to resolve the symlink first before
trying to find the install prefix.

PR:		229749
Submitted by:	tobik
Reviewed by:	antoine, miwi
Approved by:	python (miwi)
Original commitRevision:475350 
Thursday, 15 Feb 2018
12:48 sunpoet search for other commits by this committer
Remove BROKEN_SSL=openssl-devel

PR:		225871
Submitted by:	brnrd
MFH:		2018Q1
Original commitRevision:461918 
Monday, 12 Feb 2018
19:04 sunpoet search for other commits by this committer
Silence patch messages
Original commitRevision:461623 
Sunday, 11 Feb 2018
16:52 sunpoet search for other commits by this committer
Remove over-patched shebang fix of Lib/cgi.py

The change from /usr/local/bin/python to /usr/local/bin/python3.6 is already
done by USES=shebangfix.

% head -1 /usr/local/lib/python3.6/cgi.py
#!/usr/local/bin/python3.63.6
Original commitRevision:461515 
14:36 sunpoet search for other commits by this committer
Clean up Makefile

- Move BROKEN_SSL upward
- Sort USES
- Remove CPE_*: all of them are default values
- Update PLIST_FILES: do not use %%
- Update http:// links in Makefile comments and patch files
Original commitRevision:461500 
Thursday, 21 Dec 2017
17:21 amdmi3 search for other commits by this committer
- Fix more shebangs

Approved by:	portmgr blanket
Original commitRevision:456915 
Wednesday, 4 Oct 2017
10:55 sunpoet search for other commits by this committer
Update to 3.6.3

Changes:	https://docs.python.org/3.6/whatsnew/changelog.html
Original commitRevision:451202 
Thursday, 3 Aug 2017
00:56 sbruno search for other commits by this committer
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)
Original commitRevision:447189 
Monday, 17 Jul 2017
18:42 sunpoet search for other commits by this committer
Update to 3.6.2

Changes:	https://docs.python.org/3.6/whatsnew/changelog.html
Original commitRevision:446092 
Wednesday, 28 Jun 2017
02:37 dbaio search for other commits by this committer
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].

Apart from Python language ports, at least www/rtv and
sysutils/py-ranger ports have been tested to work correctly
(display Unicode) after this change.

[1] https://svnweb.freebsd.org/changeset/base/268461
[2] https://svnweb.freebsd.org/changeset/ports/444463
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197317

PR:		171246, 197317
Reported by:	Vitaly Magerya <vmagerya gmail com>
Reviewed by:	garga, koobs, miwi, sunpoet
Approved by:	garga (mentor), sunpoet (python, with hat)
Differential Revision:	https://reviews.freebsd.org/D11127
Original commitRevision:444534 
Tuesday, 27 Jun 2017
13:46 sunpoet search for other commits by this committer
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
Original commitRevision:444463 
Thursday, 8 Jun 2017
10:31 mat search for other commits by this committer
Mark BROKEN with openssl-devel.

pkg-static: Unable to access file
/wrkdirs/usr/ports/lang/python36/work/stage/usr/local/lib/python3.6/lib-dynload/_ssl.so:No
such file or directory

Sponsored by:	Absolight
Original commitRevision:442911 
Tuesday, 6 Jun 2017
12:56 koobs search for other commits by this committer
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
Original commitRevision:442759 
Saturday, 27 May 2017
19:30 sunpoet search for other commits by this committer
Remove BROKEN_SSL

PR:		217703
Submitted by:	Melvyn Sopacua <m.r.sopacua@gmail.com>
Original commitRevision:441865 
Sunday, 16 Apr 2017
11:08 sunpoet search for other commits by this committer
Use BROKEN_SSL and fix indent
Original commitRevision:438648 
Friday, 14 Apr 2017
18:07 miwi search for other commits by this committer
- Fix shebang

Thanks to: amdmi3
Original commitRevision:438530 
Tuesday, 14 Mar 2017
21:35 sunpoet search for other commits by this committer
Clean up Makefile

- Use PORTVERSION
- Remove CPE_VERSION
- Update WWW
Original commitRevision:436184 
Monday, 26 Dec 2016
16:45 sunpoet search for other commits by this committer
- Remove TSC option

PR:		215580
Submitted by:	Roland Smith <rsmith@xs4all.nl>
Original commitRevision:429551 

Number of commits found: 45