notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
non port: Mk/Uses/cargo.mk

Number of commits found: 126 (showing only 100 on this page)

1 | 2  »  

Thursday, 29 Feb 2024
20:21 Tijl Coosemans (tijl) search for other commits by this committer
Mk/*: Build with a clean environment

Both our make and gmake use the MAKEFLAGS environment variable but the
values aren't compatible and the latest version of gmake complains about
that.  To rule out that any environment variable can cause problems like
this, add a new command SETENVI=/usr/bin/env -i that clears the
environment, and use it to run upstream build systems with a clean
environment.

Introduce a new variable WRK_ENV that contains the environment to use
with SETENVI in all targets that run upstream build commands.  Variables
that are common between CONFIGURE_ENV and MAKE_ENV could be moved to
WRK_ENV but for now it just contains a minimal environment:

HOME=${WRKDIR}: Fixes USES=elixir ports that were using the user's HOME.
OSVERSION: For cross building; determines the output of uname -K and
getosreldate(3); affects net/freebsd-telnetd for example.
PATH: Fixes USES=gem ports that were using the user's PATH.
PWD=$${PWD}: Preserve current working directory; affects USES=go ports.
TERM: To preserve colored output to terminals.
TMPDIR: For users who define that.
UNAME_*: For cross building; determines the output of uname(1); affects
lang/python* for example.

This commit deals with everything under Mk/.  Ports that have their own
targets running upstream build commands can switch to SETENVI later.

The ports tree adds its definition of ARCH to the MAKEFLAGS environment
variable, which is interpreted by sub-makes as command line arguments,
which means that any definition of ARCH in upstream makefiles was
overridden.  The following ports required fixes now that this is no
longer the case.

games/iortcw, games/q3cellshading, games/tremulous:
These use Quake 3 engine code.  Fix use of ARCH.  Reduce diff between
FreeBSD code and Linux code.

games/legesmotus:
Remove ARCH related patches.

lang/ocaml:
Patch configure script so it detects amd64 correctly.  Also make the
powerpc case consistent with the other architectures.  This also affects
other ocaml ports like devel/ocaml-ocamlbuild and math/ocaml-num that
include a Makefile.config installed by lang/ocaml.  While here, use
SETENVI in check-test target.

net/libnatpmp:
Use of upstream definition of ARCH triggers installation in PREFIX/lib64
on amd64.  Disable this.

PR:		276478
Approved by:	portmgr (antoine)
Exp-run by:	antoine
commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 commit hash: 572f2361692640bc27729191b1267aa3fcc354a7 572f236
Monday, 19 Feb 2024
11:59 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.76.0

Announce:	https://blog.rust-lang.org/2024/02/08/Rust-1.76.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.76.0

PR:		276920
Tested by:	mikael,pkubaj
commit hash: 2252f9df9da7248c59affb1010124d8afe5a907e commit hash: 2252f9df9da7248c59affb1010124d8afe5a907e commit hash: 2252f9df9da7248c59affb1010124d8afe5a907e commit hash: 2252f9df9da7248c59affb1010124d8afe5a907e 2252f9d
Sunday, 11 Feb 2024
11:48 Piotr Kubaj (pkubaj) search for other commits by this committer
Mk/Uses/cargo.mk: remove duplicate check for LTO, Mk/Features/lto.mk already
does it
commit hash: 33b550f03016604ec57f01ac376b7c2b4545f9ea commit hash: 33b550f03016604ec57f01ac376b7c2b4545f9ea commit hash: 33b550f03016604ec57f01ac376b7c2b4545f9ea commit hash: 33b550f03016604ec57f01ac376b7c2b4545f9ea 33b550f
Tuesday, 9 Jan 2024
12:13 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.75.0

Announce:	https://blog.rust-lang.org/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.75.0

PR:		276033
Tested by:	mikael,pkubaj
commit hash: ba388fc3bbfcc755e844c6bf99895c6b734b32b3 commit hash: ba388fc3bbfcc755e844c6bf99895c6b734b32b3 commit hash: ba388fc3bbfcc755e844c6bf99895c6b734b32b3 commit hash: ba388fc3bbfcc755e844c6bf99895c6b734b32b3 ba388fc
Sunday, 7 Jan 2024
15:14 Joel Bodenmann (jbo) search for other commits by this committer Author: Dmitry Wagin
Mk/Uses/cargo.mk: Fix cargo-extract target

Fix an issue where the cargo-extract target fails when a port sets DIST_SUBDIR.

PR:			275634
Approved by:		tcberner (mentor), rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D43259
commit hash: c2e360d6257f5c5ee9812fe996337d2da6150947 commit hash: c2e360d6257f5c5ee9812fe996337d2da6150947 commit hash: c2e360d6257f5c5ee9812fe996337d2da6150947 commit hash: c2e360d6257f5c5ee9812fe996337d2da6150947 c2e360d
Wednesday, 3 Jan 2024
14:09 Piotr Kubaj (pkubaj) search for other commits by this committer
Mk/Uses/cargo.mk: remove ELFv1 support
commit hash: 96118b60cdc3ff0b8e9b310fe72a2caa43d8b0a5 commit hash: 96118b60cdc3ff0b8e9b310fe72a2caa43d8b0a5 commit hash: 96118b60cdc3ff0b8e9b310fe72a2caa43d8b0a5 commit hash: 96118b60cdc3ff0b8e9b310fe72a2caa43d8b0a5 96118b6
Friday, 8 Dec 2023
15:02 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.74.1

Announce:	https://blog.rust-lang.org/2023/12/07/Rust-1.74.0.html
		https://blog.rust-lang.org/2023/11/16/Rust-1.74.1.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.74.0
		https://github.com/rust-lang/rust/releases/tag/1.74.1

PR:		275243
Tested by:	mikael,pkubaj
commit hash: c926bbff4b173303ba73fef4d582ad0a392274a2 commit hash: c926bbff4b173303ba73fef4d582ad0a392274a2 commit hash: c926bbff4b173303ba73fef4d582ad0a392274a2 commit hash: c926bbff4b173303ba73fef4d582ad0a392274a2 c926bbf
Tuesday, 24 Oct 2023
10:21 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.73.0

Announce:	https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.73.0

PR:		274499
Tested by:	mikael,pkubaj
commit hash: 13de47f0ac007d8a7e66554af5cf0ca5889f9925 commit hash: 13de47f0ac007d8a7e66554af5cf0ca5889f9925 commit hash: 13de47f0ac007d8a7e66554af5cf0ca5889f9925 commit hash: 13de47f0ac007d8a7e66554af5cf0ca5889f9925 13de47f
Friday, 8 Sep 2023
09:05 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.72.0

Announce:	https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.72.0

PR:		244316
Tested by:	mikael,pkubaj
commit hash: fa874813924cb55095c731fcab6c31b036b38541 commit hash: fa874813924cb55095c731fcab6c31b036b38541 commit hash: fa874813924cb55095c731fcab6c31b036b38541 commit hash: fa874813924cb55095c731fcab6c31b036b38541 fa87481
Saturday, 12 Aug 2023
01:37 Piotr Kubaj (pkubaj) search for other commits by this committer
Mk/Uses/cargo.mk: enable LTO on powerpc64
commit hash: 0b85c8527a80f45eddd59d0353190c577ff881ec commit hash: 0b85c8527a80f45eddd59d0353190c577ff881ec commit hash: 0b85c8527a80f45eddd59d0353190c577ff881ec commit hash: 0b85c8527a80f45eddd59d0353190c577ff881ec 0b85c85
Monday, 17 Jul 2023
15:57 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.71.0

Announce:	https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.71.0

PR:		272449
Tested by:	mikael,pkubaj,vishwin
commit hash: e3d08dfcd40041417e25193dd13e7a03fb3e39df commit hash: e3d08dfcd40041417e25193dd13e7a03fb3e39df commit hash: e3d08dfcd40041417e25193dd13e7a03fb3e39df commit hash: e3d08dfcd40041417e25193dd13e7a03fb3e39df e3d08df
Friday, 9 Jun 2023
11:38 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.70.0

Announce:	https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.70.0

PR:		271797
Tested by:	mikael,pkubaj
commit hash: 6b9789547d5eeec192b5fe0039b0e6a54b743650 commit hash: 6b9789547d5eeec192b5fe0039b0e6a54b743650 commit hash: 6b9789547d5eeec192b5fe0039b0e6a54b743650 commit hash: 6b9789547d5eeec192b5fe0039b0e6a54b743650 6b97895
Saturday, 6 May 2023
05:47 Daniel Engberg (diizzy) search for other commits by this committer
Mk/Uses/cargo.mk: Strip features defined by CPUTYPE for aarch64 and armv7

Strip features from CPUTYPE set by make.conf as these are not supported
by Rust compiler and causes build failures

Approved by:	rust (pkubaj)
Differential Revision:	https://reviews.freebsd.org/D39889
commit hash: 670abe5a7d0a49bdbd2fe7e536fda354a89dea3c commit hash: 670abe5a7d0a49bdbd2fe7e536fda354a89dea3c commit hash: 670abe5a7d0a49bdbd2fe7e536fda354a89dea3c commit hash: 670abe5a7d0a49bdbd2fe7e536fda354a89dea3c 670abe5
Sunday, 23 Apr 2023
13:13 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.69.0

Announce:	https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.69.0

PR:		270953
Tested by:	mikael,pkubaj
commit hash: 8cc5eb315903f45708ab0a305907023251508a6d commit hash: 8cc5eb315903f45708ab0a305907023251508a6d commit hash: 8cc5eb315903f45708ab0a305907023251508a6d commit hash: 8cc5eb315903f45708ab0a305907023251508a6d 8cc5eb3
Tuesday, 4 Apr 2023
08:21 Jan Beich (jbeich) search for other commits by this committer
Mk/Uses/cargo.mk: unbundle archivers/zstd

Tested by:	kai (games/anki)
Differential Revision:	https://reviews.freebsd.org/D39279
commit hash: 046448bdb1f4183eefde0793f8b7ef23d4523a2f commit hash: 046448bdb1f4183eefde0793f8b7ef23d4523a2f commit hash: 046448bdb1f4183eefde0793f8b7ef23d4523a2f commit hash: 046448bdb1f4183eefde0793f8b7ef23d4523a2f 046448b
08:21 Jan Beich (jbeich) search for other commits by this committer
Mk/Uses/cargo.mk: chase b23ea4e2d2f5

PR:		268877
commit hash: 118dcbb10afe85317a6b76de3d80369266020926 commit hash: 118dcbb10afe85317a6b76de3d80369266020926 commit hash: 118dcbb10afe85317a6b76de3d80369266020926 commit hash: 118dcbb10afe85317a6b76de3d80369266020926 118dcbb
Thursday, 16 Mar 2023
11:11 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.68.0

Announce:	https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.68.0

PR:		270080
Tested by:	mikael,pkubaj
commit hash: a22be893ea50a51b7af3bab0c2fb6f9db1fbc5d5 commit hash: a22be893ea50a51b7af3bab0c2fb6f9db1fbc5d5 commit hash: a22be893ea50a51b7af3bab0c2fb6f9db1fbc5d5 commit hash: a22be893ea50a51b7af3bab0c2fb6f9db1fbc5d5 a22be89
Monday, 13 Feb 2023
09:38 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.67.1

Announce:	https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html
		https://blog.rust-lang.org/2023/02/09/Rust-1.67.1.html
ChangeLog:      https://github.com/rust-lang/rust/releases/tag/1.67.0
		https://github.com/rust-lang/rust/releases/tag/1.67.1

PR:		269336
Reviewed by:	pkubaj
Tested by:	mikael,pkubaj
commit hash: be2a720ce7f632d0c14e44c5aed12dc25298025c commit hash: be2a720ce7f632d0c14e44c5aed12dc25298025c commit hash: be2a720ce7f632d0c14e44c5aed12dc25298025c commit hash: be2a720ce7f632d0c14e44c5aed12dc25298025c be2a720c
Saturday, 7 Jan 2023
19:22 Daniel Engberg (diizzy) search for other commits by this committer
Mk/Uses/cargo.mk: Enable WITH_LTO by default

Ports utilizing Cargo will now enable Link Time Optimization (LTO),
set error handling mechanism to abort and codegen-units to 1 by default.
Exceptions are powerpc64 and riscv64 where LTO is known to be broken
and disabled to avoid unnecessary breakage. Ports utilizing LTO will
output "Additional optimization to port applied" during build.
WITH_LTO is handled by Mk/Features/lto.mk and to disable define
LTO_UNSAFE=yes.

I'd also like to mention arrowd and tobik for helpful input
and thanks to everyone involved.

Reviewed by:	mikael (via irc), pkubaj
Tested by:	eduardo (build)
Approved by:	rust (mikael, pkubaj)
Differential Revision:	https://reviews.freebsd.org/D36736
commit hash: 967022fd812cf67dec264ee4e53bd016b69e7a2b commit hash: 967022fd812cf67dec264ee4e53bd016b69e7a2b commit hash: 967022fd812cf67dec264ee4e53bd016b69e7a2b commit hash: 967022fd812cf67dec264ee4e53bd016b69e7a2b 967022f
Tuesday, 20 Dec 2022
17:36 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.66.0

Announce:	https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.66.0
PR:		268415
Exp-run by:	antoine
Tested by:	mikael,pkubaj
commit hash: 0f9b08f604c9d2f5d4301ca996424ed875a3026c commit hash: 0f9b08f604c9d2f5d4301ca996424ed875a3026c commit hash: 0f9b08f604c9d2f5d4301ca996424ed875a3026c commit hash: 0f9b08f604c9d2f5d4301ca996424ed875a3026c 0f9b08f
Thursday, 17 Nov 2022
07:06 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.65.0

Announce:	https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.65.0

PR:		267622
Reviewed by:	tokib, pkubaj
Tested by:	mikael, pkubaj
commit hash: af39fba60871f5bec770ee76c5375c2915deb703 commit hash: af39fba60871f5bec770ee76c5375c2915deb703 commit hash: af39fba60871f5bec770ee76c5375c2915deb703 commit hash: af39fba60871f5bec770ee76c5375c2915deb703 af39fba
Tuesday, 8 Nov 2022
09:12 Tobias Kortkamp (tobik) search for other commits by this committer
USES=cargo: Fix CARGO_BUILDDEP=any-version

Fix update.sh to only replace the first version.
commit hash: 922686e80097c77e700c1788dd78fbd3bd8777a0 commit hash: 922686e80097c77e700c1788dd78fbd3bd8777a0 commit hash: 922686e80097c77e700c1788dd78fbd3bd8777a0 commit hash: 922686e80097c77e700c1788dd78fbd3bd8777a0 922686e
Sunday, 30 Oct 2022
12:07 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.64.0

Announce: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.64.0

PR:		267173
commit hash: 264a6c503e82b887ff05afea10fe3a7eccb91389 commit hash: 264a6c503e82b887ff05afea10fe3a7eccb91389 commit hash: 264a6c503e82b887ff05afea10fe3a7eccb91389 commit hash: 264a6c503e82b887ff05afea10fe3a7eccb91389 264a6c5
Thursday, 25 Aug 2022
21:16 Tobias Kortkamp (tobik) search for other commits by this committer
Uses/cargo: Allow using any Rust version if requested

Skip the Rust version check when CARGO_BUILDDEP=any-version

The current version check is justified by USES=cargo making use
of newer toolchain features that not all Cargo versions support
and the fact that Rust binaries are statically linked against
libstd (and others) which have been vulnerable in the past.
We can enforce the use of the correct toolchain only with the
version check. Together with revision bumps of all ports that
have lang/rust as input we can ensure that they are kept "fresh"
and relinked whenever lang/rust is updated.

According to amdmi3@ skipping the check might be useful for build
testing in some cases.

Individual ports should not set CARGO_BUILDDEP=any-version. It
can be set in make.conf or on the command line by users.

PR:		265062
Reported by:	amdmi3
commit hash: 4b500674d50988b7ce3585914be27ef74fea3c1d commit hash: 4b500674d50988b7ce3585914be27ef74fea3c1d commit hash: 4b500674d50988b7ce3585914be27ef74fea3c1d commit hash: 4b500674d50988b7ce3585914be27ef74fea3c1d 4b50067
14:49 Baptiste Daroussin (bapt) search for other commits by this committer
rust: bring back update to 1.63

Revert back the revert of the update of rust and related commits

This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers

This reverts commit 8ecb1f8141144c1603eb4026122d2e60eeaccd64.
This reverts commit 04d257baa182926cff158f32cf459e560426add0.
This reverts commit 2757c63bd0e6d01f9f0657fe03bb3a7b49adcae2.
This reverts commit 75f4713de5e3fbd1c6a0cb572e08121814a4072e.
This reverts commit e88e592111c86fdd1c0ac8717dbef9342e15e27c.
This reverts commit 783c056d7d681d66e2c5c59251c275d65274028e.

With hat:	portmgr
commit hash: b9b250f91299716bc4a7a6b7b8db2284c57f16ca commit hash: b9b250f91299716bc4a7a6b7b8db2284c57f16ca commit hash: b9b250f91299716bc4a7a6b7b8db2284c57f16ca commit hash: b9b250f91299716bc4a7a6b7b8db2284c57f16ca b9b250f
10:49 Piotr Kubaj (pkubaj) search for other commits by this committer
Revert "lang/rust: Update to 1.63.0"

This reverts commit f36cc819accadae1fefc14c203e5fbe9c74e1492.

I asked for an exp-run for powerpc and powerpc64 on a recently provided
cluster machine but got no reply.

PR:	265915
commit hash: 8ecb1f8141144c1603eb4026122d2e60eeaccd64 commit hash: 8ecb1f8141144c1603eb4026122d2e60eeaccd64 commit hash: 8ecb1f8141144c1603eb4026122d2e60eeaccd64 commit hash: 8ecb1f8141144c1603eb4026122d2e60eeaccd64 8ecb1f8
08:50 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.63.0

Announce:		https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html
ChangeLog:		https://github.com/rust-lang/rust/releases/tag/1.63.0
Tested by:		mikael, pkubaj
Exp-run by:		antoine
Differential Revision:	https://reviews.freebsd.org/D36247
commit hash: f36cc819accadae1fefc14c203e5fbe9c74e1492 commit hash: f36cc819accadae1fefc14c203e5fbe9c74e1492 commit hash: f36cc819accadae1fefc14c203e5fbe9c74e1492 commit hash: f36cc819accadae1fefc14c203e5fbe9c74e1492 f36cc81
Saturday, 2 Jul 2022
13:47 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.62.0

Announce:	https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html
ChangeLog:	https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-06-30
Tested by:	mikael, pkubaj

Differential Revision:  https://reviews.freebsd.org/D35675
commit hash: 558a5e4515a3de7cf7d27235b16b58cb1d3f3830 commit hash: 558a5e4515a3de7cf7d27235b16b58cb1d3f3830 commit hash: 558a5e4515a3de7cf7d27235b16b58cb1d3f3830 commit hash: 558a5e4515a3de7cf7d27235b16b58cb1d3f3830 558a5e4
Tuesday, 31 May 2022
13:06 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.61.0

Announce:		https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html
ChangeLog:		https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-05-19
Reviewed by:		pkubaj
Differential Revision:	https://reviews.freebsd.org/D35335
commit hash: aa578f2b89663f8ceebf372218cdd744dda11609 commit hash: aa578f2b89663f8ceebf372218cdd744dda11609 commit hash: aa578f2b89663f8ceebf372218cdd744dda11609 commit hash: aa578f2b89663f8ceebf372218cdd744dda11609 aa578f2
Sunday, 1 May 2022
16:39 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.60.0

  - Switch to using "x.py dist" instead of "x.py build" in the do-build phase as
    we are missing the rustc-dev component on nightly
  - Revert part of [1] as it causes cross build problem with
lang/rust-bootstrap@powerpc
  - Mark devel/racer as deprecated: it's hard to maintain due to recurrent build
problem
    and it's not actively maintained. Upstream advises to use
devel/rust-analyzer instead.

[1]
https://github.com/rust-lang/rust/commit/07dae5a97b64100f5abd511f1e2d5a6263a54006

Announce:		https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
ChangeLog:		https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1600-2022-04-07
Reviewed by:		tobik
Exp-run by:		antoine
Differential Revision:	https://reviews.freebsd.org/D34823
commit hash: e57dfbf32324ca40f17bb6c4a10581e6a06ab00b commit hash: e57dfbf32324ca40f17bb6c4a10581e6a06ab00b commit hash: e57dfbf32324ca40f17bb6c4a10581e6a06ab00b commit hash: e57dfbf32324ca40f17bb6c4a10581e6a06ab00b e57dfbf
Sunday, 24 Apr 2022
10:00 Tobias C. Berner (tcberner) search for other commits by this committer
framework: cleanup conditional-indentations in Mk/

Run Tools/scripts/indent_make_if.pl on all of Mk.

These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible

Differential Revision:	https://reviews.freebsd.org/D35024
Reviewed by:		portmgr (rene, bapt)
commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 aa25396
Saturday, 23 Apr 2022
07:40 Tobias Kortkamp (tobik) search for other commits by this committer
Uses/cargo: Try to simplify cargo-crates-merge usage

Always start with a clean work directory state and end with one
too. Automatically run makesum too.
commit hash: 7fb087ab6ed9ab8aa6e888c2ef77314cd057a631 commit hash: 7fb087ab6ed9ab8aa6e888c2ef77314cd057a631 commit hash: 7fb087ab6ed9ab8aa6e888c2ef77314cd057a631 commit hash: 7fb087ab6ed9ab8aa6e888c2ef77314cd057a631 7fb087a
07:39 Tobias Kortkamp (tobik) search for other commits by this committer
Uses/cargo: Add cargo-audit maintainer target

It wraps security/cargo-audit and generates a report about
vulnerable crates. Many ports have those. Based on D17448.
commit hash: d00e32651ac5da85b4653861c138b8a1573684dd commit hash: d00e32651ac5da85b4653861c138b8a1573684dd commit hash: d00e32651ac5da85b4653861c138b8a1573684dd commit hash: d00e32651ac5da85b4653861c138b8a1573684dd d00e326
Tuesday, 19 Apr 2022
12:09 Piotr Kubaj (pkubaj) search for other commits by this committer
Mk/Uses/cargo.mk: set correct target CPU on powerpc
commit hash: 85a16842b1c5958428b6c39582630545ee481906 commit hash: 85a16842b1c5958428b6c39582630545ee481906 commit hash: 85a16842b1c5958428b6c39582630545ee481906 commit hash: 85a16842b1c5958428b6c39582630545ee481906 85a1684
Tuesday, 29 Mar 2022
18:24 Piotr Kubaj (pkubaj) search for other commits by this committer
Mk/Uses/cargo.mk: disable RUST_BACKTRACE on powerpc following cargo segfaults on
13.1
commit hash: f2d29fa623a2f00a43d716257010aa25b1acac2d commit hash: f2d29fa623a2f00a43d716257010aa25b1acac2d commit hash: f2d29fa623a2f00a43d716257010aa25b1acac2d commit hash: f2d29fa623a2f00a43d716257010aa25b1acac2d f2d29fa
Tuesday, 15 Mar 2022
09:51 Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Update to 1.59.0

Changes: https://blog.rust-lang.org/FIXME/Rust-1.59.0.html
PR:		262449
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D34471
commit hash: 53e44579be56ebf464fae76e0daa55b7ced06c26 commit hash: 53e44579be56ebf464fae76e0daa55b7ced06c26 commit hash: 53e44579be56ebf464fae76e0daa55b7ced06c26 commit hash: 53e44579be56ebf464fae76e0daa55b7ced06c26 53e4457
Thursday, 3 Feb 2022
14:02 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.58.1

https://blog.rust-lang.org/2022/01/20/Rust-1.58.1.html

PR:		261449
Security:	ee26f513-826e-11ec-8be6-d4c9ef517024
commit hash: bd3a9279310ec68c634964e6a819296aa470fadb commit hash: bd3a9279310ec68c634964e6a819296aa470fadb commit hash: bd3a9279310ec68c634964e6a819296aa470fadb commit hash: bd3a9279310ec68c634964e6a819296aa470fadb bd3a927
Monday, 17 Jan 2022
11:56 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.58.0

Changes:	https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html
PR:		261150
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D33864
commit hash: 183588879e6bae37e4fd11e4b3336c49d6e64e0f commit hash: 183588879e6bae37e4fd11e4b3336c49d6e64e0f commit hash: 183588879e6bae37e4fd11e4b3336c49d6e64e0f commit hash: 183588879e6bae37e4fd11e4b3336c49d6e64e0f 1835888
Thursday, 23 Dec 2021
10:10 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Add riscv64 (riscv64gc-unknown-freebsd) support

A kernel with COMPAT_FREEBSD11 is required for now like on all
other FreeBSD archs. FreeBSD11 never had riscv64 support, so
GENERIC does not have it and a kernel rebuild is required. The
same issue existed on powerpc64le.

The riscv64gc-unknown-freebsd target was upstreamed and will
be part of Rust 1.59.0 (2021-02-24).

Reviewed by:	jrtc27, pkubaj
Differential Revision:	https://reviews.freebsd.org/D32881
commit hash: 96eec29c9aa623f3aef843e238b50329ef386c45 commit hash: 96eec29c9aa623f3aef843e238b50329ef386c45 commit hash: 96eec29c9aa623f3aef843e238b50329ef386c45 commit hash: 96eec29c9aa623f3aef843e238b50329ef386c45 96eec29
Sunday, 5 Dec 2021
12:35 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.57.0

- Unbreak build with LibreSSL 3.4.x [0]
- Disable backtrace's libunwind backend on armv* since it or
  libunwind in base seem to be buggy and cause rustc to crash when
  building some consumers [1]
- Follow rust-nightly in d5f09dc31fcfdb77b69c86b9093bf67ec67653d9
  and reenable hardlinks in the build

Changes:	https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html
PR:		259738 [0]
PR:		259799 [1]
PR:		260140
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D33190
With hat:	rust
commit hash: 237b36fa2e73986dc19284686e80a47cb329bb6f commit hash: 237b36fa2e73986dc19284686e80a47cb329bb6f commit hash: 237b36fa2e73986dc19284686e80a47cb329bb6f commit hash: 237b36fa2e73986dc19284686e80a47cb329bb6f 237b36f
Sunday, 7 Nov 2021
15:24 Tobias Kortkamp (tobik) search for other commits by this committer
Uses/cargo: Make it easier to build ports with out-of-tree toolchain

- CARGO_CARGO_BIN -> CARGO
- Add RUSTC and RUSTDOC for overriding rustc and rustdoc
commit hash: d2eb03d1c0d343b2fe350b9079f6c54dfcfbaa1f commit hash: d2eb03d1c0d343b2fe350b9079f6c54dfcfbaa1f commit hash: d2eb03d1c0d343b2fe350b9079f6c54dfcfbaa1f commit hash: d2eb03d1c0d343b2fe350b9079f6c54dfcfbaa1f d2eb03d
15:24 Tobias Kortkamp (tobik) search for other commits by this committer
Uses/cargo: Mirror _RUST_ARCH_* mapping from lang/rust
commit hash: 2487e484e75a45b72964e189d2654720c0b34dd0 commit hash: 2487e484e75a45b72964e189d2654720c0b34dd0 commit hash: 2487e484e75a45b72964e189d2654720c0b34dd0 commit hash: 2487e484e75a45b72964e189d2654720c0b34dd0 2487e48
Tuesday, 26 Oct 2021
14:46 Tobias Kortkamp (tobik) search for other commits by this committer
Uses/cargo: Add a cargo-crates-merge maintainer target

It is the in-place version of cargo-crates and updates CARGO_CRATES
in the port's Makefile for you via portedit from ports-mgmt/portfmt.
commit hash: 6180c0b094c839fb16fcd95e3c53f3ca79544f9c commit hash: 6180c0b094c839fb16fcd95e3c53f3ca79544f9c commit hash: 6180c0b094c839fb16fcd95e3c53f3ca79544f9c commit hash: 6180c0b094c839fb16fcd95e3c53f3ca79544f9c 6180c0b
Monday, 25 Oct 2021
08:49 Tobias Kortkamp (tobik) search for other commits by this committer
Uses/cargo: Rework git source support based on patch-in-config sections

Git sources from `Cargo.lock` are added to `CARGO_CRATES` through
the normal mechanism of `make cargo-crates` by the porter.  They
are used to populate `MASTER_SITES`, `DISTFILES` with static
git-archive(1) tarballs a la `USE_GITHUB`, `USE_GITLAB`.  In the
configure phase we generate `[patch]` sections in the config file
which will cause `cargo update` to auto-update `Cargo.lock` to point
to the appropriate extraction directories.

Normally `cargo update` would connect to the network to update all
Git sources but since rust-1.55.0 our cargo has been patched to
skip this when `CARGO_FREEBSD_PORTS_SKIP_GIT_UPDATE` is set in the
environment.

This replaces the old `CARGO_USE_GITHUB`, `CARGO_USE_GITLAB` hacks
where this was done by editing all `Cargo.toml` with sed(1) calls.

Additionally, we try to automatically infer the individiual crate
sub-directories inside the Git sources based on `package.name` in
`Cargo.toml` to remove the need for `CARGO_GIT_SUBDIR`.

USES=cargo also now sets `WRKSRC_crate_$name` for each crate to
point to the crate extraction directories.

PR:		256581
Reviewed by:	jbeich
commit hash: 2bad8d171afe848ac88585270964342a55d504ce commit hash: 2bad8d171afe848ac88585270964342a55d504ce commit hash: 2bad8d171afe848ac88585270964342a55d504ce commit hash: 2bad8d171afe848ac88585270964342a55d504ce 2bad8d1
08:46 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.56.0

- Drop codegen-units=1 again as it seems to negatively impact build
  time for some people [1]

Changes:	https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
PR:		256099 [1]
PR:		259251
Reviewed by:	jbeich, mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D32553
commit hash: 124261fa7deb972b647c686d2531bbba0a9a4223 commit hash: 124261fa7deb972b647c686d2531bbba0a9a4223 commit hash: 124261fa7deb972b647c686d2531bbba0a9a4223 commit hash: 124261fa7deb972b647c686d2531bbba0a9a4223 124261f
Sunday, 19 Sep 2021
09:03 Tobias Kortkamp (tobik) search for other commits by this committer Author: Jan Beich
Uses/cargo: respect CC when --target is passed

devel/cargo-c always passes --target when building consumers.
Some other USES=cargo consumers may also pass --target.

Differential Revision:	https://reviews.freebsd.org/D31568
commit hash: 93924a20b38e7856dc1a0df0c4514eaecdb624be commit hash: 93924a20b38e7856dc1a0df0c4514eaecdb624be commit hash: 93924a20b38e7856dc1a0df0c4514eaecdb624be commit hash: 93924a20b38e7856dc1a0df0c4514eaecdb624be 93924a2
09:03 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.55.0

- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]

Changes:	https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR:		258337
PR:		256099 [1]
PR:		256581 [2]
PR:		257419 [3]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D31872
With hat:	rust
commit hash: 6f1fefb50e755d727f471aeb75ebe4e28f876b4b commit hash: 6f1fefb50e755d727f471aeb75ebe4e28f876b4b commit hash: 6f1fefb50e755d727f471aeb75ebe4e28f876b4b commit hash: 6f1fefb50e755d727f471aeb75ebe4e28f876b4b 6f1fefb
Tuesday, 7 Sep 2021
16:53 Tobias Kortkamp (tobik) search for other commits by this committer
Scripts/cargo-crates.awk: Move split_url() to separate file

Also stop leaking local variables
commit hash: d8fbaa503cf286a4d61cd6d03e48b445fe5dfca4 commit hash: d8fbaa503cf286a4d61cd6d03e48b445fe5dfca4 commit hash: d8fbaa503cf286a4d61cd6d03e48b445fe5dfca4 commit hash: d8fbaa503cf286a4d61cd6d03e48b445fe5dfca4 d8fbaa5
08:04 Tobias Kortkamp (tobik) search for other commits by this committer
Uses/cargo: Try to load Makefile.crates

Some ports stash the `make cargo-crates` output there which might as
well be supported by USES=cargo.
commit hash: 905b1bd86fd5a0a40ce912c5d96992303a05aa62 commit hash: 905b1bd86fd5a0a40ce912c5d96992303a05aa62 commit hash: 905b1bd86fd5a0a40ce912c5d96992303a05aa62 commit hash: 905b1bd86fd5a0a40ce912c5d96992303a05aa62 905b1bd
Monday, 6 Sep 2021
19:28 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR

rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp.  WRKDIR should have plenty of space.

Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.

PR:		258126
With hat:	rust
commit hash: b1670e2c3d42a2aeacff843ef0ccea21c0929d03 commit hash: b1670e2c3d42a2aeacff843ef0ccea21c0929d03 commit hash: b1670e2c3d42a2aeacff843ef0ccea21c0929d03 commit hash: b1670e2c3d42a2aeacff843ef0ccea21c0929d03 b1670e2
Saturday, 28 Aug 2021
13:38 Mikael Urankar (mikael) search for other commits by this committer Author: pouet
lang/rust: Update to 1.54.0

 - Update lang/rust to 1.54.0
 - Update devel/racer to 2.1.48
 - Fix various consumers

Changes:	https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by:	tobik, pkubaj
Differential Revision:        https://reviews.freebsd.org/D31617
With hat:	rust
commit hash: 55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5 commit hash: 55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5 commit hash: 55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5 commit hash: 55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5 55dbdde
Sunday, 27 Jun 2021
05:39 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.53.0

Changes:	https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR:		256653
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30790
With hat:	rust
commit hash: f897ded31edcafadb3e4dd662fa022cabae86623 commit hash: f897ded31edcafadb3e4dd662fa022cabae86623 commit hash: f897ded31edcafadb3e4dd662fa022cabae86623 commit hash: f897ded31edcafadb3e4dd662fa022cabae86623 f897ded
Tuesday, 11 May 2021
17:29 Tobias Kortkamp (tobik) search for other commits by this committer
Mk/Uses/cargo.mk: Refactor MASTER_SITES and DISTFILES construction (D30099)

Split CARGO_CRATES into (index, crate, name, version) 4-tuples and
use them to construct MASTER_SITES and DISTFILES.  We can also match
crate name and versions more directly below.

As a bonus this is slightly faster and will flag a malformed
CARGO_CRATES earlier with a "wrong number of words" error.

Runtime of the following command was noticeably faster

$ <rust-ports /usr/bin/time xe -F make -C {} -V DISTFILES -V MASTER_SITES
>/dev/null

Before:	56.99 real        50.05 user         6.44 sys
Now:	38.89 real        31.63 user         6.86 sys

PR:		255608
Exp-run by:	antoine
commit hash: bfd338293c668a646a7a05253f8ec16c101ce517 commit hash: bfd338293c668a646a7a05253f8ec16c101ce517 commit hash: bfd338293c668a646a7a05253f8ec16c101ce517 commit hash: bfd338293c668a646a7a05253f8ec16c101ce517 bfd3382
17:29 Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.52.1

- Add 32-bit powerpc support from bdragon@
- Unbreak build with LibreSSL 3.3.x [1]
- Add an update script

Changes:	https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
Changes:	https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
PR:		255608, 255652 [1]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30099
commit hash: d8837418ea743776bc43b9c91d83080d8eff5029 commit hash: d8837418ea743776bc43b9c91d83080d8eff5029 commit hash: d8837418ea743776bc43b9c91d83080d8eff5029 commit hash: d8837418ea743776bc43b9c91d83080d8eff5029 d883741
Wednesday, 28 Apr 2021
04:44 Tobias Kortkamp (tobik) search for other commits by this committer
Mk/Uses/cargo.mk: Use canonical crate file extension going forward

Crates should have the file extension .crate not .tar.gz.  Cargo
saves them with that extension and it is also what their original
name was according to file(1):

$ file rust/crates/*
rust/crates/better-panic-0.2.0.tar.gz:gzip compressed data, was
"better-panic-0.2.0.crate"
rust/crates/binary-space-partition-0.1.2.tar.gz:gzip compressed data, was
"binary-space-partition-0.1.2.crate"
...

The only reason we used .tar.gz is that it was that way in OpenBSD's
devel/cargo/cargo.port.mk module.  At the moment they are all .tar.gz
but they might have a different format in the future.

Doing a delayed rollout of this over a change-everything-once
approach to

- not immeditately invalidate all uncommitted port changes or
  external ports
- not make sweeping changes twice in main and 2021Q2

at the cost of having a transition period where mirrors might have
to carry both the .tar.gz and .crate tarballs (all crates combined
are ~600 MiB).

Reviewed by:	jbeich
MFH:		2021Q2 (to ease future cherry picks)
Differential Revision:	https://reviews.freebsd.org/D29760
commit hash: 3758b337a1b07b4a767d74e21e6b0b67db5e763c commit hash: 3758b337a1b07b4a767d74e21e6b0b67db5e763c commit hash: 3758b337a1b07b4a767d74e21e6b0b67db5e763c commit hash: 3758b337a1b07b4a767d74e21e6b0b67db5e763c 3758b33
Monday, 19 Apr 2021
09:07 Luca Pizzamiglio (pizzamig) search for other commits by this committer
Uses/cargo: Improve URL subsitution for ports using CARGO_USE_GIT[HUB|LAB]

While maintaing a rust application, I found a cargo.toml that specifies
the git URL with { git="https://..." }, cargo.mk expects a form like { git =
"https://" }.
This patch improve the regex making the spaces around the '=' optional
Test: built all ports using the CARGO_USE_GIT feature

Approved by: tobik
Differential Revision: https://reviews.freebsd.org/D29805
commit hash: 58744a09099a7accf9f5acd004e04701c6d8a130 commit hash: 58744a09099a7accf9f5acd004e04701c6d8a130 commit hash: 58744a09099a7accf9f5acd004e04701c6d8a130 commit hash: 58744a09099a7accf9f5acd004e04701c6d8a130 58744a0
Wednesday, 14 Apr 2021
12:22 Tobias Kortkamp (tobik) search for other commits by this committer
Speed up USES=cargo ports ops

MASTER_SITES aliases processing in the framework is very inefficient
and the CRATESIO indirection is not worth it.  Normally ports only
have a handful of sites at most, but USES=cargo currently adds one
site for each crate by necessity.  The inefficiency suddenly matters
a lot.

By consuming MASTER_SITE_CRATESIO directly we can sidestep this
issue without losing anything.

Before:
$ time make -C www/zola -V MASTER_SITES >/dev/null
        4.21 real         4.14 user         0.03 sys

After:
$ time make -C www/zola -V MASTER_SITES >/dev/null
        0.60 real         0.58 user         0.02 sys
commit hash: ffd4db6b940600e78ab01f8ef06bb3e7629f48e6 commit hash: ffd4db6b940600e78ab01f8ef06bb3e7629f48e6 commit hash: ffd4db6b940600e78ab01f8ef06bb3e7629f48e6 commit hash: ffd4db6b940600e78ab01f8ef06bb3e7629f48e6 ffd4db6
Tuesday, 13 Apr 2021
07:05 Tobias Kortkamp (tobik) search for other commits by this committer
Mk/Uses/cargo.mk: Make build scripts more verbose

Build scripts might build bundled libraries but non-error output
is hiddden by cargo.  Given a crate with large enough bundled library
(looking at you rusty_v8) the build just sits there in silence
forever and you do not know what is happening or if anything is
happening at all.  This also makes Poudriere build logs less useful.
Pass an additional --verbose to cargo to get more noisy output.

https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script
commit hash: 7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01 commit hash: 7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01 commit hash: 7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01 commit hash: 7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01 7bec7b1
Tuesday, 6 Apr 2021
14:27 Mathieu Arnold (mat) search for other commits by this committer
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 5d33e04
Monday, 29 Mar 2021
18:07 tobik search for other commits by this committer
lang/rust: Update to 1.51.0

- Update devel/racer to 2.1.44

Changes:	https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
PR:		254578
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D29425
Original commitRevision:569489 
Sunday, 14 Feb 2021
15:45 mikael search for other commits by this committer
lang/rust: Update to 1.50.0

  - Use bundled libgit/libssh, the versions in ports are too old
  - Update lang/rust-nightly to 2021-02-12
  - Update devel/racer to 2.1.41
  - Import upstream patch to fix build issue for Firefox and related ports
(https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)

Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D28616
Original commitRevision:565245 
Tuesday, 24 Nov 2020
12:48 mikael search for other commits by this committer
lang/rust: Update to 1.48.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0

Reviewed by:	jbeich
Tested by:	bdragon, jbeich, mikael
Differential Revision:	https://reviews.freebsd.org/D27293
Original commitRevision:556157 
Tuesday, 10 Nov 2020
15:42 pkubaj search for other commits by this committer
Add powerpc64le since it uses the same CPU models as powerpc64.
Original commitRevision:554839 
Tuesday, 13 Oct 2020
08:36 mikael search for other commits by this committer
lang/rust: Update to 1.47.0

  - Add powerpc64le arch (submitted by bdragon in D26711)
  - Disable DOCS, same problem fixed in r546048

  - Update devel/racer to 2.1.36
  - Import upstream patch to fix www/firefox
    (https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
  - Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
   
(https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz
: 0036, 0037 and 0038)
  - Force rebuild all consumers to catch regressions

Changelog:
  https://github.com/rust-lang/rust/releases/tag/1.47.0

Differential Revision:	https://reviews.freebsd.org/D26721
Original commitRevision:552221 
Saturday, 19 Sep 2020
13:01 pkubaj search for other commits by this committer
Use correct target-cpu for power* CPU's

Using CPUTYPE?=power9 causes warnings and emits unoptimized code. Rust supports
pwr* instead of power*, e.g.:
    pwr3
    pwr4
    pwr5
    pwr5x
    pwr6
    pwr6x
    pwr7
    pwr8
    pwr9
Original commitRevision:548981 
Sunday, 30 Aug 2020
18:36 tobik search for other commits by this committer
lang/rust: Update to 1.46.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D26176
Original commitRevision:547071 
Monday, 3 Aug 2020
15:18 tobik search for other commits by this committer
lang/rust: Update to 1.45.2

Changes:	https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
Original commitRevision:544073 
Thursday, 30 Jul 2020
18:26 tobik search for other commits by this committer
lang/rust: Update to 1.45.1

- Apply the "hard links break `env::current_exe()`" workaround from
  r543251 to lang/rust too
- Force rebuild all consumers for the soundness bug in 1.45.0

Changes:	https://blog.rust-lang.org/2020/07/30/Rust-1.45.1.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25835
Original commitRevision:543815 
Friday, 17 Jul 2020
06:44 tobik search for other commits by this committer
lang/rust: Update to 1.45.0

- This Rust release comes with LLVM 10.  Drop the LLVM patches we
  no longer need.
- On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the
  Rust target instead of patching LLVM.
- Build LLVM with Ninja.  It can shorten the build time slightly.
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25658
Original commitRevision:542412 
Thursday, 4 Jun 2020
18:08 tobik search for other commits by this committer
lang/rust: Update to 1.44.0

- Remove devel/cargo-tree since it is now integrated into cargo
- Add patch to fix build with LibreSSL 3.1.x and 3.2.0 [1]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/06/04/Rust-1.44.0.html
PR:		246332 [1]
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25099
Original commitRevision:537917 
Thursday, 23 Apr 2020
15:32 tobik search for other commits by this committer
lang/rust: Update to 1.43.0

- Add workaround to fix build when CC/CXX have "clang" in them [1]
- Respect AR to fix build with external toolchains [2]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html
PR:		238556 [1], 245583 [2]
Reported by:	Matthias Apitz <guru@unixarea.de> [1], Greg V
<greg@unrelenting.technology> [2]
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24521
Original commitRevision:532685 
Saturday, 4 Apr 2020
07:40 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Add a warning about the openssl-src crate

PR:		245337
Original commitRevision:530623 
Monday, 23 Mar 2020
03:57 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Better deal with versions with build identifier suffixes

A crate spec like curl-sys-0.4.30+curl-7.69.1 was incorrectly
interpreted as having a name of 'curl-sys-0.4.30+curl' instead of
'curl-sys' and failed to fetch as a consequence.

Crate names can only be composed of a limited character set [1].
Limit the regular expressions to that set and make them less greedy.

[1] https://doc.rust-lang.org/cargo/reference/manifest.html#the-name-field

PR:		244977
Reported by:	jbeich
Original commitRevision:528945 
Thursday, 12 Mar 2020
19:39 tobik search for other commits by this committer
lang/rust: Update to 1.42.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/03/12/Rust-1.42.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24020
Original commitRevision:528318 
Wednesday, 4 Mar 2020
15:00 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Allow disabling default features via CARGO_FEATURES

CARGO_FEATURES is overloaded to accept --no-default-features as a
special token which will set CARGO_{BUILD,INSTALL,TEST}_ARGS
appropriately.  This is done in preference over introducing yet
another knob.
Original commitRevision:527755 
Thursday, 27 Feb 2020
15:22 tobik search for other commits by this committer
lang/rust: Update to 1.41.1

- Force rebuild all consumers to fix potential miscompilations with
  1.41.0
- Enable SOURCES by default.  The sources are indexed by RLS and
  required for it to function properly, so they should be available
  by default.  This also makes sure we test the option properly.
- Remove implied --config=config.toml from x.py args
- Switch to the upstreamed backtrace crate patches like rust-nightly
- Enable WASM by default [0]
- Strip libraries (D23650) [1]
- Simplify plist generation (D23735) [2]

Changes:	https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html
Submitted by:	mikael [0,1,2]
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23835
Original commitRevision:527260 
Thursday, 30 Jan 2020
20:00 tobik search for other commits by this committer
lang/rust: Update to 1.41.0

- Force rebuild all consumers to catch regressions early
- Switch to cross-compiled (from amd64) bootstraps for all
  architectures generated with the incoming lang/rust-bootstrap
- Update cargo-c to 0.5.2 to unbreak librav1e build
- Make use of regular MAKE_ENV/TEST_ENV in lang/rust
- Turn on RUST_BACKTRACE in lang/rust and USES=cargo to hopefully
  produce more useful failure logs when something panics during
  builds

Changes:	https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23385
Original commitRevision:524658 
Thursday, 23 Jan 2020
09:08 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Unbreak install with rust-nightly

Remove yet another install metadata file.  This should all be
replaced with --no-track once it is part of lang/rust.

https://github.com/rust-lang/cargo/pull/7560

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: .crates2.json
Original commitRevision:523913 
Monday, 13 Jan 2020
18:36 tobik search for other commits by this committer
lang/rust: Add COMPAT_FREEBSD11 canary

This attempts to provide a nicer error message for the subset of
users who build their own kernels without COMPAT_FREEBSD11 and then
attempt to build lang/rust.  The Rust ecosystem currently uses
pre-ino64 syscalls, so building lang/rust without COMPAT_FREEBSD11
is not going to work.

The error message for this is non-obvious and there is a new bug
for this at least every 1-2 months.  Hopefully this will improve
the situation a little.

Cargo and Gecko ports are similarly affected, so add the pre-build
check to them too.

Reviewed by:	jbeich, mikael.urankar@gmail.com
Tested by:	madpilot (negative case)
Approved by:	gecko (jbeich)
Differential Revision:	https://reviews.freebsd.org/D23100
Original commitRevision:522968 
Thursday, 19 Dec 2019
16:14 tobik search for other commits by this committer
lang/rust: Update to 1.40.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22843
Original commitRevision:520446 
Sunday, 1 Dec 2019
08:43 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Do not override do-configure

Cargo vendoring can be useful even for ports that use other build
systems like Meson to call Cargo for the actual build.  Often they
use the framework's default do-configure which USES=cargo should
not overwrite.

Remove hacks from games/jaggedalliance2 and x11/squeekboard.

Reviewed by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D22619
Original commitRevision:518760 
Friday, 29 Nov 2019
22:12 tobik search for other commits by this committer
lang/rust, Mk/Uses/cargo.mk: Drop gmake build dependency for backtrace-sys

The backtrace-sys crate no longer needs gmake since 0.1.20.
sysutils/flowgger still uses backtrace-sys-0.1.14.  Since it is the
only USES=cargo port left that needs it, move the gmake dependency
directly to it instead.

lang/rust currently has backtrace-sys-0.1.30.  It also vendors
jemalloc-sys (which also needs gmake to build) but it is hidden
behind rustc's jemalloc feature which we do not currently activate.
It should be safe to remove gmake in lang/rust too.

PR:		242267
Reported by:	mikael.urankar@gmail.com
Original commitRevision:518678 
15:02 pkubaj search for other commits by this committer
Mk/bsd.port.mk: detect powerpc64 abi

We'll have a new abi on ppc64 soon (ELFv2) which is incompatible with the ELFv1
abi. We need to detect the abi on which we build stuff.

Submitted by:	mikael_urankar@gmail.com
Approved by:	portmgr (earlier version)
Differential Revision:	https://reviews.freebsd.org/D22039
Original commitRevision:518658 
Tuesday, 19 Nov 2019
21:08 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Add CARGO_GIT_SUBDIR hook to provide hints for CARGO_USE_GIT*

This is a workaround to add some manual "support" for Cargo projects
that use workspaces where the current method of patching is not
good enough as it causes the various Cargo.toml to point to the
wrong directory.  With CARGO_GIT_SUBDIR maintainers can control the
patching process a little and point things to the correct subdirectories.

CARGO_GIT_SUBDIR=	<group>:<crate name>:<subdir under ${WRKSRC_group}>

This is needed for alacritty 0.4.0-rc2 where the glutin sources are
under ${WRKSRC_glutin}/glutin and not just ${WRKSRC_glutin}.  This
causes the following issue:

error: failed to load source for a dependency on `glutin`

Caused by:
  Unable to update .../x11/alacritty/work/glutin-7e479d

Caused by:
  found a virtual manifest at `.../x11/alacritty/work/glutin-7e479d/Cargo.toml`
instead of a package manifest

For glutin we would set CARGO_GIT_SUBDIR=glutin:glutin:glutin to
work around this problem and point the build to
.../x11/alacritty/work/glutin-7e479d/glutin instead.
Original commitRevision:517982 
Thursday, 7 Nov 2019
18:07 tobik search for other commits by this committer
lang/rust: Update to 1.39.0

- Force rebuild all consumers to catch regressions early
- Partially apply D20792 in preparation for PPC_ABI support
- Add LibreSSL 3.0.x support [1]

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
PR:		241411 [1]
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22240
Original commitRevision:516995 
Friday, 27 Sep 2019
12:51 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Handle git URLs that end with /

Fix CARGO_USE_GIT{HU,LA}B when Cargo.toml has URLs that end with
/.  This is needed for audio/spotifyd 0.2.16 which has an entry
like

structopt = { git = "https://github.com/TeXitoi/structopt/", rev = "..." }
Original commitRevision:513030 
09:35 tobik search for other commits by this committer
lang/rust: Update to 1.38.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/09/26/Rust-1.38.0.html
Tested by:	jbeich, mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21778
Original commitRevision:513013 
Monday, 16 Sep 2019
12:39 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Add gmake build dependency for jemalloc-sys
Original commitRevision:512176 
Thursday, 15 Aug 2019
14:30 tobik search for other commits by this committer
lang/rust: Update to 1.37.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html
Tested by:	jbeich, tobik, greg@unrelenting.technology (aarch64)
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21247
Original commitRevision:508994 
Tuesday, 6 Aug 2019
08:12 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Add support for CARGO_USE_GITLAB/GL_TUPLE to cargo-crates
Original commitRevision:508234 
Thursday, 18 Jul 2019
08:18 tobik search for other commits by this committer
www/geckodriver: Bump libc crate version again

$ make check-sanity
/!\ geckodriver-0.24.0: Makefile warnings, please consider fixing /!\

CARGO_CRATES=libc-0.2.43 may be unstable on aarch64 or not build on armv6,
armv7, powerpc64. Consider updating to the latest version (higher than 0.2.49).

This will give it at least a chance to build on tier 2 archs.  We
bumped libc earlier but this was regressed on in r506813.

The libc warnings in USES=cargo do not seem to be enough.  Make
them errors instead.

With hat:	rust
Original commitRevision:506841 
Monday, 15 Jul 2019
08:46 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Handle distfile group names properly

Crates like openssl-src-111.3.0+1.1.1c have characters not in
[a-zA-Z0-9].  Use the complement of [a-zA-Z0-9] instead of adding
+ to the list of chars [-.] we currently handle.
Original commitRevision:506644 
Thursday, 4 Jul 2019
14:41 tobik search for other commits by this committer
lang/rust: Update to 1.36.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html
Tested by:	jbeich, mikael.urankar@gmail.com
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D20810
Original commitRevision:505837 
Monday, 10 Jun 2019
10:56 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Add CARGO_INSTALL_PATH knob

It can be used to overwrite the --path argument when calling `cargo
install` to point cargo to different local crates to install.  This
might be necessary when ${WRKSRC}/Cargo.toml is only a virtual
manifest.
Original commitRevision:503890 
Friday, 24 May 2019
07:57 tobik search for other commits by this committer
Mk/Uses/cargo.mk: QoL improvement during makepatch

Cargo normalizes Cargo.toml when crates are published.  It creates
a Cargo.toml.orig to preserve the original.  Rename them to not
interfere with makepatch and avoid creating a bunch of useless
and wrong files/patch-*Cargo.toml.

Suggested by:	mat
Original commitRevision:502426 
03:25 tobik search for other commits by this committer
lang/rust: Update to 1.35.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/05/23/Rust-1.35.0.html
Reviewed by:	jbeich
Tested by:	pkubaj (powerpc64), mikael.urankar@gmail.com (aarch64)
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D20332
Original commitRevision:502416 
Wednesday, 15 May 2019
03:12 tobik search for other commits by this committer
lang/rust: Update to 1.34.2

- While here add patches from [1] for LibreSSL 2.9.1 support

[1] https://github.com/sfackler/rust-openssl/pull/1097

Changes:	https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes:	https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR:		237495 [1]
Security:	37528379-76a8-11e9-a4fd-00012e582166
Original commitRevision:501679 
Wednesday, 17 Apr 2019
07:33 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Push lib dependencies back down into ports

Some crates are optional via Cargo features or are only used during
tests, however the framework has no way to discriminate between
test or run dependencies using just CARGO_CRATES leading to more
run dependencies than necessary for some packages.  With more ported
Rust applications it's time to let individual ports make that
decision now.

The environmental setup to use dependencies from ports instead of
bundled ones and implied build dependencies (cmake, gmake, pkgconf)
are left in place for now.

Assign cargo.mk to rust@ while here.
Original commitRevision:499149 
Thursday, 11 Apr 2019
19:39 tobik search for other commits by this committer
lang/rust: Update to 1.34.0

- Update devel/racer to latest version that can build with 1.34.0
- Drop no longer needed patch from textproc/ripgrep
- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/04/11/Rust-1.34.0.html
Reviewed by:	jbeich
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D19850
Original commitRevision:498677 
Monday, 25 Mar 2019
06:28 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Add GitLab support and drop CARGO_GH_CARGOTOML

- Add a CARGO_USE_GITHUB equivalent for GitLab instances,
  CARGO_USE_GITLAB
- Replace CARGO_GH_CARGOTOML with a ${FIND} and just patch
  all Cargo.toml under ${WRKDIR}.  It is too tedious to find all
  the Cargo.toml that need patching manually due to transitive
  dependencies.
Original commitRevision:496795 

Number of commits found: 126 (showing only 100 on this page)

1 | 2  »