Commit graph

13678 commits

Author SHA1 Message Date
gdt
a59ce12888 lang/tcl-expect: Quote version per pkglint
This is almost certainly just a cleanup; OS_VERSION values are
strings, not numbers.
2022-05-03 23:38:38 +00:00
nikita
46ab59ce42 lang/gleam: import package.
Gleam is a functional language for building type-safe, scalable
systems.

The Gleam compiler itself is written in rust.

Gleam uses the BEAM runtime, and using the same actor-based multi-core
concurrency, with zero runtime overhead and full inter-operability
with Erlang, Elixir, and LFE.

It has all the features you'd expect from an ML derived language,
including algebraic data-types, immutable data structures, full type
inference, fast compilation, generics, no nulls nor exceptions, and a
few bonus features such as helpful error messages.
2022-05-03 08:57:33 +00:00
adam
e8035b8382 nodejs: updated to 16.15.0
Version 16.15.0 'Gallium'

Notable changes

Add fetch API

Adds experimental support to the fetch API. This adds the --experimental-fetch flag that installs the fetch, Request, Response, Headers, and FormData globals.

(SEMVER-MINOR) add fetch (Michaël Zasso)
(SEMVER-MINOR) add FormData global when fetch is enabled (Michaël Zasso)

Other notable changes

build:
remove broken x32 arch support (Ben Noordhuis)
crypto:
(SEMVER-MINOR) add KeyObject.prototype.equals method (Filip Skokan)
doc:
add @ShogunPanda to collaborators (Paolo Insogna)
add JakobJingleheimer to collaborators list (Jacob Smith)
add joesepi to collaborators (Joe Sepi)
add marsonya to collaborators (Akhil Marsonya)
deprecate string coercion in fs.write, fs.writeFileSync (Livia Medeiros)
deprecate notice for process methods (Yash Ladha)
esm:
(SEMVER-MINOR) support https remotely and http locally under flag (Bradley Farias)
module:
(SEMVER-MINOR) unflag esm json modules (Geoffrey Booth)
node-api:
(SEMVER-MINOR) add node_api_symbol_for() (Darshan Sen)
process:
deprecate multipleResolves (Benjamin Gruenbaum)
stream:
(SEMVER-MINOR) support some and every (Benjamin Gruenbaum)
(SEMVER-MINOR) add toArray (Benjamin Gruenbaum)
(SEMVER-MINOR) add forEach method (Benjamin Gruenbaum)
2022-05-02 18:59:24 +00:00
adam
bc67295aa7 py-mypy: updated to 0.950
0.950
Pinning Third-Party Library Stub Versions
Concatenate and Literals with ParamSpec
Detect Unused Coroutines and Awaitables
assert_type
2022-05-02 08:19:25 +00:00
wiz
1ffc26a2ce *: fix usage of versioned_dependencies
Remove unused includes, fix dependencies where it's not included.
2022-05-01 09:45:41 +00:00
wiz
5ecf0c061f py-testtools24: remove
dependencies do not support python 2.x any longer, and this is
limited to python 2.x
2022-05-01 07:57:42 +00:00
nia
d47223d2a3 rust-bin: sync with rust 2022-04-30 21:12:17 +00:00
nia
3b37c1513f rust-bin: use OPSYS_VERSION for NetBSD 2022-04-30 21:04:01 +00:00
nia
5a1e8111e4 rust: future-proof by using OPSYS_VERSION for NetBSD 2022-04-30 21:02:39 +00:00
mef
78910b7343 (lang/R-cpp11) Updated 0.3.1 to 0.4.2
# cpp11 0.4.2

* Romain François is now the maintainer.

# cpp11 0.4.1

* Fix crash related to unwind protect optimization (#244)

# cpp11 0.4.0

## New Features

* New  opt-in  message  formatting  with the  {fmt}  C++  library  for
  `cpp11::messages()` `cpp11::stop()` and `cpp11::warning()`.  Set the
  `CPP11_USE_FMT`    macro   to    use    this    feature   in    your
  package. (@sbearrows, #169, #208)

* New `as_double()` and `as_integer()` methods to coerce integers to
  doubles and doubles to integers to doubles (@sbearrows, #46)

* `cpp11::matrix` iterators can now be used either row-wise or
  column-wise (the default) depending on the user's choice (@alyst,
  #229)

## Improvements and fixes

* Read-only matrix accessors are now marked const (#234)

* `writable::r_vector` default constructors now return a 0 length
  vector when converted to `SEXP` (#166)

* Read-only `r_vector` constructors now disallow implicit construction
  with named arguments (#237)

* Read-only `r_vector.attr()` methods now return const objects, so it
  is a compile time error to try to assign to them (#237)

* Fixed `+` and `+=` operators of `r_vector::[const_]iterator` to
  conform the *iterators* concept: `+=` updates the iterator, and `+`
  returns the updated copy, while keeping the original unchanged
  (@alyst, #231)

* Remove undefined behavior when constructing global `cpp11::sexp`s (#224)

* Removed redundant `.Call calls` in cpp11.cpp file (@sbearrows, #170)

* Error messages now output original file name rather than the
  temporary file name (@sbearrows, #194)

* `cpp_register()` now includes `attribute_visible` in the init
  function, so packages compiled with `C_VISIBILITY` will find the
  init function.

* Fixed bug when running `cpp_source()` on the same file more than
  once (@sbearrows, #202)

* Allow cpp11 decorators of the form `cpp11::linking_to` (@sbearrows,
  #193)

* Removed internal instances of `cpp11::stop()` and replaced with C++
  exceptions (@sbearrows, #203)

* Names of named lists are now resized along with the list elements
  (@sbearrows, #206)
2022-04-30 14:33:39 +00:00
wiz
c197fae76a py-ipython5: remove, not used any longer 2022-04-29 23:44:02 +00:00
wiz
7fac7e25f0 *: mark dependencies of py-virtualenv as not-for-python-2.x 2022-04-29 23:22:31 +00:00
wiz
d8a5d04dd3 sun-jre7: RMD160 -> BLAKE2s for solaris files 2022-04-28 06:31:46 +00:00
wiz
5e216027ce sun-jdk7: RMD160 -> BLAKE2s for Solaris files 2022-04-28 06:29:57 +00:00
wiz
892ca08bd8 oracle-jre8: RMD160 -> BLAKE2s
please note that I got a different jce policy file than was checksummed
before. since I don't have the old one, I can't compare.
2022-04-28 06:26:35 +00:00
wiz
c9c90d8b58 oracle-jdk8: RMD160 -> BLAKE2s 2022-04-28 06:21:49 +00:00
nikita
855c31a7b4 erlang: fix rebar3 modules with an option to include rebar3 only. 2022-04-25 12:51:11 +00:00
tnn
7d54111e28 owl-lisp: Fix master site. while here update to 0.2
unknown changes
2022-04-23 23:27:55 +00:00
he
d6cea6fca0 lang/rust: bump PKGREVISION after removal of PR#56791 workaround. 2022-04-23 15:55:31 +00:00
he
4c897d1faf lang/rust: don't depend in libunwind, does not appear to be required.
Also remove the workaround for PR#56791, now that sparc64 can
build rust without the "rust-llvm" option set.
2022-04-23 15:54:34 +00:00
sjmulder
e190eb2086 lang/python39: Fix build on OpenBSD 2022-04-22 14:25:34 +00:00
wiz
a1f7f9f79b versioned_dependencies: add py-cryptography 2022-04-21 10:50:52 +00:00
jperkin
c1b6708521 nodejs: gyp-mac-tool requires py-expat. 2022-04-19 12:42:38 +00:00
tnn
7c12cecc92 add jinja2 to versioned dependencies 2022-04-19 12:00:27 +00:00
bsiegert
904bc6af56 go: make 1.18 the default version
I did a bulk build and identified 5 packages that would break (apisprout, caddy,
go-staticcheck, gvproxy and restish) and fixed them.

Please email tech-pkg@ if you find other breakage!
2022-04-19 11:56:21 +00:00
adam
f5e35d538b revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
he
5ae8fbb495 rust: default to rust-llvm on NetBSD/sparc64.
(NetBSD)/sparc64 systems fail to build libunwind 13.0.1,
and libunwind is depended on here unless rust-llvm is turned
on.  The latter succeeds, though.  So default to using
rust-llvm on NetBSD/sparc64.
Ref. PR#56791
2022-04-18 14:59:59 +00:00
wiz
3386ff0ef1 ats2: PLIST_VARS needs to be defined unconditionally
Fixes build with emacs option turned off (the default)
2022-04-17 18:48:17 +00:00
he
8e0483b699 Sync to main rust version, upgrade rust-bin to 1.59.0. 2022-04-16 15:37:38 +00:00
taca
ecb692a8b9 lang/php81: update to 8.1.5
14 Apr 2022, PHP 8.1.5

- Core:
  . Fixed bug GH-8176 (Enum values in property initializers leak). (Bob)
  . Fixed freeing of internal attribute arguments. (Bob)
  . Fixed bug GH-8070 (memory leak of internal function attribute hash).
    (Tim Düsterhus)
  . Fixed bug GH-8160 (ZTS support on Alpine is broken). (Michael Voříšek)

- Filter:
  . Fixed signedness confusion in php_filter_validate_domain(). (cmb)

- Intl:
  . Fixed bug GH-8115 (Can't catch arg type deprecation when instantiating Intl
    classes). (ilutov)
  . Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier)
  . Fixed bug GH-7734 (Fix IntlPartsIterator key off-by-one error and first
    key). (ilutov)

- MBString:
  . Fixed bug GH-8208 (mb_encode_mimeheader: $indent functionality broken).
    (cmb)

- MySQLi:
  . Fixed bug GH-8068 (mysqli_fetch_object creates inaccessible properties).
    (cmb)

- Pcntl:
  . Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier)

- PgSQL:
  . Fixed result_type related stack corruption on LLP64 architectures. (cmb)
  . Fixed bug GH-8253 (pg_insert() fails for references). (cmb)

- Sockets:
  . Fixed Solaris builds. (David Carlier)

- SPL:
  . Fixed bug GH-8121 (SplFileObject - seek and key with csv file inconsistent).
    (cmb)
  . Fixed bug GH-8192 (Cannot override DirectoryIterator::current() without
    return typehint in 8.1). (Nikita)

- Standard:
  . Fixed bug GH-8048 (Force macOS to use statfs). (risner)
2022-04-16 00:55:47 +00:00
taca
b5ae32a806 lang/php80: update to 8.0.18
14 Apr 2022, PHP 8.0.18

- Core:
  . Fixed freeing of internal attribute arguments. (Bob)
  . Fixed bug GH-8070 (memory leak of internal function attribute hash).
    (Tim Düsterhus)
  . Fixed bug GH-8160 (ZTS support on Alpine is broken). (Michael Voříšek)

- Filter:
  . Fixed signedness confusion in php_filter_validate_domain(). (cmb)

- Intl:
  . Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier)

- MBString:
  . Fixed bug GH-8208 (mb_encode_mimeheader: $indent functionality broken).
    (cmb)

- MySQLi:
  . Fixed bug GH-8068 (mysqli_fetch_object creates inaccessible properties).
    (cmb)

- Pcntl:
  . Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier)

- PgSQL:
  . Fixed result_type related stack corruption on LLP64 architectures. (cmb)
  . Fixed bug GH-8253 (pg_insert() fails for references). (cmb)

- Sockets:
  . Fixed Solaris builds. (David Carlier)

- SPL:
  . Fixed bug GH-8121 (SplFileObject - seek and key with csv file inconsistent).
    (cmb)

- Standard:
  . Fixed bug GH-8048 (Force macOS to use statfs). (risner)
2022-04-16 00:53:58 +00:00
taca
c7ad4f1835 lang/php74: update to 7.4.29
14 Apr 2022, PHP 7.4.29

- Core:
  . No source changes to this release.
    Version number added for reproduction of Windows builds.

- Date:
  . Updated to latest IANA timezone database (2022a). (Derick)
2022-04-16 00:52:28 +00:00
adam
3570e62e76 py-executing: updated to 0.8.3
0.8.3:
Unknown changes
2022-04-15 17:46:17 +00:00
he
4eca608723 rust-src: update / sync to rust version 1.59.0.
Checksum and PLIST adjustments.
2022-04-15 17:46:14 +00:00
adam
4bf21f3f18 rust-analyzer updateed to 0.0.2022.04.11
2022-04-11

New Features
* improve associated item completion in trait impls.

Fixes
* (first contribution) complete pattern args based on type name
* show error message when flycheck fails.
* attempt to heuristically resolve paths in const arguments in IDE layer.
* make extract_module more lazy.
* show path to be created in the unresolved-module fix label.
* skip match check on patterns of unexpected TyKind::FnDef.
* use correct text ranges in SearchScope for macro-emitted inline modules.
* fix path qualifiers not resolving generic type params when shadowed by trait.
* fix panics with #[cfg]’d-out `self parameter.
* fix spurious type mismatch error for const generics with value parameters.
* flyimport: omit types when completing where-clause
* ignore Drop and Destruct bounds for now.
* check whether a parameter can be converted to a local.
* don’t create hir::Locals from const path patterns.
* parse for<'a> closure syntax.

Internal Improvements
* wrap macros in expr position in MacroExpr node.
* remove hir_expand macro recursion check.
* add more doc-link tests.
* remove FnFlags::IS_IN_EXTERN_BLOCK.
* use bitflags for FnFlags.
* add and start using HirFormatter::write_{str,char}.
* move function unsafety determination out of the ItemTree.
2022-04-15 17:39:42 +00:00
adam
30eb0d79e3 rust: build faster with one compression format 2022-04-15 17:30:34 +00:00
he
aede8dcf2c rust: update to version 1.59.0.
Pkgsrc changes:
 * Bump available bootstraps to 1.58.1.
 * Adjust one patch (and checksum) so that it still applies.

Upstream changes:

Version 1.59.0 (2022-02-24)
==========================

Language
--------

- [Stabilize default arguments for const generics][90207]
- [Stabilize destructuring assignment][90521]
- [Relax private in public lint on generic bounds and where clauses
  of trait impls][90586]
- [Stabilize asm! and global_asm! for x86, x86_64, ARM, Aarch64,
  and RISC-V][91728]

Compiler
--------

- [Stabilize new symbol mangling format, leaving it opt-in
  (-Csymbol-mangling-version=v0)][90128]
- [Emit LLVM optimization remarks when enabled with `-Cremark`][90833]
- [Fix sparc64 ABI for aggregates with floating point members][91003]
- [Warn when a `#[test]`-like built-in attribute macro is present
  multiple times.][91172]
- [Add support for riscv64gc-unknown-freebsd][91284]
- [Stabilize `-Z emit-future-incompat` as `--json future-incompat`][91535]
- [Soft disable incremental compilation][94124]

This release disables incremental compilation, unless the user has explicitly
opted in via the newly added RUSTC_FORCE_INCREMENTAL=1 environment variable.
This is due to a known and relatively frequently occurring bug in incremental
compilation, which causes builds to issue internal compiler errors. This
particular bug is already fixed on nightly, but that fix has not yet rolled out
to stable and is deemed too risky for a direct stable backport.

As always, we encourage users to test with nightly and report bugs so that we
can track failures and fix issues earlier.

See [94124] for more details.

[94124]: https://github.com/rust-lang/rust/issues/94124

Libraries
---------

- [Remove unnecessary bounds for some Hash{Map,Set} methods][91593]

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

- [`std:🧵:available_parallelism`][available_parallelism]
- [`Result::copied`][result-copied]
- [`Result::cloned`][result-cloned]
- [`arch::asm!`][asm]
- [`arch::global_asm!`][global_asm]
- [`ops::ControlFlow::is_break`][is_break]
- [`ops::ControlFlow::is_continue`][is_continue]
- [`TryFrom<char> for u8`][try_from_char_u8]
- [`char::TryFromCharError`][try_from_char_err]
  implementing `Clone`, `Debug`, `Display`, `PartialEq`, `Copy`, `Eq`, `Error`
- [`iter::zip`][zip]
- [`NonZeroU8::is_power_of_two`][is_power_of_two8]
- [`NonZeroU16::is_power_of_two`][is_power_of_two16]
- [`NonZeroU32::is_power_of_two`][is_power_of_two32]
- [`NonZeroU64::is_power_of_two`][is_power_of_two64]
- [`NonZeroU128::is_power_of_two`][is_power_of_two128]
- [`DoubleEndedIterator for ToLowercase`][lowercase]
- [`DoubleEndedIterator for ToUppercase`][uppercase]
- [`TryFrom<&mut [T]> for [T; N]`][tryfrom_ref_arr]
- [`UnwindSafe for Once`][unwindsafe_once]
- [`RefUnwindSafe for Once`][refunwindsafe_once]
- [armv8 neon intrinsics for aarch64][stdarch/1266]

Const-stable:

- [`mem::MaybeUninit::as_ptr`][muninit_ptr]
- [`mem::MaybeUninit::assume_init`][muninit_init]
- [`mem::MaybeUninit::assume_init_ref`][muninit_init_ref]
- [`ffi::CStr::from_bytes_with_nul_unchecked`][cstr_from_bytes]

Cargo
-----

- [Stabilize the `strip` profile option][cargo/10088]
- [Stabilize future-incompat-report][cargo/10165]
- [Support abbreviating `--release` as `-r`][cargo/10133]
- [Support `term.quiet` configuration][cargo/10152]
- [Remove `--host` from cargo {publish,search,login}][cargo/10145]

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

- [Refactor weak symbols in std::sys::unix][90846]
  This may add new, versioned, symbols when building with a newer glibc, as the
  standard library uses weak linkage rather than dynamically attempting to load
  certain symbols at runtime.
- [Deprecate crate_type and crate_name nested inside `#![cfg_attr]`][83744]
  This adds a future compatibility lint to supporting the use of cfg_attr
  wrapping either crate_type or crate_name specification within Rust files;
  it is recommended that users migrate to setting the equivalent command line
  flags.
- [Remove effect of `#[no_link]` attribute on name resolution][92034]
  This may expose new names, leading to conflicts with preexisting names in a
  given namespace and a compilation failure.
- [Cargo will document libraries before binaries.][cargo/10172]
- [Respect doc=false in dependencies, not just the root crate][cargo/10201]
- [Weaken guarantee around advancing underlying iterators in zip][83791]
- [Make split_inclusive() on an empty slice yield an empty output][89825]
- [Update std::env::temp_dir to use GetTempPath2 on Windows when
  available.][89999]
- [unreachable! was updated to match other formatting macro behavior
  on Rust 2021][92137]

Internal Changes
----------------

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

- [Fix many cases of normalization-related ICEs][91255]
- [Replace dominators algorithm with simple Lengauer-Tarjan][85013]
- [Store liveness in interval sets for region inference][90637]

- [Remove `in_band_lifetimes` from the compiler and standard library,
  in preparation for removing this unstable feature.][91867]

[91867]: https://github.com/rust-lang/rust/issues/91867
[83744]: https://github.com/rust-lang/rust/pull/83744/
[83791]: https://github.com/rust-lang/rust/pull/83791/
[85013]: https://github.com/rust-lang/rust/pull/85013/
[89825]: https://github.com/rust-lang/rust/pull/89825/
[89999]: https://github.com/rust-lang/rust/pull/89999/
[90128]: https://github.com/rust-lang/rust/pull/90128/
[90207]: https://github.com/rust-lang/rust/pull/90207/
[90521]: https://github.com/rust-lang/rust/pull/90521/
[90586]: https://github.com/rust-lang/rust/pull/90586/
[90637]: https://github.com/rust-lang/rust/pull/90637/
[90833]: https://github.com/rust-lang/rust/pull/90833/
[90846]: https://github.com/rust-lang/rust/pull/90846/
[91003]: https://github.com/rust-lang/rust/pull/91003/
[91172]: https://github.com/rust-lang/rust/pull/91172/
[91255]: https://github.com/rust-lang/rust/pull/91255/
[91284]: https://github.com/rust-lang/rust/pull/91284/
[91535]: https://github.com/rust-lang/rust/pull/91535/
[91593]: https://github.com/rust-lang/rust/pull/91593/
[91728]: https://github.com/rust-lang/rust/pull/91728/
[91878]: https://github.com/rust-lang/rust/pull/91878/
[91896]: https://github.com/rust-lang/rust/pull/91896/
[91926]: https://github.com/rust-lang/rust/pull/91926/
[91984]: https://github.com/rust-lang/rust/pull/91984/
[92020]: https://github.com/rust-lang/rust/pull/92020/
[92034]: https://github.com/rust-lang/rust/pull/92034/
[92483]: https://github.com/rust-lang/rust/pull/92483/
[cargo/10088]: https://github.com/rust-lang/cargo/pull/10088/
[cargo/10133]: https://github.com/rust-lang/cargo/pull/10133/
[cargo/10145]: https://github.com/rust-lang/cargo/pull/10145/
[cargo/10152]: https://github.com/rust-lang/cargo/pull/10152/
[cargo/10165]: https://github.com/rust-lang/cargo/pull/10165/
[cargo/10172]: https://github.com/rust-lang/cargo/pull/10172/
[cargo/10201]: https://github.com/rust-lang/cargo/pull/10201/
[cargo/10269]: https://github.com/rust-lang/cargo/pull/10269/

[cstr_from_bytes]: https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#method.from_bytes_with_nul_unchecked
[muninit_ptr]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.as_ptr
[muninit_init]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.assume_init
[muninit_init_ref]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.assume_init_ref
[unwindsafe_once]: https://doc.rust-lang.org/stable/std/sync/struct.Once.html#impl-UnwindSafe
[refunwindsafe_once]: https://doc.rust-lang.org/stable/std/sync/struct.Once.html#impl-RefUnwindSafe
[tryfrom_ref_arr]: https://doc.rust-lang.org/stable/std/convert/trait.TryFrom.html#impl-TryFrom%3C%26%27_%20mut%20%5BT%5D%3E
[lowercase]: https://doc.rust-lang.org/stable/std/char/struct.ToLowercase.html#impl-DoubleEndedIterator
[uppercase]: https://doc.rust-lang.org/stable/std/char/struct.ToUppercase.html#impl-DoubleEndedIterator
[try_from_char_err]: https://doc.rust-lang.org/stable/std/char/struct.TryFromCharError.html
[available_parallelism]: https://doc.rust-lang.org/stable/std/thread/fn.available_parallelism.html
[result-copied]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.copied
[result-cloned]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.cloned
[asm]: https://doc.rust-lang.org/stable/core/arch/macro.asm.html
[global_asm]: https://doc.rust-lang.org/stable/core/arch/macro.global_asm.html
[is_break]: https://doc.rust-lang.org/stable/std/ops/enum.ControlFlow.html#method.is_break
[is_continue]: https://doc.rust-lang.org/stable/std/ops/enum.ControlFlow.html#method.is_continue
[try_from_char_u8]: https://doc.rust-lang.org/stable/std/primitive.char.html#impl-TryFrom%3Cchar%3E
[zip]: https://doc.rust-lang.org/stable/std/iter/fn.zip.html
[is_power_of_two8]: https://doc.rust-lang.org/stable/core/num/struct.NonZeroU8.html#method.is_power_of_two
[is_power_of_two16]: https://doc.rust-lang.org/stable/core/num/struct.NonZeroU16.html#method.is_power_of_two
[is_power_of_two32]: https://doc.rust-lang.org/stable/core/num/struct.NonZeroU32.html#method.is_power_of_two
[is_power_of_two64]: https://doc.rust-lang.org/stable/core/num/struct.NonZeroU64.html#method.is_power_of_two
[is_power_of_two128]: https://doc.rust-lang.org/stable/core/num/struct.NonZeroU128.html#method.is_power_of_two
[stdarch/1266]: https://github.com/rust-lang/stdarch/pull/1266
2022-04-15 14:00:37 +00:00
nikita
66742eb74f ats2: Build emacs mode. 2022-04-14 20:13:19 +00:00
nikita
29bb8a7b86 fix directory of ats2 2022-04-14 17:36:20 +00:00
nikita
209229f140 lang/ats2: Add version 0.4.2
Import from wip/ats2 by Atsushi Toyokura, Mateusz Poszwa.

ATS is a statically typed programming language that unifies
implementation with formal specification. It is equipped with
a highly expressive type system rooted in the framework Applied
Type System, which gives the language its name. In particular,
both dependent types and linear types are available in ATS.

In addition, ATS contains a subsystem ATS/LF that supports a form
of (interactive) theorem-proving, where proofs are constructed as
total functions. With this subsystem, ATS is able to advocate a
programmer-centric approach to program verification that combines
programming with theorem-proving in a syntactically intertwined
manner. Furthermore, ATS/LF can also serve as a logical framework
(LF) for encoding various formal systems (such as logic systems
and type systems) together with proofs of their (meta-)properties.
2022-04-14 17:29:10 +00:00
jperkin
d0bf566b7a go117: Unbreak PLIST. 2022-04-13 19:37:39 +00:00
bsiegert
a7be4ea832 go118: update to 1.18.1
This minor release includes three security fixes following the security policy:

- encoding/pem: fix stack overflow in Decode

  A large (more than 5 MB) PEM input can cause a stack overflow in Decode,
  leading the program to crash.

  Thanks to Juho Nurminen of Mattermost who reported the error.

  This is CVE-2022-24675 and https://go.dev/issue/51853.

- crypto/elliptic: tolerate all oversized scalars in generic P-256

  A crafted scalar input longer than 32 bytes can cause P256().ScalarMult or
  P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and
  crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected.

  This was discovered thanks to a Project Wycheproof test vector.

  This is CVE-2022-28327 and https://go.dev/issue/52075.

- crypto/x509: non-compliant certificates can cause a panic in Verify on macOS in Go 1.18

  Verifying certificate chains containing certificates which are not compliant
  with RFC 5280 causes Certificate.Verify to panic on macOS.

  These chains can be delivered through TLS and can cause a crypto/tls or
  net/http client to crash.

  Thanks to Tailscale for doing weird things and finding this.

  This is CVE-2022-27536 and https://go.dev/issue/51759.
2022-04-13 07:46:56 +00:00
bsiegert
3e137f725e go117: update to 1.17.9
This minor release includes three security fixes following the security policy:

- encoding/pem: fix stack overflow in Decode

  A large (more than 5 MB) PEM input can cause a stack overflow in Decode,
  leading the program to crash.

  Thanks to Juho Nurminen of Mattermost who reported the error.

  This is CVE-2022-24675 and https://go.dev/issue/51853.

- crypto/elliptic: tolerate all oversized scalars in generic P-256

  A crafted scalar input longer than 32 bytes can cause P256().ScalarMult or
  P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and
  crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected.

  This was discovered thanks to a Project Wycheproof test vector.

  This is CVE-2022-28327 and https://go.dev/issue/52075.

- crypto/x509: non-compliant certificates can cause a panic in Verify on macOS in Go 1.18

  Verifying certificate chains containing certificates which are not compliant
  with RFC 5280 causes Certificate.Verify to panic on macOS.

  These chains can be delivered through TLS and can cause a crypto/tls or
  net/http client to crash.

  Thanks to Tailscale for doing weird things and finding this.

  This is CVE-2022-27536 and https://go.dev/issue/51759.
2022-04-13 07:36:53 +00:00
nia
caa9c38041 ruby: use same style of module path for linux as we do netbsd
should help centos bulk builds (maybe)
2022-04-12 19:07:11 +00:00
taca
dc008283ff lang/ruby31-base: update to 3.1.2
Ruby 3.1.2 has been released.

This release includes security fixes.  Please check the topics below for
details.

* CVE-2022-28738: Double free in Regexp compilation
* CVE-2022-28739: Buffer overrun in String-to-Float conversion

See the commit logs for further details.
2022-04-12 15:12:13 +00:00
taca
8998095e75 lang/ruby30-base: update to 3.0.4
Ruby 3.0.4 has been released.

This release includes security fixes.  Please check the topics below for
details.

* CVE-2022-28738: Double free in Regexp compilation
* CVE-2022-28739: Buffer overrun in String-to-Float conversion

See the commit logs for further details.
2022-04-12 14:52:27 +00:00
taca
0083ee7893 lang/ruby27-base: update to 2.6.7
Ruby 2.7.6 has been released.

This release includes a security fix.  Please check the topics below for
details.

CVE-2022-28739: Buffer overrun in String-to-Float conversion

This release also includes some bug fixes.  See the commit logs for further
details.

After thies release, we end the normal maintenance phase of Ruby 2.7, and
Ruby 2.7 enters the security maintenance phase.  This means that we will no
longer backport any bug fixes to Ruby 2.7 excpet security fixes.  Ther term
of the security maintenance pahse is scheduled for a year.  Ruby 2.7 reaches
EOL and its official support ends by the end of the security maintenance
phase.  Therefore, we recommend that you start to plan upgrade to Ruby 3.0
or 3.1.
2022-04-12 14:21:00 +00:00
taca
e5d605a1de lang/ruby: forgot to commit for 2.6.10 2022-04-12 14:19:26 +00:00
taca
9992ac9831 lang/ruby26-base: update to 2.6.10
Here is release announce:

Ruby 2.6.10 has been released.

This release includes a security fix.  Please check the topics below for
details.

	CVE-2022-28739: Buffer overrun in String-to-Float conversion

This release also includes a fix of a build problem with very old compilers
and a fix of a regression of date library.  See the commit logs for further
details.

After this release, Ruby 2.6 reaches EOL.  In other words, this is expected
to be the last release of Ruby 2.6 series.  We will not release Ruby 2.6.11
even if a security vulnerability is found (but ocould release if a severe
regression is found).  We recommend all Ruby 2.6 users to start migration to
Ruby 3.1, 3.0, or 2.7 immediately.
2022-04-12 14:16:43 +00:00
osa
b5becb65cb lang/njs: update to the recent version 0.7.3 2022-04-12 14:06:28 +00:00
adam
7e0813e75a npm: updated to 8.6.0
v8.6.0 (2022-03-31)

Features

* feat(version): reify on workspace version change (@ruyadorno)
* feat: add logs-dir config to set custom logging location (@lukekarrys)

Bug Fixes

fix: remove always true condition (@XhmikosR)
* fix(unpublish): properly apply publishConfig (@wraithgar)
* fix: 100% coverage in tests (@wraithgar)
* fix(arborist): handle link nodes in old lockfiles correctly (@nlf)
* fix(arborist): make sure resolveParent exists before checking props (@nlf)
* fix(arborist): identify and repair invalid nodes in the virtual tree (@nlf)
* fix: make sure we loadOverrides on the root node in loadVirtual() (@nlf)
* fix: move shellout logic into commands (@wraithgar)
* fix: really load all commands in tests, add description to birthday (@wraithgar)
* fix: consolidate command alias code (@wraithgar)
* fix: consolidate is-windows code (@wraithgar)
* fix: consolidate node version support logic (@wraithgar)
* fix: consolidate path delimiter logic (@wraithgar)
* fix: bump knownBroken to <12.5.0 (@wraithgar)
* fix: return otplease fn results (@wraithgar)
* fix: consolidate split-package-names (@wraithgar)
* fix: work better with system manpages (@d0sboots)
* fix: only call npmlog progress methods if explicitly requested (@lukekarrys)

Documentation

* docs: recommend prepare over prepublish (@verhovsky)

Dependencies

* deps: npm-registry-fetch@13.1.0
* deps: cacache@16.0.3
* deps: make-fetch-happen@10.1.0
* deps: minipass-fetch@2.1.0
* deps: npm-audit-report@3.0.0
* deps: debug@4.3.4
* deps: proc-log@2.0.1
* deps: parse-conflict-json@2.0.2
* deps: gauge@4.0.4
* deps: @npmcli/template-oss@3.2.1
* deps: make-fetch-happen@10.1.1
* deps: init-package-json@3.0.2
* deps: npm-package-arg@9.0.2
* deps: validate-npm-package-name@4.0.0
* deps: @npmcli/template-oss@3.2.2
* deps: @npmcli/arborist@5.0.4
2022-04-11 18:50:31 +00:00
adam
2a27562d0a nodejs12: updated to 12.22.12
Version 12.22.12 'Erbium' (LTS)

This is planned to be the final Node.js 12 release. Node.js 12 will
reach End-of-Life status on 30 April 2022, after which it will no
receive updates. You are strongly advised to migrate your applications
to Node.js 16 or 14 (both of which are Long Term Support (LTS) releases)
to continue to receive future security updates beyond 30 April 2022.

This release fixes a shutdown crash in Node-API (formerly N-API) and a
potential stack overflow when using `vm.runInNewContext()`.

The list of GPG keys used to sign releases and instructions on how to
fetch the keys for verifying binaries has been synchronized with the
main branch.


Version 12.22.11 'Erbium' (LTS)

Update to OpenSSL 1.1.1n, which addresses the following vulnerability:

* Infinite loop in `BN_mod_sqrt()` reachable when parsing certificates (High)(CVE-2022-0778)
  More details are available at <https://www.openssl.org/news/secadv/20220315.txt>

Fix for building Node.js 12.x with Visual Studio 2019 to allow us to continue to
run CI tests.
2022-04-05 17:15:53 +00:00
adam
a712c01d4b nodejs10: removed, end of life 2022-04-05 16:57:17 +00:00
wiz
73d08b44b2 egg.mk: add some comments about setuptools {TOOL_,}DEPENDS 2022-04-03 13:59:33 +00:00
rhialto
fdbdfca01f lang/algol68g: update homepage and outdated maintainer mail address. 2022-04-03 13:56:50 +00:00
riastradh
8b1434214a python: Fix cross-build with pkg_resources.
setuptools must still be in TOOL_DEPENDS because we run it during the
build; for pkg_resources it must _also_ be in DEPENDS because the
built package needs it to run.
2022-04-03 11:54:48 +00:00
riastradh
74c823ca61 lang/python310: Make it cross-compile. 2022-04-03 10:54:52 +00:00
riastradh
b9e5427776 lang/python39: Make it cross-compile. 2022-04-03 10:51:19 +00:00
ryoon
b8a97ce1a2 openjdk11: Fix more NetBSD kqueue values
Bump PKGREVISION.
2022-04-03 00:30:19 +00:00
mef
c5366dede3 (lang/rakudo) Updated 2022.02 to 2022.03
(https://rakudo.org/post/announce-rakudo-release-2022.03)
New in 2022.03:

  * Deprecations:

  * Additions:

      + Expose the .file and .line methods on Label objects [028828ac]
      + Allow Date / DateTime day parameter to be a Callable / Whatever
        allowing e.g. Date.new(2022,3,*) for the last date in March 2022. (#
        4808) [37756433]
      + Make sure tools/install-dist.p6 is also available as .raku [6ddf7529]
  * Removals:

  * Changes:

      + Make error on Date.later(:hour|minute|second) more awesome [7f00f798]
      + Give .chomp the possibility to specify a needle (#4739) [cccc3e8c]
      + Improve error message for invalid arguments passed to traits [eb151d53]
      + Test should work with any default version of the language [9425d0fa]
  * Fixes:

      + Un =my= X::Comp::Group [74cca333]
      + Turn junctions into value objects [cc3ed94b]
      + Fix a bug with gist over Junction keys [df09bef0]
      + Fix classification and categorization over junctions [c50f51f9]
      + Fix typo'd missing : in .nominal_type signature (#4788) [59dcca66]
      + Decrement # of calls in a block if any are optimized away [4d19c236]
      + Fix [native array .repeated / .unique] issues on JVM backend [b46fed9c]
      + Fix IO::Path.parent [4ef9426f][e53716aa]
      + Fix multi-method candidates lost when 6.e role is applied [6b58cc03]
      + Workaround for cases where .ACCEPTS may return non-Raku object
        [f1f5d5cd]
      + Fix issue with native array.splice [blin] [63830142]
      + Fix issue with Net::Curl [blin] [6d04cc39]
      + Make DateTime.new(Allomorph:D) work [60603bac]
      + Restore given / when optimization for Numeric cases [986b1df4]
      + Fix/test Pod::To::Text rendering of =defn elements (#4803) [ca2d1d6c]
      + Remove erroneous early exit from install-dist.raku [edb8a200]
      + Fix resources of the parent repo not found when using Staging
        [07d580bc]
  * Internal:

      + Optimize more cases of p6decontrv ops (#4793) [2ed88523]
      + Use new native unsigned integer NQP ops where applicable [ceaa38fc]
        [4d61a582][28a734d1][548c2550][167c2394][72b9e1c2][e000840d][88386a09]
        [3e89b30a][96cbc2be][f807186e][de9eeeb2][a71ec345][7c5595e2][a965cdcb]
        [771655b0][5c8a2cf7]
      + Generate the SignedBlob/UnsignedBlob roles [65507b89][7870b446]
        [4677dcb7] [fb25bd4e]
      + Use --/++$i instead of $i = nqp::add/sub_i($i,1) for readability, as
        this is no longer needed for performance [5caf7aaf][648d02a1][0fac2da8]
        [db277ae2][11494f98][e06e32ef][2dfc69e2][3b64a627][81099326][a6019d51]
        [2bf84660][c92b44ec][af7c1c32][8077ebd3][6513988b][b79e9ba5][802a4737]
        [8529cc97][a236d438][08dcab8d][c1345c57][c7231cd7][bd722aba][473e903a]
        [f8e69321]
      + Streamline the Blob/Buf generated code a bit [6a21196c][6230645a]
      + Generate the sorting logic for native arrays [64c7dfa1]
      + Make Complex multiplication factor constant [7bc572e7]
      + Streamline Complex -> Real coercion [e3b836a5]
      + Simplify creating a Complex object [967a130f]
      + Enable num->str coercion in native.repeated/unique [979cc607]
      + Remove unneeded/confusing can('prec') checks [232a55b9]
      + Remove some unnecessary trys (#4773) [0949d67c]
      + Stop telling users to avoid mimalloc [200579f7]
      + CURS simplifications (use TWEAK over BUILD, remove .name) [3f10f7da]
2022-04-02 14:15:10 +00:00
mef
e2791a0be0 (lang/nqp) Updated 2022.02 to 2022.03, explicit ChangeLog unknown 2022-04-02 14:04:10 +00:00
nia
558a526bca ruby: Do not append an ABI on NetBSD to the arch-specific extension
directory. Failure seen in:

http://victory.netbsd.org/pkgsrc/packages/reports/2022Q1/evbarm7-9.0/20220330.2134/ruby31-base-3.1.1/install.log
2022-04-02 07:51:46 +00:00
tnn
bc21adaf3c nodejs: disable "near code ranges" on NetBSD/evbarm-aarch64 for now
It results in mmap(2) errors of the PR kern/55533 variety.
2022-04-01 18:41:02 +00:00
wiz
a88b90b59e perl5: update to 5.34.1
*  Modules and Pragmata

**  Updated Modules and Pragmata

B::Deparse has been upgraded from version 1.56 to 1.57.
Encode has been upgraded from version 3.08 to 3.08_01.
GDBM_File has been upgraded from version 1.19 to 1.19_01.
Module::CoreList has been upgraded from version 5.20210520 to 5.20220313.
perl5db.pl has been upgraded from version 1.60 to 1.60_01.

*  Testing

Tests were added and changed to reflect the other additions and changes in this
release.

*  Selected Bug Fixes

B::Deparse now correctly handles try/catch blocks with more complex scopes.
2022-04-01 16:39:12 +00:00
tnn
560298a9b2 nodejs: more CHECK_PORTABILITY_SKIP 2022-04-01 15:40:09 +00:00
adam
4afd39fde2 py-mypy: updated to 0.942
0.942:

Fixes to Regressions

Let overload item have a more general return type than the implementation
Fix inheritance false positives with dataclasses/attrs
Support overriding dunder attributes in Enum subclass
Fix small conditional overload regression

Other Fixes

Fix issues related to the order of processing in the builtins import cycle
Fix crash in match statement if class name is undefined
Allow non-final __match_args__ and overriding
2022-03-31 07:30:09 +00:00
wiz
327eed6309 nodejs: remove patches that were removed from distinfo during update 2022-03-31 07:25:27 +00:00
tnn
b10a2dff7f nodejs: add CHECK_PORTABILITY_SKIP 2022-03-31 07:17:01 +00:00
wiz
f243535e32 vala: update to 0.56.0.
Vala 0.56.0
===========
 * Various improvements and bug fixes:
  - codegen: Drop confusing warning when accessing interface members

 * Bindings:
  - Add webkit2gtk-4.1 bindings
  - glib-2.0: Fix memory management of TestSuite.add*/get_root() with 2.70 [#1295]
  - libarchive: Fix a few binding errors
  - SDL2_ttf: Fix a few binding errors
  - tiff: Fix a few binding errors

Vala 0.55.91
============
 * Various improvements and bug fixes:
  - girparser:
    + Handle duplicated and unnamed symbols
    + Add support for "copy_/free_function" metadata for compact classes
    + Don't count instance-parameter when checking for backwards closure
      reference [#721]

 * Bindings:
  - gst-editing-services-1.0: Fix BaseEffect.set_time_translation_funcs()
  - gstreamer-audio-1.0: Fix a few binding errors
  - gstreamer-base-1.0: Fix a few binding errors
  - gstreamer-video-1.0: Fix a few binding errors
  - gtk4: Fix content_deserialize_async()
  - libarchive: Fix a few binding errors
  - libgsf-1: Fix a few binding errors
  - libgrss: Fix FeedItem.get_geo_point() parameters

Vala 0.55.90
============
 * Various improvements and bug fixes:
  - codegen:
    + Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for interfaces with base class [#1292]
    + Emit G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() for structs [#1293]
    + Default to "has_type_id = false" for external error-domains
    + Emit GType definition for error domains [#699]
  - vala:
    + Catch and throw possible inner error of lock statements [#83]
    + Keep error-code symbol reference in callable expression context
    + Allow delegate without target to be used as constant type
  - girparser: Pick up type_id of error domains

 * Bindings:
  - glib-2.0: Update 2.70/72 symbols
  - gstreamer: Update from 1.21.0+ git main
  - vapi: Update GIR-based bindings

Vala 0.55.3
===========
 * Highlights:
  - Allow usage of dynamic on VarType [#187]

 * Various improvements and bug fixes:
  - codegen: Use correct target/destroy of delegate field initializer [#1285]
  - codegen: Stop generating wrappers for dynamic property access
  - gtkmodule: Improve UI parsing and handling of nested objects and properties
  - vala:
    + Add missing TraverseVisitor.visit_data_type()
    + Improve check of generic type references in static contexts [#1284]
    + Make sure to drop our "trap" jump target in case of an error [#1287]
    + Move dynamic property errors to semantic analyzer pass
    + Free empty stack list for code contexts
    + Clear SemanticAnalyzer.current_{symbol,source_file} when not needed anymore

 * Bindings:
  - gio-2.0,glib-2.0,gobject-2.0: Update 2.72 symbols
  - gstreamer: Update from 1.19.90+ git main
  - gtk4: Specify sentinel for GtkAcessible methods
  - gtk4: Update to 4.6.0+06ec4ec1
  - vapi: Update GIR-based bindings

Vala 0.55.2
===========
 * Highlights:
  - Add support for async main and yield statements in main block [#1275]
  - Add foreach statement support for GLib.Array and GLib.Sequence

 * Various improvements and bug fixes:
  - codegen:
    + Avoid symbol clashes with "va_*" from "stdarg.h"
    + Access of inline allocated array is guaranteed to be non null [#1282]
    + Don't uncoditionally null check callback_func for GLib.Closure [#1282]
    + Access of stack allocated struct is guaranteed to be non null [#1282]
    + Write array length of formal parameters with fixed length
  - vala:
    + Require lvalue access of delegate target/destroy "fields" [#857]
    + Implement missing YieldStatement.accept()
    + Add support to infer return type of dynamic signals
    + Transform assignment of an array element as needed [#889] [#1258]
  - parser: Reduce the source reference of main block method to its beginning
  - parser: Improve handling of nullable VarType in with-statement
  - manual: Update from wiki.gnome.org

 * Bindings:
  - glib-2.0,gio-2.0: Update 2.72 symbols
  - gstreamer: Update from 1.19.3+ git master
  - gtk4: Update to 4.6.0+a092986a
  - glib-2.0: Fix criticals in string.joinv() with arrays that start with null
  - vapi: Add linux-media bindings (linux/media.h)
  - alsa: Add/fix *.alloca() functions
  - posix: Add limits.h binding
  - v4l2: Update V4l2.Capabilities and fix some inline arrays

Vala 0.55.1
===========
 * Highlights:
  - Add support for partial classes [#370]
  - Add support for nested methods (local functions) [#1232]
  - Add multi-line support to Vala.Report [#764]
  - Support "emit" for explicit signal emission
  - Add native support to specify non default length-type for arrays [#607]

 * Various improvements and bug fixes:
  - codegen:
    + Move some errors to semantic analyzer pass
    + Stop generating wrappers for dynamic signal connections
    + gdbus: Use g_dbus_method_invocation_take_error() as simplification
    + Initialize type parameter properties for generics earlier [#67]
    + Initialize "result" variable on declaration for abstract methods only
    + Use __once instead of __volatile in generated code
    + Generated SimpleType structs don't have a type id
  - vala:
    + Add optional SourceReference parameter to DataType classes
    + Preserve the source reference when resolving data types
    + Set source references of created DataType instances in OCE
    + Set TypeParameter as symbol of GenericType
    + Add accessibility check of type for constants and structs base type
    + Don't allow casting to void [#1070]
    + Don't allow casting real structs to classes or simple-types [#1249]
    + Check accessibility of initializer for constant and enum value
    + Show source location when reporting deprecations

 * Bindings:
  - Add gnome-desktop-4, gnome-bg-4 and gnome-rr-4 bindings
  - Add libsoup-3.0 binding
  - Add webkit2gtk-5.0 bindings
  - glib-2.0: Add Unicode 14.0 symbols
  - glib-2.0: Update 2.72 symbols
  - gstreamer: Update from 1.19.3+ git master
  - gstreamer-1.0: Make Gst.Uri a sealed class
  - gtk4: Update to 4.6.0+06e5da45
  - webkit2gtk-*.0: Update to 2.35.1
  - vapi: Update GIR-based bindings

Vala 0.54.6
===========
 * Various improvements and bug fixes:
  - codegen:
    + Allow boxing of non-external SimpleType structs [#1273]
    + Cast given default-value of struct with possible member initializer [#1272]
    + Clear existing length values when revisiting a slice expression [#1274]
  - vala:
    + Allow unsafe assignment of integer to enum while reporting a notice
    + Non nullable enum types are simple types [#1268]
    + Correctly replace "in" expression in pre-/postconditions of method [#1269]

 * Bindings:
  - gio-2.0: Add custom MemoryOutputStream.with_*data() wrappers [#1271]

Vala 0.54.5
===========
 * Various improvements and bug fixes:
  - codegen:
    + Correctly handle chain up of struct creation methods [#1264]
    + Use a dedicated EmitContext for _variant_get*() functions
    + gtkmodule: Handle nested closure elements and bind them accordingly [#1262]
  - vala:
    + NullLiteral is not a valid argument for string concatenation [#1260]
    + Set is_yield_expression in async context when chaining up to async base ctor
    + Report statement parsing error if it is not meant to be an expression [#1261]
    + girparser: Avoid possibily creating duplicated attributes
  - vapigen.m4: use $PKG_CONFIG_SYSROOT_DIR

 * Bindings:
  - glib-2.0: Always use the actual C type for CCode.array_length_type
  - gstreamer: Cherry-pick bindings fixes from 0.56
  - gstreamer-1.0: Unskip the ElementFactory.make/create_full() symbols

Vala 0.54.4
===========
 * Various improvements and bug fixes:
  - codegen:
    + Use CCodeConstant for member access of constant symbol
    + Emit constants without initializer list in defines section [#440]
    + Add and use CCodeConstantIdentifier for accessing constants
    + Check required length of enum type name for GType support
    + Add missing check while overriding virtual async interface methods [#852]
    + Drop inconsistent space for ObjectType parameters
    + Accept CCode.type attribute on parameters [#876]
    + Fix CCodeUnaryExpression.write() for PREFIX_INCREMENT/PREFIX_DECREMENT
  - vala:
    + Improve error message for invalid handler of dynamic signal
    + Using SignalHandler.disconnect() is required for dynamic signals
    + Check for unavailable value-type of variable initializer [#1253]
    + Add [Profile] as known attribute for methods
    + Report error on missing gio-2.0 package for async constructors
    + Fix signals with generic return
    + parser: Split out Parser.parse_switch_section_statement()
    + parser: Better handling of misplaced switch sections [#1246]
  - genie:
    + Amend text of indent and dedent for error messages [#497]
    + Accept INTERR token before type arguments when parsing type [#1245]
    + Properly handle plain "get" or "set" property accessors [#1248]
    + "exception" is the expected string for TokenType.ERRORDOMAIN
    + Accept accessibility/async modifiers on "construct" creation methods [#1235]
  - girparser: Accept "sealed" for transformed records and compact classes
  - gtkmodule: Improve error message for invalid signal element in ui-file
  - build: Add "test-update" which passed UPDATE_EXPECTED=1 to refresh c-expected
  - tests: Rename colliding test cases to avoid conflicts

 * Bindings:
  - alsa: Add more API and fix a few things
  - gnome-desktop-3.0: Some parameter fixes
  - gstreamer: Cherry-pick bindings fixes from 0.56
  - gstreamer-base-1.0: Some parameter fixes [#1255]
  - gtk4: Update to 4.5.0~cd9b7307
  - pango: Cherry-pick bindings fixes from 0.56

Vala 0.54.3
===========
 * Various improvements and bug fixes:
  - codegen: Actually free data when using "remove(_all)"
    on GLib.Queue/(S)List [#1238]
  - vala:
    + Parameter following ellipsis parameter is not allowed [#1237]
    + More thorough check of ValueType and set CodeNode.error on failure
    + Really check compatiblity of error types for delegate symbol
    + Correctly output signature of callable throwing error
    + Report error for non ErrorType in throws
    + Implement CodeWriter.visit_foreach_statement()/visit_catch_clause()
  - parser: Make sure ErrorCodes are accessible as needed
  - girparser: Add support for "ref_/ref_sink_/unref_function"
    metadata for classes [#1233]

Vala 0.54.2
===========
 * Various improvements and bug fixes:
  - vala:
    + Multi-dimensional params-array not allowed [#1230]
    + Accept NullType as generic type argument
    + Set source references of created DataType instances in OCE

 * Bindings:
  - gio-2.0: Update to 2.71.0~a0d2efdc
  - glib-2.0: Update 2.70 symbols
  - gtk4: Update to 4.5.0~da5efea6

Vala 0.54.1
===========
 * Regression and bug fixes:
  - codegen:
    + Add type declaration for implicit temporary local variable
    + Sealed class in external package is not special [#1229]

 * Bindings:
  - gstreamer: Update from 1.19.0+ git master
  - gtk4: Update to 4.5.0~3e20ecd6
2022-03-30 09:56:50 +00:00
wiz
0f21e48f52 guile30: update to 3.0.8.
Changes in 3.0.8 (since 3.0.7)

* Notable changes

** Cross-module inlining

Although historically Guile has treated modules as glorified hash
tables, most modules are actually _declarative_ -- they just define
functions and variables and provide them for other modules to use, and
don't manipulate modules as first-class objects.  See "Declarative
Modules" in the manual, for more discussion.

Since version 3.0.0, Guile has taken advantage of declarative semantics
to allow a top-level definition to be inlined within its uses in the
same compilation unit, provided the binding is never assigned and
defined exactly once.  Guile 3.0.8 extends this to allow some
exported declarative definitions to be inlined into other modules.

This facility is mostly transparent to the user and is enabled at the
default -O2 optimization level.  "Small" definitions are available for
cross-module inlining (-Oinlinable-exports, included at -O2).  The
actual inlining decision is performed by Guile's partial evaluation pass
(the -Ocross-module-inlining modifier to -Opeval, included at -O2 also),
subject to effort and size growth counters.

Note however that as with macros, when a definition changes in module A,
a separately compiled module B that uses that definition doesn't
automatically get recompiled.  This is a limitation in Guile that we
would like to fix.

As another limitation, cross-module inlining is only available for
imports from modules which have already been compiled at -O2 (or
otherwise with -Oinlinable-exports).

When determining whether to enable this facility by default, we weighed
the usability problems of stale inlined bindings against the benefit of
allowing module boundaries to no longer be optimization boundaries, we
ended up on the "let's do it!" side of the equation.  However we welcome
feedback from users as to what should be the default behavior, until
such a time as we have a proper notion of when a compiled file is stale
or not.

** Avoid the need for a custom GMP allocator

In Guile 3.0.6, we fixed a longstanding bug in Guile's use of the
library that Guile uses to implement bignums (large integers), GMP
(https://gmplib.org).  See the Guile 3.0.6 release notes.  However this
left us with a suboptimal Guile, in which each large integer had to have
a finalizer to free the memory allocated by GMP.  Finalizers take time
and space, and so they limit allocation rate, causing bignum performance
to drop.  Though you could set an environment variable to go back to the
older, faster behavior, it wasn't the default.

In Guile 3.0.8 we fix this problem comprehensively by avoiding embedding
GMP's mpz_t values in Guile bignums.  Instead we embed the bignum digits
directly, avoiding the need for finalizers or custom allocators.  This
removes the need for the GUILE_INSTALL_GMP_MEMORY_FUNCTIONS environment
variable mentioned in the Guile 3.0.6 release notes.  We also deprecate
the scm_install_gmp_memory_functions variable.

* New interfaces and functionality

** Typed vector copy functions in (srfi srfi-4 gnu)

The functions `u8vector-copy' `s8vector-copy' `u16vector-copy'
`s16vector-copy' `u32vector-copy' `s32vector-copy' `u64vector-copy'
`s64vector-copy' `f32vector-copy' `f64vector-copy' `c32vector-copy'
`c64vector-copy' `u8vector-copy!'  `s8vector-copy!'  `u16vector-copy!'
`s16vector-copy!'  `u32vector-copy!'  `s32vector-copy!'
`u64vector-copy!'  `s64vector-copy!'  `f32vector-copy!'
`f64vector-copy!'  `c32vector-copy!'  `c64vector-copy!' have been
added. See SRFI-4 - Guile extensions" in the manual.

** New function srfi-4-vector-type-size in (srfi srfi-4 gnu)

See SRFI-4 - Guile extensions" in the manual.

** `bytevector-fill!' supports partial fill through optional arguments

This is an extension to the r6rs procedure. See "Manipulating
Bytevectors" in the manual.

** `vector-copy!' and `vector-copy' from (rnrs base) included in core

Compared to the previous versions, these accept range arguments. See
"Accessing and Modifying Vector Contents" in the manual.

** New function bitvector-copy

See "Bit vectors" in the manual.

** (system foreign) supports C99 complex types

The types `complex-float' and `complex-double' stand for C99 `float
_Complex' and `double _Complex` respectively.

* Other new optimizations

** Better optimization of "let" in right-hand-side of "letrec"

** Allow constant-folding for calls to "expt"

Thanks to Maxime Devos.

** Add ,optimize-cps REPL meta-command

This meta-command is like ,optimize, but at a lower level.

** Improve alias analysis in common subexpression elimination

** Avoid argument-count checks for well-typed calls to known procedures

This speeds up calls to lexically bound procedures.

** Avoid return-value-count checks for calls to known-return-arity procedures

This new optimization, enabled at -O2, speeds up returns from calls to
lexically bound procedures.

* Build system changes

** Update Gnulib (bugs.gnu.org/49930)

Update gnulib to 8f4538a53d64054ae2fc8b86c0f87c418c6176e6.

** Compile libguile with -flto if available

By default, if the compiler supports link-time optimization via the
-flto flag, Guile will add it to CFLAGS.  This results in a libguile
that is approximately 15% smaller.  Pass --disable-lto to configure to
inhibit this behavior.

** Trim set of prebuilt .go files shipped in the tarball

Guile includes built Scheme files in its tarball to speed up the build,
for casual builders that are less concerned with reproducibility.
However they took a lot of space and we have now trimmed these down to a
more minimal set.  As always, you can remove them and build entirely
from source via a `make -C prebuilt clean`.

* New deprecations

** Vector functions require vector arguments

Passing arrays that are not vectors (arrays for which `(vector? array)'
returns false) to functions `vector-move-left!', `vector-move-right!',
`vector->list', and `vector-copy' is deprecated. Use `array-copy!',
`array-copy', and `array->list' for such arguments.

** `scm_from_contiguous_typed_array' is deprecated

This function was added during the Guile 2.x series and was not
documented and is no longer used in Guile itself.

** Deprecate the "simple vector" concept, `scm_is_simple_vector'

This concept meant to indicate "vectors which aren't array slices".  Use
scm_is_vector.

** Deprecate internal contiguous array flag

We still reserve space for the flag to preserve ABI but it has no
effect.  As such we also remove the internal SCM_I_ARRAY_CONTIGUOUS,
SCM_SET_ARRAY_CONTIGUOUS_FLAG, SCM_CLR_ARRAY_CONTIGUOUS_FLAG,
SCM_I_ARRAY_CONTP preprocessor interfaces, as they were internal and
there is no longer a sensible way of using them.

** Deprecate symbol properties

Symbols used to have a "function slot" and a "property slot", inherited
from Emacs Lisp and early Lisps, which one would access with
'symbol-pref', 'symbol-fref', 'symbol-pset!', and 'symbol-fset!'.  These
procedures have been discouraged in favor of object properties; they are
now deprecated.  This saves a few words of memory per symbol.

* Bug fixes

** Fix compilation of (ash x N), where N is a literal, at -O1 and below
** Texinfo and XML parsers are now thread-safe (bugs.gnu.org/51264)
** Fix `filename-completion-function' in (ice-9 readline)
** Fix trace-calls-to-procedure (bugs.gnu.org/43102, bugs.gnu.org/48412)
** Fix bug in nftw function (bugs.gnu.org/44182)
** Fix optimization bug in CSE in eq-constant? if both branches same
** Fix readline initialization with invalid keymaps
** Fix crash when reading #nil (bugs.gnu.org/49305)
** Fix read error when reading #{}}#.
** Fix Darwin host detection in foreign-library facility.
** Fix unification of (x ...) patterns in `match'
** Fix scaling floats with leading zeroes in `format'
** Improve support for r7rs-style `(srfi N)' and r6rs-style `(srfi :N)
   module names (bugs.gnu.org/39601, bugs.gnu.org/40371)
** Add support for the ARC architecture (bugs.gnu.org/48816)
** Build fix for const strerror result (bugs.gnu.org/43987)
** Fix typos in SRFI documentation (bugs.gnu.org/50127)
** Fix bounds check in `recvfrom!' (bugs.gnu.org/45595)
** Add support for riscv32
** Limit `ash' to left-shift by 2^32 bits (bugs.gnu.org/48150)
** Fix type confusion in heap-numbers-equal? calls from VM
2022-03-30 07:48:13 +00:00
adam
817ba9f63a nodejs: updated to 16.14.2
Version 16.14.2 'Gallium' (LTS)

This is a security release.

Notable Changes

Update to OpenSSL 1.1.1n, which addresses the following vulnerability:

Infinite loop in BN_mod_sqrt() reachable when parsing certificates (High)(CVE-2022-0778) More details are available at https://www.openssl.org/news/secadv/20220315.txt


For older changes, see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md
2022-03-30 06:52:33 +00:00
adam
ab1b312e43 nodejs14: updated to 14.19.1 and moved to lang/nodejs14
Version 14.19.1 'Fermium' (LTS)

This is a security release.

Notable Changes

Update to OpenSSL 1.1.1n, which addresses the following vulnerability:

Infinite loop in BN_mod_sqrt() reachable when parsing certificates (High)(CVE-2022-0778) More details are available at https://www.openssl.org/news/secadv/20220315.txt
2022-03-30 06:51:30 +00:00
wiz
379917be38 cint: fix configure args, now it fails later in the build
XXX: does anyone still use this?
2022-03-29 18:38:06 +00:00
tnn
5d1b18666b {f,h,l,n,p}*/*: revbump(1) for libsndfile 2022-03-28 10:56:15 +00:00
tnn
8f81f24c2c gcc10: disable libsanitizer on SunOS
It doesn't build properly for me even when using lang/gcc10 to self-host.
2022-03-27 17:01:30 +00:00
tnn
a59ee2f01c gcc*: only use system zlib if it is native, else use bundled
This is the logic we have in gcc8. Replicate it to newer GCC packages.
Using pkgsrc zlib causes problems linking gcov(1) on at least Linux
and SunOS. It is not worth bend-over-backwards rpath-patching.
2022-03-27 15:06:11 +00:00
nia
b265faeacc clisp: temporarily avoid failing RELRO/PIE checks for branch 2022-03-27 10:57:59 +00:00
jaapb
7b45b33716 PLIST fix for lang/ocaml for non-native architectures
This fixes the PLIST for architectures that do not use OCaml's native
compiler; other architectures should not be affected.

Thanks to Havard Eidnes and Martin Husemann for reporting the error.
2022-03-26 19:19:07 +00:00
adam
512d60f5d7 python310 py310-html-docs: updated to 3.10.4
Python 3.10.4 final

Core and Builtins

bpo-46968: Check for the existence of the “sys/auxv.h” header in faulthandler to avoid compilation problems in systems where this header doesn’t exist. Patch by Pablo Galindo

Library

bpo-23691: Protect the re.finditer() iterator from re-entering.

bpo-42369: Fix thread safety of zipfile._SharedFile.tell() to avoid a “zipfile.BadZipFile: Bad CRC-32 for file” exception when reading a ZipFile from multiple threads.

bpo-38256: Fix binascii.crc32() when it is compiled to use zlib’c crc32 to work properly on inputs 4+GiB in length instead of returning the wrong result. The workaround prior to this was to always feed the function data in increments smaller than 4GiB or to just call the zlib module function.

bpo-39394: A warning about inline flags not at the start of the regular expression now contains the position of the flag.

bpo-47061: Deprecate the various modules listed by PEP 594:

aifc, asynchat, asyncore, audioop, cgi, cgitb, chunk, crypt, imghdr, msilib, nntplib, nis, ossaudiodev, pipes, smtpd, sndhdr, spwd, sunau, telnetlib, uu, xdrlib

bpo-2604: Fix bug where doctests using globals would fail when run multiple times.

bpo-45997: Fix asyncio.Semaphore re-aquiring FIFO order.

bpo-47022: The asynchat, asyncore and smtpd modules have been deprecated since at least Python 3.6. Their documentation and deprecation warnings and have now been updated to note they will removed in Python 3.12 (PEP 594).

bpo-46421: Fix a unittest issue where if the command was invoked as python -m unittest and the filename(s) began with a dot (.), a ValueError is returned.

bpo-40296: Fix supporting generic aliases in pydoc.
2022-03-25 17:55:19 +00:00
adam
a72a165319 python39 py39-html-docs: updated to 3.9.12
Python 3.9.12 final

Core and Builtins

bpo-46968: Check for the existence of the “sys/auxv.h” header in faulthandler to avoid compilation problems in systems where this header doesn’t exist. Patch by Pablo Galindo

Library

bpo-47101: hashlib.algorithms_available now lists only algorithms that are provided by activated crypto providers on OpenSSL 3.0. Legacy algorithms are not listed unless the legacy provider has been loaded into the default OSSL context.
bpo-23691: Protect the re.finditer() iterator from re-entering.
bpo-42369: Fix thread safety of zipfile._SharedFile.tell() to avoid a “zipfile.BadZipFile: Bad CRC-32 for file” exception when reading a ZipFile from multiple threads.
bpo-38256: Fix binascii.crc32() when it is compiled to use zlib’c crc32 to work properly on inputs 4+GiB in length instead of returning the wrong result. The workaround prior to this was to always feed the function data in increments smaller than 4GiB or to just call the zlib module function.
bpo-39394: A warning about inline flags not at the start of the regular expression now contains the position of the flag.
bpo-47061: Deprecate the various modules listed by PEP 594:
aifc, asynchat, asyncore, audioop, cgi, cgitb, chunk, crypt, imghdr, msilib, nntplib, nis, ossaudiodev, pipes, smtpd, sndhdr, spwd, sunau, telnetlib, uu, xdrlib
bpo-2604: Fix bug where doctests using globals would fail when run multiple times.
bpo-45997: Fix asyncio.Semaphore re-aquiring FIFO order.
bpo-47022: The asynchat, asyncore and smtpd modules have been deprecated since at least Python 3.6. Their documentation has now been updated to note they will removed in Python 3.12 (PEP 594).
bpo-46421: Fix a unittest issue where if the command was invoked as python -m unittest and the filename(s) began with a dot (.), a ValueError is returned.
bpo-40296: Fix supporting generic aliases in pydoc.
bpo-14156: argparse.FileType now supports an argument of ‘-’ in binary mode, returning the .buffer attribute of sys.stdin/sys.stdout as appropriate. Modes including ‘x’ and ‘a’ are treated equivalently to ‘w’ when argument is ‘-’. Patch contributed by Josh Rosenberg
2022-03-25 17:54:37 +00:00
rillig
b236abbb11 lang/quickjs: import DESCR from wip/quickjs 2022-03-21 23:00:33 +00:00
osa
58df5308c3 lang/njs: fix fetching
Reported by:	wiz
2022-03-19 23:20:27 +00:00
adam
c00ae9b2b0 python310 py310-html-docs: updated to 3.10.3
Python 3.10.3 final

Core and Builtins

bpo-46940: Avoid overriding AttributeError metadata information for nested attribute access calls. Patch by Pablo Galindo.
bpo-46852: Rename the private undocumented float.__set_format__() method to float.__setformat__() to fix a typo introduced in Python 3.7. The method is only used by test_float. Patch by Victor Stinner.
bpo-46794: Bump up the libexpat version into 2.4.6
bpo-46820: Fix parsing a numeric literal immediately (without spaces) followed by “not in” keywords, like in 1not in x. Now the parser only emits a warning, not a syntax error.
bpo-46762: Fix an assert failure in debug builds when a ‘<’, ‘>’, or ‘=’ is the last character in an f-string that’s missing a closing right brace.
bpo-46724: Make sure that all backwards jumps use the JUMP_ABSOLUTE instruction, rather than JUMP_FORWARD with an argument of (2**32)+offset.
bpo-46732: Correct the docstring for the __bool__() method. Patch by Jelle Zijlstra.
bpo-46707: Avoid potential exponential backtracking when producing some syntax errors involving lots of brackets. Patch by Pablo Galindo.
bpo-40479: Add a missing call to va_end() in Modules/_hashopenssl.c.
bpo-46615: When iterating over sets internally in setobject.c, acquire strong references to the resulting items from the set. This prevents crashes in corner-cases of various set operations where the set gets mutated.
bpo-45773: Remove two invalid “peephole” optimizations from the bytecode compiler.
bpo-43721: Fix docstrings of getter, setter, and deleter to clarify that they create a new copy of the property.
bpo-46503: Fix an assert when parsing some invalid N escape sequences in f-strings.
bpo-46417: Fix a race condition on setting a type __bases__ attribute: the internal function add_subclass() now gets the PyTypeObject.tp_subclasses member after calling PyWeakref_NewRef() which can trigger a garbage collection which can indirectly modify PyTypeObject.tp_subclasses. Patch by Victor Stinner.
bpo-46383: Fix invalid signature of _zoneinfo’s module_free function to resolve a crash on wasm32-emscripten platform.
bpo-46070: Py_EndInterpreter() now explicitly untracks all objects currently tracked by the GC. Previously, if an object was used later by another interpreter, calling PyObject_GC_UnTrack() on the object crashed if the previous or the next object of the PyGC_Head structure became a dangling pointer. Patch by Victor Stinner.
bpo-46339: Fix a crash in the parser when retrieving the error text for multi-line f-strings expressions that do not start in the first line of the string. Patch by Pablo Galindo
bpo-46240: Correct the error message for unclosed parentheses when the tokenizer doesn’t reach the end of the source when the error is reported. Patch by Pablo Galindo
bpo-46091: Correctly calculate indentation levels for lines with whitespace character that are ended by line continuation characters. Patch by Pablo Galindo

Library

bpo-43253: Fix a crash when closing transports where the underlying socket handle is already invalid on the Proactor event loop.

bpo-47004: Apply bugfixes from importlib_metadata 4.11.3, including bugfix for EntryPoint.extras, which was returning match objects and not the extras strings.

bpo-46985: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)

bpo-46968: faulthandler: On Linux 5.14 and newer, dynamically determine size of signal handler stack size CPython allocates using getauxval(AT_MINSIGSTKSZ). This changes allows for Python extension’s request to Linux kernel to use AMX_TILE instruction set on Sapphire Rapids Xeon processor to succeed, unblocking use of the ISA in frameworks.

bpo-46955: Expose asyncio.base_events.Server as asyncio.Server. Patch by Stefan Zabka.

bpo-23325: The signal module no longer assumes that SIG_IGN and SIG_DFL are small int singletons.

bpo-46932: Update bundled libexpat to 2.4.7

bpo-25707: Fixed a file leak in xml.etree.ElementTree.iterparse() when the iterator is not exhausted. Patch by Jacob Walls.

bpo-44886: Inherit asyncio proactor datagram transport from asyncio.DatagramTransport.

bpo-46827: Support UDP sockets in asyncio.loop.sock_connect() for selector-based event loops. Patch by Thomas Grainger.

bpo-46811: Make test suite support Expat >=2.4.5

bpo-46252: Raise TypeError if ssl.SSLSocket is passed to transport-based APIs.

bpo-46784: Fix libexpat symbols collisions with user dynamically loaded or statically linked libexpat in embedded Python.

bpo-39327: shutil.rmtree() can now work with VirtualBox shared folders when running from the guest operating-system.

bpo-46756: Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which allowed to bypass authorization. For example, access to URI example.org/foobar was allowed if the user was authorized for URI example.org/foo.

bpo-46643: In typing.get_type_hints(), support evaluating stringified ParamSpecArgs and ParamSpecKwargs annotations. Patch by Gregory Beauregard.

bpo-45863: When the tarfile module creates a pax format archive, it will put an integer representation of timestamps in the ustar header (if possible) for the benefit of older unarchivers, in addition to the existing full-precision timestamps in the pax extended header.

bpo-46676: Make typing.ParamSpec args and kwargs equal to themselves. Patch by Gregory Beauregard.

bpo-46672: Fix NameError in asyncio.gather() when initial type check fails.

bpo-46655: In typing.get_type_hints(), support evaluating bare stringified TypeAlias annotations. Patch by Gregory Beauregard.

bpo-45948: Fixed a discrepancy in the C implementation of the xml.etree.ElementTree module. Now, instantiating an xml.etree.ElementTree.XMLParser with a target=None keyword provides a default xml.etree.ElementTree.TreeBuilder target as the Python implementation does.

bpo-46521: Fix a bug in the codeop module that was incorrectly identifying invalid code involving string quotes as valid code.

bpo-46581: Brings ParamSpec propagation for GenericAlias in line with Concatenate (and others).

bpo-46591: Make the IDLE doc URL on the About IDLE dialog clickable.

bpo-46400: expat: Update libexpat from 2.4.1 to 2.4.4

bpo-46487: Add the get_write_buffer_limits method to asyncio.transports.WriteTransport and to the SSL transport.

bpo-45173: Note the configparser deprecations will be removed in Python 3.12.

bpo-46539: In typing.get_type_hints(), support evaluating stringified ClassVar and Final annotations inside Annotated. Patch by Gregory Beauregard.

bpo-46491: Allow typing.Annotated to wrap typing.Final and typing.ClassVar. Patch by Gregory Beauregard.

bpo-46436: Fix command-line option -d/--directory in module http.server which is ignored when combined with command-line option --cgi. Patch by Géry Ogam.

bpo-41403: Make mock.patch() raise a TypeError with a relevant error message on invalid arg. Previously it allowed a cryptic AttributeError to escape.

bpo-46474: In importlib.metadata.EntryPoint.pattern, avoid potential REDoS by limiting ambiguity in consecutive whitespace.

bpo-46469: asyncio generic classes now return types.GenericAlias in __class_getitem__ instead of the same class.

bpo-46434: pdb now gracefully handles help when __doc__ is missing, for example when run with pregenerated optimized .pyc files.

bpo-46333: The __eq__() and __hash__() methods of typing.ForwardRef now honor the module parameter of typing.ForwardRef. Forward references from different modules are now differentiated.

bpo-46246: Add missing __slots__ to importlib.metadata.DeprecatedList. Patch by Arie Bovenberg.

bpo-46266: Improve day constants in calendar.

Now all constants (MONDAY … SUNDAY) are documented, tested, and added to __all__.

bpo-46232: The ssl module now handles certificates with bit strings in DN correctly.

bpo-43118: Fix a bug in inspect.signature() that was causing it to fail on some subclasses of classes with a __text_signature__ referencing module globals. Patch by Weipeng Hong.

bpo-26552: Fixed case where failing asyncio.ensure_future() did not close the coroutine. Patch by Kumar Aditya.

bpo-21987: Fix an issue with tarfile.TarFile.getmember() getting a directory name with a trailing slash.

bpo-20392: Fix inconsistency with uppercase file extensions in MimeTypes.guess_type(). Patch by Kumar Aditya.

bpo-46080: Fix exception in argparse help text generation if a argparse.BooleanOptionalAction argument’s default is argparse.SUPPRESS and it has help specified. Patch by Felix Fontein.

bpo-44439: Fix .write() method of a member file in ZipFile, when the input data is an object that supports the buffer protocol, the file length may be wrong.

bpo-45703: When a namespace package is imported before another module from the same namespace is created/installed in a different sys.path location while the program is running, calling the importlib.invalidate_caches() function will now also guarantee the new module is noticed.

bpo-24959: Fix bug where unittest sometimes drops frames from tracebacks of exceptions raised in tests.

bpo-44791: Fix substitution of ParamSpec in Concatenate with different parameter expressions. Substitution with a list of types returns now a tuple of types. Substitution with Concatenate returns now a Concatenate with concatenated lists of arguments.

bpo-14156: argparse.FileType now supports an argument of ‘-’ in binary mode, returning the .buffer attribute of sys.stdin/sys.stdout as appropriate. Modes including ‘x’ and ‘a’ are treated equivalently to ‘w’ when argument is ‘-’. Patch contributed by Josh Rosenberg

Documentation

bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file

Tests

bpo-46913: Fix test_faulthandler.test_sigfpe() if Python is built with undefined behavior sanitizer (UBSAN): disable UBSAN on the faulthandler_sigfpe() function. Patch by Victor Stinner.
bpo-46708: Prevent default asyncio event loop policy modification warning after test_asyncio execution.
bpo-46678: The function make_legacy_pyc in Lib/test/support/import_helper.py no longer fails when PYTHONPYCACHEPREFIX is set to a directory on a different device from where tempfiles are stored.
bpo-46616: Ensures test_importlib.test_windows cleans up registry keys after completion.
bpo-44359: test_ftplib now silently ignores socket errors to prevent logging unhandled threading exceptions. Patch by Victor Stinner.
bpo-46542: Fix a Python crash in test_lib2to3 when using Python built in debug mode: limit the recursion limit. Patch by Victor Stinner.
bpo-46576: test_peg_generator now disables compiler optimization when testing compilation of its own C extensions to significantly speed up the testing on non-debug builds of CPython.
bpo-46542: Fix test_json tests checking for RecursionError: modify these tests to use support.infinite_recursion(). Patch by Victor Stinner.
bpo-13886: Skip test_builtin PTY tests on non-ASCII characters if the readline module is loaded. The readline module changes input() behavior, but test_builtin is not intented to test the readline module. Patch by Victor Stinner.

Build

bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails.
bpo-47024: Update OpenSSL to 1.1.1n for macOS installers and all Windows builds.
bpo-38472: Fix GCC detection in setup.py when cross-compiling. The C compiler is now run with LC_ALL=C. Previously, the detection failed with a German locale.
bpo-46513: configure no longer uses AC_C_CHAR_UNSIGNED macro and pyconfig.h no longer defines reserved symbol __CHAR_UNSIGNED__.
bpo-45925: Update Windows installer to use SQLite 3.37.2.

Windows

bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900
bpo-46948: Prevent CVE-2022-26488 by ensuring the Add to PATH option in the Windows installer uses the correct path when being repaired.
bpo-46638: Ensures registry virtualization is consistently disabled. For 3.10 and earlier, it remains enabled (some registry writes are protected), while for 3.11 and later it is disabled (registry modifications affect all applications).

macOS

bpo-45925: Update macOS installer to SQLite 3.37.2.

IDLE

bpo-46630: Make query dialogs on Windows start with a cursor in the entry box.
bpo-45296: Clarify close, quit, and exit in IDLE. In the File menu, ‘Close’ and ‘Exit’ are now ‘Close Window’ (the current one) and ‘Exit’ is now ‘Exit IDLE’ (by closing all windows). In Shell, ‘quit()’ and ‘exit()’ mean ‘close Shell’. If there are no other windows, this also exits IDLE.
bpo-45447: Apply IDLE syntax highlighting to pyi files. Patch by Alex Waygood and Terry Jan Reedy.

C API

bpo-46433: The internal function _PyType_GetModuleByDef now correctly handles inheritance patterns involving static types.
bpo-14916: Fixed bug in the tokenizer that prevented PyRun_InteractiveOne from parsing from the provided FD.
2022-03-19 18:59:40 +00:00
adam
c7474e7cfc python39 py39-html-docs: updated to 3.9.11
Python 3.9.11 final

Core and Builtins

bpo-46852: Rename the private undocumented float.__set_format__() method to float.__setformat__() to fix a typo introduced in Python 3.7. The method is only used by test_float. Patch by Victor Stinner.
bpo-46794: Bump up the libexpat version into 2.4.6
bpo-46762: Fix an assert failure in debug builds when a ‘<’, ‘>’, or ‘=’ is the last character in an f-string that’s missing a closing right brace.
bpo-46732: Correct the docstring for the __bool__() method. Patch by Jelle Zijlstra.
bpo-40479: Add a missing call to va_end() in Modules/_hashopenssl.c.
bpo-46615: When iterating over sets internally in setobject.c, acquire strong references to the resulting items from the set. This prevents crashes in corner-cases of various set operations where the set gets mutated.
bpo-43721: Fix docstrings of getter, setter, and deleter to clarify that they create a new copy of the property.
bpo-46503: Fix an assert when parsing some invalid N escape sequences in f-strings.
bpo-46417: Fix a race condition on setting a type __bases__ attribute: the internal function add_subclass() now gets the PyTypeObject.tp_subclasses member after calling PyWeakref_NewRef() which can trigger a garbage collection which can indirectly modify PyTypeObject.tp_subclasses. Patch by Victor Stinner.
bpo-46383: Fix invalid signature of _zoneinfo’s module_free function to resolve a crash on wasm32-emscripten platform.

Library

bpo-43253: Fix a crash when closing transports where the underlying socket handle is already invalid on the Proactor event loop.
bpo-47004: Apply bugfixes from importlib_metadata 4.11.3, including bugfix for EntryPoint.extras, which was returning match objects and not the extras strings.
bpo-46985: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)
bpo-46968: faulthandler: On Linux 5.14 and newer, dynamically determine size of signal handler stack size CPython allocates using getauxval(AT_MINSIGSTKSZ). This changes allows for Python extension’s request to Linux kernel to use AMX_TILE instruction set on Sapphire Rapids Xeon processor to succeed, unblocking use of the ISA in frameworks.
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server. Patch by Stefan Zabka.
bpo-46932: Update bundled libexpat to 2.4.7
bpo-25707: Fixed a file leak in xml.etree.ElementTree.iterparse() when the iterator is not exhausted. Patch by Jacob Walls.
bpo-44886: Inherit asyncio proactor datagram transport from asyncio.DatagramTransport.
bpo-46827: Support UDP sockets in asyncio.loop.sock_connect() for selector-based event loops. Patch by Thomas Grainger.
bpo-46811: Make test suite support Expat >=2.4.5
bpo-46252: Raise TypeError if ssl.SSLSocket is passed to transport-based APIs.
bpo-46784: Fix libexpat symbols collisions with user dynamically loaded or statically linked libexpat in embedded Python.
bpo-39327: shutil.rmtree() can now work with VirtualBox shared folders when running from the guest operating-system.
bpo-46756: Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which allowed to bypass authorization. For example, access to URI example.org/foobar was allowed if the user was authorized for URI example.org/foo.
bpo-45863: When the tarfile module creates a pax format archive, it will put an integer representation of timestamps in the ustar header (if possible) for the benefit of older unarchivers, in addition to the existing full-precision timestamps in the pax extended header.
bpo-46672: Fix NameError in asyncio.gather() when initial type check fails.
bpo-45948: Fixed a discrepancy in the C implementation of the xml.etree.ElementTree module. Now, instantiating an xml.etree.ElementTree.XMLParser with a target=None keyword provides a default xml.etree.ElementTree.TreeBuilder target as the Python implementation does.
bpo-46591: Make the IDLE doc URL on the About IDLE dialog clickable.
bpo-46400: expat: Update libexpat from 2.4.1 to 2.4.4
bpo-46487: Add the get_write_buffer_limits method to asyncio.transports.WriteTransport and to the SSL transport.
bpo-46539: In typing.get_type_hints(), support evaluating stringified ClassVar and Final annotations inside Annotated. Patch by Gregory Beauregard.
bpo-46491: Allow typing.Annotated to wrap typing.Final and typing.ClassVar. Patch by Gregory Beauregard.
bpo-46436: Fix command-line option -d/--directory in module http.server which is ignored when combined with command-line option --cgi. Patch by Géry Ogam.
bpo-41403: Make mock.patch() raise a TypeError with a relevant error message on invalid arg. Previously it allowed a cryptic AttributeError to escape.
bpo-46474: In importlib.metadata.EntryPoint.pattern, avoid potential REDoS by limiting ambiguity in consecutive whitespace.
bpo-46469: asyncio generic classes now return types.GenericAlias in __class_getitem__ instead of the same class.
bpo-46434: pdb now gracefully handles help when __doc__ is missing, for example when run with pregenerated optimized .pyc files.
bpo-46333: The __eq__() and __hash__() methods of typing.ForwardRef now honor the module parameter of typing.ForwardRef. Forward references from different modules are now differentiated.
bpo-43118: Fix a bug in inspect.signature() that was causing it to fail on some subclasses of classes with a __text_signature__ referencing module globals. Patch by Weipeng Hong.
bpo-21987: Fix an issue with tarfile.TarFile.getmember() getting a directory name with a trailing slash.
bpo-20392: Fix inconsistency with uppercase file extensions in MimeTypes.guess_type(). Patch by Kumar Aditya.
bpo-46080: Fix exception in argparse help text generation if a argparse.BooleanOptionalAction argument’s default is argparse.SUPPRESS and it has help specified. Patch by Felix Fontein.
bpo-44439: Fix .write() method of a member file in ZipFile, when the input data is an object that supports the buffer protocol, the file length may be wrong.
bpo-45703: When a namespace package is imported before another module from the same namespace is created/installed in a different sys.path location while the program is running, calling the importlib.invalidate_caches() function will now also guarantee the new module is noticed.
bpo-24959: Fix bug where unittest sometimes drops frames from tracebacks of exceptions raised in tests.

Documentation

bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file

Tests

bpo-46913: Fix test_faulthandler.test_sigfpe() if Python is built with undefined behavior sanitizer (UBSAN): disable UBSAN on the faulthandler_sigfpe() function. Patch by Victor Stinner.
bpo-46708: Prevent default asyncio event loop policy modification warning after test_asyncio execution.
bpo-46616: Ensures test_importlib.test_windows cleans up registry keys after completion.
bpo-44359: test_ftplib now silently ignores socket errors to prevent logging unhandled threading exceptions. Patch by Victor Stinner.
bpo-46542: Fix a Python crash in test_lib2to3 when using Python built in debug mode: limit the recursion limit. Patch by Victor Stinner.
bpo-46576: test_peg_generator now disables compiler optimization when testing compilation of its own C extensions to significantly speed up the testing on non-debug builds of CPython.
bpo-46542: Fix test_json tests checking for RecursionError: modify these tests to use support.infinite_recursion(). Patch by Victor Stinner.
bpo-13886: Skip test_builtin PTY tests on non-ASCII characters if the readline module is loaded. The readline module changes input() behavior, but test_builtin is not intented to test the readline module. Patch by Victor Stinner.

Build

bpo-47024: Update OpenSSL to 1.1.1n for macOS installers and all Windows builds.
bpo-38472: Fix GCC detection in setup.py when cross-compiling. The C compiler is now run with LC_ALL=C. Previously, the detection failed with a German locale.
bpo-46513: configure no longer uses AC_C_CHAR_UNSIGNED macro and pyconfig.h no longer defines reserved symbol __CHAR_UNSIGNED__.
bpo-45925: Update Windows installer to use SQLite 3.37.2.
bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails.

Windows

bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900
bpo-46948: Prevent CVE-2022-26488 by ensuring the Add to PATH option in the Windows installer uses the correct path when being repaired.
bpo-46638: Ensures registry virtualization is consistently disabled. For 3.10 and earlier, it remains enabled (some registry writes are protected), while for 3.11 and later it is disabled (registry modifications affect all applications).
macOS
bpo-45925: Update macOS installer to SQLite 3.37.2.

IDLE

bpo-46630: Make query dialogs on Windows start with a cursor in the entry box.
bpo-45296: Clarify close, quit, and exit in IDLE. In the File menu, ‘Close’ and ‘Exit’ are now ‘Close Window’ (the current one) and ‘Exit’ is now ‘Exit IDLE’ (by closing all windows). In Shell, ‘quit()’ and ‘exit()’ mean ‘close Shell’. If there are no other windows, this also exits IDLE.
bpo-45447: Apply IDLE syntax highlighting to pyi files. Patch by Alex Waygood and Terry Jan Reedy.
2022-03-19 18:58:24 +00:00
adam
34f723668f python38 py38-html-docs: updated to 3.8.13
Python 3.8.13 final

Core and Builtins

bpo-46794: Bump up the libexpat version into 2.4.6
Library
bpo-46985: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)
bpo-46932: Update bundled libexpat to 2.4.7
bpo-46811: Make test suite support Expat >=2.4.5
bpo-46784: Fix libexpat symbols collisions with user dynamically loaded or statically linked libexpat in embedded Python.
bpo-46756: Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which allowed to bypass authorization. For example, access to URI example.org/foobar was allowed if the user was authorized for URI example.org/foo.
bpo-46400: expat: Update libexpat from 2.4.1 to 2.4.4
bpo-46474: In importlib.metadata.EntryPoint.pattern, avoid potential REDoS by limiting ambiguity in consecutive whitespace.
bpo-44849: Fix the os.set_inheritable() function on FreeBSD 14 for file descriptor opened with the O_PATH flag: ignore the EBADF error on ioctl(), fallback on the fcntl() implementation. Patch by Victor Stinner.

Documentation

bpo-41028: Language and version switchers, previously maintained in every cpython branches, are now handled by docsbuild-script.

Tests

bpo-45195: Fix test_readline.test_nonascii(): sometimes, the newline character is not written at the end, so don’t expect it in the output. Patch by Victor Stinner.
bpo-44949: Fix auto history tests of test_readline: sometimes, the newline character is not written at the end, so don’t expect it in the output.

Build

bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n.
bpo-45405: Prevent internal configure error when running configure with recent versions of clang. Patch by David Bohman.
bpo-45220: Avoid building with the Windows 11 SDK previews automatically. This may be overridden by setting the DefaultWindowsSDKVersion environment variable before building.

Windows

bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900
bpo-46948: Prevent CVE-2022-26488 by ensuring the Add to PATH option in the Windows installer uses the correct path when being repaired.

macOS

bpo-44828: Avoid tkinter file dialog failure on macOS 12 Monterey when using the Tk 8.6.11 provided by python.org macOS installers. Patch by Marc Culler of the Tk project.
2022-03-19 18:56:44 +00:00
adam
9b0a7be981 python37 py37-html-docs: updated to 3.7.13
Python 3.7.13 final

Library

bpo-46985: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)
bpo-46932: Update bundled libexpat to 2.4.7
bpo-46811: Make test suite support Expat >=2.4.5
bpo-46784: Fix libexpat symbols collisions with user dynamically loaded or statically linked libexpat in embedded Python.
bpo-46756: Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which allowed to bypass authorization. For example, access to URI example.org/foobar was allowed if the user was authorized for URI example.org/foo.

Build

bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n.
bpo-45405: Prevent internal configure error when running configure with recent versions of clang. Patch by David Bohman.

Windows

bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900
bpo-46948: Prevent CVE-2022-26488 by ensuring the Add to PATH option in the Windows installer uses the correct path when being repaired.
2022-03-19 18:55:44 +00:00
taca
958782c04c lang/php81: update to 8.1.4
17 Mar 2022, PHP 8.1.4

- Core:
  . Fixed Haiku ZTS build. (David Carlier)
  . Fixed bug GH-8059 arginfo not regenerated for extension. (Remi)
  . Fixed bug GH-8083 Segfault when dumping uncalled fake closure with static
    variables. (ilutov)
  . Fixed bug GH-7958 (Nested CallbackFilterIterator is leaking memory). (cmb)
  . Fixed bug GH-8074 (Wrong type inference of range() result). (cmb)
  . Fixed bug GH-8140 (Wrong first class callable by name optimization). (cmb)
  . Fixed bug GH-8082 (op_arrays with temporary run_time_cache leak memory
    when observed). (Bob)

- GD:
  . Fixed libpng warning when loading interlaced images. (Brett)

- FPM:
  . Fixed bug #76109 (Unsafe access to fpm scoreboard).
    (Till Backhaus, Jakub Zelenka)

- Iconv:
  . Fixed bug GH-7953 (ob_clean() only does not set Content-Encoding). (cmb)
  . Fixed bug GH-7980 (Unexpected result for iconv_mime_decode). (cmb)

- MBString:
  . Fixed bug GH-8128 (mb_check_encoding wrong result for 7bit). (alexdowad)

- MySQLnd:
  . Fixed bug GH-8058 (NULL pointer dereference in mysqlnd package). (Kamil Tekiela)

- Reflection:
  . Fixed bug GH-8080 (ReflectionClass::getConstants() depends on def. order).
    (cmb)

- Zlib:
  . Fixed bug GH-7953 (ob_clean() only does not set Content-Encoding). (cmb)
2022-03-18 14:42:47 +00:00
taca
c8e3bdad23 lang/php80: update to 8.0.17
17 Mar 2022, PHP 8.0.17

- Core:
  . Fixed Haiku ZTS build. (David Carlier)

- GD:
  . Fixed libpng warning when loading interlaced images. (Brett)

- FPM:
  . Fixed bug #76109 (Unsafe access to fpm scoreboard).
    (Till Backhaus, Jakub Zelenka)

- Iconv:
  . Fixed bug GH-7953 (ob_clean() only does not set Content-Encoding). (cmb)
  . Fixed bug GH-7980 (Unexpected result for iconv_mime_decode). (cmb)

- MySQLnd:
  . Fixed bug GH-8058 (NULL pointer dereference in mysqlnd package). (Kamil Tekiela)

- OPcache:
  . Fixed bug GH-8074 (Wrong type inference of range() result). (cmb)

- Reflection:
  . Fixed bug GH-8080 (ReflectionClass::getConstants() depends on def. order).
    (cmb)

- Zlib:
  . Fixed bug GH-7953 (ob_clean() only does not set Content-Encoding). (cmb)
2022-03-18 14:41:23 +00:00
jperkin
6989ec2ffd rust: Ensure SunOS uses GNU ar. 2022-03-18 13:04:29 +00:00
wiz
a51f88b5a1 lang/Makefile: add go118 2022-03-17 07:10:08 +00:00
tnn
3065037cda go118: add PLIST.Linux
ok bsiegert
2022-03-16 09:21:05 +00:00
bsiegert
6e940c45af go118: add Go 1.18 (final release).
Due to how close the freeze is, this will not be the default for the next
quarterly release.

There are lots of news, including support for Generics. Read the release
notes for details.
2022-03-15 20:13:45 +00:00
wiz
e98ead683f wasi-libc: update to 0.0.0pre20220311.
Disable symbol comparison, since it fails for a couple of people
and mef's bulk build.

Changes:

Enable support for utimes and futimesat.
more graphical code
chdir: fixing a malloc'ed buffer that was not large enough
2022-03-15 14:33:22 +00:00
wiz
e0d0fb4064 guile30: use full path to paxctl for those who don't have /usr/sbin in PATH 2022-03-15 10:10:19 +00:00
adam
353cc155bc rust-analyzer: fix building for pre-1.59.0 2022-03-15 05:59:40 +00:00
adam
23f528405b py-mypy: updated to 0.941
0.940:

Miscellaneous New Features

Add support for conditionally defined overloads
Give "as" variables in with statements separate scopes when it is safe to do so
Add an optional error code ignore-without-code to require ignore comments to have error codes
Add support for typing.Never and typing_extensions.Never as alternative spellings of NoReturn
Add support for typing.reveal_type
Support universal2 macOS wheels
Add match_args support to attr.s()

Enum Improvements

Check Enum definition for invalid base classes
Understand the self-destructing nature of Enum._ignore_
Add StrEnum support for Python 3.11
Make enum values final
Improve final detection for Enum
Fix Enum final properties and writable special members
Enum now accepts String literals and final values as 2nd argument
Fix false positive about member name reuse in enum
Fix enum inheritance regression

Mypyc Fixes and Improvements

Use Py_TYPE and Py_IsNone
Implement additional internal consistency checks
Raise AttributeError also for non-refcounted types
Fix invalid unlikely() in certain rare branches
Skip no-op super calls to object.__init__()
Use latest pythoncapi_compat
Add helpful message to assert

Documentation Updates

Add documentations about Enum types
Update Enum documentation
Improve documentation of allow_redefinition
Fix intelligent indexing example
Explain generic Protocol[T1, T2, ...] shorthand
Clarify that stub-only packages need to be installed
Small documentation improvements for conditional overloads

Improved Error Messages

Improve the "Argument must be a mapping" error message
Coalesce Literals when printing unions
Suggest typing.Callable when using callable as type
Suggest typing.Any when using any as type
Add note about wrong error code in type: ignore
Add no-overload-impl error code
Display ellipsis when formatting variadic tuple[T, ...]
Deduplicate error codes for ignore-without-code
Tweak ignore-without-code error message
Mention common resolutions for build errors

Stubtest Improvements

Ignore more dunder positional-only errors
Fix wrong assumption about relative path
Catch more getattr errors
Error if module level dunder is missing, housekeeping
Ignore __main__ module
Error if a dunder method is missing from a stub
Error if a function is async at runtime but not in the stub
Do not error if a stub is async, but runtime is not
Error if a class should be decorated with @final
Use VERSIONS for submodules
Treat dicts as a subtype of typeddict
Ignore more exceptions in stubtest

Other Notable Fixes and Improvements

Fix non-default keyword-only argument positioning in stubgen
Remove orjson stubs from default list
Use __truediv__ for Python 2 with __future__ import
Fix Python 2 compatibility issue
Use type variable bound to infer constraints
Handle raise Exception(), None on Python 2.7
Fix inference of protocol against overloaded function
Fix an issubclass failure for protocols with overloaded methods
Fix crashes in class scoped imports
Fix use of TypeAlias from aliased imports
Delete open plugin
Read pyproject.toml with correct encoding on Windows
Fix issue with implicit type aliases in import cycles
Forbid extra ParamSpec arguments
Fix crash involving explicit any flag and Required
Fix join of Any against a union type
Simplify unions when erasing last known values
Fix crash with yield in comprehension
Fix handling of NoReturn in union return types
Fix __init__ in dataclasses inheriting from Any
Narrow NamedTuple to bool correctly when __bool__ is defined
Improve type of __attrs_attrs__ in attrs classes
Install dependencies needed for reports via pip install mypy[reports]
Consider import * to be an explicit re-export
Fix --no-implicit-reexport inconsistency
Fix crash if "_" is in builtins
Fixes crash on subclassing Annotated without args
2022-03-15 05:53:26 +00:00
adam
fa3219ec46 zig: updated to 0.9.1
0.9.1:

libcxx: fixed not building fs/filesystem when targeting Windows.
libcxx: fixed duplicate __muloti4 symbol.
Integration with --sysroot parameter
Integration with --entry parameter
Integration with --whole-archive, --no-whole-archive, --strip-all, and --strip-debug parameters.
Integration with --hash-style parameter.
Fixed a bug where passing a zig source file to zig cc would incorrectly punt to clang because it thought there were no positional arguments.
Integration with CUDA source files
Improved a warning message for some cases of using zig run -lc++.
Ignore -lgcc_s when it is redundant with compiler-rt.
Fixed Linux headers being named arm64 instead of aarch64
glibc: fixed passing of __GNU_MINOR__.
glibc: fixed compatibility with glibc <= 2.33 for global initializers
glibc: fixed MINSIGSTKSZ on glibcs older than 2.34
2022-03-15 05:36:15 +00:00
adam
1e5b8f3b1a rust-analyzer: updated to 0.0.2022.03.14:
Release: 2022-03-14

New Features
* (first contribution) improve enum variant field completion, enum variant / struct consistency.
* (first contribution) highlight escape sequences in byte strings.
* BREAKING: switch to upstream inlay hints
* suggest union literals, suggest union fields within an empty union literal
* offer qualified path completions in derives.
* allow configuration of colons in inlay hints (rust-analyzer.inlayHints.renderColons).

Fixes
* (first contribution) add support for new where clause location in associated types.
* (first contribution) stop wrapping ConstParam default values in ConstArg.
* insert dummy values for const generics in subst.
* properly handle proc-macro crate types for nameres.
* fix extract_module on inherent impls.
* show what file paths were expected for unresolved modules.
* emit more detailed highlighting for %, >>, <<.
* detect NixOS when /etc/os-release includes quotes.

Internal Improvements
* add hir_def::MacroId, add Macro{Id} to ModuleDef{Id}.
* simplify CompletionContext.
* remove ide_completion::render::build_ext module.
* another round of clippy fixes.
2022-03-14 11:11:27 +00:00
osa
b1fd54da9d lang/njs - connect to build 2022-03-14 02:59:13 +00:00
osa
a57de84aaf lang/njs: add new port NGINX JavaScript (njs) command line utility
NGINX JavaScript, also knows as njs, is a subset of the JavaScript
language that allows extending nginx functionality.  njs is created
in compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6
and later extensions.  It's easy to use njs command line utility to
develop and debug additional functionality.  Also, it's light-weight
and very useful as a shebang in some cases as the nodejs substitutor.
2022-03-14 02:52:48 +00:00
tnn
088f836045 go-bin: update to 1.17.8
- use official upstream binaries for Darwin/aarch64
- refresh locally maintained NetBSD/aarch64 distribution
2022-03-13 20:56:52 +00:00
tnn
1287925604 libLLVM: update to 13.0.1, for mesa update 2022-03-13 15:22:32 +00:00
taca
83e203d49d www/ruby-rails70: update to 7.0.2.3
Changes are in devel/ruby-activestorage70 only.


Rails 7.0.2.3 (March 08, 2022)

* Added image transformation validation via configurable allow-list.

  Variant now offers a configurable allow-list for
  transformation methods in addition to a configurable deny-list for arguments.

  [CVE-2022-21831]
2022-03-13 15:15:03 +00:00
taca
60336af363 www/ruby-rails61: update to 6.1.4.7
Ruby on Rails 6.1.4.7 is not latest version but it should be easy to pull-up
to pkgsrc-2021Q4.

Changes are in devel/ruby-activestorage61 only.


## Rails 6.1.4.7 (March 08, 2022) ##

* Added image transformation validation via configurable allow-list.

 Variant now offers a configurable allow-list for
 transformation methods in addition to a configurable deny-list for arguments.

 [CVE-2022-21831]
2022-03-13 15:11:50 +00:00
taca
13747ca944 www/ruby-rails60: update to 6.0.4.7
Changes are in devel/ruby-activestorage60 only.


## Rails 6.0.4.7 (March 08, 2022) ##

* Added image transformation validation via configurable allow-list.

  Variant now offers a configurable allow-list for
  transformation methods in addition to a configurable deny-list for arguments.

  [CVE-2022-21831]
2022-03-13 15:08:21 +00:00
taca
741f3f9cfc www/ruby-rails52: update to 5.2.6.3
Ruby on Rails 5.2.6.3 is not latest version but it should be easy to pull-up
to pkgsrc-2021Q4.

Changes are in devel/ruby-activestorage52 only.


Rails 5.2.6.3 (March 08, 2022)

* Added image transformation validation via configurable allow-list.

  Variant now offers a configurable allow-list for
  transformation methods in addition to a configurable deny-list for arguments.

  [CVE-2022-21831]
2022-03-13 15:04:26 +00:00
nia
b3c834b267 lang: import gcc10-aux, the gcc10 ada compiler. from irvise in pkgsrc-wip. 2022-03-13 08:34:04 +00:00
mef
9fc78261db (lang/rakudo) Updated 2021.12 to 2022.02
New in 2022.02:

+ Deprecations:

+ Additions:
    + Add support for $RAKUDO_OPT environment variable [e82e6774]
    + Implement sub rotor [90a04ac0]
    + Introducing $*RAT-UPGRADE-CLASS (#4299) [f737b080]
    + Add Cool.Order "coercer" (#4473) [4b2fc66f]
    + Add CI job that runs a spectest instead of Rakudo tests [7ef7b6ed]
    + Add :slip named argument to roundrobin() [de605e84]
    + Add an Any(iterable).infer method (#4626) [4d263779]
    + Add ACCEPTS candidate for Junction to Bool [f21af28e]
    + Add missing checks for nulls [821195b2]
    + Add missing precedence info for some infix ops (#4725) [cd86606e]
    + Add .unique to native arrays [bc8c286f]
    + Add .repeated to native arrays [369093c8]
    + Add .squish to native arrays [284b5623]
    + Finally add in memoriam for David Adler [510c24ed]

+ Removals:
    + Remove uniprop-(int|str|bool) [cc5f17a0] [2b355dc4]
    + Remove check for nullness of descriptor [b2f0a9d2]
    + Remove some no longer needed CALL-MEs [25ca2064]
    + Remove RESTRICTED setting (#3965) [6a8fa2f4]
    + Remove two dummy parameters from (Fat)Rat coercer [6c765609]
    + Remove dead code from MoarVM and JVM extops [e912bf2e][1ba3fe04]
      [421dd982][969ae326]

+ Changes:
    + Relax cross-language revision role-class boundaries [d493a051]
    + Get rid of trailing ] and } when dd-ing typed arrays/hashes [49608021]
    + Adapt to nqp::radix(_I)? now returning # chars converted [4a3753fb]
    + Disallow creating Uni with out-of-range codepoints [c56c578c][ef35db06]
    + Make Complex.new about 30x as fast [586f2f3c]
    + Get IO::Path!SET-SELF below inlining limit [4f3ff580][efdc1a9e]
    + $x ** ±Inf is sometimes 0 (#4226) [03065e29]
    + Make dd output consistent for arrays and hashes [59929f0a]
    + Call .perl(:arglist) for Capture's list elements [27ede8cb]
    + Make class A does B{ } error more awesome [535e0151]
    + Make .WHY on role group delegate to default role [8f989d1a][d3e74427]
      [91e3c983]
    + Make set-env.sh script work on MacOS (#4704) [19696916]
    + Protect some typechecks with try [e3f22147][5f843222]
    + Make sure that subclasses of FatRat .raku correctly [d6e6afb0]
    + Make Rat.FatRat about 5x as fast [82afbbf0]
    + Rename Any.infer to Any.are [186bd0b0]
    + Bring Rational.floor/ceiling/round/Int below inlining limit [59ea71f7]
    + Reduce bytecode size of Array[TR].BIND-POS [daeb9915]
    + Make adverbless @a[iterable] about 2.5x as fast [30f1fba3]
    + Make adverbless @a[*] about 20% faster [8ac55c57]
    + Make the adverbless zen-slice (@a[]) a few percent faster [21829c33]
    + Make FatRat.Rat coercion about 6x as fast [2fe1bb85]
    + Bring down bytecode size of nativearray.splice helper [38648b4f]
    + Re-arrange Int.base a bit [4d78bc6a]
    + Make unsuccessful .first about 40% faster [ed99df18]
    + Extract failure creation into separate subs [7dc3add8]
    + Make Capture[n] (and thus $0, $1, ...) about 5x as fast [11c8f82a]
    + Implement smartmatch as a dispatcher [32401c47]
    + Set up nativeref types for unsigned integers [b70d1147]
    + Support primspec 10 for unsigned integers [b092cc6c]
    + Also check iscont_u when looking for native references [2509e183]
    + Support uints as their own argument kind in dispatch [c0fbd367]
    + Use unsigned ops when handling unsigned buffers [63b2b846]
    + New uint candidates for operators [4db92b18]
    + Switch to unsigned ops where appropriate [c38b6b42]
    + Unsigned versions of some iterators [56923c12]
    + uint versions of native arrays [1ef6001f]
    + Bring uint improvements to the JVM [27f3b719]
    + Introduce NYI as a sub (#4716) [94456edf]
    + Make Int.roll/pick act as (^Int).roll/pick on 6.e (#4695) [45090c91]
    + Make Int.roll/pick about 6x as fast in v6.e [6222a14c]
    + Make ^Int:D about 14x as fast [21ee1fa0]
    + Make creation of Int .. Int object about 14x as fast [8fbe6c0a]
    + Specify base of non base 10 invalid numbers (#4717) [522155d5]
    + Further improvements to smartmatch dispatcher [cd20a2bc][6148b75c]
      [abfb9f86][2486960b]
    + Do some better job optimizing Junction on RHS [6f925ea2][eba72f4b]
      [49955840]
    + Properly support uints in BUILDPLANs [a38bebec]
    + Don't assume "year" as unit [34455138]
    + Use proper unsigned ops for accessing multidim uint arrays [8777e923]
    + Use nqp::istype for nominalizable smartmatch [ef4abcc7]

+ Fixes:
    + Make ranges coerce LHS into a numeric if range boundaries are numeric
      [7f73dcbd][dd5fabf9]
    + Many improvements to smartmatching and given/when [d0f2690f][7f1189fe]
      [7554d733][80fbaadd][fedfd716][91ec1bbf][5855c1d5][6616440d][9f80771c]
      [966e77fe][a1bb638f][ed85bad6][6b828fe6]
    + Fix Map ACCEPTS by collapsing explicit junctions [87621e1a]
    + [JVM] Mention routine in error for wrong arity [522e49a7]
    + Fix the behaviour of Pair ~~ Pair (#4671) [026c51a0]
    + Additional fixes and improvements of smartmatch optimizations [2a3f61ef]
    + Don't use MVM_free if we didn't use MVM_malloc [1b5c0b95]
    + Fix Nil warning in dd [a8498e8a]
    + Fix dd for nameless things [95d60623]
    + Fix potential race condition in Proc::Async start [8321ce10]
    + Test return constraints for role implementors (#3249) [56b57f61]
    + Use simpler code for correct `.length` suggestions test (#4703)
      [9310799c]
    + Fix warning in Pod::To::Text signature processing (#3528) [36cee696]
    + Make sure rebuilds of native array will generate ok [21d988d1]
    + Make add_constant lookup setting symbols only [28b51238]
    + Make initialization of core dynamic variables threadsafe [768ebea7]
    + Fix is_array_type on roles [944debd3]
    + Fix writes to native arrays via [] returning arbitrary data [72ef4e4d]
    + Fix "This container does not reference a native unsigned integer"
      [3823f88c]
    + Fix "This container does not reference a native integer" in Blob/Buf
      [a64c2f55]
    + Fix CArray treating all native integers as signed [fee9e822]
    + Eliminate p6decontrv ops caused by *_u ops [e5b67c1d][b3a71fbc]
    + Fix custom-lib race (#4738) [dab9cd66]
    + Fix method put failing on junctions [e521c8e4]
    + Fix Attribute.(get|set)_value treating uints like str [382f2f10]
    + Add unsigned candidate of +^ (bitwise negation) prefix operator
      [ffa09ff6]
    + Fix "Invalid ....BUILDALL plan: 24" error [118a0c3d]
    + Fix Attribute treating all native integers as signed [753c173e]
    + Fix optimizations of smartmatches over subsets [d6fb1919][b9d8aa49]
    + Fix "container does not reference a native integer" in UnsignedBlob.STORE
      [14bacc24]
    + Fix "No registered operation handler for 'iseq_u'" [4e1a7721]
    + Fix NativeCall wrongly expecting signed integer for size_t rw args
      [c92833f3]
    + Fix UInt where block trying to unbox a Scalar [26215f20]
    + Fix "container does not reference a native integer" with mixed int/uint
      multidim array indexes [7cb21467]
    + Fix "container does not reference a native integer" in multi slice
      [e4a4a92f]
    + Allow for using uint and int as indexes in native array slice assignment
      [a35a7791]
    + Fix precomp file rename race condition [006a920c]
    + Fix X::Method::NotFound on my-classes [8edc6d88]

+ Internal:
    + Replace nqp::attrinited with a descriptor-based approach [425913dc]
      [c3448773][13522362][71f8981b][c76c1e64][80f122d1][f96048c1][b6135861]
      [bdb0cc23][c719eab8][cd585f9d][8f796f5b][28053bd2][43f4e8a5]
2022-03-13 06:44:28 +00:00
mef
0ab19eb731 (lang/nqp) Updated 2021.12 to 2022.02, explicit ChangeLog unknown 2022-03-13 06:20:03 +00:00
nia
f664dec8a6 gjs: remove meson compatibility patch that now seems to be harmful ... 2022-03-10 20:53:35 +00:00
nia
7a02ce412a gcc8: deconditionalize CHECK_RELRO_SKIP
as hinted by mef's recent bulk build, it appears to be more complicated
than simply a matter of bootstrapping
2022-03-10 16:43:11 +00:00
nia
1f44c6a7a7 gcc*-aux: disable hardening for ada compilers 2022-03-10 16:40:30 +00:00
bacon
78607c9a67 lang/go: Fix bootstrap on macOS Monterrey
Darwin 12 eliminated a kernel feature needed by go 1.10 and earlier.
This patch makes Darwin 12 boostrap using go-bin rather than go14.
2022-03-09 15:15:59 +00:00
wiz
f3fb9c7d7f guile18: fix edit-o 2022-03-09 08:20:53 +00:00
gdt
f42b7ab8cf lang/guile*: Adjust namespacing comments to reality
This is a comment-only change.
2022-03-09 00:37:46 +00:00
wiz
d838214f60 lang/Makefile: + guile30 2022-03-08 00:09:46 +00:00
wiz
b370e2e03b lang/guile30; Add version 3.0.7
Packaged by gdt and myself in wip.

Compared to guile 2.2, this is a major release which implements a JIT
compiler.  See NEWS in the sources for more details.


GUILE, GNU's Ubiquitous Intelligent Language for Extension, is a library
that implements the Scheme language plus various convenient facilities.
It's designed so that you can link it into an application or utility to
make it extensible. Our plan is to link this library into all GNU programs
that call for extensibility.

This is guile 3.0, the current stable version.
2022-03-08 00:09:30 +00:00
wiz
95335762ec guile22: fix patch name for pkglint 2022-03-07 23:03:14 +00:00
wiz
80f83e5028 guile22: add ALTERNATIVES file 2022-03-07 23:02:06 +00:00
wiz
c5b4351fb1 guile18: add ALTERNATIVES file
Bump PKGREVISION.
2022-03-07 23:01:19 +00:00
wiz
272590a0a3 guile20: move to guile/2.0 prefix
Add ALTERNATIVES file.

Bump PKGREVISION.
2022-03-07 22:59:18 +00:00
wiz
0ba4850e3c guile: remove, reimported to lang/guile18 2022-03-07 20:37:18 +00:00
wiz
206a25f8f2 *: switch to lang/guile18 2022-03-07 20:36:50 +00:00
wiz
f90e42e2c1 lang/guile18: import guile18-1.8.8nb11
Re-import of lang/guile to avoid having an ancient version as the default.

GUILE, GNU's Ubiquitous Intelligent Language for Extension, is a library
that implements the Scheme language plus various convenient facilities.
It's designed so that you can link it into an application or utility to
make it extensible. Our plan is to link this library into all GNU programs
that call for extensibility.

This is an extremely old version of guile.  It is installed into
guile/1.8 within PREFIX.
2022-03-07 20:34:16 +00:00
nia
e477fb73f4 sun-jre7: PIE checks not supported 2022-03-07 16:42:37 +00:00
nia
87fdcf2c38 gcc6-aux: MKPIE not supported 2022-03-07 16:41:30 +00:00
adam
3b71cd78fc rust-analyzer: updated to 0.0.2022.03.07
2022.03.07:

New Features

* support locals with multiple declaration sites
* parse destructuring assignments.

Fixes

* add another case to the syntax fixup code.
* preserve order of generic args.
* fix semantic highlighting breaking for lifetimes in macros.
* lower string literal values.
* show variadic args in hover function signature.
* add type variable table to InferenceTableSnapshot.
* fix macro-calls expanding to items in if/while conditions.
* recognize Self as a proper keyword.
* add abort to safe intrinsics list.

Internal Improvements

* build release binaries on Ubuntu 18.04.
* add currently failing test for 11242.
* slightly refactor TextEdit.
* refactor syntax_highlighting.
* bring back syntax highlighting in test data.
* re-arrange ide_db modules.
* automatically change text color in logo based on dark mode.
2022-03-07 10:44:22 +00:00
bsiegert
211b84339d Update go117 to 1.17.8 (security).
This minor release includes a security fix following the security policy:

regexp: stack exhaustion compiling deeply nested expressions

On 64-bit platforms, an extremely deeply nested expression can cause
regexp.Compile to cause goroutine stack exhaustion, forcing the program to
exit. Note this applies to very large expressions, on the order of 2MB.

Thanks to Juho Nurminen of Mattermost for reporting this.

This is CVE-2022-24921 and https://go.dev/issue/51112.
2022-03-07 08:44:52 +00:00
bsiegert
afcf632281 Update go116 to 1.16.15.
This minor release includes a security fix following the security policy:

regexp: stack exhaustion compiling deeply nested expressions

On 64-bit platforms, an extremely deeply nested expression can cause
regexp.Compile to cause goroutine stack exhaustion, forcing the program to
exit. Note this applies to very large expressions, on the order of 2MB.

Thanks to Juho Nurminen of Mattermost for reporting this.

This is CVE-2022-24921 and https://go.dev/issue/51112.
2022-03-06 09:53:43 +00:00
nia
28eda1e5a2 lua/module.mk: Allow passing arguments to busted 2022-03-06 09:13:44 +00:00
nia
c68a1175d1 lua54: update to 5.4.4
Bugs fixed:

- lua.c assumes that argv has at least one element.
- Lua can generate wrong code when _ENV is <const>.
2022-03-06 07:46:10 +00:00
gdt
7b176c75a5 guile22: Adjust language
This is now the perviosu stable version, as 3.0 has been out for over
a year.

Note that it is in sub-prefix.
2022-03-05 19:14:20 +00:00
gdt
3f81835351 guile20: Warn that it is old 2022-03-05 19:07:26 +00:00
gdt
8f906c6d1e lang/guile: Strengthen old language, and warn about subprefix 2022-03-05 19:05:24 +00:00
tnn
4afec22686 openjdk11: restore checksums 2022-03-05 14:47:24 +00:00
wiz
69c1b39e79 py-libcst: download peg-git during fetch stage, and provide it during build
avoids network access during build
2022-03-05 11:23:11 +00:00
ryoon
ebc4fdb843 nim: Update to 1.6.4
Changelog:
Version 1.6.4 released

08 February 2022 The Nim Team

The Nim team is happy to announce version 1.6.4, our second patch release for
Nim 1.6.

Version 1.6.4 is a result of a month and a half of hard work, and it contains
33 commits, fixing one major regression and bringing some general improvements
over 1.6.2.

The most important fix is for the C FFI regression introduced in 1.6.2.

We would recommend to all of our users to upgrade and use version 1.6.4.

Bugfixes

These reported issues were fixed:

  * Fixed "Potential C FFI regression" (#19342)
  * Fixed "re.split unexpected results with zero-width characters" (#14468)
  * Fixed "Out-of-bounds in strformat" (#19107)
  * Fixed "Adding an empty list to a non-empty list breaks the latter list" (
    #19297)
  * Fixed "Wrong result when using varargs with var arguments." (#16617)
  * Fixed "Adding an empty DoublyLinkedList to a non-empty DoublyLinkedList
    breaks the latter list" (#19314)
  * Fixed "Silent FFI bug when passing array inside object using gc:orc" (#
    19497)
2022-03-04 13:19:58 +00:00
he
50d855f574 Sync to main rust version, upgrade rust-bin to 1.58.1. 2022-03-03 18:20:09 +00:00
he
de88cb049d Sync with rust, update to 1.58.1.
Various PLIST and adjustment issues.
2022-03-03 16:49:31 +00:00
wiz
5911ebf03e rust-analyzer: update to 0.0.2022.02.28.
2022-02-28

refactorings and FIXME fixes in text edit

2022-02-22

internal: Remove `name` fields from `MacroCallKind'
2022-03-03 16:06:16 +00:00
ryoon
19a758d7e5 algol68g: Update to 3.0.4
* Enable compiler mode (--compile) for NetBSD at least.

Changelog:
Version 3.0.3 and 3.0.4
* Unavailable.

Version 3.0.1-4, January/February 2022
* Several bug fixes, reported for 3.0.0.
* Updates a68g.exe to GSL 2.7.1 and R mathlib 4.1.2.

Version 3.0.0, December 2021
* On platforms that support them: 64 bit INT/BITS and 128-bit LONG INT, LONG BITS and LONG REAL.
  These platforms include amd64, x86_64 and i386 with GCC.
* More bindings for routines from the GNU Scientific Library.
* Adds a generalized incomplete gamma function.
* Builds with R mathlib bindings, if available.
* Fixes several minor bugs.
2022-03-02 01:41:34 +00:00
he
5b01a08c01 Update lang/rust to version 1.58.1.
Pkgsrc changes:
 * Bump bootstrap kit version to 1.57.0.
 * Bump require external LLVM to 12.0, according to upstream change log.
 * Adjust patches as needed, adjust line numbers.
 * Update checksum adjustments.  For some reason the vendor/libc checksum
   doesn't need fixing, apparently, it remains as commented out.
 * Add makefile to do all the NetBSD boostrap/cross builds (do-cross.mk).
   Allow passing in additions to CONFIGURE_ARGS via ADD_CONFIGURE_ARGS.

Upstream changes:

Version 1.58.1 (2022-01-19)
===========================

* Fix race condition in `std::fs::remove_dir_all` ([CVE-2022-21658])
* [Handle captured arguments in the `useless_format` Clippy lint][clippy/8295]
* [Move `non_send_fields_in_send_ty` Clippy lint to nursery][clippy/8075]
* [Fix wrong error message displayed when some imports are missing][91254]
* [Fix rustfmt not formatting generated files from stdin][92912]

[CVE-2022-21658]: https://www.cve.org/CVERecord?id=CVE-2022-21658]
[91254]: https://github.com/rust-lang/rust/pull/91254
[92912]: https://github.com/rust-lang/rust/pull/92912
[clippy/8075]: https://github.com/rust-lang/rust-clippy/pull/8075
[clippy/8295]: https://github.com/rust-lang/rust-clippy/pull/8295

Version 1.58.0 (2022-01-13)
==========================

Language
--------

- [Format strings can now capture arguments simply by writing
  `{ident}` in the string.][90473] This works in all macros accepting
  format strings. Support for this in `panic!` (`panic!("{ident}")`)
  requires the 2021 edition; panic invocations in previous editions
  that appear to be trying to use this will result in a warning lint
  about not having the intended effect.
- [`*const T` pointers can now be dereferenced in const contexts.][89551]
- [The rules for when a generic struct implements `Unsize` have
  been relaxed.][90417]

Compiler
--------

- [Add LLVM CFI support to the Rust compiler][89652]
- [Stabilize -Z strip as -C strip][90058]. Note that while release
  builds already don't add debug symbols for the code you compile,
  the compiled standard library that ships with Rust includes debug
  symbols, so you may want to use the `strip` option to remove these
  symbols to produce smaller release binaries. Note that this release
  only includes support in rustc, not directly in cargo.
- [Add support for LLVM coverage mapping format versions 5 and 6][91207]
- [Emit LLVM optimization remarks when enabled with `-Cremark`][90833]
- [Update the minimum external LLVM to 12][90175]
- [Add `x86_64-unknown-none` at Tier 3*][89062]
- [Build musl dist artifacts with debuginfo enabled][90733]. When
  building release binaries using musl, you may want to use the newly
  stabilized strip option to remove these debug symbols, reducing
  the size of your binaries.
- [Don't abort compilation after giving a lint error][87337]
- [Error messages point at the source of trait bound obligations
  in more places][89580]

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

Libraries
---------

- [All remaining functions in the standard library have `#[must_use]`
  annotations where appropriate][89692], producing a warning when
  ignoring their return value. This helps catch mistakes such as
  expecting a function to mutate a value in place rather than return
  a new value.
- [Paths are automatically canonicalized on Windows for operations
  that support it][89174]
- [Re-enable debug checks for `copy` and `copy_nonoverlapping`][90041]
- [Implement `RefUnwindSafe` for `Rc<T>`][87467]
- [Make RSplit<T, P>: Clone not require T: Clone][90117]
- [Implement `Termination` for `Result<Infallible, E>`][88601].
  This allows writing `fn main() -> Result<Infallible, ErrorType>`,
  for a program whose successful exits never involve returning from
  `main` (for instance, a program that calls `exit`, or that uses
  `exec` to run another program).

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

- [`Metadata::is_symlink`]
- [`Path::is_symlink`]
- [`{integer}::saturating_div`]
- [`Option::unwrap_unchecked`]
- [`Result::unwrap_unchecked`]
- [`Result::unwrap_err_unchecked`]
- [`NonZero{unsigned}::is_power_of_two`]
- [`File::options`]

These APIs are now usable in const contexts:

- [`Duration::new`]
- [`Duration::checked_add`]
- [`Duration::saturating_add`]
- [`Duration::checked_sub`]
- [`Duration::saturating_sub`]
- [`Duration::checked_mul`]
- [`Duration::saturating_mul`]
- [`Duration::checked_div`]
- [`MaybeUninit::as_ptr`]
- [`MaybeUninit::as_mut_ptr`]
- [`MaybeUninit::assume_init`]
- [`MaybeUninit::assume_init_ref`]

Cargo
-----

- [Add --message-format for install command][cargo/10107]
- [Warn when alias shadows external subcommand][cargo/10082]

Rustdoc
-------

- [Show all Deref implementations recursively in rustdoc][90183]
- [Use computed visibility in rustdoc][88447]

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

- [Try all stable method candidates first before trying unstable
  ones][90329]. This change ensures that adding new nightly-only
  methods to the Rust standard library will not break code invoking
  methods of the same name from traits outside the standard library.
- Windows: [`std::process::Command` will no longer search the
  current directory for executables.][87704]
- [All proc-macro backward-compatibility lints are now deny-by-default.][88041]
- [proc_macro: Append .0 to unsuffixed float if it would otherwise
  become int token][90297]
- [Refactor weak symbols in std::sys::unix][90846]. This optimizes
  accesses to glibc functions, by avoiding the use of dlopen. This
  does not increase the [minimum expected version of
  glibc](https://doc.rust-lang.org/nightly/rustc/platform-support.html).
  However, software distributions that use symbol versions to detect
  library dependencies, and which take weak symbols into account in
  that analysis, may detect rust binaries as requiring newer versions
  of glibc.
- [rustdoc now rejects some unexpected semicolons in doctests][91026]

Internal Changes
----------------

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

- [Implement coherence checks for negative trait impls][90104]
- [Add rustc lint, warning when iterating over hashmaps][89558]
- [Optimize live point computation][90491]
- [Enable verification for 1/32nd of queries loaded from disk][90361]
- [Implement version of normalize_erasing_regions that allows for
  normalization failure][91255]

[87337]: https://github.com/rust-lang/rust/pull/87337/
[87467]: https://github.com/rust-lang/rust/pull/87467/
[87704]: https://github.com/rust-lang/rust/pull/87704/
[88041]: https://github.com/rust-lang/rust/pull/88041/
[88300]: https://github.com/rust-lang/rust/pull/88300/
[88447]: https://github.com/rust-lang/rust/pull/88447/
[88601]: https://github.com/rust-lang/rust/pull/88601/
[88624]: https://github.com/rust-lang/rust/pull/88624/
[89062]: https://github.com/rust-lang/rust/pull/89062/
[89174]: https://github.com/rust-lang/rust/pull/89174/
[89542]: https://github.com/rust-lang/rust/pull/89542/
[89551]: https://github.com/rust-lang/rust/pull/89551/
[89558]: https://github.com/rust-lang/rust/pull/89558/
[89580]: https://github.com/rust-lang/rust/pull/89580/
[89652]: https://github.com/rust-lang/rust/pull/89652/
[89677]: https://github.com/rust-lang/rust/pull/89677/
[89951]: https://github.com/rust-lang/rust/pull/89951/
[90041]: https://github.com/rust-lang/rust/pull/90041/
[90058]: https://github.com/rust-lang/rust/pull/90058/
[90104]: https://github.com/rust-lang/rust/pull/90104/
[90117]: https://github.com/rust-lang/rust/pull/90117/
[90175]: https://github.com/rust-lang/rust/pull/90175/
[90183]: https://github.com/rust-lang/rust/pull/90183/
[90297]: https://github.com/rust-lang/rust/pull/90297/
[90329]: https://github.com/rust-lang/rust/pull/90329/
[90361]: https://github.com/rust-lang/rust/pull/90361/
[90417]: https://github.com/rust-lang/rust/pull/90417/
[90473]: https://github.com/rust-lang/rust/pull/90473/
[90491]: https://github.com/rust-lang/rust/pull/90491/
[90733]: https://github.com/rust-lang/rust/pull/90733/
[90833]: https://github.com/rust-lang/rust/pull/90833/
[90846]: https://github.com/rust-lang/rust/pull/90846/
[90896]: https://github.com/rust-lang/rust/pull/90896/
[91026]: https://github.com/rust-lang/rust/pull/91026/
[91207]: https://github.com/rust-lang/rust/pull/91207/
[91255]: https://github.com/rust-lang/rust/pull/91255/
[91301]: https://github.com/rust-lang/rust/pull/91301/
[cargo/10082]: https://github.com/rust-lang/cargo/pull/10082/
[cargo/10107]: https://github.com/rust-lang/cargo/pull/10107/
[`Metadata::is_symlink`]: https://doc.rust-lang.org/stable/std/fs/struct.Metadata.html#method.is_symlink
[`Path::is_symlink`]: https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.is_symlink
[`{integer}::saturating_div`]: https://doc.rust-lang.org/stable/std/primitive.i8.html#method.saturating_div
[`Option::unwrap_unchecked`]: https://doc.rust-lang.org/stable/std/option/enum.Option.html#method.unwrap_unchecked
[`Result::unwrap_unchecked`]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.unwrap_unchecked
[`Result::unwrap_err_unchecked`]: https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.unwrap_err_unchecked
[`NonZero{unsigned}::is_power_of_two`]: https://doc.rust-lang.org/stable/std/num/struct.NonZeroU8.html#method.is_power_of_two
[`File::options`]: https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.options
[`unix::process::ExitStatusExt::core_dumped`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.core_dumped
[`unix::process::ExitStatusExt::stopped_signal`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.stopped_signal
[`unix::process::ExitStatusExt::continued`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.continued
[`unix::process::ExitStatusExt::into_raw`]: https://doc.rust-lang.org/stable/std/os/unix/process/trait.ExitStatusExt.html#tymethod.into_raw
[`Duration::new`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.new
[`Duration::checked_add`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_add
[`Duration::saturating_add`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.saturating_add
[`Duration::checked_sub`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_sub
[`Duration::saturating_sub`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.saturating_sub
[`Duration::checked_mul`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_mul
[`Duration::saturating_mul`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.saturating_mul
[`Duration::checked_div`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.checked_div
[`Duration::as_secs_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.as_secs_f64
[`Duration::as_secs_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.as_secs_f32
[`Duration::from_secs_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.from_secs_f64
[`Duration::from_secs_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.from_secs_f32
[`Duration::mul_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.mul_f64
[`Duration::mul_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.mul_f32
[`Duration::div_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_f64
[`Duration::div_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_f32
[`Duration::div_duration_f64`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_duration_f64
[`Duration::div_duration_f32`]: https://doc.rust-lang.org/stable/std/time/struct.Duration.html#method.div_duration_f32
[`MaybeUninit::as_ptr`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.as_ptr
[`MaybeUninit::as_mut_ptr`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.as_mut_ptr
[`MaybeUninit::assume_init`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.assume_init
[`MaybeUninit::assume_init_ref`]: https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.assume_init_ref
2022-03-01 16:06:39 +00:00
ryoon
7dadcd9e37 openjdk11: Update to 1.11.0.14.9
* Some NetBSD-specific patches are merged by upstream.

Changelog:
Updated BSD port of JDK 11

Additional features include:

    Update to 11.0.14 GA
    More fixes for LLVM/Clang 13
    OpenBSD fixes
    Improved NetBSD support
2022-03-01 13:51:44 +00:00
jperkin
6df1d0b30d rust: Darwin/arm64 needs to use rust-llvm for now. 2022-02-28 11:32:26 +00:00
pho
744ffa2dc2 *: Bump packages that depend on devel/hs-fsnotify 2022-02-26 12:35:11 +00:00
pho
0ce6d3a96d lang/idris: Link idris with static Haskell libraries
Also generate shell completion scripts with optparse-applicative.
2022-02-26 08:07:37 +00:00
pho
eda754ca5a Bump all Haskell packages after enabling "split sections" in mk/haskell.mk 2022-02-26 03:57:43 +00:00
gutteridge
3c91caa3e0 python27: fix two security issues
Addresses CVE-2021-4189 and CVE-2022-0391. Patches sourced via Fedora.
2022-02-25 22:41:32 +00:00
fcambus
45924ce66f duktape: update to 2.7.
=========================
Duktape 2.7 release notes
=========================

Release overview
================

Main changes in this release (see RELEASES.rst for full details):

* Various fixes and portability improvements.

Upgrading from Duktape 2.6
==========================

No action (other than recompiling) should be needed for most users to upgrade
from Duktape v2.6.x.
2022-02-25 20:51:27 +00:00
fcambus
f35b51603b libduktape: update to 2.7.
=========================
Duktape 2.7 release notes
=========================

Release overview
================

Main changes in this release (see RELEASES.rst for full details):

* Various fixes and portability improvements.

Upgrading from Duktape 2.6
==========================

No action (other than recompiling) should be needed for most users to upgrade
from Duktape v2.6.x.
2022-02-25 20:50:07 +00:00
jperkin
50a62b504a ghc92: Fix build on SunOS.
Ensure _POSIX_PTHREAD_SEMANTICS is defined, for some reason the global defines
aren't being applied correctly to this file.
2022-02-25 12:19:15 +00:00
pho
becb2c910c lang/ghc90: Use ${_PKGSRC_MKPIE} instead of ${_OPSYS_SUPPORTS_MKPIE}
It's the variable that indicates if MKPIE is requested and feasible on the
platform. In fact I originally wrote a condition mentioning
${_PKGSRC_MKPIE}, but it somehow got lost while I was refactoring the code.
2022-02-24 09:18:09 +00:00
pho
379f5818b6 lang/ghc92: Use ${_PKGSRC_MKPIE} instead of ${_OPSYS_SUPPORTS_MKPIE}
It's the variable that indicates if MKPIE is requested and feasible on the
platform. In fact I originally wrote a condition mentioning
${_PKGSRC_MKPIE}, but it somehow got lost while I was refactoring the code.
2022-02-24 09:17:59 +00:00
pho
180e5591c3 lang/Makefile: + spago 2022-02-24 01:28:12 +00:00
pho
435a07033c lang/spago: import spago-0.20.7
PureScript package manager and build tool powered by Dhall and
package-sets.
2022-02-24 01:27:40 +00:00
pho
73a4692f83 lang/Makefile: + dhall 2022-02-23 16:58:43 +00:00
pho
caa9d61496 lang/dhall: import dhall-1.40.2
Dhall is an explicitly typed configuration language that is not Turing
complete. Despite being Turing incomplete, Dhall is a real programming
language with a type-checker and evaluator.

Use this library to parse, type-check, evaluate, and pretty-print the Dhall
configuration language. This package also includes an executable which
type-checks a Dhall file and reduces the file to a fully evaluated normal
form.
2022-02-23 16:58:29 +00:00
pho
369ba32e49 lang/Makefile: + purescript 2022-02-23 16:22:47 +00:00
pho
9ae2ac2847 lang/purescript: import purescript-0.14.5
A small strongly typed programming language with expressive types that
compiles to JavaScript, written in and inspired by Haskell.
2022-02-23 16:22:33 +00:00
pho
b15ebdb5a3 lang/Makefile: + hs-sourcemap 2022-02-23 16:20:33 +00:00
pho
411ba02d35 lang/hs-sourcemap: import hs-sourcemap-0.1.7
Implementation of source maps, revision 3, proposed by Google
(https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit)
and Mozilla (https://wiki.mozilla.org/DevTools/Features/SourceMap).
2022-02-23 16:20:18 +00:00
pho
d44f8b2a7e lang/Makefile: + hs-purescript-cst 2022-02-23 16:19:59 +00:00
pho
943203a557 lang/hs-purescript-cst: import hs-purescript-cst-0.4.0.0
The parser for the PureScript programming language.
2022-02-23 16:19:45 +00:00
pho
34fa0e11a8 lang/Makefile: + hs-language-javascript 2022-02-23 16:12:27 +00:00
pho
c64b086a35 lang/hs-language-javascript: import hs-language-javascript-0.7.1.0
Parses Javascript into an Abstract Syntax Tree (AST).
2022-02-23 16:12:12 +00:00
jperkin
8a2915da8c ghc92: Only pass -pie if it is supported.
This isn't ideal, _OPSYS_SUPPORTS_MKPIE is an internal variable and we are
assuming if it's defined it's enabled, but for now it's the best we have.
2022-02-23 16:01:20 +00:00
jperkin
75d1e79fef ruby: Fix extension installs on non-NetBSD.
For some reason NetBSD does not append an OS version like pretty much all other
OS, and so installs of arch-specific extensions directories were broken due to
the triple containing a dash before the version and causing PLIST failures.

Introduce a new RUBY_EXTARCH variable that has a special-case for NetBSD, and
use it for GEM_EXTSBASE.  Fixes many packages, but notably ruby31-base.
2022-02-23 15:53:25 +00:00
wiz
b925e43937 lang/Makefile: + py-lark-parser 2022-02-23 11:36:31 +00:00
wiz
f68020bd95 lang/py-lark-parser: import py-lark-parser-0.12.0
Lark is a modern general-purpose parsing library for Python.
With Lark, you can parse any context-free grammar, efficiently,
with very little code.
2022-02-23 11:36:12 +00:00
wiz
f0789cbaa5 lang/Makefile: + py-libcst 2022-02-23 11:33:07 +00:00
wiz
cd26677692 lang/py-libcst: import py-libcst-0.4.1
Packaged by adam and myself in wip.

LibCST parses Python 3.0 -> 3.11 source code as a CST tree that
keeps all formatting details (comments, whitespaces, parentheses,
etc). It's useful for building automated refactoring (codemod)
applications and linters.

LibCST creates a compromise between an Abstract Syntax Tree (AST)
and a traditional Concrete Syntax Tree (CST). By carefully reorganizing
and naming node types and fields, we've created a lossless CST that
looks and feels like an AST.
2022-02-23 11:32:52 +00:00
taca
a053c4355d lang/ruby31-base: update to 3.1.1
From release announce:

Ruby 3.1.1 Released
Posted by naruse on 18 Feb 2022

Ruby 3.1.1 has been released.

This is the first TEENY version release of the stable 3.1 series.

See the commit logs <https://github.com/ruby/ruby/compare/v3_1_0...v3_1_1> for details.
2022-02-20 15:59:09 +00:00
taca
ec0681846f lang/php81: update to 8.1.3
17 Feb 2022, PHP 8.1.3

- Core:
  . Fixed bug #81430 (Attribute instantiation leaves dangling pointer).
    (beberlei)
  . Fixed bug GH-7896 (Environment vars may be mangled on Windows). (cmb)
  . Fixed bug GH-7883 (Segfault when INI file is not readable). (Remi)

- Filter:
  . Fix #81708: UAF due to php_filter_float() failing for ints. (CVE-2021-21708) (cmb)

- FFI:
  . Fixed bug GH-7867 (FFI::cast() from pointer to array is broken). (cmb,
    dmitry)

- FPM:
  . Fixed memory leak on invalid port. (David Carlier)
  . Fixed bug GH-7842 (Invalid OpenMetrics response format returned by FPM
    status page. (Stefano Arlandini)

- MBString:
  . Fixed bug GH-7902 (mb_send_mail may delimit headers with LF only). (cmb)

- MySQLnd:
  . Fixed bug GH-7972 (MariaDB version prefix 5.5.5- is not stripped). (Kamil Tekiela)

- pcntl:
  . Fixed pcntl_rfork build for DragonFlyBSD. (David Carlier)

- Sockets:
  . Fixed bug GH-7978 (sockets extension compilation errors). (David Carlier)

- Standard:
  . Fixed bug GH-7899 (Regression in unpack for negative int value). (Remi)
  . Fixed bug GH-7875 (mails are sent even if failure to log throws exception).
    (cmb)
2022-02-20 13:10:37 +00:00
taca
752c2020af lang/php80: update to 8.0.16
17 Feb 2022, PHP 8.0.16

- Core:
  . Fixed bug #81430 (Attribute instantiation leaves dangling pointer).
    (beberlei)
  . Fixed bug GH-7896 (Environment vars may be mangled on Windows). (cmb)

- FFI:
  . Fixed bug GH-7867 (FFI::cast() from pointer to array is broken). (cmb,
    dmitry)

- Filter:
  . Fix #81708: UAF due to php_filter_float() failing for ints. (stas)

- FPM:
  . Fixed memory leak on invalid port. (David Carlier)

- MBString:
  . Fixed bug GH-7902 (mb_send_mail may delimit headers with LF only). (cmb)

- MySQLnd:
  . Fixed bug GH-7972 (MariaDB version prefix 5.5.5- is not stripped). (Kamil Tekiela)

- Sockets:
  . Fixed ext/sockets build on Haiku. (David Carlier)
  . Fixed bug GH-7978 (sockets extension compilation errors). (David Carlier)

- Standard:
  . Fixed bug GH-7875 (mails are sent even if failure to log throws exception).
    (cmb)
2022-02-20 13:08:52 +00:00
taca
5f6b544626 lang/php74: update to 7.4.28
17 Feb 2022, PHP 7.4.28

- Filter:
  . Fix #81708: UAF due to php_filter_float() failing for ints
2022-02-20 13:03:01 +00:00
nia
2d24e54e67 lua: Add support for running tests with busted to module.mk 2022-02-19 20:39:58 +00:00
pho
5ae989fdd6 Fix build on Darwin 2022-02-17 15:57:07 +00:00
pho
71d69e3ede lang/ghc92/patches: Add a tech-kern thread URL 2022-02-17 11:59:24 +00:00
pho
61d4087764 Correct wrong checksums for the Darwin/x86_64 bootkit 2022-02-17 10:18:06 +00:00
pho
a88448a2b5 lang/ghc92: Work around an issue where GHCi sometimes crashes on NetBSD 2022-02-17 07:16:10 +00:00
adam
2b69188160 nodejs12: updated to 12.22.10
Version 12.22.10 'Erbium' (LTS)

Notable changes

Upgrade npm to 6.14.16
Updated ICU time zone data
2022-02-15 14:00:34 +00:00
adam
94bc24156a nodejs: updated to 14.19.0
Version 14.19.0 'Fermium' (LTS)

Notable Changes

Corepack

Node.js now includes Corepack, a script that acts as a bridge between Node.js projects and the package managers they are intended to be used with during development. In practical terms, Corepack will let you use Yarn and pnpm without having to install them - just like what currently happens with npm, which is shipped in Node.js by default. Please head over to the Corepack documentation page for more information on how to use it.


ICU updated

ICU has been updated to 70.1. This updates timezone database to 2021a3, including bringing forward the start for DST for Jordan from March to February.


New option to disable loading of native addons

A new command line option --no-addons has been added to disallow loading of native addons.


Updated Root Certificates

Root certificates have been updated to those from Mozilla's Network Security Services 3.71.
2022-02-15 13:59:42 +00:00
adam
c122e86637 rust-analyzer: updated to 0.0.2022.02.14
0.0.2022.02.14

New Features
* fix up syntax errors in attribute macro inputs to make completion work more often
* render whether a function is async / const / unsafe in completion details

Fixes
* (first contribution) add missing experimental capabilities.
* (first contribution) use text range of a mod name after macro expansion when renaming a module.
* don’t change references to super when renaming a module.
* fix documentation of SsrParams.

Internal Improvements
* make ascend_call_token iterative instead of recursive.
* fix serialization of WorkspaceSymbolParams.
2022-02-14 18:25:49 +00:00
pho
9c7e1546d9 Mark the package as not supporting MKPIE
Not sure if it really doesn't support PIE, but it's an obsolete compiler
anyway.
2022-02-14 12:12:07 +00:00
adam
4619714b93 rust-analyzer: Use pre-1.58.0 format strings. 2022-02-14 08:27:17 +00:00
wiz
71beaa1509 versioned_dependencies.mk: support py-twisted 2022-02-13 08:43:43 +00:00
taca
b108364294 lang/ruby: start update of ruby-rails70 to 7.0.2.2 2022-02-13 07:39:14 +00:00
taca
fc8e875f25 www/ruby-rails61: update to 6.1.4.6
This update contains security fix for CVE-2022-23633 in ruby-actionpack61.

Active Support 6.1.4.6 (2022-02-11)

* Fix Reloader method signature to work with the new Executor signature.

Action Pack 6.1.4.5 (2022-02-11)

* Under certain circumstances, the middleware isn't informed that the
  response body has been fully closed which result in request state
  not being fully reset before the next request.

  [CVE-2022-23633]

Other packages have no change.
2022-02-13 07:35:04 +00:00
taca
b85ecf1d31 www/ruby-rails60: update to 6.0.4.6
This update contains security fix for CVE-2022-23633 in ruby-actionpack60.

Active Support 6.0.4.6 (2022-02-11)

* Fix Reloader method signature to work with the new Executor signature.

Action Pack 6.0.4.6

6.0.4.5 (2022-02-11)

* Under certain circumstances, the middleware isn't informed that the
  response body has been fully closed which result in request state
  not being fully reset before the next request.

  [CVE-2022-23633]

Other packages have no change.
2022-02-13 07:31:21 +00:00
taca
4c3f89faaf www/ruby-rails52: update to 5.2.6.2
This update contains security fix for CVE-2022-23633 in

Active Support 5.2.6.2 (2022-02-11)

* Fix Reloader method signature to work with the new Executor signature.

Action Pack 5.2.6.2 (2022-02-11)

* Under certain circumstances, the middleware isn't informed that the
  response body has been fully closed which result in request state
  not being fully reset before the next request.

  [CVE-2022-23633]
2022-02-13 07:26:05 +00:00
bsiegert
0e058833c8 Update go117 to 1.17.7 (security update).
crypto/elliptic: fix IsOnCurve for big.Int values that are not valid coordinates

Some big.Int values that are not valid field elements (negative or overflowing)
might cause Curve.IsOnCurve to incorrectly return true. Operating on those values
may cause a panic or an invalid curve operation. Note that Unmarshal will never
return such values.

Thanks to Guido Vranken for reporting this.

This is CVE-2022-23806 and https://go.dev/issue/50974.

math/big: prevent large memory consumption in Rat.SetString

An attacker can cause unbounded memory growth in a program using (*Rat).SetString
due to an unhandled overflow.

Thanks to the OSS-Fuzz project for discovering this issue and to Emmanuel Odeke
(@odeke_et) for reporting it.

This is CVE-2022-23772 and Go issue https://go.dev/issue/50699.

cmd/go: prevent branches from materializing into versions

A branch whose name resembles a version tag (such as "v1.0.0" or "subdir/v2.0.0-dev")
can be considered a valid version by the go command. Materializing versions from
branches might be unexpected and bypass ACLs that limit the creation of tags but not
branches.

This is CVE-2022-23773 and Go issue https://go.dev/issue/35671.
2022-02-12 20:14:01 +00:00
bsiegert
be9f48e100 Update go116 to 1.16.14 (security update).
crypto/elliptic: fix IsOnCurve for big.Int values that are not valid coordinates

Some big.Int values that are not valid field elements (negative or overflowing)
might cause Curve.IsOnCurve to incorrectly return true. Operating on those values
may cause a panic or an invalid curve operation. Note that Unmarshal will never
return such values.

Thanks to Guido Vranken for reporting this.

This is CVE-2022-23806 and https://go.dev/issue/50974.

math/big: prevent large memory consumption in Rat.SetString

An attacker can cause unbounded memory growth in a program using (*Rat).SetString
due to an unhandled overflow.

Thanks to the OSS-Fuzz project for discovering this issue and to Emmanuel Odeke
(@odeke_et) for reporting it.

This is CVE-2022-23772 and Go issue https://go.dev/issue/50699.

cmd/go: prevent branches from materializing into versions

A branch whose name resembles a version tag (such as "v1.0.0" or "subdir/v2.0.0-dev")
can be considered a valid version by the go command. Materializing versions from
branches might be unexpected and bypass ACLs that limit the creation of tags but not
branches.

This is CVE-2022-23773 and Go issue https://go.dev/issue/35671.
2022-02-12 19:52:40 +00:00
pho
dc3a63e008 revbump after changing the default Haskell compiler 2022-02-12 08:50:25 +00:00
pho
5cb6accb07 Update to idris-1.3.4
New in 1.3.4
    Renamed 'forall' function for compability with future GHC releases
    Updated version bounds
    Bugfixes
2022-02-12 07:13:35 +00:00
pho
0d7462484a Update to hslua-2.1.0
hslua-2.1.0 - Released 29-01-2022.
* Update to hslua-objectorientation 2.1.0. This entails changes to deftype'
  and deftypeGeneric, switching the order of item pusher and list-extractor
  function in the tuple passed as the last argument.
* Update to hslua-core 2.1.0, hslua-marshalling 2.1.0, and hslua-classes
  2.1.0.

hslua-2.0.1 - Released 2021-11-04.
* Updated lower bounds of hslua packages:
  hslua >= 2.0.0.2,
  hslua-marshalling >= 2.0.1, and
  hslua-objectorientation >= 2.0.1.
* This fixes a number of smaller issues; see the respective package
  changelogs for details.

hslua-2.0.0 - Released 2021-10-21.
* Move module hierarchy from Foreign.Lua to HsLua.
* Error handling has been reworked completely. The type of exceptions used
  and handled by HsLua is now exposed to the type system. The type Lua
  makes use of a default error type. Custom error handling can be
  implemented by using the LuaE type with an exception type that is an
  instance of class LuaError.
* Renamed stack index helpers to nth, nthTop, nthBottom, top. The following
  have been removed: stackTop, nthFromTop, nthFromBottom.
* Extracted raw Lua bindings into new package lua. This means that all
  cabal flags have been moved to package lua as well. Version lua-1.0.0
  contained the Foreign.Lua.Raw hierarchy as present in hslua-1.3.0. See
  that package’s changelog for info on the additional modifications since
  then.
* The module Foreign.Lua.Raw.Error was merged into the HsLua.Core.Error
  module.
* The functions getglobal and gettable now return the Lua Type of the
  pushed value.
* Extracted new packages:
  * hslua-core: the package contains all modules from the Core sub-hierarchy.
  * hslua-classes: typclasses Peekable and Pushable for pushing and
    pulling, as well as function calling.
  * tasty-hslua: makes testing helpers available for reuse.
* Moved run functions from Util to Core.Run.
* Moved module Utf8 from the base level into Core.
* Refactored code to expose Haskell functions to Lua:
* Removed functions newCFunction, freeCFunction. Use pushHaskellFunction
  instead, it takes care of garbage collection.
* Renamed typeclass ToHaskellFunction to Exposable, function callFunc to
  invoke. All these have been moved to hslua-classes.
* The type PreCFunction is now defined in package lua; HaskellFunction is
  defined in hslua-core.
* Changed pushHaskellFunction to only accept HaskellFunction arguments,
  move it to hslua-core.
* Removed helper functions addfunction and addfield from Module. Use
  documented functions and fields instead.
* Added support for a “since” tag on documented functions; allows to mark
  the library version when a function was introduced in its present form.
2022-02-11 12:11:55 +00:00
pho
e05ed07ea3 +hs-hslua-packaging 2022-02-11 12:08:48 +00:00
pho
398e8d2692 lang/hs-hslua-packaging: import hs-hslua-packaging-2.1.0
Utilities to package up Haskell functions and values into a Lua module.

This package is part of HsLua, a Haskell framework built around the
embeddable scripting language Lua.
2022-02-11 12:08:17 +00:00
pho
5832da37fc +hs-hslua-objectorientation 2022-02-11 12:07:46 +00:00
pho
b9de89e7ad lang/hs-hslua-objectorientation: import hs-hslua-objectorientation-2.1.0
Expose Haskell objects to Lua with an object oriented interface.
2022-02-11 12:07:14 +00:00
pho
bf2b9faae2 +hs-hslua-classes 2022-02-11 12:06:48 +00:00
pho
ae2954e570 lang/hs-hslua-classes: import hs-hslua-classes-2.1.0
Type classes for convenient marshalling and calling of Lua functions.
2022-02-11 12:06:12 +00:00
pho
83acf46083 +hs-hslua-marshalling 2022-02-11 12:05:41 +00:00
pho
979f866476 lang/hs-hslua-marshalling: import hs-hslua-marshalling-2.1.0
Provides functions to marshal values from Haskell to Lua, and vice versa.

This package is part of HsLua, a Haskell framework built around the
embeddable scripting language Lua.
2022-02-11 12:05:02 +00:00
pho
3224c97854 +hs-hslua-core 2022-02-11 12:04:05 +00:00
pho
97ae88ccf5 lang/hs-hslua-core: import hs-hslua-core-2.1.0
Wrappers and helpers to bridge Haskell and Lua.

It builds upon the lua package, which allows to bundle a Lua interpreter
with a Haskell program.
2022-02-11 12:03:30 +00:00
pho
2e729a4f15 +hs-lua 2022-02-11 11:59:51 +00:00
pho
a3a08d2e96 Import lua-2.1.0
This package provides low-level bindings and types to bridge Haskell and
Lua.
2022-02-11 11:59:11 +00:00
gutteridge
f8bb9cfa11 openjdk8: add the native path on Fedora Linux to searches 2022-02-10 18:55:10 +00:00
pho
e3237f1998 Install a bash completion script 2022-02-10 12:21:11 +00:00
adam
24a6e63892 rust-analyzer: updated to 0.0.2022.02.07
2022-02-07

11416: Fix eslint language server not working r=Veykril a=jackos

Allows the language server for eslint to work inside VS Code.
2022-02-08 20:45:00 +00:00
gutteridge
a87fedd4bf python: fix typo in comment in egg.mk 2022-02-08 17:19:50 +00:00
gavan
676a69b30c lang/mono: Fix network interfaces and enable BTLS 2022-02-08 13:39:17 +00:00
mcf
6e95db1cc4 guile: append to BUILDLINK_PASSTHRU_DIRS rather than replace it 2022-02-08 10:26:16 +00:00
pho
559baa6dfd Add upstream URLs to patches 2022-02-08 07:45:02 +00:00
wiz
271d500a22 wheel.mk: also substitute PYVERSSUFFIX 2022-02-07 15:39:35 +00:00
tnn
1b3650feae rust: fix build with rust-1.57.0 2022-02-07 09:16:05 +00:00
gutteridge
4b499b95dd php80 & php81: update zts option name
Adjust the pkgsrc option name from "maintainer-zts" to "zts" for recent
PHP versions. Relates to PR pkg/56681.
2022-02-07 02:26:09 +00:00
adam
3115194487 rust-analyzer: updated to 0.0.2022.01.31
2022-01-31

fix: Fix `cfg_attr` invalidating derive identifier IDE functionalities r=Veykril a=Veykril

Proper fix for https://github.com/rust-analyzer/rust-analyzer/issues/11298
bors r+
2022-02-06 16:49:03 +00:00
pho
8a32de6740 +ghc92 2022-02-06 05:37:03 +00:00
pho
574dd70006 Import GHC 9.2.1
The compiler now has a native codegen on aarch64. LLVM backend is now
optional, and is disabled by default.

The full release note is too long to paste here. See:
https://downloads.haskell.org/~ghc/9.2.1/docs/html/users_guide/9.2.1-notes.html
2022-02-06 05:36:15 +00:00
pho
b013558cd5 When the LLVM backend is enabled, use clang as the assembler
This turned out to be necessary because LLVM 13 emits assembly code that is
incompatible with "as" from Binutils < 2.36.
2022-02-06 05:31:57 +00:00
wiz
1eeae0bce5 wasi-compiler-rt: pkglint whitespace fix 2022-02-04 12:12:27 +00:00
wiz
3f72866ace wasi-compiler-rt: install into directory matching llvm's version number
Bump PKGREVISION.
2022-02-04 12:12:12 +00:00
wiz
8289f61b4b wasi-libcxx: pkglint whitespace fixes 2022-02-04 11:06:58 +00:00
wiz
29ab427db9 wasi-libcxx: regen distinfo for llvm update 2022-02-04 11:06:42 +00:00
wiz
f6051f074e wasi-compiler-rt: fix post-install step after llvm update
XXX: should this use 13.0.1 now?
2022-02-04 11:01:22 +00:00
gutteridge
69f103e729 php80 & php81: correct zts option invocation
Starting with PHP 8.0, zts is enabled with --enable-zts, rather than
the older --enable-maintainer-zts. Addresses PR pkg/56681.

The actual pkgsrc option name should probably be adjusted, and the
current "maintainer-zts" moved to PKG_LEGACY_OPTIONS. I've left it for
another commit.
2022-02-04 01:41:01 +00:00
adam
bd26a73ac3 llvm: updated to 13.0.1
13.0.1:
Bug-fix release.
2022-02-03 20:38:39 +00:00
wiz
a18deaffc9 sablevm-classpath-gui: remove patch that is not in distinfo
package builds fine for me without it on NetBSD-current
2022-02-03 08:10:48 +00:00
mrg
a718ec25bf pull over the rest of netbsd arm32 configuration from -current.
fixes PR#56679.  (tested in armv7hf-el chroot on armv8, and also tested
doesn't break amd64 version.)
2022-02-02 22:07:28 +00:00
hauke
40a83aefc7 Unbreak oracle-j*8 packages -- "Contains pre-built binaries", so no PIE support. 2022-02-02 10:16:52 +00:00
adam
74459f0b17 py-py3c: updated to 1.4
v1.4

Additions:
add guidance around the use of Py_FindMethod

Fixes:
Avoid compiler warning about unused function
Fix DESTDIR support in the Makefile
Various documentation warning fixes
2022-01-31 13:44:39 +00:00
wiz
98ed8916ad versioned_dependencies: support py-mccabe 2022-01-31 11:54:44 +00:00
wiz
62fb4f59ff *: depend on py-click via versioned_dependencies 2022-01-31 09:48:35 +00:00
wiz
2bdba16e9a versioned_dependencies: support click 2022-01-31 09:44:47 +00:00
he
6e2c3f83fe lang/quickjs: update to 2021-03-27 version.
Pkgsrc changes:
 * adjust patches and checksums as needed
 * Update request from PR#56675 should be fulfilled by this;
   thanks to Kimihiro Nonaka

Upstream changes:

2021-03-27:

- faster Array.prototype.push and Array.prototype.unshift
- added JS_UpdateStackTop()
- fixed Windows console
- misc bug fixes

2020-11-08:

- improved function parameter initializers
- added std.setenv(), std.unsetenv() and std.getenviron()
- added JS_EvalThis()
- misc bug fixes

2020-09-06:

- added logical assignment operators
- added IsHTMLDDA support
- faster for-of loops
- os.Worker now takes a module filename as parameter
- qjsc: added -D option to compile dynamically loaded modules or workers
- misc bug fixes

2020-07-05:

- modified JS_GetPrototype() to return a live value
- REPL: support unicode characters larger than 16 bits
- added os.Worker
- improved object serialization
- added std.parseExtJSON
- misc bug fixes
2022-01-30 10:55:03 +00:00
pho
dc8523450b Mark the package as MKPIE-unsupported 2022-01-30 04:31:22 +00:00
wiz
fe175d74ea py-jsonlib: remove python 2.x version of py-jsonlib3
No user in pkgsrc, no upstream changes since 2010
2022-01-29 21:46:17 +00:00
wiz
be552d6627 python: support flake8 in versioned_dependencies 2022-01-29 08:42:50 +00:00
schmonz
b669804a7e According to the noted issue, the compiler to avoid is llvm-gcc-4.2,
which means 11.x and 12.x according to mk/platform/Darwin.mk. On 10.x
(i386 Snow Leopard Server, at least), no problem with the system gcc.
Adjust the scope of the workaround to match.
2022-01-27 21:33:41 +00:00
nros
9cc3ec5071 Update lang/qore to version 1.2
Update due to that it has not been updated
for a long time, tons of fixes and new apis.
2022-01-27 17:39:45 +00:00
wiz
9bc3bac209 python: support testtools as versioned dependency 2022-01-27 10:50:51 +00:00
wiz
fbd6f76017 py-pure-eval: add missing build dependency 2022-01-27 08:05:17 +00:00
wiz
a4304be547 wheel.mk: no pyo files for wheels 2022-01-25 21:51:41 +00:00
wiz
45482a307d python/wheel.mk: add PLIST code for pyc/pyo
TODO: clean up/merge with extension.mk
2022-01-25 13:21:21 +00:00
jperkin
ba8b9b7b79 python3*: Switch to CFLAGS, CPPFLAGS is ignored.
Fixes build on SmartOS.
2022-01-25 12:16:54 +00:00
wiz
2d093f80c2 *: use versioned_dependencies.mk for py-importlib-metadata 2022-01-25 09:05:10 +00:00
wiz
1c730846a1 versioned_dependencies.mk: add importlib-metadata 2022-01-25 09:04:29 +00:00
taca
9b43a7a1fa lang/php81: update to 8.1.2
20 Jan 2022, PHP 8.1.2

- Core:
  . Fixed bug #81216 (Nullsafe operator leaks dynamic property name). (Dmitry)
  . Fixed bug #81684 (Using null coalesce assignment with $GLOBALS["x"] produces
    opcode error). (ilutov)
  . Fixed bug #81656 (GCC-11 silently ignores -R). (Michael Wallner)
  . Fixed bug #81683 (Misleading "access type ... must be public" error message
    on final or abstract interface methods). (ilutov)
  . Fixed bug #81585 (cached_chunks are not counted to real_size on shutdown).
    (cmb)
  . Fixed bug GH-7757 (Multi-inherited final constant causes fatal error).
    (cmb)
  . Fixed zend_fibers.c build with ZEND_FIBER_UCONTEXT. (Petr Sumbera)
  . Added riscv64 support for fibers. (Jeremie Courreges-Anglas)

- Filter:
  . Fixed FILTER_FLAG_NO_RES_RANGE flag. (Yifan Tong)

- Hash:
  . Fixed bug GH-7759 (Incorrect return types for hash() and hash_hmac()).
    (cmb)
  . Fixed bug GH-7826 (Inconsistent argument name in hash_hmac_file and
    hash_file). (cmb)

- MBString:
  . Fixed bug #81693 (mb_check_encoding(7bit) segfaults). (cmb)

- MySQLi:
  . Fixed bug #81658 (MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB).
    (devnexen)
  . Introduced MYSQLI_IS_MARIADB. (devnexen)
  . Fixed bug GH-7746 (mysqli_sql_exception->getSqlState()). (Kamil Tekiela)

- MySQLnd:
  . Fixed bug where large bigints may be truncated. (Nathan Freeman, cmb)

- OCI8:
  . Fixed bug GH-7765 (php_oci_cleanup_global_handles segfaults at second
    call). (cmb)

- OPcache:
  . Fixed bug #81679 (Tracing JIT crashes on reattaching). (cmb)

- Readline:
  . Fixed bug #81598 (Cannot input unicode characters in PHP 8 interactive
    shell). (Nikita)

- Reflection:
  . Fixed bug #81681 (ReflectionEnum throwing exceptions). (cmb)

- PDO_PGSQL:
  . Fixed error message allocation of PDO PgSQL. (SATO Kentaro)

- Sockets:
  . Avoid void* arithmetic in sockets/multicast.c on NetBSD. (David Carlier)
  . Fixed ext/sockets build on Haiku. (David Carlier)

- Spl:
  . Fixed bug #75917 (SplFileObject::seek broken with CSV flags). (Aliaksandr
    Bystry)
  . Fixed bug GH-7809 (Cloning a faked SplFileInfo object may segfault). (cmb)

- Standard:
  . Fixed bug GH-7748 (gethostbyaddr outputs binary string). (cmb)
  . Fixed bug GH-7815 (php_uname doesn't recognise latest Windows versions).
    (David Warner)
2022-01-24 14:13:36 +00:00
wiz
b9d7f9c9c7 rust-analyzer: update to 0.0.2022.01.24.
2022-01-24

11334: fix: don't panic in semantics due to `cfg_attr` disrupting
offsets

Reduces the panic in
https://github.com/rust-analyzer/rust-analyzer/issues/11298 to an
early return, that means we won't resolve these cases again for
now, but this is better than constantly panicking in highlighting
and hovering.

2022-01-17

11287: fix: rust-analyzer spamming overly error message when
workspace not being loaded

Fixes #10120
2022-01-24 09:37:19 +00:00