CVE and update status of the FreeBSD ports tree4,826 unaddressed CVEs in 618 portsAll times are CET

Port details

lang/python272.7.18_5

Interpreted object-oriented programming language

Maintainer
python@FreeBSD.org
Packages
python27 2.7.18_5
Upstream
Higher version available: 3.15.1
CPE
python:python from the port
WWW
https://www.python.org/
Links
cgit · VuXML

Unaddressed (35) · The CVE record lists this version as affected, no VuXML entry names the CVE

CVE-2022-485659.8published 2023-08-22

An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities.

CVE-2007-45599.8published 2007-08-28

Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot) sequence in filenames in a TAR archive, a related issue to CVE-2001-1267.

CVE-2017-175228.8published 2017-12-14

Lib/webbrowser.py in Python through 3.6.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL. NOTE: a software maintainer indicates that exploitation is impossible because the code relies on subprocess.Popen and the d…

CVE-2026-153088.7published 2026-07-09

The incremental HTML parser (html.parser.HTMLParser) allows for CPU denial-of-service through repeated unterminated markup declarations when processing uncontrolled data.

CVE-2024-62327.5published 2024-09-03

There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.

CVE-2024-75927.5published 2024-08-19

There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.

CVE-2022-485607.5published 2023-08-22

A use-after-free exists in Python through 3.9 via heappushpop in heapq.

CVE-2023-366327.5published 2023-06-25

The legacy email.utils.parseaddr function in Python through 3.11.4 allows attackers to trigger "RecursionError: maximum recursion depth exceeded while calling a Python object" via a crafted argument. This argument is plausibly an untrusted value from an application's input data that was supposed to contain a name and an e-mail address. NOTE: email.utils.par…

CVE-2023-243297.5published 2023-02-17

An issue in the urllib.parse component of Python before 3.11.4 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters.

CVE-2022-450617.5published 2022-11-09

An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malic…

CVE-2022-03917.5published 2022-02-09

A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\r' and '\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks…

CVE-2015-56527.2published 2015-10-06

Untrusted search path vulnerability in python.exe in Python through 3.5.0 on Windows allows local users to gain privileges via a Trojan horse readline.pyd file in the current working directory. NOTE: the vendor says "It was determined that this is a longtime behavior of Python that cannot really be altered at this point."

CVE-2026-45197.0published 2026-03-20

The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior rejects leading dashes. Users are recommended to sanitize URLs prior to passing to webbrowser.open().

CVE-2022-264887.0published 2022-03-10

In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured. The installer may allow a local attacker to add user-writable directories to the system search path. To exploit, an administrator must have installed Python for all users and enabled PATH entries. A non-administrative user can trigger a repai…

CVE-2022-485646.5published 2023-08-22

read_ints in plistlib.py in Python through 3.9.1 is vulnerable to a potential DoS attack via CPU and RAM exhaustion when processing malformed Apple Property List files in binary format.

CVE-2021-37336.5published 2022-03-10

There's a flaw in urllib's AbstractBasicAuthHandler class. An attacker who controls a malicious HTTP server that an HTTP client (such as web browser) connects to, could trigger a Regular Expression Denial of Service (ReDOS) during an authentication request with a specially crafted payload that is sent by the server to the client. The greatest threat that th…

CVE-2017-182076.5published 2018-03-01

The Wave_read._read_fmt_chunk function in Lib/wave.py in Python through 3.6.4 does not ensure a nonzero channel value, which allows attackers to cause a denial of service (divide-by-zero and exception) via a crafted wav format audio file. NOTE: the vendor disputes this issue because Python applications "need to be prepared to handle a wide variety of except…

CVE-2026-72106.3published 2026-05-11

`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\r\n\r\nFully mitigating this vulnerability requires both updating libexpat to 2.8.0 or later and applying this patch.

CVE-2025-127816.3published 2026-01-21

When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the "base64" module the characters "+/" will always be accepted, regardless of the value of "altchars" parameter, typically used to establish an "alternative base64 alphabet" such as the URL safe alphabet. This behavior matches what is recommended in earlier bas…

CVE-2025-120846.3published 2025-12-03

When building nested elements using xml.dom.minidom methods such as appendChild() that have a dependency on _clear_id_cache() the algorithm is quadratic. Availability can be impacted when building excessively nested documents.

CVE-2025-138366.3published 2025-12-01

When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server to cause the client to read large amounts of data into memory, potentially causing OOM or other DoS.

CVE-2026-30876.0published 2026-04-27

If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...`) then the archive will be extracted outside the target directory which is different than other operating systems. Only Windows is affected by this vulnerability.

CVE-2026-42246.0published 2026-03-16

When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack overflow occurs.

CVE-2026-36446.0published 2026-03-16

The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output().

CVE-2022-485665.9published 2023-08-22

An issue was discovered in compare_digest in Lib/hmac.py in Python through 3.9.1. Constant-time-defeating optimisations were possible in the accumulator variable in hmac.compare_digest.

CVE-2021-233365.9published 2021-02-15

The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before 3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cau…

CVE-2024-92875.3published 2024-10-22

A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands wh…

CVE-2023-402175.3published 2023-08-25

An issue was discovered in Python before 3.8.18, 3.9.x before 3.9.18, 3.10.x before 3.10.13, and 3.11.x before 3.11.5. It primarily affects servers (such as HTTP servers) that use TLS client authentication. If a TLS server-side socket is created, receives data into the socket buffer, and then is closed quickly, there is a brief window where the SSLSocket in…

CVE-2023-270435.3published 2023-04-19

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific dom…

CVE-2026-08644.1published 2026-06-23

When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value.

CVE-2026-60192.1published 2026-04-22

http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.

CVE-2025-138372.1published 2025-12-01

When loading a plist file, the plistlib module reads data in size specified by the file itself, meaning a malicious file can cause OOM and DoS issues

CVE-2026-43602.0published 2026-06-30

In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.

CVE-2025-134622.0published 2026-03-12

The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.

CVE-2025-60751.8published 2025-10-31

If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (10)

VuXML entries whose affected range this version has left.

Commits (342)

Rene Ladan (rene) · 2.7.18_5
all: drop support for FreeBSD 13, mips and risc64sf

Reviewed by:            many (*)
Differential Revision:  https://reviews.freebsd.org/D55624
Differential Revision:  https://reviews.freebsd.org/D55642 (merged in from bofh)

many (*)
  acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
  jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
  nobutaka pkubaj se tagattie thj

  Anton Saietskii
  GenericRikka
  Gert Doering
  Jan Bramkamp
  Oleh Hushchenkov
  Oleksandr Kryvulia
  Ralf van der Enden
  Yamagi

  desktop kde python tcltk office
2a7c056120
Tijl Coosemans (tijl)
devel/libtextstyle, devel/gettext*: Update to 1.0

devel/gettext-tools: Use external libunistring and libxml2.

lang/python*: Remove dependency on gettext-tools.  It isn't used and
it is gettext-tools that depends on python now.

PR:		293963
Exp-run by:	antoine
d7a065627c
Charlie Li (vishwin)
lang/python27: re-add _tkinter into the distribution

x11-toolkits/py-tkinter is otherwise built separately, ie disabled
in the main Python distribution build, due to circular (build)
dependencies with Python itself in lang/tk*. Since this Python
version is never default anymore, having been EOLed for years among
other things, it is safe to re-add _tkinter as part of the main
distribution build. Also update pkg-message to reflect extension
module ports unavailability.

This is to benefit the only remaining consumer, games/renpy, as
x11-toolkits/py-tkinter transitions to Python 3+ only. The relevant
OPTION has been removed as having _tkinter always present makes the
option a no-op.

PR: 268283
7e633595cf
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
69ce5e29a5
Po-Chuan Hsieh (sunpoet)
lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after 9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9
c7a4a4f1ea
Muhammad Moinur Rahman (bofh)
lang/python27: Impelled to share/man

Approved by:    portmgr (blanket)
01e4bf75a3
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
bbab7f59e9
Piotr Kubaj (pkubaj)
lang/python27: drop noop powerpc64 conditional
ccfe88db0d
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
23105bfd55
Muhammad Moinur Rahman (bofh)
lang/python27: Fix build with OpenSSL 3 and later

PR:		271656
Reported by:	exp-run
Approved by:	portmgr (blanket)
a5b3714057
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
f8ffeb6090
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)
fb16dfecae
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.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Kevin Bowling (kbowling)
devel/libffi: Bump deps PORTREVISION for shlib change

PR:		263764
Reported by:	VVD <vvd@unislabs.com>
db78da8f8b
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)
7f1bab7e19
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@
5f69415313
Tobias Kortkamp (tobik)
*: Remove unnecessary 'port' argument from USES=readline

PR:		248459
Exp-run by:	antoine
9671981826
Mathieu Arnold (mat)
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148f48
Niclas Zeising (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)
0e32330f15
Wen Heping (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
039f21f95a
Antoine Brodin (antoine)
Deprecate python2

With hat:	portmgr
9249a557d6
Kubilay Kocak (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
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)
e4c2b30ce8
Wen Heping (wen)
- Update lang/python27 to 2.7.17

PR:		241357
Submitted by:	wen@
Exp-run by:	antoine@
2128d8e259
Baptiste Daroussin (bapt)
Drop the ipv6 virtual category for l* category as it is not relevant anymore
7eab0ea11d
Mark Linimon (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)
1633253e05
Mathieu Arnold (mat)
onvert to UCL & cleanup pkg-message (categories l-m)
558224994b
Sunpoet Po-Chuan Hsieh (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
40c9c7f7eb
Sunpoet Po-Chuan Hsieh (sunpoet)
Add note to update python documentation (lang/python-doc-*)
052f94b90f
Wen Heping (wen)
- Update python27 to 2.7.16

PR:		236318
Submitted by:	wen@(myself)
Exp-run by:	antoine@FreeBSD.org
a8ad5de611
Rene Ladan (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
8a502cb2d4
Kubilay Kocak (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
929a1b95c8
Wen Heping (wen)
- Update to 2.7.15(include security fix)

PR:		228028
Submitted by:	wen@(myself)
Exp-run by:	antoine@
MFH:		2018Q2
fdda348b25
Bernard Spil (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
54ca080c24
Antoine Brodin (antoine)
Revert r462630, it introduced regressions

PR:		226135
With hat:	portmgr
0c9368fcde
Antoine Brodin (antoine)
Revert r463321, it breaks lang/python27 on at least vanilla FreeBSD 10.x

Reported by:	pkg-fallout
With hat:	portmgr
2ba800981d
Kubilay Kocak (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)
461fb52bc7
Sunpoet Po-Chuan Hsieh (sunpoet)
Fix build with OpenSSL 1.1.0 (security/openssl-devel)

This is a follow up commit of r461915.

MFH:		2018Q1
9b4c6eb378
Sunpoet Po-Chuan Hsieh (sunpoet)
Clean up ARCH statement

PR:		223985
Submitted by:	linimon
MFH:		2018Q1
ba9d9265aa
Sunpoet Po-Chuan Hsieh (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
1d451321eb
Sunpoet Po-Chuan Hsieh (sunpoet)
Silence patch messages
e5c08e7aec
Sunpoet Po-Chuan Hsieh (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
a76632bc34
Antoine Brodin (antoine)
When cross-compiling with qemu, recompile _sysconfigdata.py after patching it

Reported by:	rene@
With hat:	portmgr
5729569bac
Wen Heping (wen)
- Update to 2.7.14(include security fix)

PR:		222398
Submitted by:	wen@(myself)
Exp-run by:	antoine@
MFH:		2017Q3
50bb8c90c4
Sean Bruno (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)
e6f4295f5c
Danilo G. Baio (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].

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
a4046066e9
Sunpoet Po-Chuan Hsieh (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
cb037d3c98
Kubilay Kocak (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
2f6fe8dcec
Martin Wilke (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
38e0c39859
Sunpoet Po-Chuan Hsieh (sunpoet)
Use BROKEN_SSL and update WWW
a9fa3bf2ae