non port: lang/python27/Makefile |
Number of commits found: 122 (showing only 100 on this page) |
Thursday, 10 Aug 2023
|
20:02 Piotr Kubaj (pkubaj)
lang/python27: drop noop powerpc64 conditional
ccfe88d |
Friday, 30 Jun 2023
|
00:51 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
23105bf |
Saturday, 3 Jun 2023
|
14:08 Muhammad Moinur Rahman (bofh)
lang/python27: Fix build with OpenSSL 3 and later
PR: 271656
Reported by: exp-run
Approved by: portmgr (blanket)
a5b3714 |
Wednesday, 7 Sep 2022
|
21:10 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)
b7f0544 |
Monday, 9 May 2022
|
19:23 Kevin Bowling (kbowling)
devel/libffi: Bump deps PORTREVISION for shlib change
PR: 263764
Reported by: VVD <vvd@unislabs.com>
db78da8 |
Tuesday, 25 May 2021
|
13:55 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@
5f69415 |
Saturday, 15 May 2021
|
07:14 Tobias Kortkamp (tobik) Author: Yasuhiro Kimura
*: Remove unnecessary 'port' argument from USES=readline
PR: 248459
Exp-run by: antoine
9671981 |
Wednesday, 7 Apr 2021
|
08:09 Mathieu Arnold (mat)
One more small cleanup, forgotten yesterday.
Reported by: lwhsu
cf118cc |
Tuesday, 6 Apr 2021
|
14:31 Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148 |
Saturday, 4 Jul 2020
|
18:11 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)
 |
Tuesday, 5 May 2020
|
08:23 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
 |
Wednesday, 1 Jan 2020
|
16:21 antoine
Deprecate python2
With hat: portmgr
 |
Friday, 29 Nov 2019
|
10:55 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)
 |
Thursday, 24 Oct 2019
|
15:13 wen
- Update lang/python27 to 2.7.17
PR: 241357
Submitted by: wen@
Exp-run by: antoine@
 |
Wednesday, 9 Oct 2019
|
11:53 bapt
Drop the ipv6 virtual category for l* category as it is not relevant anymore
 |
Friday, 4 Oct 2019
|
22:46 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)
 |
Tuesday, 9 Apr 2019
|
14:04 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
 |
Friday, 2 Nov 2018
|
13:32 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
 |
Wednesday, 17 Oct 2018
|
06:23 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
 |
Friday, 11 May 2018
|
12:49 wen
- Update to 2.7.15(include security fix)
PR: 228028
Submitted by: wen@(myself)
Exp-run by: antoine@
MFH: 2018Q2
 |
Friday, 2 Mar 2018
|
06:54 antoine
Revert r462630, it introduced regressions
PR: 226135
With hat: portmgr
 |
06:31 antoine
Revert r463321, it breaks lang/python27 on at least vanilla FreeBSD 10.x
Reported by: pkg-fallout
With hat: portmgr
 |
Thursday, 1 Mar 2018
|
13:47 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)
 |
Thursday, 22 Feb 2018
|
19:50 sunpoet
Fix build with OpenSSL 1.1.0 (security/openssl-devel)
This is a follow up commit of r461915.
MFH: 2018Q1
 |
Friday, 16 Feb 2018
|
15:43 sunpoet
Clean up ARCH statement
PR: 223985
Submitted by: linimon
MFH: 2018Q1
 |
Thursday, 15 Feb 2018
|
12:47 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
 |
Monday, 12 Feb 2018
|
19:03 sunpoet
Silence patch messages
 |
Sunday, 11 Feb 2018
|
16:52 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
 |
Sunday, 15 Oct 2017
|
15:01 antoine
When cross-compiling with qemu, recompile _sysconfigdata.py after patching it
Reported by: rene@
With hat: portmgr
 |
Sunday, 24 Sep 2017
|
11:57 wen
- Update to 2.7.14(include security fix)
PR: 222398
Submitted by: wen@(myself)
Exp-run by: antoine@
MFH: 2017Q3
 |
Wednesday, 2 Aug 2017
|
17:58 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)
 |
Wednesday, 28 Jun 2017
|
02:37 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
 |
Tuesday, 27 Jun 2017
|
13:46 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
 |
Tuesday, 6 Jun 2017
|
12:56 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
 |
Sunday, 23 Apr 2017
|
21:16 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
 |
Sunday, 16 Apr 2017
|
11:08 sunpoet
Use BROKEN_SSL and update WWW
 |
Friday, 14 Apr 2017
|
18:07 miwi
- Fix shebang
Thanks to: amdmi3
 |
Monday, 26 Dec 2016
|
14:12 wen
- Fix the pkg-plist when build with WITHOUT_NIS=yes
 |
Tuesday, 29 Nov 2016
|
18:46 mat
Mark some ports as not openssl-devel ready.
Sponsored by: Absolight
 |
Friday, 21 Oct 2016
|
15:21 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
 |
Sunday, 3 Jul 2016
|
00:10 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
 |
Friday, 17 Jun 2016
|
17:09 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
 |
Monday, 23 May 2016
|
20:35 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
 |
Monday, 25 Apr 2016
|
20:22 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
 |
Friday, 1 Apr 2016
|
14:08 mat
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat: portmgr
Sponsored by: Absolight
 |
Friday, 8 Jan 2016
|
16:45 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.
- For Python 2.7 and 3.5, backport both install_lib and test
- For Python 3.2, 3.3 and 3.4, only backport install_lib
[1] https://svnweb.freebsd.org/changeset/ports/404558
[2] https://bugs.python.org/issue20397
Thank you to Brendan Molloy for producing and submitting the patches
against upstream sources.
Reviewed by: sbz (python)
MFH: 2016Q1
Differential Revision: D4832
 |
Tuesday, 29 Dec 2015
|
12:03 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)
 |
Thursday, 24 Dec 2015
|
11:39 miwi
- Switch regression-test to TEST_TARGED
Discussed in: D4695
Reviewed by: koobs
 |
Saturday, 19 Dec 2015
|
01:45 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
 |
Sunday, 18 Oct 2015
|
09:50 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
are returned in `pythonX.Y-config --ldflags` output, which happens
to match the path to the Python shared library.
If the NLS option is disabled, ${LOCALBASE}/lib is not added to LIBS,
and are therefore not returned in --ldflags output.
This results in potential linking errors for software that uses
python-config to obtain the correct library path, when the NLS option is
disabled:
$ make WITH=PYTHON -C audio/alsa-lib
[...]
--- smixer-python.la ---
CCLD smixer-python.la
/usr/bin/ld: cannot find -lpython2.7
This change modifies the python-config.in script to match the shell
implementation, outputting the library path in --ldflags output.
While I'm here:
for Python 3.2 and Python 3.3 ports, backport a library order
change [3]. This could affect linking with static libraries.
Use standard length lines and reduce diffs in pkg-message
[1] https://bugs.python.org/issue16235
[2] https://bugs.python.org/issue7352
[2] https://bugs.python.org/issue18096
PR: 197757
Submitted by: jbeich
MFH: 2015Q4
 |
Thursday, 30 Jul 2015
|
03:31 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
 |
Friday, 3 Jul 2015
|
13:27 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)
 |
Tuesday, 30 Jun 2015
|
15:44 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
 |
Thursday, 14 May 2015
|
10:15 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
 |
Monday, 6 Apr 2015
|
16:58 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.
 |
Wednesday, 25 Mar 2015
|
12:58 marino
lang category: Remove $PTHREAD_LIBS
Note: ecl did not pass check-plist (pre-existing), PR 198897 submitted.
approved by: PTHREAD blanket
 |
Wednesday, 21 Jan 2015
|
09:40 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
issue references.
While I'm here, clean up after the LIBFFI option addition:
- Sort options variables: OPTIONS_* and *_DESC
- Use OPTIONS helpers
References:
[1] The :mod:`imageop` module has been removed in Python 3.0.
[2] dl Added: https://hg.python.org/cpython/file/aac1ee966f56/setup.py
[3] dl Removed: https://hg.python.org/cpython/file/859ff5c7c60a/setup.py
[4] PEP-3108: https://www.python.org/dev/peps/pep-3108/
Approved by: python
 |
Monday, 22 Dec 2014
|
16:45 mva
- Revert the previous NIS check, since it does not help at all
PR: 196195
Submitted by: ache@
With hat: python@
 |
09:45 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
 |
Tuesday, 4 Nov 2014
|
09:14 demon
Add an option to use libffi from ports instead of bundled version.
Submitted by: cy
Reviewed by: koobs
 |
Friday, 12 Sep 2014
|
20:52 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
 |
Thursday, 4 Sep 2014
|
19:26 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
 |
Saturday, 23 Aug 2014
|
05:19 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.
 |
Sunday, 10 Aug 2014
|
18:36 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@
 |
Saturday, 2 Aug 2014
|
14:45 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
 |
06:54 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@
 |
Monday, 14 Jul 2014
|
07:20 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
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
 |
Friday, 11 Jul 2014
|
18:09 sbz
- Add CPE entries for python
- Remove NOPORTDATA as it's deprecated since r359061
 |
Wednesday, 11 Jun 2014
|
14:50 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
added to LIBS to make sure they appear after any -L and -l flags set by
upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.
Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.
PR: 190592
Exp-run by: antoine
Approved by: portmgr (antoine)
 |
Tuesday, 22 Apr 2014
|
14:37 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.
 |
Friday, 11 Apr 2014
|
08:25 sunpoet
- Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILE
 |
Saturday, 1 Mar 2014
|
14:10 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
 |
10:52 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
 |
Friday, 28 Feb 2014
|
03:04 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
 |
Saturday, 1 Feb 2014
|
09:21 mva
- Fix bad libpython* symlinks after enabling the lang/python* ports to
be stagedir-aware
PR: ports/186284
Submitted by: marino@
Pointyhat to: myself
 |
Wednesday, 29 Jan 2014
|
14:54 danfe
Remove references to long unsupported alpha.
 |
Sunday, 26 Jan 2014
|
14:47 mva
- Enable stagedir support
- Convert to new LIB_DEPENDS
 |
Sunday, 8 Dec 2013
|
09:03 koobs
Bump PORTREVISION for all Python ports to pickup the recent ARM patch
PR: ports/149167
 |
08:57 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
 |
Sunday, 24 Nov 2013
|
13:22 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
 |
Monday, 11 Nov 2013
|
12:01 wg
lang/python27: add support for freebsd11
PR: ports/183597
Submitted by: avilla
 |
Friday, 20 Sep 2013
|
19:53 bapt
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
 |
Sunday, 8 Sep 2013
|
14:05 koobs
Resolve gettext (libintl) detection and linking in all Python ports
Fix gettext (NLS) detection, includes and linking:
- all: Use LDFLAGS and CPPFLAGS over CFLAGS for NLS option (with comment)
- python26,27: Pass LIBS="-lintl" to CONFIGURE_ENV
Workaround Pythons odd build mechanics causing duplicate args:
- all: Remove CFLAGS from OPT= in CONFIGURE_ENV
- python32,33: Remove CONFIGURE_* variables from Makefile.pre.in
Other:
- python32: Patch setup.py to pass OPT correctly to shared modules
PR: ports/181721
Reported by: pawel
Reviewed by: bapt mva sbz
 |
Saturday, 17 Aug 2013
|
19:10 mva
- Move the symlink magic for the default python version into lang/python
and lang/python2 and lang/python3. This change brings us closer to the goal
of making Python ports usable with different Python versions at the same
time.
- Add a new lang/python2 port to handle the symlinks for bin/python2,
bin/idle2, bin/pydoc2 and so on.
- Add a new lang/python3 port to handle the symlinks for bin/python3,
bin/idle3, bin/pydoc3 and so on.
- Bump the PORTREVISION on all lang/python* ports.
 |
Wednesday, 14 Aug 2013
|
22:35 ak
- Remove MAKE_JOBS_SAFE variable
Approved by: portmgr (bdrewery)
 |
Monday, 10 Jun 2013
|
08:20 rm
Add patch that resolves the issue, found after r250991 in src HEAD.
Investigation and the patch are from Marcel Moolenaar.
I also added upstream bug-report, based on Marcel's info:
http://bugs.python.org/issue18178
There also was relevant discussion on current@:
http://lists.freebsd.org/pipermail/freebsd-current/2013-June/
Please see there for details of the issue.
Submitted by: marcel (python@ ML)
Reported by: many
 |
Friday, 17 May 2013
|
04:17 rm
- update to latest upstream versions:
. lang/python27: 2.7.3 -> 2.7.5
. lang/python32: 3.2.3 -> 3.2.4
. lang/python33: 3.3.0 -> 3.3.1
- update Mk/bsd.python.mk with new versions
- mark lang/python26 and lang/python31 as deprecated (set them to
upstream EoL dates)
- update docs (lang/python-doc-html)
- align databases/py-bsddb patch for python27 - most of it was applied
upstream. Raise BDB version to 4.3 atleast, according to
upstream requirements.
Many thanks to Martin (miwi) for his time on this update.
PR: 178506
Submitted by: rm (myself)
Exp-run by: portmgr (miwi)
- revert erroneous threads patch in lang/python26 and lang/python27,
that was added after ports/131080. It was rejected upstream, because it's
not actually a bug, but misuse.
Gabor Pali (pgj) in collaboration with Kubilay Kocak (koobs) did an
independent investigation regard the issue. See here for details:
http://lists.freebsd.org/pipermail/freebsd-python/2013-April/005376.html
PR: 153167
Submitted by: Duncan Findlay <duncan@duncf.ca>
Reported by: pgj/koobs (at python@ ML)
Exp-run by: portmgr (miwi)
 |
Saturday, 11 May 2013
|
11:37 rm
Commit all the non-functional changes to python ports to reduce the diff size
for an exp-run of updated python versions.
- trim Makefile headers
- remove leading indefinite article from COMMENT
- use PYTHON shortcut in MASTER_SITES
- whitespace fixes
- remove checks for unsupported versions of FreeBSD
- use static value ``33'' instead of PYTHON_SUFFIX in lang/python33/pkg-plist,
because this value is not supposed to be changed across the branch and for
consistency with other python3 ports
- remove conflicts in lang/python-mode.el with not more existing python-2.4
 |
Monday, 6 May 2013
|
06:32 jgh
- adoption of USES for gettext
Approved by: portmgr (bapt@)
 |
Tuesday, 29 Jan 2013
|
00:35 jkim
- Update devel/libffi to 3.0.11.
- Reset maintainership for libffi. See ports/164941.
PR: ports/171768
Submitted by: Takefu <takefu@airport.fm>
 |
Monday, 14 Jan 2013
|
17:56 mva
- Fix the -OPT:Olimit=X detection for clang, which could pollute the
output of python27-config --cflags
PR: ports/172859 ports/161494 ports/174525
Submitted by: Oleg Nauman <oleg.nauman@gmail.com>
 |
Sunday, 23 Dec 2012
|
17:52 lwhsu
- Remove "first-installed-win" logic for automatically setting
${PYTHON_DEFAULT_VERSION}, this generates conflicting packages.
- Create symbolic links as PEP 394 [1] suggests. ${PYTHON_DEFAULT_VERSION}
will create python and python${MAJOR_VERSION} links. In current default,
lang/python27 will create: python -> python2 -> python2.7
- Introduce ${PYTHON3_DEFAULT_VERSION}, which will handle bin/python3 link.
At this point, lang/python33 will create python3 -> python3.3
- Minor cleanups
* Trim Makefile headers
* Remove ${OSVERSION} detection for xz, whihc is done by USE_XZ
[1] http://www.python.org/dev/peps/pep-0394/
 |
Friday, 21 Dec 2012
|
15:45 demon
Create python2 symlink for the latest version of python2.X executable and
python3 symlink for the latest version of python3.X executable.
People who really want to use older python version for both python branches
should specify explicit version number in interpreter invocation.
Discussed on python@ long ago.
 |
Wednesday, 3 Oct 2012
|
04:06 rm
- do not hardcode distfile extension for lang/python ports in bsd.python.mk
(PYTHON_DISTFILE variable)
- switch lang/python ports (and it's slaves) to tar.xz
I compared all the four pairs .tgz/.tar.xz and they have no content differences.
Discussed on: python@
 |
Saturday, 8 Sep 2012
|
11:49 ohauer
- fix PORT_OPTIONS s/)/}/
 |
Sunday, 22 Jul 2012
|
09:45 mva
- Fix Python OPT flags for WITH_PTH knob
PR: ports/168767
Submitted by: Marcus von Appen <mva@freebsd.org>
 |
Wednesday, 20 Jun 2012
|
22:35 mva
- Fix builds, if the NLS option switch is set. In some cases
expat-related modules are not built correctly.
PR: ports/169276
Submitted by: Greg Byshenk <freebsd@byshenk.net>
 |
Tuesday, 19 Jun 2012
|
17:48 mva
- Fix gettext detection for the locale module
- Explicitly enable/disable gettext support via a new NLS OPTION switch.
PR: ports/168684 ports/136917
On behalf of: python@
 |
Saturday, 16 Jun 2012
|
14:53 mva
- unbreak WITH_PTH option support
PR: ports/155936
Submitted by: Kalten <kalten@gmx.at>
On behalf of: python@
 |
Thursday, 14 Jun 2012
|
06:02 demon
Fix permissions for Tools and Demo folders.
PR: 152224
Submitted by: John Hein <jhein@symmetricom.com>
Silence from: python@
 |
Number of commits found: 122 (showing only 100 on this page) |