Commit graph

11987 commits

Author SHA1 Message Date
nia
88e5145de9 rust: correct sense of test. pointed out by gdt 2020-06-14 19:40:52 +00:00
nikita
9595fa3a58 lang/nim: maybe fix build in sandbox 2020-06-14 16:15:54 +00:00
nia
bf3ca847c5 rust: Remove silly comment that slipped in 2020-06-14 15:43:22 +00:00
nia
aca65245fa rust: More rust.mk explanation. 2020-06-14 15:38:18 +00:00
nia
9c0808198e Rename rust-bin's PKGNAME to rust-bin. Add rust.mk for rust packages.
This allows rust-bin and rust to coexist in bulk builds (for testing, etc),
but the packages still may not be installed at the same time.

rust.mk as a solution for picking the correct rust variant was suggested
by gdt@. It is intended to be included directly by packages that do not
use cargo.mk, and indirectly by packages that do use cargo.mk.

rust.mk provides one user-settable variable:

RUST_TYPE
	as before, whether to bootstrap rust from source or use
	official binaries. may be "src" or "bin"

And two package-settable variables:

RUST_REQ
	the minimum version of Rust required by the package.
	defaults to "1.20.0"

RUST_RUNTIME
	whether Rust is a runtime dependency, may be "yes" or "no"
2020-06-14 15:33:27 +00:00
gdt
ced555386d lang/rust: Add comments listing open PRs 2020-06-14 14:29:25 +00:00
rillig
f02ed8b373 lang/rust: fix unsatisfiable condition in cargo.mk
The condition had been the same as in Makefile before 1.174.

Testing for OPSYS was unnecessary since that is included in
MACHINE_PLATFORM as well.

The ${VAR} syntax is easier readable since the number of exclamation
marks matches the number of negations, contrary to !empty, which is
effectively a positive test.

Swapped the order of the conditions since it is easier to read
"generally, but not" than "not this and the general case".
2020-06-14 11:19:34 +00:00
ryoon
2b49516933 forth-retro: Update to 2019.7
Changelog:
# RETRO 2019.7

This is the changelog for the development builds of Retro.
The version number is likely to change; I'm targetting an
early July window for this release.

## Bug Fixes

- all
  - strl* functions now renamed, included on all builds
  - `d:add-header` is extended by retro.forth to remap
    spaces back to underscores when creating headers
  - fix overflow issue with `n:MIN`, `n:MAX`
- build
  - fix compile issue under Solaris
- retro-unix
  - `clock:year` corrected
  - `clock:month` corrected
- examples
  - fixed issue in mail.forth

## Build

- Merged Linux & BSD Makefiles

## Core Language

- new words
  - `a:fetch`
  - `a:store`
  - `s:replace-all`
- renamed
  - `a:nth` to `a:th`
  - `v:update-using` to `v:update`
- performance improvements
  - `times`
  - `times<with-index>`
  - `while`
  - `until`

## Documentation

- merged BSD, Linux, macOS build instructions
- updated Starting instructions
- added implementation notes on arrays
- updated the initial word table in rx.muri
- added a man page for retro-describe

## Toolchain

- fixed a bug in the glossary server

## Examples

- new examples
  - bury.forth
  - compat.forth
  - gopher.forth
  - magic-8th-ball.forth
  - mandelbrot.forth
  - RFC865.forth
  - RFC867.forth
  - safety-net.retro
  - shell.forth
  - sqlite3 wrapper
  - unix-does-user-exist.forth
- improved examples
  - 99bottles.forth
  - edit.forth
- other
  - publish-examples.forth now uses `retro-document`
    to generate glossaries

## General

- reorganized directory tree

## I/O

- retro-unix (rre)
  - added `clock:utc:` namespace
  - remove gopher downloader
  - add sockets interface
  - add `unix:slurp-pipe`

## Interfaces

- retro-compiler
  - runtime now supports scripting arguments
- retro-unix
  - remove FullScreenListener
  - ok prompt now a hook
  - rewrite the listener
- retro-c#
  - restored this to the source tree
- native
  - better `0x` prefix handling

## Notes for the future:

In a future release, the examples will start using a `.retro`
file name extension rather than `.forth` to avoid possible
confusion with other systems that use `.forth` (e.g., MPE).
2020-06-14 10:38:11 +00:00
ryoon
9349f78a12 pfe: This is not ported to Python 3.x yet 2020-06-14 10:32:04 +00:00
taca
dfe180d2bb lang/php74: update to 7.4.7
Update update to 7.4.7.


11 Jun 2020, PHP 7.4.7

- Core:
  . Fixed bug #79599 (coredump in set_error_handler). (Laruence)
  . Fixed bug #79566 (Private SHM is not private on Windows). (cmb)
  . Fixed bug #79489 (.user.ini does not inherit). (cmb)
  . Fixed bug #79600 (Regression in 7.4.6 when yielding an array based
    generator). (Nikita)
  . Fixed bug #79657 ("yield from" hangs when invalid value encountered).
    (Nikita)

- FFI:
  . Fixed bug #79571 (FFI: var_dumping unions may segfault). (cmb)

- GD:
  . Fixed bug #79615 (Wrong GIF header written in GD GIFEncode). (sageptr, cmb)

- Opcache:
  . Fixed bug #79588 (Boolean opcache settings ignore on/off values). (cmb)
  . Fixed bug #79548 (Preloading segfault with inherited method using static
    variable). (Nikita)
  . Fixed bug #79603 (RTD collision with opcache). (Nikita)

- Standard:
  . Fixed bug #79561 (dns_get_record() fails with DNS_ALL). (cmb)
2020-06-14 05:59:17 +00:00
taca
a9c66c5c2e lang/php73: update to 7.3.19
Update php73 to 7.3.19.


11 Jun 2020, PHP 7.3.19

- Core:
  . Fixed bug #79566 (Private SHM is not private on Windows). (cmb)
  . Fixed bug #79489 (.user.ini does not inherit). (cmb)

- GD:
  . Fixed bug #79615 (Wrong GIF header written in GD GIFEncode). (sageptr, cmb)

- MySQLnd:
  . Fixed bug #79596 (MySQL FLOAT truncates to int some locales). (cmb)

- Opcache:
  . Fixed bug #79535 (PHP crashes with specific opcache.optimization_level).
    (Nikita)
  . Fixed bug #79588 (Boolean opcache settings ignore on/off values). (cmb)

- Standard:
  . Fixed bug #79561 (dns_get_record() fails with DNS_ALL). (cmb)
2020-06-14 05:56:51 +00:00
gdt
ba355d5042 lang/rust: Note pkgbuild 2020Q1 MAK_JOBS mystery
On 2020Q1 on pkgbuild (NetBSD 9/amd64), despite MAKE_JOBS_SAFE being
set, rust failed to build repeatedly.  Note this.
2020-06-13 14:26:00 +00:00
gdt
2a518c9350 lang/rust: Extend comments about linker fixes
Reference the commits that fixed the (a?) problem and the pullup to
9.  Note that no pullup to 8 has occured, and add a \todo to explain
the plan.

Thanks to Martin for pointers and explanation.
2020-06-13 14:18:41 +00:00
gdt
d4469abeb2 lang/rust: Fix MAKE_JOBS_SAFE setting for NetBSD
The previous conditional was never true.  Assume that it meant to
apply to NetBSD <= 9 and not apply to current.  Add comments
explaining the reason, with \todo for aspects that are unclear,
partially rescued from CVS history, and partially from tech-pkg
discussion.
2020-06-13 13:15:44 +00:00
leot
f7b9ffdcd4 python/extension.mk: Fix print-PLIST target to generate properly sorted PLISTs
Use EARLY_PRINT_PLIST_AWK instead of PRINT_PLIST_AWK so all the transformations
are done before the file/directory lists generated as part of print-PLIST are
sorted.

Discussed on tech-pkg@:

 <https://mail-index.NetBSD.org/tech-pkg/2020/05/27/msg023249.html>
2020-06-10 16:11:07 +00:00
wiz
1ce6a9d349 vala: update to 0.48.6.
Vala 0.48.6
===========
 * Regression and bug fixes:
  - codegen:
    + Correctly handle cast-expression of real struct to nullable struct [#991]
    + Use loop index instead of get_ccode_pos() for ellipsis parameter [#995]
  - vala:
    + Allow node_ref being null in SemanticAnalyzer.get_instance_base_type()
    + SemanticAnalyzer.get_instance_base_type() is not allowed to return null
    + params-array parameter is not allowed in abstract/virtual method [#985]
    + Use stable hash for methods in HashMap of implicit_implementations [#990]
      and Use "str_equal" as equal_func for ArrayList<string> instances
    + Set value_type of undefined member-access to avoid further criticals
    + Transform cast from floating-type to boxed-type [#991]
    + Transform cast from integer-type to boxed-type [#992]
    + Explicit "new" method may be incompatible with a posssible base method
  - valadoc: Add implicit "Posix" using-directive for POSIX profile
  - girparser: Add support for boolean "new" argument for methods

 * Bindings:
  - gtk4: Update to 3.98.3+028942c8
2020-06-10 15:10:06 +00:00
nia
6f76ecb5d3 rustc: Update to 1.44.0
Version 1.44.0 (2020-06-04)
==========================

Language
--------
- [You can now use `async/.await` with `#[no_std]` enabled.][69033]
- [Added the `unused_braces` lint.][70081]

**Syntax-only changes**

- [Expansion-driven outline module parsing][69838]
```rust
#[cfg(FALSE)]
mod foo {
    mod bar {
        mod baz; // `foo/bar/baz.rs` doesn't exist, but no error!
    }
}
```

These are still rejected semantically, so you will likely receive an error but
these changes can be seen and parsed by macros and conditional compilation.

Compiler
--------
- [Rustc now respects the `-C codegen-units` flag in incremental mode.][70156]
  Additionally when in incremental mode rustc defaults to 256 codegen units.
- [Refactored `catch_unwind` to have zero-cost, unless unwinding is enabled and
  a panic is thrown.][67502]
- [Added tier 3\* support for the `aarch64-unknown-none` and
  `aarch64-unknown-none-softfloat` targets.][68334]
- [Added tier 3 support for `arm64-apple-tvos` and
  `x86_64-apple-tvos` targets.][68191]


Libraries
---------
- [Special cased `vec![]` to map directly to `Vec::new()`.][70632] This allows
  `vec![]` to be able to be used in `const` contexts.
- [`convert::Infallible` now implements `Hash`.][70281]
- [`OsString` now implements `DerefMut` and `IndexMut` returning
  a `&mut OsStr`.][70048]
- [Unicode 13 is now supported.][69929]
- [`String` now implements `From<&mut str>`.][69661]
- [`IoSlice` now implements `Copy`.][69403]
- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is at most 32.
- [`proc_macro::LexError` now implements `fmt::Display` and `Error`.][68899]
- [`from_le_bytes`, `to_le_bytes`, `from_be_bytes`, `to_be_bytes`,
  `from_ne_bytes`, and `to_ne_bytes` methods are now `const` for all
  integer types.][69373]

Stabilized APIs
---------------
- [`PathBuf::with_capacity`]
- [`PathBuf::capacity`]
- [`PathBuf::clear`]
- [`PathBuf::reserve`]
- [`PathBuf::reserve_exact`]
- [`PathBuf::shrink_to_fit`]
- [`f32::to_int_unchecked`]
- [`f64::to_int_unchecked`]
- [`Layout::align_to`]
- [`Layout::pad_to_align`]
- [`Layout::array`]
- [`Layout::extend`]

Cargo
-----
- [Added the `cargo tree` command which will print a tree graph of
  your dependencies.][cargo/8062] E.g.
  ```
    mdbook v0.3.2 (/Users/src/rust/mdbook)
  ├── ammonia v3.0.0
  │   ├── html5ever v0.24.0
  │   │   ├── log v0.4.8
  │   │   │   └── cfg-if v0.1.9
  │   │   ├── mac v0.1.1
  │   │   └── markup5ever v0.9.0
  │   │       ├── log v0.4.8 (*)
  │   │       ├── phf v0.7.24
  │   │       │   └── phf_shared v0.7.24
  │   │       │       ├── siphasher v0.2.3
  │   │       │       └── unicase v1.4.2
  │   │       │           [build-dependencies]
  │   │       │           └── version_check v0.1.5
  ...
  ```
  You can also display dependencies on multiple versions of the same crate with
  `cargo tree -d` (short for `cargo tree --duplicates`).

Misc
----
- [Rustdoc now allows you to specify `--crate-version` to have rustdoc include
  the version in the sidebar.][69494]

Compatibility Notes
-------------------
- [Rustc now correctly generates static libraries on Windows GNU targets with
  the `.a` extension, rather than the previous `.lib`.][70937]
- [Removed the `-C no_integrated_as` flag from rustc.][70345]
- [The `file_name` property in JSON output of macro errors now points the actual
  source file rather than the previous format of `<NAME macros>`.][70969]
  **Note:** this may not point to a file that actually exists on the user's system.
- [The minimum required external LLVM version has been bumped to LLVM 8.][71147]
- [`mem::{zeroed, uninitialised}` will now panic when used with types that do
  not allow zero initialization such as `NonZeroU8`.][66059] This was
  previously a warning.
- [In 1.45.0 (the next release) converting a `f64` to `u32` using the `as`
  operator has been defined as a saturating operation.][71269] This was previously
  undefined behaviour, but you can use the `{f64, f32}::to_int_unchecked` methods to
  continue using the current behaviour, which may be desirable in rare performance
  sensitive situations.

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

- [dep_graph Avoid allocating a set on when the number reads are small.][69778]
- [Replace big JS dict with JSON parsing.][71250]

[69373]: https://github.com/rust-lang/rust/pull/69373/
[66059]: https://github.com/rust-lang/rust/pull/66059/
[68191]: https://github.com/rust-lang/rust/pull/68191/
[68899]: https://github.com/rust-lang/rust/pull/68899/
[71147]: https://github.com/rust-lang/rust/pull/71147/
[71250]: https://github.com/rust-lang/rust/pull/71250/
[70937]: https://github.com/rust-lang/rust/pull/70937/
[70969]: https://github.com/rust-lang/rust/pull/70969/
[70632]: https://github.com/rust-lang/rust/pull/70632/
[70281]: https://github.com/rust-lang/rust/pull/70281/
[70345]: https://github.com/rust-lang/rust/pull/70345/
[70048]: https://github.com/rust-lang/rust/pull/70048/
[70081]: https://github.com/rust-lang/rust/pull/70081/
[70156]: https://github.com/rust-lang/rust/pull/70156/
[71269]: https://github.com/rust-lang/rust/pull/71269/
[69838]: https://github.com/rust-lang/rust/pull/69838/
[69929]: https://github.com/rust-lang/rust/pull/69929/
[69661]: https://github.com/rust-lang/rust/pull/69661/
[69778]: https://github.com/rust-lang/rust/pull/69778/
[69494]: https://github.com/rust-lang/rust/pull/69494/
[69403]: https://github.com/rust-lang/rust/pull/69403/
[69033]: https://github.com/rust-lang/rust/pull/69033/
[68692]: https://github.com/rust-lang/rust/pull/68692/
[68334]: https://github.com/rust-lang/rust/pull/68334/
[67502]: https://github.com/rust-lang/rust/pull/67502/
[cargo/8062]: https://github.com/rust-lang/cargo/pull/8062/
[`PathBuf::with_capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.with_capacity
[`PathBuf::capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.capacity
[`PathBuf::clear`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.clear
[`PathBuf::reserve`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve
[`PathBuf::reserve_exact`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve_exact
[`PathBuf::shrink_to_fit`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.shrink_to_fit
[`f32::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked
[`f64::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f64.html#method.to_int_unchecked
[`Layout::align_to`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.align_to
[`Layout::pad_to_align`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.pad_to_align
[`Layout::array`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.array
[`Layout::extend`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.extend
2020-06-09 15:58:05 +00:00
jperkin
f037ffad6e rust: Use subst framework instead of manual sed.
This was getting unwieldly and didn't support changing multiple checksums in
the same file (required for illumos support in 1.44.0).  It was also hiding
potential bugs, with entries for vendor/rand which do not exist.

It's likely this should be in vendor/rand_os as that's what we're actually
patching, but perhaps that crate is no longer used as it appears we've never
had a checksum fix for it.
2020-06-09 15:08:24 +00:00
he
00d7ad689f It looks like "checksum" is optional, and "source" isn't for
"external" packages, so use the latter.
2020-06-08 22:37:28 +00:00
he
3888f2f991 Provide a new show-cargo-depends script which works with the coming
version of www/zola where the Cargo.lock file has no [metadata] section.
2020-06-08 17:13:39 +00:00
he
d7915827bc Back out the update to version 1.44.0, revert to 1.43.1nb1.
This is primarily due to
  https://github.com/rust-lang/rust/issues/73117
(build failure on NetBSD/i386 8.0) which is reportedly seen also
on NetBSD/amd64 9.99.64 and 9.99.65.
2020-06-08 11:19:33 +00:00
he
f9da13b523 Update rust to version 1.44.0.
Pkgsrc changes:
 * Remove a couple diffs which are now integrated upstream.
 * Adjust cargo checksums after upstream upgrades.
 * Belatedly bump the curl dependency
 * Unset DESTDIR during the build phase, to work around a mysterious
   build bug deep in the bowels of llvm.
 * Bump nearly all bootstraps to 1.43.1.

Upstream changes:

Version 1.44.0 (2020-06-04)
==========================

Language
--------
- [You can now use `async/.await` with `#[no_std]` enabled.][69033]
- [Added the `unused_braces` lint.][70081]

**Syntax-only changes**

- [Expansion-driven outline module parsing][69838]
```rust
#[cfg(FALSE)]
mod foo {
    mod bar {
        mod baz; // `foo/bar/baz.rs` doesn't exist, but no error!
    }
}
```

These are still rejected semantically, so you will likely receive an error but
these changes can be seen and parsed by macros and conditional compilation.

Compiler
--------
- [Rustc now respects the `-C codegen-units` flag in incremental mode.][70156]
  Additionally when in incremental mode rustc defaults to 256 codegen units.
- [Refactored `catch_unwind`, to have zero-cost unless unwinding is enabled and
  a panic is thrown.][67502]
- [Added tier 3\* support for the `aarch64-unknown-none` and
  `aarch64-unknown-none-softfloat` targets.][68334]
- [Added tier 3 support for `arm64-apple-tvos` and
  `x86_64-apple-tvos` targets.][68191]

Libraries
---------
- [Special cased `vec![]` to map directly to `Vec::new()`.][70632] This allows
  `vec![]` to be able to be used in `const` contexts.
- [`convert::Infallible` now implements `Hash`.][70281]
- [`OsString` now implements `DerefMut` and `IndexMut` returning
  a `&mut OsStr`.][70048]
- [Unicode 13 is now supported.][69929]
- [`String` now implements `From<&mut str>`.][69661]
- [`IoSlice` now implements `Copy`.][69403]
- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is less than 32.
- [`proc_macro::LexError` now implements `fmt::Display` and `Error`.][68899]
- [`from_le_bytes`, `to_le_bytes`, `from_be_bytes`, `to_be_bytes`,
  `from_ne_bytes`, and `to_ne_bytes` methods are now `const` for all
  integer types.][69373]

Stabilized APIs
---------------
- [`PathBuf::with_capacity`]
- [`PathBuf::capacity`]
- [`PathBuf::clear`]
- [`PathBuf::reserve`]
- [`PathBuf::reserve_exact`]
- [`PathBuf::shrink_to_fit`]
- [`f32::to_int_unchecked`]
- [`f64::to_int_unchecked`]
- [`Layout::align_to`]
- [`Layout::pad_to_align`]
- [`Layout::array`]
- [`Layout::extend`]

Cargo
-----
- [Added the `cargo tree` command which will print a tree graph of
  your dependencies.][cargo/8062] E.g.
  ```
    mdbook v0.3.2 (/Users/src/rust/mdbook)
  +-- ammonia v3.0.0
  |   +-- html5ever v0.24.0
  |   |   +-- log v0.4.8
  |   |   |   +-- cfg-if v0.1.9
  |   |   +-- mac v0.1.1
  |   |   +-- markup5ever v0.9.0
  |   |       +-- log v0.4.8 (*)
  |   |       +-- phf v0.7.24
  |   |       |   +-- phf_shared v0.7.24
  |   |       |       +-- siphasher v0.2.3
  |   |       |       +-- unicase v1.4.2
  |   |       |           [build-dependencies]
  |   |       |           +-- version_check v0.1.5
  ...
  ```
  You can also display dependencies on multiple versions of the same crate with
  `cargo tree -d` (short for `cargo tree --duplicates`).

Misc
----
- [Rustdoc now allows you to specify `--crate-version` to have rustdoc include
  the version in the sidebar.][69494]

Compatibility Notes
-------------------
- [Rustc now correctly generates static libraries on Windows GNU targets with
  the `.a` extension, rather than the previous `.lib`.][70937]
- [Removed the `-C no_integrated_as` flag from rustc.][70345]
- [The `file_name` property in JSON output of macro errors now points the actual
  source file rather than the previous format of `<NAME macros>`.][70969]
  **Note:** this may not point a file that actually exists on the user's system.
- [The minimum required external LLVM version has been bumped to LLVM 8.][71147]
- [`mem::{zeroed, uninitialised}` will now panic when used with types that do
  not allow zero initialization such as `NonZeroU8`.][66059] This was
  previously a warning.
- [In 1.45.0 (the next release) converting a `f64` to `u32` using the `as`
  operator has been defined as a saturating operation.][71269] This was
  previously undefined behaviour, you can use the `{f64, f32}::to_int_unchecked`
  methods to continue using the current behaviour which may desirable in rare
  performance sensitive situations.

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

- [dep_graph Avoid allocating a set on when the number reads are small.][69778]
- [Replace big JS dict with JSON parsing.][71250]

[69373]: https://github.com/rust-lang/rust/pull/69373/
[66059]: https://github.com/rust-lang/rust/pull/66059/
[68191]: https://github.com/rust-lang/rust/pull/68191/
[68899]: https://github.com/rust-lang/rust/pull/68899/
[71147]: https://github.com/rust-lang/rust/pull/71147/
[71250]: https://github.com/rust-lang/rust/pull/71250/
[70937]: https://github.com/rust-lang/rust/pull/70937/
[70969]: https://github.com/rust-lang/rust/pull/70969/
[70632]: https://github.com/rust-lang/rust/pull/70632/
[70281]: https://github.com/rust-lang/rust/pull/70281/
[70345]: https://github.com/rust-lang/rust/pull/70345/
[70048]: https://github.com/rust-lang/rust/pull/70048/
[70081]: https://github.com/rust-lang/rust/pull/70081/
[70156]: https://github.com/rust-lang/rust/pull/70156/
[71269]: https://github.com/rust-lang/rust/pull/71269/
[69838]: https://github.com/rust-lang/rust/pull/69838/
[69929]: https://github.com/rust-lang/rust/pull/69929/
[69661]: https://github.com/rust-lang/rust/pull/69661/
[69778]: https://github.com/rust-lang/rust/pull/69778/
[69494]: https://github.com/rust-lang/rust/pull/69494/
[69403]: https://github.com/rust-lang/rust/pull/69403/
[69033]: https://github.com/rust-lang/rust/pull/69033/
[68692]: https://github.com/rust-lang/rust/pull/68692/
[68334]: https://github.com/rust-lang/rust/pull/68334/
[67502]: https://github.com/rust-lang/rust/pull/67502/
[cargo/8062]: https://github.com/rust-lang/cargo/pull/8062/
[`PathBuf::with_capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.with_capacity
[`PathBuf::capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.capacity
[`PathBuf::clear`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.clear
[`PathBuf::reserve`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve
[`PathBuf::reserve_exact`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve_exact
[`PathBuf::shrink_to_fit`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.shrink_to_fit
[`f32::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked
[`f64::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f64.html#method.to_int_unchecked
[`Layout::align_to`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.align_to
[`Layout::pad_to_align`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.pad_to_align
[`Layout::array`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.array
[`Layout::extend`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.extend
2020-06-07 22:44:39 +00:00
fcambus
f1301cdf53 yabasic: update to 2.86.9.
ChangeLog:

Version 2.86.9 (June 6, 2020)
  - Fix formatting of larger numbers with '####' et.al.
2020-06-07 11:17:30 +00:00
rillig
657372b8a2 lang/pcc: remove dependency on gmake
Building the package with bmake succeeded 10 times in a row.  Without the
SUBST block, each build failed about 50% of the time.
2020-06-06 21:24:14 +00:00
jperkin
893b81da94 clang: Remove patch chunk that snuck back in. 2020-06-05 15:28:54 +00:00
jperkin
38fe454b9c *: Apply revbump for graphics/giflib API change. 2020-06-05 12:48:58 +00:00
ryoon
39d3e755dc openjdk11: Enable ALSA audio support for NetBSD 2020-06-04 01:10:38 +00:00
nia
8fd60d43a6 rust*: Add PKG_SKIP_REASON depending on the value of RUST_TYPE 2020-06-03 10:45:04 +00:00
adam
9da0146605 nodejs10: updated to 10.21.0
Version 10.21.0 'Dubnium' (LTS)

Notable changes

This is a security release.

Vulnerabilities fixed:

CVE-2020-8174: napi_get_value_string_*() allows various kinds of memory corruption (High).
CVE-2020-10531: ICU-20958 Prevent SEGV_MAPERR in append (High).
CVE-2020-11080: HTTP/2 Large Settings Frame DoS (Low).

Commits

- deps: fix OPENSSLDIR on Windows
- deps: backport ICU-20958 to fix CVE-2020-10531
- (SEMVER-MINOR) deps: update nghttp2 to 1.41.0
- (SEMVER-MINOR) http2: implement support for max settings entries
- napi: fix memory corruption vulnerability
2020-06-03 09:25:38 +00:00
adam
b1c6f2987c nodejs12: updated to 12.18.0
Version 12.18.0 'Erbium' (LTS)

Notable changes

This is a security release.

Vulnerabilities fixed:

CVE-2020-8172: TLS session reuse can lead to host certificate verification bypass (High).
CVE-2020-11080: HTTP/2 Large Settings Frame DoS (Low).
CVE-2020-8174: napi_get_value_string_*() allows various kinds of memory corruption (High).

Commits

- crypto: update root certificates
- (SEMVER-MINOR) deps: update nghttp2 to 1.41.0
- (SEMVER-MINOR) http2: implement support for max settings entries
- napi: fix memory corruption vulnerability
- tls: emit session after verifying certificate
- tools: update certdata.txt
2020-06-03 08:42:41 +00:00
adam
06db8f0be1 nodejs: updated to 14.4.0
Version 14.4.0 (Current)

Notable changes

This is a security release.

Vulnerabilities fixed:

CVE-2020-8172: TLS session reuse can lead to host certificate verification bypass (High).
CVE-2020-11080: HTTP/2 Large Settings Frame DoS (Low).
CVE-2020-8174: napi_get_value_string_*() allows various kinds of memory corruption (High).

Commits

- crypto: update root certificates
- (SEMVER-MINOR) deps: update nghttp2 to 1.41.0
- (SEMVER-MINOR) http2: implement support for max settings entries
- napi: fix memory corruption vulnerability
- tls: emit session after verifying certificate
- tools: update certdata.txt
2020-06-03 08:41:24 +00:00
adam
aa02881a2c perl5: updated to 5.30.3
perl v5.30.3

Security
   [CVE-2020-10543] Buffer overflow caused by a crafted regular expression
       A signed "size_t" integer overflow in the storage space calculations for nested regular expression
       quantifiers could cause a heap buffer overflow in Perl's regular expression compiler that overwrites memory
       allocated after the regular expression storage space with attacker supplied data.

       The target system needs a sufficient amount of memory to allocate partial expansions of the nested
       quantifiers prior to the overflow occurring.  This requirement is unlikely to be met on 64-bit systems.

   [CVE-2020-10878] Integer overflow via malformed bytecode produced by a crafted regular expression
       Integer overflows in the calculation of offsets between instructions for the regular expression engine could
       cause corruption of the intermediate language state of a compiled regular expression.  An attacker could
       abuse this behaviour to insert instructions into the compiled form of a Perl regular expression.

   [CVE-2020-12723] Buffer overflow caused by a crafted regular expression
       Recursive calls to "S_study_chunk()" by Perl's regular expression compiler to optimize the intermediate
       language representation of a regular expression could cause corruption of the intermediate language state of
       a compiled regular expression.

   Additional Note
       An application written in Perl would only be vulnerable to any of the above flaws if it evaluates regular
       expressions supplied by the attacker.  Evaluating regular expressions in this fashion is known to be
       dangerous since the regular expression engine does not protect against denial of service attacks in this
       usage scenario.

Incompatible Changes
       There are no changes intentionally incompatible with Perl 5.30.2.

Modules and Pragmata
   Updated Modules and Pragmata
       o   Module::CoreList has been upgraded from version 5.20200314 to 5.20200601_30.
2020-06-03 08:39:16 +00:00
rillig
809a6a2847 lang/openjdk8: skip check for unknown configure options 2020-06-02 18:25:39 +00:00
adam
6bd0c30da6 Revbump for icu 2020-06-02 08:22:31 +00:00
rillig
6729997d3c lang/nodejs*: skip portability check for macOS installation scripts 2020-05-31 21:41:22 +00:00
joerg
aec578801e Sync comment. 2020-05-30 20:45:12 +00:00
joerg
44c92d519b Don't implicitly convert pointers to bool. 2020-05-30 20:44:39 +00:00
abs
8c94042d9c Add jmap to JAVA_WRAPPERS, bump PKGREVISION 2020-05-29 10:51:23 +00:00
adam
2d42ce7a7e nodejs12: fix building on NetBSD 2020-05-29 07:07:12 +00:00
triaxx
e01ffce9c4 mozjs60: fix configuration failure
The added patch hacks the virtualenv configuration process which sometimes
finds invalid modification times and try to restart a broken configuration.
2020-05-28 15:26:23 +00:00
wiz
188111f641 *: reset MAINTAINER for fhajny on his request 2020-05-27 19:37:36 +00:00
adam
157be6fe72 py-six: updated to 1.15.0
1.15.0:
Optimize `six.ensure_str` and `six.ensure_binary`.
2020-05-27 12:14:31 +00:00
adam
9bde877c08 nodejs12: updated to 12.17.0
Version 12.17.0 'Erbium' (LTS):

Notable Changes

ECMAScript Modules - --experimental-modules flag removal
AsyncLocalStorage API (experimental)
REPL previews
REPL reverse-i-search
REPL substring-based search
Error monitoring
Monitoring uncaught exceptions
File system APIs
Console groupIndentation option
maxStringLength option for util.inspect()
Stable N-API release 6
Stable diagnostic reports
Increase of the default server headers timeout
2020-05-26 16:50:00 +00:00
he
336875bc3e The ld.elf_so in NetBSD/8.x only obeys RPATH, not RUNPATH,
so fix to force RPATH usage on that platform.
Bump PKGREVISION for good measure.
2020-05-25 17:53:21 +00:00
rillig
32c2f634b2 lang/mono: remove unknown configure option 2020-05-25 05:31:34 +00:00
rillig
40900809f2 lang/openjdk11: skip check for configure options 2020-05-24 21:04:57 +00:00
triaxx
04e8c7bb2f rust: revert after hasty commit
I seen a pkglint error about ggrep and I did not verify if it was a valid
tool for USE_TOOLS. Sorry.
2020-05-24 16:58:43 +00:00
triaxx
d55aea9ad1 rust: fix building on FreeBSD
pkgsrc changes:
---------------
  * fix grep in USE_TOOLS
  * make parallel building not safe for FreeBSD
2020-05-24 06:51:24 +00:00
markd
b6415297f7 python38: add python-embed.pc.in to PKGCONFIG_OVERRIDE 2020-05-24 03:43:16 +00:00
mef
bbef4d4217 (lang/coq) Fix build: Remove no effective SUBST block 2020-05-23 23:45:45 +00:00