| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Notes:
svn path=/head/; revision=566389
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=552351
|
|
|
|
| |
Notes:
svn path=/head/; revision=545604
|
|
|
|
|
|
|
| |
Spotted by: lwhsu@(Thanks!)
Notes:
svn path=/head/; revision=545338
|
|
|
|
|
|
|
| |
MFH: 2020Q3
Notes:
svn path=/head/; revision=545331
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=541232
|
|
|
|
|
|
|
| |
Approved by: python (with hat)
Notes:
svn path=/head/; revision=540709
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=538669
|
|
|
|
| |
Notes:
svn path=/head/; revision=527556
|
|
|
|
|
|
|
| |
Reported by: mat
Notes:
svn path=/head/; revision=519244
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=519241
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=519233
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=518640
|
|
|
|
| |
Notes:
svn path=/head/; revision=514140
|
|
|
|
| |
Notes:
svn path=/head/; revision=508882
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 238952
Submitted by: wenheping2000@hotmail.com(myself)
Reviewed by: koobs@
Exp-run by: antoine@
MFH: 2019Q3
Notes:
svn path=/head/; revision=506253
|
|
|
|
|
|
|
|
| |
Reported by: tcberner
With hat: portmgr
Notes:
svn path=/head/; revision=498910
|
|
|
|
|
|
|
|
|
|
|
| |
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://tiswww.case.edu/php/chet/readline/CHANGES
PR: 236156
Exp-run by: antoine
Notes:
svn path=/head/; revision=498476
|
|
|
|
| |
Notes:
svn path=/head/; revision=497138
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=496975
|
|
|
|
|
|
|
|
|
| |
PR: 234397
Submitted by: wenheping2000@hotmail.com
Exp-run by: antoine@
Notes:
svn path=/head/; revision=488861
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=483807
|
|
|
|
|
|
|
|
|
| |
PR: 232504
Submitted by: wen@(myself)
Exp-run by: antoine@
Notes:
svn path=/head/; revision=483109
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=482271
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=475350
|
|
|
|
|
|
|
|
|
| |
PR: 229386
Exp-run by: antoine
Relnotes: https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-6-final
Notes:
svn path=/head/; revision=473999
|
|
|
|
|
|
|
|
|
|
| |
PR: 226883
Submitted by: Charlie Li <ml+freebsd vishwin info>
Approved by: python (koobs)
Differential Revision: https://reviews.freebsd.org/D14837
Notes:
svn path=/head/; revision=468569
|
|
|
|
|
|
|
|
|
| |
Changes: https://docs.python.org/3.6/whatsnew/changelog.html
PR: 227090
Exp-run by: antoine
Notes:
svn path=/head/; revision=466295
|
|
|
|
|
|
|
| |
With hat: portmgr
Notes:
svn path=/head/; revision=466163
|
|
|
|
| |
Notes:
svn path=/head/; revision=466162
|
|
|
|
|
|
|
|
|
| |
PR: 225871
Submitted by: brnrd
MFH: 2018Q1
Notes:
svn path=/head/; revision=461918
|
|
|
|
| |
Notes:
svn path=/head/; revision=461623
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=461515
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=461500
|
|
|
|
|
|
|
| |
Approved by: portmgr blanket
Notes:
svn path=/head/; revision=456915
|
|
|
|
|
|
|
| |
Changes: https://docs.python.org/3.6/whatsnew/changelog.html
Notes:
svn path=/head/; revision=456815
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464
Notes:
svn path=/head/; revision=455210
|
|
|
|
|
|
|
| |
Changes: https://docs.python.org/3.6/whatsnew/changelog.html
Notes:
svn path=/head/; revision=451202
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=447189
|
|
|
|
|
|
|
| |
Changes: https://docs.python.org/3.6/whatsnew/changelog.html
Notes:
svn path=/head/; revision=446092
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=444534
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=444463
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=442911
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=442759
|
|
|
|
|
|
|
|
| |
PR: 217703
Submitted by: Melvyn Sopacua <m.r.sopacua@gmail.com>
Notes:
svn path=/head/; revision=441865
|
|
|
|
| |
Notes:
svn path=/head/; revision=438648
|
|
|
|
|
|
|
| |
Thanks to: amdmi3
Notes:
svn path=/head/; revision=438530
|
|
|
|
| |
Notes:
svn path=/head/; revision=436773
|
|
|
|
|
|
|
|
|
| |
- Use PORTVERSION
- Remove CPE_VERSION
- Update WWW
Notes:
svn path=/head/; revision=436184
|