Commit Graph

15036 Commits

Author SHA1 Message Date
taca 1b744b0ef3 lang/pear: update to 1.10.15
Also update bundled PEAR package Archive_Tar to 1.5.0.

PEAR 1.10.15 (2024-03-09)

* PR #132: cleanup uneeded test
* PR #135: Fix PHP Deprecated: Calling get_class() without arguments

Archive_Tar 1.5.0 (2024-03-16)

* PHP Version: PHP 5.2.0 or newer
* PEAR Package: PEAR Installer 1.9.0 or newer
2024-03-23 15:33:42 +00:00
taca b3b1a9f39d lang/ruby33: fix CVE-2024-27281
Update rdoc to 6.6.3.1 to fix for CVE-2024-27281.

Bump PKGREVISION.
2024-03-23 15:15:51 +00:00
taca 366925c67c lang/ruby32-base: fix CVE-2024-27281
Update rdoc to 6.5.1.1 to fix for CVE-2024-27281.

Bump PKGREVISION.
2024-03-23 14:47:12 +00:00
taca 7d0329451d lang/ruby31-base: fix CVE-2024-27280 and CVE-2024-27281
Update rdoc to 6.4.1.1 to fix for CVE-2024-27281.
Update stringio to 3.0.1.2 to fix for CVE-2024-27280.

Bump PKGREVISION.
2024-03-23 14:28:48 +00:00
adam f7f754a594 py-uncompyle6: updated to 3.9.1
3.9.1

Lots of changes major changes. track xdis API has changes.

Separate Phases more clearly:

disassembly
tokenization
parsing
abstracting to AST (more is done in newer projects)
printing
Although we do not decompile bytecode greater than 3.8, code supports running from up to 3.12.

Many bugs fixed.

A lot of Linting and coding style modernization.

Work done in preparation for Blackhat Asia 2024
2024-03-23 07:15:01 +00:00
nia b65b72d2eb rust: Make the list of supported platforms constant, requested by gdt. 2024-03-21 02:14:14 +00:00
adam 086abebb03 python310 py310-html-docs: updated to 3.10.14
Python 3.10.14

Security

gh-115398: Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:
xml.etree.ElementTree.XMLParser.flush()
xml.etree.ElementTree.XMLPullParser.flush()
xml.parsers.expat.xmlparser.GetReparseDeferralEnabled()
xml.parsers.expat.xmlparser.SetReparseDeferralEnabled()
xml.sax.expatreader.ExpatParser.flush()
gh-115399: Update bundled libexpat to 2.6.0
gh-114572: ssl.SSLContext.cert_store_stats() and ssl.SSLContext.get_ca_certs() now correctly lock access to the certificate store, when the ssl.SSLContext is shared across multiple threads.
gh-113659: Skip .pth files with names starting with a dot or hidden file attribute.

Core and Builtins

gh-102388: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds

Library

gh-115197: urllib.request no longer resolves the hostname before checking it against the system’s proxy bypass list on macOS and Windows.
gh-115133: Fix tests for XMLPullParser with Expat 2.6.0.
gh-81194: Fix a crash in socket.if_indextoname() with specific value (UINT_MAX). Fix an integer overflow in socket.if_indextoname() on 64-bit non-Windows platforms.
gh-109858: Protect zipfile from “quoted-overlap” zipbomb. It now raises BadZipFile when try to read an entry that overlaps with other entry or central directory.
gh-91133: Fix a bug in tempfile.TemporaryDirectory cleanup, which now no longer dereferences symlinks when working around file system permission errors.

Documentation

gh-115399: Document CVE-2023-52425 of Expat <2.6.0 under “XML vulnerabilities”.

Windows

gh-111239: Update Windows builds to use zlib v1.3.1.
gh-109991: Windows builds now use OpenSSL 1.1.1w. Note that OpenSSL 1.1 has reached its end of life and no future fixes will be made, and this version of Python is no longer receiving maintenance fixes and will not be updated to OpenSSL 3.0.

Tools/Demos

gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use 1.1.1w, 3.0.11, and 3.1.3.
2024-03-20 15:42:25 +00:00
adam 8b0198406d python39 py39-html-docs: updated to 3.9.19
Python 3.9.19

Security

gh-115398: Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

xml.etree.ElementTree.XMLParser.flush()
xml.etree.ElementTree.XMLPullParser.flush()
xml.parsers.expat.xmlparser.GetReparseDeferralEnabled()
xml.parsers.expat.xmlparser.SetReparseDeferralEnabled()
xml.sax.expatreader.ExpatParser.flush()
gh-115399: Update bundled libexpat to 2.6.0
gh-113659: Skip .pth files with names starting with a dot or hidden file attribute.

Core and Builtins

gh-102388: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds

Library

gh-115197: urllib.request no longer resolves the hostname before checking it against the system’s proxy bypass list on macOS and Windows.
gh-115133: Fix tests for XMLPullParser with Expat 2.6.0.
gh-81194: Fix a crash in socket.if_indextoname() with specific value (UINT_MAX). Fix an integer overflow in socket.if_indextoname() on 64-bit non-Windows platforms.
gh-109858: Protect zipfile from “quoted-overlap” zipbomb. It now raises BadZipFile when try to read an entry that overlaps with other entry or central directory.
gh-107077: Seems that in some conditions, OpenSSL will return SSL_ERROR_SYSCALL instead of SSL_ERROR_SSL when a certification verification has failed, but the error parameters will still contain ERR_LIB_SSL and SSL_R_CERTIFICATE_VERIFY_FAILED. We are now detecting this situation and raising the appropiate ssl.SSLCertVerificationError. Patch by Pablo Galindo
gh-91133: Fix a bug in tempfile.TemporaryDirectory cleanup, which now no longer dereferences symlinks when working around file system permission errors.

Documentation

gh-115399: Document CVE-2023-52425 of Expat <2.6.0 under “XML vulnerabilities”.

Windows

gh-111239: Update Windows builds to use zlib v1.3.1.
gh-109991: Windows builds now use OpenSSL 1.1.1w. Note that OpenSSL 1.1 has reached its end of life and no future fixes will be made, and this version of Python is no longer receiving maintenance fixes and will not be updated to OpenSSL 3.0.

Tools/Demos

gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use 1.1.1w and 3.0.11.
2024-03-20 15:41:01 +00:00
adam 4c4589cf2c python38 py38-html-docs: updated to 3.8.19
Python 3.8.19

Security

gh-115398: Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

xml.etree.ElementTree.XMLParser.flush()
xml.etree.ElementTree.XMLPullParser.flush()
xml.parsers.expat.xmlparser.GetReparseDeferralEnabled()
xml.parsers.expat.xmlparser.SetReparseDeferralEnabled()
xml.sax.expatreader.ExpatParser.flush()
gh-115399: Update bundled libexpat to 2.6.0
gh-113659: Skip .pth files with names starting with a dot or hidden file attribute.

Core and Builtins

gh-102388: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds

Library

gh-115197: urllib.request no longer resolves the hostname before checking it against the system’s proxy bypass list on macOS and Windows.
gh-115133: Fix tests for XMLPullParser with Expat 2.6.0.
gh-81194: Fix a crash in socket.if_indextoname() with specific value (UINT_MAX). Fix an integer overflow in socket.if_indextoname() on 64-bit non-Windows platforms.
gh-109858: Protect zipfile from “quoted-overlap” zipbomb. It now raises BadZipFile when try to read an entry that overlaps with other entry or central directory.
gh-107077: Seems that in some conditions, OpenSSL will return SSL_ERROR_SYSCALL instead of SSL_ERROR_SSL when a certification verification has failed, but the error parameters will still contain ERR_LIB_SSL and SSL_R_CERTIFICATE_VERIFY_FAILED. We are now detecting this situation and raising the appropiate ssl.SSLCertVerificationError. Patch by Pablo Galindo
gh-91133: Fix a bug in tempfile.TemporaryDirectory cleanup, which now no longer dereferences symlinks when working around file system permission errors.

Documentation

gh-115399: Document CVE-2023-52425 of Expat <2.6.0 under “XML vulnerabilities”.

Tests

gh-108310: SSL tests for pre-handshake close were previously not enabled on Python 3.8 due to an incorrect backport. This is now fixed. Patch by Lumír Balhar.

Windows

gh-111239: Update Windows builds to use zlib v1.3.1.
gh-109991: Windows builds now use OpenSSL 1.1.1w. Note that OpenSSL 1.1 has reached its end of life and no future fixes will be made, and this version of Python is no longer receiving maintenance fixes and will not be updated to OpenSSL 3.0.
2024-03-20 15:39:02 +00:00
adam 4f2d6a0e27 nodejs: updated to 21.7.1
Version 21.7.1 (Current)

Notable Changes
This release reverts 51389, which landed in Node.js 21.7.0. It is a documented feature that t.after() hooks are run even if a test has no subtests. The hook can be used to clean up the test itself.
2024-03-20 13:39:22 +00:00
wiz 6e9c608c50 elixir: update to 1.16.2.
1. Enhancements

Elixir

    [Code] Emit :defmodule tracing event on module definition

Mix

    [Mix] Add Mix.install_project_dir/0
    [Mix] Add environment variable for reusing Mix.install/2 installation
    [Mix.SCM] Add Mix.SCM.delete/1

2. Bug fixes

Elixir

    [Code] Fix charlist formatting issue when a single-quoted charlist escapes a double-quote character
    [Path] Fix regression on how Path.relative_to/2 dealt with "." as input

IEx

    [IEx.Helpers] Discard mermaid fenced blocks from ansi docs

ExUnit

    [ExUnit] Properly compared pinned values when building diffs
2024-03-20 11:36:49 +00:00
wiz 4aa40f1c0b bython: fix HOMEPAGE, fix typo 2024-03-20 06:40:07 +00:00
mef ece61dbeae Added lang/bython version 0.8 2024-03-20 04:08:24 +00:00
mef 451141b223 (lang/bython) import bython-0.8
Python with braces. Because Python is awesome, but whitespace is awful.

Bython is a Python preprosessor which translates curly brackets into
indentation.
2024-03-20 04:05:47 +00:00
nia 125861387f rust: More realistic list of supported platforms. 2024-03-19 11:18:49 +00:00
adam 0fd86c38ce py-pyformlang: updated to 1.0.9
1.0.9
Unknown changes
2024-03-18 18:34:29 +00:00
ryoon fcec46cc37 lang/openjdk8: Update to 1.8.402
Changelog:
Updated BSD port of JDK 8

Additional features include:

    Updated to 8u402 GA
    Add support for building with clang 16
2024-03-18 15:42:34 +00:00
ryoon c66a35ccb1 lang/openjdk11: Update to 1.11.0.22.7
Changelog:
Updated BSD port of JDK 11

Additional features include:

    Update to 11.0.22 GA
    Add support for building with clang 16
2024-03-18 15:27:49 +00:00
ryoon 0843847f93 lang/openjdk17: Update to 1.17.0.10.7
Changelog:
Updated BSD port of JDK 17

Additional features include:

    Update to 17.0.10 GA
    Fixes for compilation with LLVM 16 and 17
    Build fixes for OpenBSD
    Working extended file attribute support for FreeBSD
2024-03-18 15:25:48 +00:00
ryoon de3155b1a5 lang/openjdk21: Update to 1.21.0.2.13
Changelog:
Updated BSD port of JDK 21

Additional features include:

    Update to 21.0.2 GA
    Fixes for compilation with LLVM 16 and 17
    Working extended file attribute support for FreeBSD
2024-03-18 15:24:10 +00:00
jklos 3e3817ec4a Fix forgotten part of php update to 8.3.4. 2024-03-17 19:19:38 +00:00
nia 044527f1ce erlang: Spell "version" properly. 2024-03-17 18:35:50 +00:00
nia aa9c2c7c60 erlang: Only use kernel-poll when erlang finds the implementation acceptable. 2024-03-17 18:34:26 +00:00
taca 33d55db832 lang/php83: update to 8.3.4
PHP 8.3.4 (2024-03-14)

- Core:
  . Fix ZTS persistent resource crashes on shutdown. (nielsdos)

- Curl:
  . Fix failing tests due to string changes in libcurl 8.6.0. (Ayesh)

- DOM:
  . Fix unlikely memory leak in case of namespace removal with extremely deep
    trees. (nielsdos)
  . Fix reference access in dimensions for DOMNodeList and DOMNodeMap.
    (nielsdos)

- Fileinfo:
  . Fixed bug GH-13344 (finfo::buffer(): Failed identify data 0:(null),
    backport). (nielsdos)

- FPM:
  . Fixed bug #75712 (getenv in php-fpm should not read $_ENV, $_SERVER).
    (Jakub Zelenka)

- GD:
  . Fixed bug GH-12019 (detection of image formats in system gd library).
    (Michael Orlitzky)

- MySQLnd:
  . Fixed bug GH-11950 ([mysqlnd] Fixed not to set CR_MALFORMED_PACKET to error
    if CR_SERVER_GONE_ERROR is already set). (Saki Takamachi)

- PDO:
  . Fix various PDORow bugs. (Girgias)

- PGSQL:
  . Fixed bug GH-13354 (pg_execute/pg_send_query_params/pg_send_execute
    with null value passed by reference). (George Barbarosie)

- SPL:
  . Fixed bug GH-13531 (Unable to resize SplfixedArray after being unserialized
    in PHP 8.2.15). (nielsdos)

- Standard:
  . Fixed bug GH-13279 (Instable array during in-place modification in uksort).
    (ilutov)
  . Fixed array key as hash to string (case insensitive) comparison typo
    for the second operand buffer size (albeit unused for now). (A. Slepykh)

- XML:
  . Fixed bug GH-13517 (Multiple test failures when building with
    --with-expat). (nielsdos)
2024-03-17 16:48:19 +00:00
taca a9676f5ab4 lang/php82: update to 8.2.17
PHP 8.2.17 (2024-03-14)

- Core:
  . Fix ZTS persistent resource crashes on shutdown. (nielsdos)

- Curl:
  . Fix failing tests due to string changes in libcurl 8.6.0. (Ayesh)

- DOM:
  . Fix reference access in dimensions for DOMNodeList and DOMNodeMap.
    (nielsdos)

- Fileinfo:
  . Fixed bug GH-13344 (finfo::buffer(): Failed identify data 0:(null),
    backport). (nielsdos)

- FPM:
  . Fixed bug #75712 (getenv in php-fpm should not read $_ENV, $_SERVER).
    (Jakub Zelenka)

- GD:
  . Fixed bug GH-12019 (detection of image formats in system gd library).
    (Michael Orlitzky)

- MySQLnd:
  . Fixed bug GH-11950 ([mysqlnd] Fixed not to set CR_MALFORMED_PACKET to error
    if CR_SERVER_GONE_ERROR is already set). (Saki Takamachi)

- PGSQL:
  . Fixed bug GH-13354 (pg_execute/pg_send_query_params/pg_send_execute
    with null value passed by reference). (George Barbarosie)

- Standard:
  . Fixed array key as hash to string (case insensitive) comparison typo
    for the second operand buffer size (albeit unused for now). (A. Slepykh)
2024-03-17 16:46:05 +00:00
wiz 36dff1e6af py-lsp-server: update to 1.10.1.
This is a minor bugfix release that:

    Fixes progress reporting with the autoimport plugin.
    Improves an error message about missing websockets module.
2024-03-17 14:04:39 +00:00
wiz 3b94362c10 erlang-*: update to 26.2.3 2024-03-12 08:21:22 +00:00
wiz d985eb9569 erlang: update to 26.2.3.
Bugfix release.
2024-03-12 08:18:22 +00:00
adam f2c3afc3d6 py-mypy: updated to 1.9.0
Mypy 1.9

Basic Support for Type Parameter Defaults (PEP 696)
Type-checking Improvements
Performance Improvements
Documentation Updates
Stubtest Improvements
Stubgen Improvements
2024-03-11 08:40:09 +00:00
wiz 6968882356 lang/joker: Update to 1.3.5
From Kevin Bloom via wip.

Fixed joker.json/write-string serializing empty collections as null.
2024-03-11 07:44:15 +00:00
he b4a835c235 lang/rust: move conditional for sparc64 to after when options are known. 2024-03-10 21:24:36 +00:00
mef 2638f685db (lang/rakudo) Updated 2024.01 to 2024.02
Rakudo compiler, Release #169 (2024.02)

2024-02-29

On behalf of the Rakudo development team, I?m very happy to announce the
February 2024 release of Rakudo #169. Rakudo is an implementation of the Raku1
language.

The source tarball for this release is available from https://rakudo.org/files/
rakudo. Pre-compiled archives will be available shortly.

New in 2024.02:

  * Improvements:

      + Better errors for common array parameter mistakes [47fb8c35]
      + Improve stability in heavy async situations [761153bc][5c289878]
  * Additions:

      + Add Int/Real coercing versions of infix:<div|mod> [71c0151a]
      + Implement sub form of &trans, mainly to support feed operators
        [b238fad8]
      + Provide native int coercers to Int/Cool [a67842ac][1eaa9d71][dc5414d6]
  * Fixes:

      + Avoid leaking repo.lock handle [155818f4][e6207699][7ca96bbd][a723c387]
  * Deprecations:

  * Internal:

      + Document and/or streamline dispatchers and related [d176728c][78d4fbc0]
        [344f7978][e6fd943f][02bc10c2][ccbe370a][07049e7f][b151e2d7][35760ceb]
      + Streamline "core" (bootstrap, core, metamodel) [51297879][bae06a2c]
        [6117df24][e93208ce][b0dd4ef4][6b231533][024212cd][8e840a51][19da50e3]
        [88151678][975b6634][1dfd7b4b][9f0d361b][80ac4336][760e7a72][eef53371]
        [02aaf9e9][0b759a7a][614571d2][67153138][4c86ef77][dab2c235][c944dae4]
        [2e4113c5][69877047][d49cd4e0][9a828454][de923f1b][1ce9b4c6][3c9f07a8]
        [24a1e67c][4181d461][2c64cbc7][4f64b487][5585454f][cf773dc2][68cd850f]
        [fd936efe][04229899][3c218265][192d7d0a][3271329c][71dcfd42][52dfda3f]
        [b720babd][9f7a3419]
  * RakuAST Development:

      + RakuAST: some nano optimizations [9478d5c7]

	See following page for more info
	https://rakudo.org/post/announce-rakudo-release-2024.02
2024-03-09 07:04:37 +00:00
mef 58136674a5 (lang/nqp) Updated 2024.01 to 2024.02, ChangeLog unknown 2024-03-09 05:23:51 +00:00
wiz 0d735dda7d gcc13-gnat: remove override for gcc.mk that was necessary in wip 2024-03-08 13:25:12 +00:00
wiz 7043f89654 lang/Makefile: + gcc13-gnat 2024-03-08 12:02:57 +00:00
wiz 1a3145050f lang/gcc13-gnat: import gcc13-gnat-13.2.0
Packaged by Dmytro Kazankov for wip.

The GNU Compiler Collection (GCC)

This package contains GNAT compiler and Ada tools
2024-03-08 12:02:32 +00:00
adam f268b03629 nodejs: updated to 21.7.0
Version 21.7.0 (Current)

Text Styling
Loading and parsing environment variables
Support for multi-line values for .env file
sea: support embedding assets
vm: support using the default loader to handle dynamic import()
crypto: implement crypto.hash()
2024-03-07 17:07:43 +00:00
adam 4b6c699da5 py-test-mypy-testing: updated to 0.1.3
v0.1.3 (2024-03-05)

Replace usage of deprecated path argument to pytest hook pytest_collect_file() with usage of the file_path argument introduced in pytest 7
2024-03-06 18:59:00 +00:00
adam 192dbd4a25 vala: updated to 0.56.15
Vala 0.56.15
============
 * Various improvements and bug fixes:
  - codegen:
    + Use GWeakRef for [SingleInstance] constructors
    + Remove static mutex initialization
    + Correctly return FALSE on uncaught error in async ctor
    + Cast generic return value from g_ptr_array_index()
    + Don't use pre-assigned *_parent_iface field if an instance is given
    + Emit diagnostic pragmas for GCC 14, Clang 16 compatibility
  - vala:
    + Keep depfile empty if no dependencies were written
    + Treat negative integer/float ranks as non-compatible
    + Move formal_target_type when transforming method-call/object-creation
    + Follow the logic of GIrParser.locate_gir() to find gir files
  - girparser:
    + Don't blindly translate utf8 to string and check the ctype too
    + Issue a warning for `record` inside `transparent union`
    + Don't discard explictly given ctype of parameters
  - libvaladoc: Fix build with graphviz >= 10.0.1

 * Bindings:
  - glib-2.0,posix: Define _GNU_SOURCE for sincos*()
  - gio-2.0: Fix pointer-sign errors of some uint8[]-typed paramters
  - gio-2.0,gmodule-2.0: Update from 2.79.x git
  - gmodule-2.0: Improvements and updates from 2.76
  - gtk4: Fix GLib.Value parameter in Expression.evaluate()
  - gtk4: Update to 4.13.9~f46fb7c6
  - libsoup-3.0: Don't skip uri_copy
  - v4l2: Fix FrameivalEnum.stepwise type mismatch with v4l2_frmivalenum
2024-03-06 18:35:10 +00:00
bsiegert 41058fff99 go122: update to 1.22.1 (security)
This minor release includes 5 security fixes following the security policy:

- crypto/x509: Verify panics on certificates with an unknown public key
  algorithm

  Verifying a certificate chain which contains a certificate with an unknown
  public key algorithm will cause Certificate.Verify to panic.

  This affects all crypto/tls clients, and servers that set Config.ClientAuth
  to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default
  behavior is for TLS servers to not verify client certificates.

  Thanks to John Howard (Google) for reporting this issue.

  This is CVE-2024-24783 and Go issue https://go.dev/issue/65390.

- net/http: memory exhaustion in Request.ParseMultipartForm

  When parsing a multipart form (either explicitly with
  Request.ParseMultipartForm or implicitly with Request.FormValue,
  Request.PostFormValue, or Request.FormFile), limits on the total size of the
  parsed form were not applied to the memory consumed while reading a single
  form line. This permitted a maliciously crafted input containing very long
  lines to cause allocation of arbitrarily large amounts of memory, potentially
  leading to memory exhaustion.

  ParseMultipartForm now correctly limits the maximum size of form lines.

  Thanks to Bartek Nowotarski for reporting this issue.

  This is CVE-2023-45290 and Go issue https://go.dev/issue/65383.

- net/http, net/http/cookiejar: incorrect forwarding of sensitive headers and
  cookies on HTTP redirect

  When following an HTTP redirect to a domain which is not a subdomain match or
  exact match of the initial domain, an http.Client does not forward sensitive
  headers such as "Authorization" or "Cookie". For example, a redirect from
  foo.com to www.foo.com will forward the Authorization header, but a redirect
  to bar.com will not.

  A maliciously crafted HTTP redirect could cause sensitive headers to be
  unexpectedly forwarded.

  Thanks to Juho Nurminen of Mattermost for reporting this issue.

  This is CVE-2023-45289 and Go issue https://go.dev/issue/65065.

- html/template: errors returned from MarshalJSON methods may break template
  escaping

  If errors returned from MarshalJSON methods contain user controlled data,
  they may be used to break the contextual auto-escaping behavior of the
  html/template package, allowing for subsequent actions to inject unexpected
  content into templates.

  Thanks to RyotaK (https://ryotak.net) for reporting this issue.

  This is CVE-2024-24785 and Go issue https://go.dev/issue/65697.

- net/mail: comments in display names are incorrectly handled

  The ParseAddressList function incorrectly handles comments (text within
  parentheses) within display names. Since this is a misalignment with
  conforming address parsers, it can result in different trust decisions being
  made by programs using different parsers.

  Thanks to Juho Nurminen of Mattermost and Slonser
  (https://github.com/Slonser) for reporting this issue.

  This is CVE-2024-24784 and Go issue https://go.dev/issue/65083.
2024-03-05 19:37:52 +00:00
bsiegert c20f64de44 go121: update to 1.21.8 (security)
This minor release includes 5 security fixes following the security policy:

- crypto/x509: Verify panics on certificates with an unknown public key
  algorithm

  Verifying a certificate chain which contains a certificate with an unknown
  public key algorithm will cause Certificate.Verify to panic.

  This affects all crypto/tls clients, and servers that set Config.ClientAuth
  to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default
  behavior is for TLS servers to not verify client certificates.

  Thanks to John Howard (Google) for reporting this issue.

  This is CVE-2024-24783 and Go issue https://go.dev/issue/65390.

- net/http: memory exhaustion in Request.ParseMultipartForm

  When parsing a multipart form (either explicitly with
  Request.ParseMultipartForm or implicitly with Request.FormValue,
  Request.PostFormValue, or Request.FormFile), limits on the total size of the
  parsed form were not applied to the memory consumed while reading a single
  form line. This permitted a maliciously crafted input containing very long
  lines to cause allocation of arbitrarily large amounts of memory, potentially
  leading to memory exhaustion.

  ParseMultipartForm now correctly limits the maximum size of form lines.

  Thanks to Bartek Nowotarski for reporting this issue.

  This is CVE-2023-45290 and Go issue https://go.dev/issue/65383.

- net/http, net/http/cookiejar: incorrect forwarding of sensitive headers and
  cookies on HTTP redirect

  When following an HTTP redirect to a domain which is not a subdomain match or
  exact match of the initial domain, an http.Client does not forward sensitive
  headers such as "Authorization" or "Cookie". For example, a redirect from
  foo.com to www.foo.com will forward the Authorization header, but a redirect
  to bar.com will not.

  A maliciously crafted HTTP redirect could cause sensitive headers to be
  unexpectedly forwarded.

  Thanks to Juho Nurminen of Mattermost for reporting this issue.

  This is CVE-2023-45289 and Go issue https://go.dev/issue/65065.

- html/template: errors returned from MarshalJSON methods may break template
  escaping

  If errors returned from MarshalJSON methods contain user controlled data,
  they may be used to break the contextual auto-escaping behavior of the
  html/template package, allowing for subsequent actions to inject unexpected
  content into templates.

  Thanks to RyotaK (https://ryotak.net) for reporting this issue.

  This is CVE-2024-24785 and Go issue https://go.dev/issue/65697.

- net/mail: comments in display names are incorrectly handled

  The ParseAddressList function incorrectly handles comments (text within
  parentheses) within display names. Since this is a misalignment with
  conforming address parsers, it can result in different trust decisions being
  made by programs using different parsers.

  Thanks to Juho Nurminen of Mattermost and Slonser
  (https://github.com/Slonser) for reporting this issue.

  This is CVE-2024-24784 and Go issue https://go.dev/issue/65083.
2024-03-05 19:27:58 +00:00
nikita e3a9130675 gleam: update to version 1.0.0
Changelog:

## v1.0.0 - 2024-03-04

### Language changes

- Comments have been added to the JavaScript prelude to indicate which members
  are in the public API and which are internal.

### Build tool

- Fixed a bug where the exported package interface would not have a module's
  documentation.

## v1.0.0-rc2 - 2024-02-14

### Bug fixes

- Fixed a bug where the exhaustiveness checker could crash for some generic
  types.

### Formatter

- The format used by the formatter has been improved in some niche cases.

## v1.0.0-rc1 - 2024-02-10

### Language changes

- Using a reserved word is now a compile error, not a warning.
- Inexhaustive matches are now compile errors, not warnings.
- The warning for an unused module alias now shows how to not assign a name to
  the module.
- Type aliases with unused type parameters now emit an error.
- Type definitions with duplicate type parameters now emit an error.

### Formatter

- Now the formatter will nest pipelines and binary operators that are used as
  function arguments, list items or as tuple items.
- The format function literals used as the last argument in a function call
  on long lines has been improved.

### Build tool

- If a package contains a `todo` expression then the build tool will now refuse
  to publish it to Hex.
- The search bar in generated docs now has a darker background color.
- `gleam export` now takes a `package-interface` option to export a json file
  containing metadata about the root package.
- `gleam docs build` now creates a json file containing metadata about the root
  package.
- The order of dependencies in `manifest.toml` is now in alphabetical order.
- The search bar in generated docs now has a darker background color.
- The generated docs no longer shows whether an argument is discarded or
  not in a function signature.
- It is now possible to use `gleam run -m` to run a dependency module even if
  that dependency uses a compile target that your project does not support.

### Bug fixes

- Fixed a bug the build tool could be make to attempt to run a main function
  that does not support the current target in some circumstances.
- Fixed a bug where the exhaustiveness checker could crash when checking nested
  values inserted into the parent type using type parameters.
- Fixed a bug where `functionname(_name)` would incorrectly parse as a function
  capture instead of a syntax error.
- Fixed a bug where external only functions would "successfully" compile for a
  target they do not support, leading to a runtime error.
2024-03-05 16:39:18 +00:00
wiz cab95c5f5b gcc*: fix variable comparison
From RVP in PR 57998.
2024-03-05 15:26:41 +00:00
he dd1bb93820 lang/rust: use += for GCC_REQD (applicable only for sparc64). 2024-03-04 16:01:07 +00:00
riastradh 575f1b917b lang/racket, lang/racket-textual: Try to make this build on macOS.
Don't have macOS handy to test but it looks like this'll be required,
judging by the bulk logs.  Worst case, the build will fail in a
different way on macOS.
2024-03-04 15:38:33 +00:00
riastradh 002467ca98 lang/racket: Use ${PREFIX}, not my dev tree in my home directory!
Not sure how I managed to break this for lang/racket, but not for
lang/racket-textual.
2024-03-04 15:38:05 +00:00
he 9362e85ef6 lang/rust-bin: upgrade to 1.75.0 to track lang/rust.
Pkgsrc changes:
 * stop pretending to support NetBSD/8.x, all NetBSD binary kits are
   now built for 9.x or newer.  Simplify conditionals correspondingly.

See lang/rust for detailed upstream changes.
2024-03-03 18:16:43 +00:00
he 7196a5fea3 lang/rust: re-compute checksums, overlooked in the previous... 2024-03-03 14:57:30 +00:00
he 083dfbedd2 rust: Upgrade to version 1.75.0.
Pkgsrc changes:
 * Adjust patches and cargo checksums to new versions.
 * For an external LLVM, set dependency of llvm >= 16, in accordance
   with the upstream changes.
 * Mark that on NetBSD we now need >= 9.0, so 8.x is no longer supported.
 * On NetBSD/sparc64 10.x, we now need GCC 12 to build the embedded
   LLVM, which is version 17; apparently GCC 10.4 or 10.5 mis-compiles it,
   resulting in an illegal instruction fault during the build.
   Ref. https://github.com/rust-lang/rust/issues/117231

Upstream changes:

Version 1.75.0 (2023-12-28)
==========================

- [Stabilize `async fn` and return-position `impl Trait` in traits.]
  (https://github.com/rust-lang/rust/pull/115822/)
- [Allow function pointer signatures containing `&mut T` in `const` contexts.]
  (https://github.com/rust-lang/rust/pull/116015/)
- [Match `usize`/`isize` exhaustively with half-open ranges.]
  (https://github.com/rust-lang/rust/pull/116692/)
- [Guarantee that `char` has the same size and alignment as `u32`.]
  (https://github.com/rust-lang/rust/pull/116894/)
- [Document that the null pointer has the 0 address.]
  (https://github.com/rust-lang/rust/pull/116988/)
- [Allow partially moved values in `match`.]
  (https://github.com/rust-lang/rust/pull/103208/)
- [Add notes about non-compliant FP behavior on 32bit x86 targets.]
  (https://github.com/rust-lang/rust/pull/113053/)
- [Stabilize ratified RISC-V target features.]
  (https://github.com/rust-lang/rust/pull/116485/)

Compiler
--------

- [Rework negative coherence to properly consider impls that only
  partly overlap.] (https://github.com/rust-lang/rust/pull/112875/)
- [Bump `COINDUCTIVE_OVERLAP_IN_COHERENCE` to deny, and warn in dependencies.]
  (https://github.com/rust-lang/rust/pull/116493/)
- [Consider alias bounds when computing liveness in NLL.]
  (https://github.com/rust-lang/rust/pull/116733/)
- [Add the V (vector) extension to the `riscv64-linux-android` target spec.]
  (https://github.com/rust-lang/rust/pull/116618/)
- [Automatically enable cross-crate inlining for small functions]
  (https://github.com/rust-lang/rust/pull/116505)
- Add several new tier 3 targets:
    - [`csky-unknown-linux-gnuabiv2hf`]
      (https://github.com/rust-lang/rust/pull/117049/)
    - [`i586-unknown-netbsd`]
      (https://github.com/rust-lang/rust/pull/117170/)
    - [`mipsel-unknown-netbsd`]
      (https://github.com/rust-lang/rust/pull/117356/)

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

Libraries
---------

- [Override `Waker::clone_from` to avoid cloning `Waker`s unnecessarily.]
  (https://github.com/rust-lang/rust/pull/96979/)
- [Implement `BufRead` for `VecDeque<u8>`.]
  (https://github.com/rust-lang/rust/pull/110604/)
- [Implement `FusedIterator` for `DecodeUtf16` when the inner iterator does.]
  (https://github.com/rust-lang/rust/pull/110729/)
- [Implement `Not, Bit{And,Or}{,Assign}` for IP addresses.]
  (https://github.com/rust-lang/rust/pull/113747/)
- [Implement `Default` for `ExitCode`.]
  (https://github.com/rust-lang/rust/pull/114589/)
- [Guarantee representation of None in NPO]
  (https://github.com/rust-lang/rust/pull/115333/)
- [Document when atomic loads are guaranteed read-only.]
  (https://github.com/rust-lang/rust/pull/115577/)
- [Broaden the consequences of recursive TLS initialization.]
  (https://github.com/rust-lang/rust/pull/116172/)
- [Windows: Support sub-millisecond sleep.]
  (https://github.com/rust-lang/rust/pull/116461/)
- [Fix generic bound of `str::SplitInclusive`'s `DoubleEndedIterator` impl]
  (https://github.com/rust-lang/rust/pull/100806/)
- [Fix exit status / wait status on non-Unix `cfg(unix)` platforms.]
  (https://github.com/rust-lang/rust/pull/115108/)

Stabilized APIs
---------------

- [`Atomic*::from_ptr`]
  (https://doc.rust-lang.org/stable/core/sync/atomic/struct.AtomicUsize.html#method.from_ptr)
- [`FileTimes`]
  (https://doc.rust-lang.org/stable/std/fs/struct.FileTimes.html)
- [`FileTimesExt`]
  (https://doc.rust-lang.org/stable/std/os/windows/fs/trait.FileTimesExt.html)
- [`File::set_modified`]
  (https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.set_modified)
- [`File::set_times`]
  (https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.set_times)
- [`IpAddr::to_canonical`]
  (https://doc.rust-lang.org/stable/core/net/enum.IpAddr.html#method.to_canonical)
- [`Ipv6Addr::to_canonical`]
  (https://doc.rust-lang.org/stable/core/net/struct.Ipv6Addr.html#method.to_canonical)
- [`Option::as_slice`]
  (https://doc.rust-lang.org/stable/core/option/enum.Option.html#method.as_slice)
- [`Option::as_mut_slice`]
  (https://doc.rust-lang.org/stable/core/option/enum.Option.html#method.as_mut_slice)
- [`pointer::byte_add`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.byte_add)
- [`pointer::byte_offset`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.byte_offset)
- [`pointer::byte_offset_from`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.byte_offset_from)
- [`pointer::byte_sub`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.byte_sub)
- [`pointer::wrapping_byte_add`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.wrapping_byte_add)
- [`pointer::wrapping_byte_offset`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.wrapping_byte_offset)
- [`pointer::wrapping_byte_sub`]
  (https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.wrapping_byte_sub)

These APIs are now stable in const contexts:

- [`Ipv6Addr::to_ipv4_mapped`]
  (https://doc.rust-lang.org/stable/core/net/struct.Ipv6Addr.html#method.to_ipv4_mapped)
- [`MaybeUninit::assume_init_read`]
  (https://doc.rust-lang.org/stable/core/mem/union.MaybeUninit.html#method.assume_init_read)
- [`MaybeUninit::zeroed`]
  (https://doc.rust-lang.org/stable/core/mem/union.MaybeUninit.html#method.zeroed)
- [`mem::discriminant`]
  (https://doc.rust-lang.org/stable/core/mem/fn.discriminant.html)
- [`mem::zeroed`]
  (https://doc.rust-lang.org/stable/core/mem/fn.zeroed.html)

Cargo
-----

- [Add new packages to `[workspace.members]` automatically.]
  (https://github.com/rust-lang/cargo/pull/12779/)
- [Allow version-less `Cargo.toml` manifests.]
  (https://github.com/rust-lang/cargo/pull/12786/)
- [Make browser links out of HTML file paths.]
  (https://github.com/rust-lang/cargo/pull/12889)

Rustdoc
-------

- [Accept less invalid Rust in rustdoc.]
  (https://github.com/rust-lang/rust/pull/117450/)
- [Document lack of object safety on affected traits.]
  (https://github.com/rust-lang/rust/pull/113241/)
- [Hide `#[repr(transparent)]` if it isn't part of the public ABI.]
  (https://github.com/rust-lang/rust/pull/115439/)
- [Show enum discriminant if it is a C-like variant.]
  (https://github.com/rust-lang/rust/pull/116142/)

Compatibility Notes
-------------------

- [FreeBSD targets now require at least version 12.]
  (https://github.com/rust-lang/rust/pull/114521/)
- [Formally demote tier 2 MIPS targets to tier 3.]
  (https://github.com/rust-lang/rust/pull/115238/)
- [Make misalignment a hard error in `const` contexts.]
  (https://github.com/rust-lang/rust/pull/115524/)
- [Fix detecting references to packed unsized fields.]
  (https://github.com/rust-lang/rust/pull/115583/)
- [Remove support for compiler plugins.]
  (https://github.com/rust-lang/rust/pull/116412/)
2024-03-03 14:53:32 +00:00
bacon 6b0c80975f lang/libunwind: Unbreak on RHEL 8
USE_GCC=10 was causing build failures
No changes to package on other platforms
2024-03-01 22:14:58 +00:00