Commit graph

12442 commits

Author SHA1 Message Date
jperkin
d959351f65 rust: Disable SSP checks which will always fail. 2021-01-12 15:37:32 +00:00
jperkin
d3bdd1a46f ocaml: Fix ocamlmklib wrapper script for ld options.
Tested by wiz for relro.
2021-01-12 11:19:17 +00:00
schmonz
cc4e46dc57 Bump default BUILDLINK_API_DEPENDS.execline to the new version. 2021-01-11 18:23:54 +00:00
schmonz
74339235e5 Update to 2.7.0.0. From the changelog:
- forstdin QoL changes: now it exits 1 if it doesn't read anything,
  and it only splits on newlines by default.
- forbacktickx, which is a wrapper to forstdin, gets the same changes.
- Line-processing binaries now chomp by default. Substitution
  binaries do not.
- New -N option everywhere to disable chomping.
- New "default" directive to trap, replacing the irrelevant "timeout".
2021-01-11 18:13:29 +00:00
taca
88b1349f6d lang/ruby: add GEM_PLUGINSDIR support
* Add GEM_PLUGINSDIR support required by rubygems 3.2 and later.
* GEM_EXTSDIR is required unconditonally.
2021-01-11 11:21:31 +00:00
taca
f23f4cc5b4 lang/ruby: add RUBYGEM_VERBOSE
Add RUBYGEM_VERBOSE user-settable variable.  It is useful for developers.


RUBYGEM_VERBOSE
	Execute gem with verbose option.
		Possible values: Yes No
		Default: No
2021-01-11 06:51:27 +00:00
jperkin
f1d2438cbb mozjs78: Fix rust target on SunOS. 2021-01-10 14:12:15 +00:00
jperkin
415dada556 ocaml: Try to fix wrapper script.
Passing LDFLAGS verbatim no longer works, prefix each of them with -ccopt,
this seems to work across more ocaml binaries than -ldopt.

Tested across a number of packages that previously failed.
2021-01-10 11:13:33 +00:00
mef
dc545b6658 (lang/nqp) Updated 2020.11 to 2020.12, No explicit ChangLog/Release note known 2021-01-09 08:34:23 +00:00
mef
de24c81c1b (lang/rakudo) Updated 2020.11 to 2020.12
New in 2020.12:

  * Removals:
      + Deprecated method candidates (subbuf(Any:U) on Buf, chdir(Str(), :$!test) on IO::Path)
        and indir(IO() $path, &what, :$test!) subroutine candidate that were
        throwing an exception instead of a deprecation warning for a long time
        were removed from CORE [9040318]
  * Additions:
      + Add new method deterministic to Iterator role [87fc041][b83b1b3][
        b63c0e0][c37a88e][96285af]
      + Introduce %*SUB-MAIN-OPTS<coerce-allomorphs-to> setting [bd5eba4][
        49eecd6]
      + Add a new candidate to spurt routine and method.
        It does not have an argument taking content to write,
        making it similar to the touch utility [f2ea0a6]
      + Add :emit-on-empty and :emit-once-on-empty methods to Supply.batch
        method [cb8eb68]
      + Add :emit-timed to Supply.batch method [492651e]
      + Make is DEPRECATED trait introspectable on Routine instances [0d1c8a8]
  * Changes:
      + Improve output of Attribute documentation when rendered with
        Pod::To::Text [a0a8a51]
      + Increase sensitivity of Supply.batch(:seconds) x 1000 [aecfc9b]
      + The cas subroutine now accepts Mu as both its target and values [
        998cae5]
      + Defined List instances no longer return True when calling ACCEPT
        with an undefined List (i.e. List ~~ () returns False now) [9fd79f9]
      + Mark the base native array class as Positional [d1d2546]
  * Efficiency:
      + Implement metamodel transparency of nominalizables and fix handling of
        definite parameters, gaining back some performance loss introduced with
        the new coercion protocol in previous release
        [d37906d][ed16d6c][b5465b1][e481619]
      + Fix a shaped array performance problem [f27e212]
      + Make execution of some kinds of when faster [c080e59][0006475][b3a2558]
      + Make cas subroutine ~10% faster [484f870]
      + Make @a[*-1] candidates about 60% faster [2d5d3bf]
      + Optimize some array operators [4ac0f73]
      + Make array access [$i] with $i being a native int about 2x as fast [
        7c0956b]
      + Improve the performance of signature binding [b1f59a2]
      + Speed up various aspects of native 1-dim shaped arrays and
        native arrays in general
        [42fceb0][2c5b545][3def3ce][705e6e6][a76e2b6][60fa48e]
        [6792cc4][bd944e7][2274aa8][392d8be][1c43c46]
  * Fixes:
      + Fix number of issues with REPL execution. e.g. it "forgetting" previous
        multi sub declarations, calling WHAT on native type
        [7c0a81f][eae309a][e46a1da][f2851b9][e8ab527][0d6278f]
        [6f7718c][be45507]
      + Fix roles not being auto-punned for postcifcumfix:<( )>, by
        implementing an invocation protocol for roles [79d2aea]
        [5a22a7c][77a7bd2][17223fc][4009f40][538ad1b][9f98595]
      + Fix concurrency issue in compilations with heredocs [147bae3]
      + Fix subsets of coercions [af43ef6]
      + Fix an issue with splitdir method of IO::Spec::Unix
        leading to action at a distance bugs [3d46341][f154244]
      + Fix argument of a coercion type not having a workable default value
        [44cc88b][856dfb2]
      + Fix error reporting for slurpy named parameters with type constraints [
        e1f09cf]
      + Fix behavior of postcircumfix [ ] called with Iterable on
        native array [4304e25]
      + Disallow calling of postcircumfix [ ] with type objects [6c7044e]
      + Fix a bug in set symmetric difference logic [7b6de5c]
      + Make Num coercer demand definite invocant [a75b3fa]
      + Add missing handling of adverbs :kv, :p, :k, :v for
        1-dim shaped native arrays, also support many adverbs at once
        (e.g. :exists:(kv|p) [0f4970d][02e48d8]
      + Give stub packages created by package_at_key a proper longname [aab4f55
        ]
      + Fix raku method called on CompUnit::Repository::Distribution instance [
        7d0813c]
      + Fix proper reporting of the X::Parameter::RW exception message [1732054
        ]
      + Fix RAKUDO_MODULE_DEBUG output when the message contains meta
        characters [b58510f]
      + The Test module now correctly handles RAKU_TEST_TIMES environment
        variable,
        previously called PERL6_TEST_TIMES [d84ed4e]
  * Internal:
      + Remove deprecated functionality to core epilogue [7406f8c]
      + Introduce Rakudo::Iterator.TailWith [f6c7ddb][9dbb52f]
      + Add sink-all method to a number of PredictiveIterators [cf0f2f2]
      + Make Iterator.sink-all default to using skip-one [f0ebdd0]
      + Add raku method to Rakudo::Internals::IterationSet for easier debugging
        [0d301fa]
      + Remove all easily removable nqp::stmts from Rakudo code [f2f2cf8]
      + Another round of nqp::if -> ternaries [aba90b0]
      + Fix unwanted references to other compilations by CompilerServices [
        d0de766]
      + Type IO::Socket::INET family/type/protocol values [534cc54]
      + Add missing debug type names for easier debugging [a68b8ab]
      + Move "is test-assertion" to candidates [15ec4fe]
      + Adapt filenames in binary release scripts [3748884]
      + Various cleanup and micro-optimization changes [1801a5a]
        [eabdee4][45246ae][6852f40][dce6804][c663cc3][1712f03]
        [b525c4d][6ee47f0][912381b][2ce5260][80f9283][161325e]
        [65f24a8][c02c9cd][46e9468][82d31e0][137d49b][53ad24a]
        [1331ffd][c4c4ba9]
2021-01-09 07:31:56 +00:00
jperkin
fe2bce194f ocaml: Fix previous correctly. 2021-01-08 12:28:16 +00:00
taca
f84ab5c602 lang/php74: udpate to 7.4.14
Update php74 pacakge to 7.4.14 (PHP 7.4.14).


07 Jan 2021, PHP 7.4.14

- Core:
  . Fixed bug #74558 (Can't rebind closure returned by Closure::fromCallable()).
    (cmb)
  . Fixed bug #80345 (PHPIZE configuration has outdated PHP_RELEASE_VERSION).
    (cmb)
  . Fixed bug #72964 (White space not unfolded for CC/Bcc headers). (cmb)
  . Fixed bug #80362 (Running dtrace scripts can cause php to crash).
    (al at coralnet dot name)
  . Fixed bug #80393 (Build of PHP extension fails due to configuration gap
    with libtool). (kir dot morozov at gmail dot com)
  . Fixed bug #80402 (configure filtering out -lpthread). (Nikita)
  . Fixed bug #77069 (stream filter loses final block of data). (cmb)

- Fileinfo:
  . Fixed bug #77961 (finfo_open crafted magic parsing SIGABRT). (cmb)

- FPM:
  . Fixed bug #69625 (FPM returns 200 status on request without
    SCRIPT_FILENAME env). (Jakub Zelenka)

- Intl:
  . Fixed bug #80425 (MessageFormatAdapter::getArgTypeList redefined). (Nikita)

- OpenSSL:
  . Fixed bug #80368 (OpenSSL extension fails to build against LibreSSL due to
    lack of OCB support). (Nikita)

- Phar:
  . Fixed bug #73809 (Phar Zip parse crash - mmap fail). (cmb)
  . Fixed bug #75102 (`PharData` says invalid checksum for valid tar). (cmb)
  . Fixed bug #77322 (PharData::addEmptyDir('/') Possible integer overflow).
    (cmb)

- PDO MySQL:
  . Fixed bug #80458 (PDOStatement::fetchAll() throws for upsert queries).
    (Kamil Tekiela)
  . Fixed bug #63185 (nextRowset() ignores MySQL errors with native prepared
    statements). (Nikita)
  . Fixed bug #78152 (PDO::exec() - Bad error handling with multiple commands).
    (Nikita)
  . Fixed bug #70066 (Unexpected "Cannot execute queries while other unbuffered
    queries"). (Nikita)
  . Fixed bug #71145 (Multiple statements in init command triggers unbuffered
    query error). (Nikita)
  . Fixed bug #76815 (PDOStatement cannot be GCed/closeCursor-ed when a
    PROCEDURE resultset SIGNAL). (Nikita)

- Standard:
  . Fixed bug #77423 (FILTER_VALIDATE_URL accepts URLs with invalid userinfo).
    (CVE-2020-7071) (cmb)
  . Fixed bug #80366 (Return Value of zend_fstat() not Checked). (sagpant, cmb)
  . Fixed bug #80411 (References to null-serialized object break serialize()).
    (Nikita)

- Tidy:
  . Fixed bug #77594 (ob_tidyhandler is never reset). (cmb)

- Zlib:
  . Fixed #48725 (Support for flushing in zlib stream). (cmb)
2021-01-07 13:39:09 +00:00
taca
066bcfe62e lang/php73: update to 7.3.26
Update php73 package to 7.3.26 (PHP 7.3.26).


07 Jan 2021, PHP 7.3.26

- Standard:
  . Fixed bug #77423 (FILTER_VALIDATE_URL accepts URLs with invalid userinfo).
    (CVE-2020-7071) (cmb)
  . Fixed bug #80457 (stream_get_contents() fails with maxlength=-1 or default).
    (bruno dot premont at restena dot lu)
2021-01-07 13:35:02 +00:00
adam
5d9567d49d nodejs10: updated to 10.23.1
Version 10.23.1 'Dubnium' (LTS)

Notable changes

This is a security release.

Vulnerabilities fixed:

CVE-2020-8265: use-after-free in TLSWrap (High) Affected Node.js versions are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits
CVE-2020-8287: HTTP Request Smuggling in nodejs Affected versions of Node.js allow two copies of a header field in a http request. For example, two Transfer-Encoding header fields. In this case Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling (https://cwe.mitre.org/data/definitions/444.html).
CVE-2020-1971: OpenSSL - EDIPARTYNAME NULL pointer de-reference (High) This is a vulnerability in OpenSSL which may be exploited through Node.js. You can read more about it in https://www.openssl.org/news/secadv/20201208.txt
2021-01-05 08:35:36 +00:00
adam
90e6e7ede1 nodejs12: updated to 12.20.1
Version 12.20.1 'Erbium' (LTS)

Notable changes

This is a security release.

Vulnerabilities fixed:

CVE-2020-8265: use-after-free in TLSWrap (High) Affected Node.js versions are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits
CVE-2020-8287: HTTP Request Smuggling in nodejs Affected versions of Node.js allow two copies of a header field in a http request. For example, two Transfer-Encoding header fields. In this case Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling (https://cwe.mitre.org/data/definitions/444.html).
CVE-2020-1971: OpenSSL - EDIPARTYNAME NULL pointer de-reference (High) This is a vulnerability in OpenSSL which may be exploited through Node.js. You can read more about it in https://www.openssl.org/news/secadv/20201208.txt
2021-01-05 08:34:57 +00:00
adam
c915e877e2 nodejs: updated to 14.15.4
Version 14.15.4 'Fermium' (LTS)

Notable Changes

Vulnerabilities fixed:

CVE-2020-1971: OpenSSL - EDIPARTYNAME NULL pointer de-reference (High)

This is a vulnerability in OpenSSL which may be exploited through Node.js. You can read more about it in https://www.openssl.org/news/secadv/20201208.txt

CVE-2020-8265: use-after-free in TLSWrap (High)

Affected Node.js versions are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits.

CVE-2020-8287: HTTP Request Smuggling in nodejs (Low)

Affected versions of Node.js allow two copies of a header field in a http request. For example, two Transfer-Encoding header fields. In this case Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling (https://cwe.mitre.org/data/definitions/444.html).
2021-01-05 08:31:04 +00:00
adam
9e9fd873f0 npm: updated to 6.14.10
6.14.10
DEPENDENCIES
fixes: addressing GHSL-2020-145
2021-01-05 08:29:28 +00:00
wiz
655a8644e7 mono: update to 6.12.0.107.
Bugfix release.
2021-01-04 11:41:52 +00:00
nia
cb98cd25dd rust: Sync platform.mk with targets listed in Makefile 2021-01-04 11:25:27 +00:00
jperkin
f34bb36e3b rust: Limit rust-cargo-static option to NetBSD.
Other OS bundle the necessary libraries with the bootstrap kits, and enabling
this option would mean having to carry additional patches for the bundled zlib
etc.
2021-01-04 10:12:42 +00:00
jperkin
d5631afb8e ocaml: Don't quote LDFLAGS.
Breaks the build when it contains multiple arguments.
2021-01-04 07:58:55 +00:00
he
333e7154ed Further reduction of diffs with wip/rust/Makefile. 2021-01-03 21:54:09 +00:00
he
91617f9789 Remove reference to PR#54621, arm bootstrap requires NetBSD >= 9.0. 2021-01-03 21:23:43 +00:00
he
d6aa6b730a Reduce difference to wip/rust/:
* Remove a few commented-out entries/settings
 * Add @PREFIX@ substitution to the netbsd_base.rs patch,
   and adjust patch accordingly.
2021-01-03 18:23:14 +00:00
he
dad82b9e92 Mark various NetBSD-8.* versions as broken, as the corresponding
bootstrap is built for NetBSD-9.*.
2021-01-03 16:46:18 +00:00
taca
67198c6ab1 lang/php/common.mk: remove "used by lang/php72/Makefile.common" line 2021-01-03 15:21:42 +00:00
taca
fff426e549 lang/php: remove php72 support
Remove php72 (PHP 7.2) support.
2021-01-03 15:21:04 +00:00
taca
72f7fa7260 lang/php72: remove php72
Remove php72 package which is EOL on 1st December 2020.
2021-01-03 15:18:58 +00:00
taca
eac6267c7d lang/Makefile: remove php72
Remove php72 package.
2021-01-03 15:17:40 +00:00
jperkin
a6cb108b9b rust: Fix SunOS bootstrap, sync from wip.
Switch over to the illumos target and update to the latest, 1.46.0 is too old
to build 1.48.0.
2021-01-03 08:53:11 +00:00
jperkin
f82843c4cc rust: Unbreak stage0-bootstrap target. 2021-01-03 08:41:18 +00:00
nia
0fe2c01123 camlp5: Update to 7.13
Camlp5 Version 7.13:
--------------------

* [03 Sep 20] Support for Ocaml 4.11.1.

Camlp5 Version 7.12:
--------------------

* [29 Apr 20] upgrade to minimal support for Ocaml 4.11.0
  (specifically 4.11.0+dev2-2020-04-22).  This does not provide
  support for any new stuff in 4.11.0; indeed, stuff may break.  This
  is just minimal "build and bootstrap" support.
2021-01-02 13:26:20 +00:00
nia
122582cacb rust-bin: Update to 1.48.0
Sync version with lang/rust.
2021-01-02 12:43:20 +00:00
taca
558be12237 Split off option handling into options.mk 2021-01-02 10:04:10 +00:00
adam
1f934dae91 python38 py38-html-docs: updated to 3.8.7
Python 3.8.7

Core and Builtins
bpo-32381: Fix encoding name when running a .pyc file on Windows: PyRun_SimpleFileExFlags() now uses the correct encoding to decode the filename.
bpo-42536: Several built-in and standard library types now ensure that their internal result tuples are always tracked by the garbage collector:

collections.OrderedDict.items()
dict.items()
enumerate()
functools.reduce()
itertools.combinations()
itertools.combinations_with_replacement()
itertools.permutations()
itertools.product()
itertools.zip_longest()
zip()
Previously, they could have become untracked by a prior garbage collection. Patch by Brandt Bucher.

Library
bpo-42630: tkinter functions and constructors which need a default root window raise now RuntimeError with descriptive message instead of obscure AttributeError or NameError if it is not created yet or cannot be created automatically.
bpo-42644: logging.disable will now validate the types and value of its parameter. It also now accepts strings representing the levels (as does loging.setLevel) instead of only the numerical values.
bpo-36541: Fixed lib2to3.pgen2 to be able to parse PEP-570 positional only argument syntax.
bpo-42375: subprocess module update for DragonFlyBSD support.
bpo-39825: Windows: Change sysconfig.get_config_var('EXT_SUFFIX') to the expected full platform_tag.extension format. Previously it was hard-coded to .pyd, now it is compatible with distutils.sysconfig and will result in something like .cp38-win_amd64.pyd. This brings windows into conformance with the other platforms.
bpo-39101: Fixed tests using IsolatedAsyncioTestCase from hanging on BaseExceptions.
bpo-41907: fix format() behavior for IntFlag
bpo-41889: Enum: fix regression involving inheriting a multiply-inherited enum
bpo-41891: Ensure asyncio.wait_for waits for task completion
bpo-40219: Lowered tkinter.ttk.LabeledScale dummy widget to prevent hiding part of the content label.
bpo-40084: Fix Enum.__dir__: dir(Enum.member) now includes attributes as well as methods.

Documentation
bpo-17140: Add documentation for the multiprocessing.pool.ThreadPool class.

Build
bpo-42604: Now all platforms use a value for the “EXT_SUFFIX” build variable derived from SOABI (for instance in freeBSD, “EXT_SUFFIX” is now “.cpython-310d.so” instead of “.so”). Previosuly only Linux, Mac and VxWorks were using a value for “EXT_SUFFIX” that included “SOABI”.
bpo-42598: Fix implicit function declarations in configure which could have resulted in incorrect configuration checks. Patch contributed by Joshua Root.

Tools/Demos
bpo-42613: Fix freeze.py tool to use the prope config and library directories. Patch by Victor Stinner.


Python 3.8.7 release candidate 1

Security
bpo-42103: Prevented potential DoS attack via CPU and RAM exhaustion when processing malformed Apple Property List files in binary format.
bpo-42051: The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities. This should not affect users as entity declarations are not used in regular plist files.
bpo-40791: Add volatile to the accumulator variable in hmac.compare_digest, making constant-time-defeating optimizations less likely.

Core and Builtins
bpo-41686: On Windows, the SIGINT event, _PyOS_SigintEvent(), is now created even if Python is configured to not install signal handlers (if PyConfig.install_signal_handlers equals to 0, or Py_InitializeEx(0)).
bpo-42143: Fix handling of errors during creation of PyFunctionObject, which resulted in operations on uninitialized memory. Patch by Yonatan Goldschmidt.
bpo-41984: The garbage collector now tracks all user-defined classes. Patch by Brandt Bucher.
bpo-41909: Fixed stack overflow in issubclass() and isinstance() when getting the __bases__ attribute leads to infinite recursion.
bpo-41894: When loading a native module and a load failure occurs, prevent a possible UnicodeDecodeError when not running in a UTF-8 locale by decoding the load error message using the current locale’s encoding.

Library
bpo-17735: inspect.findsource() now raises OSError instead of IndexError when co_lineno of a code object is greater than the file length. This can happen, for example, when a file is edited after it was imported. PR by Irit Katriel.
bpo-42116: Fix handling of trailing comments by inspect.getsource().
bpo-42482: TracebackException no longer holds a reference to the exception’s traceback object. Consequently, instances of TracebackException for equivalent but non-equal exceptions now compare as equal.
bpo-42406: We fixed an issue in pickle.whichmodule in which importing multiprocessing could change the how pickle identifies which module an object belongs to, potentially breaking the unpickling of those objects.
bpo-42328: Fixed tkinter.ttk.Style.map(). The function accepts now the representation of the default state as empty sequence (as returned by Style.map()). The structure of the result is now the same on all platform and does not depend on the value of wantobjects.
bpo-42014: The onerror callback from shutil.rmtree now receives correct function when os.open fails.
bpo-42237: Fix os.sendfile() on illumos.
bpo-42249: Fixed writing binary Plist files larger than 4 GiB.
bpo-35455: On Solaris, thread_time() is now implemented with gethrvtime() because clock_gettime(CLOCK_THREAD_CPUTIME_ID) is not always available. Patch by Jakub Kulik.
bpo-41754: webbrowser: Ignore NotADirectoryError when calling xdg-settings.
bpo-29566: binhex.binhex() consisently writes macOS 9 line endings.
bpo-42183: Fix a stack overflow error for asyncio Task or Future repr().

The overflow occurs under some circumstances when a Task or Future recursively returns itself.
bpo-42103: InvalidFileException and RecursionError are now the only errors caused by loading malformed binary Plist file (previously ValueError and TypeError could be raised in some specific cases).
bpo-41491: plistlib: fix parsing XML plists with hexadecimal integer values
bpo-32498: Clearer exception message when passing an argument of type bytes to urllib.parse.unquote(). This is only for 3.8; in 3.9 and later this function accepts bytes inputs as well. PR by Irit Katriel.
bpo-42065: Fix an incorrectly formatted error from _codecs.charmap_decode() when called with a mapped value outside the range of valid Unicode code points. PR by Max Bernstein.
bpo-41966: Fix pickling pure Python datetime.time subclasses. Patch by Dean Inwood.
bpo-41976: Fixed a bug that was causing ctypes.util.find_library() to return None when triying to locate a library in an environment when gcc>=9 is available and ldconfig is not. Patch by Pablo Galindo
bpo-41900: C14N 2.0 serialisation in xml.etree.ElementTree failed for unprefixed attributes when a default namespace was defined.
bpo-41855: In importlib.metadata, fix issue where multiple children can be returned from FastPath.zip_children(). Backport of python-devs/importlib_metadata#117.
bpo-41840: Fix a bug in the symtable module that was causing module-scope global variables to not be reported as both local and global. Patch by Pablo Galindo.
bpo-41831: str() for the type attribute of the tkinter.Event object always returns now the numeric code returned by Tk instead of the name of the event type.
bpo-41662: No longer override exceptions raised in __len__() of a sequence of parameters in sqlite3 with ProgrammingError.
bpo-41662: Fixed crash when mutate list of parameters during iteration in sqlite3.
bpo-34215: Clarify the error message for asyncio.IncompleteReadError when expected is None.
bpo-41316: Fix the tarfile module to write only basename of TAR file to GZIP compression header.
bpo-12800: Extracting a symlink from a tarball should succeed and overwrite the symlink if it already exists. The fix is to remove the existing file or symlink before extraction. Based on patch by Chris AtLee, Jeffrey Kintscher, and Senthil Kumaran.
bpo-16936: Allow ctypes.wintypes to be imported on non-Windows systems.
bpo-40592: shutil.which() now ignores empty entries in PATHEXT instead of treating them as a match.
bpo-40492: Fix --outfile for cProfile / profile not writing the output file in the original directory when the program being profiled changes the working directory. PR by Anthony Sottile.
bpo-40105: ZipFile truncates files to avoid corruption when a shorter comment is provided in append (“a”) mode. Patch by Jan Mazur.
bpo-27321: Fixed KeyError exception when flattening an email to a string attempts to replace a non-existent Content-Transfer-Encoding header.
bpo-32793: Fix a duplicated debug message when smtplib.SMTP.connect() is called.

Documentation
bpo-42153: Fix the URL for the IMAP protocol documents.
bpo-41910: Document the default implementation of object.__eq__.
bpo-41774: In Programming FAQ “Sequences (Tuples/Lists)” section, add “How do you remove multiple items from a list”.
bpo-39416: Document some restrictions on the default string representations of numeric classes.

Tests
bpo-41473: Reenable test_gdb on gdb 9.2 and newer: https://bugzilla.redhat.com/show_bug.cgi?id=1866884 bug is fixed in gdb 10.1.
bpo-42553: Fix test_asyncio.test_call_later() race condition: don’t measure asyncio performance in the call_later() unit test. The test failed randomly on the CI.
bpo-40754: Include _testinternalcapi module in Windows installer for test suite
bpo-41739: Fix test_logging.test_race_between_set_target_and_flush(): the test now waits until all threads complete to avoid leaking running threads.
bpo-41944: Tests for CJK codecs no longer call eval() on content received via HTTP.
bpo-41939: Fix test_site.test_license_exists_at_url(): call urllib.request.urlcleanup() to reset the global urllib.request._opener. Patch by Victor Stinner.
bpo-41561: test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is not available
bpo-41602: Add tests for SIGINT handling in the runpy module.
bpo-41306: Fixed a failure in test_tk.test_widgets.ScaleTest happening when executing the test with Tk 8.6.10.

Build
bpo-42398: Fix a race condition in “make regen-all” when make -jN option is used to run jobs in parallel. The clinic.py script now only use atomic write to write files. Moveover, generated files are now left unchanged if the content does not change, to not change the file modification time.

Windows
bpo-42120: Remove macro definition of copysign (to _copysign) in headers.
bpo-38439: Updates the icons for IDLE in the Windows Store package.
bpo-41557: Update Windows installer to use SQLite 3.33.0.
bpo-38324: Avoid Unicode errors when accessing certain locale data on Windows.

macOS
bpo-38443: The --enable-universalsdk and --with-universal-archs options for the configure script now check that the specified architectures can be used.
bpo-41471: Ignore invalid prefix lengths in system proxy excludes.
bpo-41557: Update macOS installer to use SQLite 3.33.0.

IDLE
bpo-42426: Fix reporting offset of the RE error in searchengine.
bpo-42415: Get docstrings for IDLE calltips more often by using inspect.getdoc.
bpo-33987: Mostly finish using ttk widgets, mainly for editor, settings, and searches. Some patches by Mark Roseman.
bpo-41775: Use ‘IDLE Shell’ as shell title
bpo-40511: Typing opening and closing parentheses inside the parentheses of a function call will no longer cause unnecessary “flashing” off and on of an existing open call-tip, e.g. when typed in a string literal.
bpo-38439: Add a 256×256 pixel IDLE icon to the Windows .ico file. Created by Andrew Clover. Remove the low-color gif variations from the .ico file.

C API
bpo-41986: Py_FileSystemDefaultEncodeErrors and Py_UTF8Mode are available again in limited API.
2021-01-02 09:51:48 +00:00
ryoon
569ca500f3 rust: Update checksum patch SUBST pattern to fix build 2021-01-02 05:17:50 +00:00
he
8ae363fbe9 Upgrade rust to version 1.48.0.
Pkgsrc changes:
 * Compensate for files being moved around upstream.
 * Introduce optional, on-by-default semi-static building of cargo,
   using the internal curl and openssl sources.  This reduces the dynamic
   dependencies of cargo and therefore the rust package itself.
   Ref. options.mk.
 * The 1.47.0 bootstrap kits have been re-built with the above option
   turned on, so no longer depends on curl or openssl from pkgsrc and/or
   from earlier OS or pkgsrc versions.  This should hopefully fix
   installation of rust with non-default PREFIX, ref. PR#54453.


Upstream changes:

Version 1.48.0 (2020-11-19)
==========================

Language
--------
- [The `unsafe` keyword is now syntactically permitted on modules.][75857] This
  is still rejected *semantically*, but can now be parsed by procedural macros.

Compiler
--------
- [Stabilised the `-C link-self-contained=<yes|no>` compiler flag.][76158]
  This tells `rustc` whether to link its own C runtime and libraries
  or to rely on a external linker to find them. (Supported only on
  `windows-gnu`, `linux-musl`, and `wasi` platforms.)
- [You can now use `-C target-feature=+crt-static` on `linux-gnu` targets.]
  [77386]
  Note: If you're using cargo you must explicitly pass the `--target` flag.
- [Added tier 2\* support for `aarch64-unknown-linux-musl`.][76420]

\* Refer to Rust's [platform support page][forge-platform-support] for more
information on Rust's tiered platform support.

Libraries
---------
- [`io::Write` is now implemented for `&ChildStdin` `&Sink`, `&Stdout`,
  and `&Stderr`.][76275]
- [All arrays of any length now implement `TryFrom<Vec<T>>`.][76310]
- [The `matches!` macro now supports having a trailing comma.][74880]
- [`Vec<A>` now implements `PartialEq<[B]>` where `A: PartialEq<B>`.][74194]
- [The `RefCell::{replace, replace_with, clone}` methods now all use
  `#[track_caller]`.][77055]

Stabilized APIs
---------------
- [`slice::as_ptr_range`]
- [`slice::as_mut_ptr_range`]
- [`VecDeque::make_contiguous`]
- [`future::pending`]
- [`future::ready`]

The following previously stable methods are now `const fn`'s:

- [`Option::is_some`]
- [`Option::is_none`]
- [`Option::as_ref`]
- [`Result::is_ok`]
- [`Result::is_err`]
- [`Result::as_ref`]
- [`Ordering::reverse`]
- [`Ordering::then`]

Cargo
-----

Rustdoc
-------
- [You can now link to items in `rustdoc` using the intra-doc link
  syntax.][74430] E.g. ``/// Uses [`std::future`]`` will automatically generate
  a link to `std::future`'s documentation. See ["Linking to items by
  name"][intradoc-links] for more information.
- [You can now specify `#[doc(alias = "<alias>")]` on items to add
  search aliases when searching through `rustdoc`'s UI.][75740]

Compatibility Notes
-------------------
- [Promotion of references to `'static` lifetime inside `const fn`
  now follows the same rules as inside a `fn` body.][75502] In
  particular, `&foo()` will not be promoted to `'static` lifetime
  any more inside `const fn`s.
- [Associated type bindings on trait objects are now verified to meet the bounds
  declared on the trait when checking that they implement the trait.][27675]
- [When trait bounds on associated types or opaque types are ambiguous, the
  compiler no longer makes an arbitrary choice on which bound to use.][54121]
- [Fixed recursive nonterminals not being expanded in macros during
  pretty-print/reparse check.][77153] This may cause errors if your macro wasn't
  correctly handling recursive nonterminal tokens.
- [`&mut` references to non zero-sized types are no longer promoted.][75585]
- [`rustc` will now warn if you use attributes like `#[link_name]` or `#[cold]`
  in places where they have no effect.][73461]
- [Updated `_mm256_extract_epi8` and `_mm256_extract_epi16` signatures in
  `arch::{x86, x86_64}` to return `i32` to match the vendor signatures.][73166]
- [`mem::uninitialized` will now panic if any inner types inside
  a struct or enum disallow zero-initialization.][71274]
- [`#[target_feature]` will now error if used in a place where it
  has no effect.][78143]
- [Foreign exceptions are now caught by `catch_unwind` and will
  cause an abort.][70212] Note: This behaviour is not guaranteed
  and is still considered undefined behaviour, see the [`catch_unwind`]
  documentation for further information.

Internal Only
-------------
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of rustc and
related tools.

- [Building `rustc` from source now uses `ninja` by default over `make`.][74922]
  You can continue building with `make` by setting `ninja=false` in
  your `config.toml`.
- [cg_llvm: `fewer_names` in `uncached_llvm_type`][76030]
- [Made `ensure_sufficient_stack()` non-generic][76680]

[78143]: https://github.com/rust-lang/rust/issues/78143
[76680]: https://github.com/rust-lang/rust/pull/76680/
[76030]: https://github.com/rust-lang/rust/pull/76030/
[70212]: https://github.com/rust-lang/rust/pull/70212/
[27675]: https://github.com/rust-lang/rust/issues/27675/
[54121]: https://github.com/rust-lang/rust/issues/54121/
[71274]: https://github.com/rust-lang/rust/pull/71274/
[77386]: https://github.com/rust-lang/rust/pull/77386/
[77153]: https://github.com/rust-lang/rust/pull/77153/
[77055]: https://github.com/rust-lang/rust/pull/77055/
[76275]: https://github.com/rust-lang/rust/pull/76275/
[76310]: https://github.com/rust-lang/rust/pull/76310/
[76420]: https://github.com/rust-lang/rust/pull/76420/
[76158]: https://github.com/rust-lang/rust/pull/76158/
[75857]: https://github.com/rust-lang/rust/pull/75857/
[75585]: https://github.com/rust-lang/rust/pull/75585/
[75740]: https://github.com/rust-lang/rust/pull/75740/
[75502]: https://github.com/rust-lang/rust/pull/75502/
[74880]: https://github.com/rust-lang/rust/pull/74880/
[74922]: https://github.com/rust-lang/rust/pull/74922/
[74430]: https://github.com/rust-lang/rust/pull/74430/
[74194]: https://github.com/rust-lang/rust/pull/74194/
[73461]: https://github.com/rust-lang/rust/pull/73461/
[73166]: https://github.com/rust-lang/rust/pull/73166/
[intradoc-links]: https://doc.rust-lang.org/rustdoc/linking-to-items-by-name.html
[`catch_unwind`]: https://doc.rust-lang.org/std/panic/fn.catch_unwind.html
[`Option::is_some`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.is_some
[`Option::is_none`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.is_none
[`Option::as_ref`]: https://doc.rust-lang.org/std/option/enum.Option.html#method.as_ref
[`Result::is_ok`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.is_ok
[`Result::is_err`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.is_err
[`Result::as_ref`]: https://doc.rust-lang.org/std/result/enum.Result.html#method.as_ref
[`Ordering::reverse`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.reverse
[`Ordering::then`]: https://doc.rust-lang.org/std/cmp/enum.Ordering.html#method.then
[`slice::as_ptr_range`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_ptr_range
[`slice::as_mut_ptr_range`]: https://doc.rust-lang.org/std/primitive.slice.html#method.as_mut_ptr_range
[`VecDeque::make_contiguous`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.make_contiguous
[`future::pending`]: https://doc.rust-lang.org/std/future/fn.pending.html
[`future::ready`]: https://doc.rust-lang.org/std/future/fn.ready.html
2021-01-01 20:44:48 +00:00
ryoon
bfac3f1b42 *: Recursive revbump from audio/pulseaudio-14.0 2021-01-01 09:52:09 +00:00
mef
297020c9ea (lang/R-cpp11) Added lang/R-cpp11 version 0.2.4 2021-01-01 05:11:35 +00:00
mef
7ba662c1c8 (lang/R-cpp11) import R-cpp11-0.2.4
Provides a header only, C++11 interface to R's C interface.  Compared
to other approaches 'cpp11' strives to be safe against long jumps from
the C API as well as C++ exceptions, conform to normal R function
semantics and supports interaction with 'ALTREP' vectors.
2021-01-01 05:09:26 +00:00
fcambus
166f5794a7 gnucobol: update to 3.1.2.
ChangeLog:

2020-12-23  Simon Sobisch <simonsobisch@gnu.org>

	* configure.ac: version 3.1.2

2020-12-15  Simon Sobisch <simonsobisch@gnu.org>

	* configure.ac: fixed use of MPIR_LIBS
2020-12-31 22:16:15 +00:00
nia
2c8d590893 Normalize handling packages that require 64-bit atomic ops. 2020-12-31 20:04:11 +00:00
taca
ce30d80d81 lang/ruby: correct list of commands
Correctly update list of commands.

Bump PKGREVISION.
2020-12-30 14:15:02 +00:00
gutteridge
7246e7cfd7 mozjs78: further SunOS build fixes
This results in a successful build and a js78 executable that runs in
my test environment (the most recent OmniOS release). However, test
suite execution yields an immediate failure with the message "too much
recursion", so it seems more work is still required here.
2020-12-30 06:10:37 +00:00
gutteridge
d1f30eed5e mozjs78: build fix: SunOS doesn't have open_memstream() 2020-12-29 02:04:47 +00:00
nia
5b1accc7d6 rust: likely doesn't work on softfloat ARM, explicitly specify earmv7hf 2020-12-26 10:04:51 +00:00
nia
c20c704675 ocaml: Fix PLIST on 32-bit NetBSD/arm. 2020-12-26 08:36:18 +00:00
mlelstv
b319383137 Complete PLIST to fix build. 2020-12-23 15:44:16 +00:00
adam
4164394142 nodejs: updated to 14.15.3
Version 14.15.3 'Fermium' (LTS)

Notable Changes

Node.js v14.15.2 included a commit that has caused reported breakages when cloning request objects. This release reverts the commit that introduced the behaviour change. See https://github.com/nodejs/node/issues/36550 for more details.
2020-12-21 09:41:32 +00:00
bsiegert
66a77d22ed Default to go116 on Darwin-*-aarch64 2020-12-19 18:03:52 +00:00