notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
non port: Mk/Uses/cargo.mk
SVNWeb

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

1 | 2  »  

Sat, 7 Jan 2023
[ 19:22 Daniel Engberg (diizzy) search for other commits by this committer ]    commit hash:967022fd812cf67dec264ee4e53bd016b69e7a2b  commit hash:967022fd812cf67dec264ee4e53bd016b69e7a2b  commit hash:967022fd812cf67dec264ee4e53bd016b69e7a2b  967022f 
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
Tue, 20 Dec 2022
[ 17:36 Mikael Urankar (mikael) search for other commits by this committer ]    commit hash:0f9b08f604c9d2f5d4301ca996424ed875a3026c  commit hash:0f9b08f604c9d2f5d4301ca996424ed875a3026c  commit hash:0f9b08f604c9d2f5d4301ca996424ed875a3026c  0f9b08f 
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
Thu, 17 Nov 2022
[ 07:06 Mikael Urankar (mikael) search for other commits by this committer ]    commit hash:af39fba60871f5bec770ee76c5375c2915deb703  commit hash:af39fba60871f5bec770ee76c5375c2915deb703  commit hash:af39fba60871f5bec770ee76c5375c2915deb703  af39fba 
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
Tue, 8 Nov 2022
[ 09:12 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:922686e80097c77e700c1788dd78fbd3bd8777a0  commit hash:922686e80097c77e700c1788dd78fbd3bd8777a0  commit hash:922686e80097c77e700c1788dd78fbd3bd8777a0  922686e 
USES=cargo: Fix CARGO_BUILDDEP=any-version

Fix update.sh to only replace the first version.
Sun, 30 Oct 2022
[ 12:07 Mikael Urankar (mikael) search for other commits by this committer ]    commit hash:264a6c503e82b887ff05afea10fe3a7eccb91389  commit hash:264a6c503e82b887ff05afea10fe3a7eccb91389  commit hash:264a6c503e82b887ff05afea10fe3a7eccb91389  264a6c5 
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
Thu, 25 Aug 2022
[ 21:16 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:4b500674d50988b7ce3585914be27ef74fea3c1d  commit hash:4b500674d50988b7ce3585914be27ef74fea3c1d  commit hash:4b500674d50988b7ce3585914be27ef74fea3c1d  4b50067 
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
[ 14:49 Baptiste Daroussin (bapt) search for other commits by this committer ]    commit hash:b9b250f91299716bc4a7a6b7b8db2284c57f16ca  commit hash:b9b250f91299716bc4a7a6b7b8db2284c57f16ca  commit hash:b9b250f91299716bc4a7a6b7b8db2284c57f16ca  b9b250f  (Only the first 10 of 227 ports in this commit are shown above. View all ports for this commit)
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
[ 10:49 Piotr Kubaj (pkubaj) search for other commits by this committer ]    commit hash:8ecb1f8141144c1603eb4026122d2e60eeaccd64  commit hash:8ecb1f8141144c1603eb4026122d2e60eeaccd64  commit hash:8ecb1f8141144c1603eb4026122d2e60eeaccd64  8ecb1f8 
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
[ 08:50 Mikael Urankar (mikael) search for other commits by this committer ]    commit hash:f36cc819accadae1fefc14c203e5fbe9c74e1492  commit hash:f36cc819accadae1fefc14c203e5fbe9c74e1492  commit hash:f36cc819accadae1fefc14c203e5fbe9c74e1492  f36cc81 
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
Sat, 2 Jul 2022
[ 13:47 Mikael Urankar (mikael) search for other commits by this committer ]    commit hash:558a5e4515a3de7cf7d27235b16b58cb1d3f3830  commit hash:558a5e4515a3de7cf7d27235b16b58cb1d3f3830  commit hash:558a5e4515a3de7cf7d27235b16b58cb1d3f3830  558a5e4  (Only the first 10 of 13 ports in this commit are shown above. View all ports for this commit)
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
Tue, 31 May 2022
[ 13:06 Mikael Urankar (mikael) search for other commits by this committer ]    commit hash:aa578f2b89663f8ceebf372218cdd744dda11609  commit hash:aa578f2b89663f8ceebf372218cdd744dda11609  commit hash:aa578f2b89663f8ceebf372218cdd744dda11609  aa578f2  (Only the first 10 of 12 ports in this commit are shown above. View all ports for this commit)
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
Sun, 1 May 2022
[ 16:39 Mikael Urankar (mikael) search for other commits by this committer ]    commit hash:e57dfbf32324ca40f17bb6c4a10581e6a06ab00b  commit hash:e57dfbf32324ca40f17bb6c4a10581e6a06ab00b  commit hash:e57dfbf32324ca40f17bb6c4a10581e6a06ab00b  e57dfbf  (Only the first 10 of 16 ports in this commit are shown above. View all ports for this commit)
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
Sun, 24 Apr 2022
[ 10:00 Tobias C. Berner (tcberner) search for other commits by this committer ]    commit hash:aa2539679084872cd84112e9df6bfee571570623  commit hash:aa2539679084872cd84112e9df6bfee571570623  commit hash:aa2539679084872cd84112e9df6bfee571570623  aa25396  (Only the first 10 of 118 ports in this commit are shown above. View all ports for this commit)
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)
Sat, 23 Apr 2022
[ 07:40 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:7fb087ab6ed9ab8aa6e888c2ef77314cd057a631  commit hash:7fb087ab6ed9ab8aa6e888c2ef77314cd057a631  commit hash:7fb087ab6ed9ab8aa6e888c2ef77314cd057a631  7fb087a 
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.
[ 07:39 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:d00e32651ac5da85b4653861c138b8a1573684dd  commit hash:d00e32651ac5da85b4653861c138b8a1573684dd  commit hash:d00e32651ac5da85b4653861c138b8a1573684dd  d00e326 
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.
Tue, 19 Apr 2022
[ 12:09 Piotr Kubaj (pkubaj) search for other commits by this committer ]    commit hash:85a16842b1c5958428b6c39582630545ee481906  commit hash:85a16842b1c5958428b6c39582630545ee481906  commit hash:85a16842b1c5958428b6c39582630545ee481906  85a1684 
Mk/Uses/cargo.mk: set correct target CPU on powerpc
Tue, 29 Mar 2022
[ 18:24 Piotr Kubaj (pkubaj) search for other commits by this committer ]    commit hash:f2d29fa623a2f00a43d716257010aa25b1acac2d  commit hash:f2d29fa623a2f00a43d716257010aa25b1acac2d  commit hash:f2d29fa623a2f00a43d716257010aa25b1acac2d  f2d29fa 
Mk/Uses/cargo.mk: disable RUST_BACKTRACE on powerpc following cargo segfaults on
13.1
Tue, 15 Mar 2022
[ 09:51 Mikael Urankar (mikael) search for other commits by this committer ]    commit hash:53e44579be56ebf464fae76e0daa55b7ced06c26  commit hash:53e44579be56ebf464fae76e0daa55b7ced06c26  commit hash:53e44579be56ebf464fae76e0daa55b7ced06c26  53e4457  (Only the first 10 of 34 ports in this commit are shown above. View all ports for this commit)
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
Thu, 3 Feb 2022
[ 14:02 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:bd3a9279310ec68c634964e6a819296aa470fadb  commit hash:bd3a9279310ec68c634964e6a819296aa470fadb  commit hash:bd3a9279310ec68c634964e6a819296aa470fadb  bd3a927 
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
Mon, 17 Jan 2022
[ 11:56 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:183588879e6bae37e4fd11e4b3336c49d6e64e0f  commit hash:183588879e6bae37e4fd11e4b3336c49d6e64e0f  commit hash:183588879e6bae37e4fd11e4b3336c49d6e64e0f  1835888  (Only the first 10 of 11 ports in this commit are shown above. View all ports for this commit)
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
Thu, 23 Dec 2021
[ 10:10 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:96eec29c9aa623f3aef843e238b50329ef386c45  commit hash:96eec29c9aa623f3aef843e238b50329ef386c45  commit hash:96eec29c9aa623f3aef843e238b50329ef386c45  96eec29  (Only the first 10 of 27 ports in this commit are shown above. View all ports for this commit)
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
Sun, 5 Dec 2021
[ 12:35 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:237b36fa2e73986dc19284686e80a47cb329bb6f  commit hash:237b36fa2e73986dc19284686e80a47cb329bb6f  commit hash:237b36fa2e73986dc19284686e80a47cb329bb6f  237b36f  (Only the first 10 of 14 ports in this commit are shown above. View all ports for this commit)
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
Sun, 7 Nov 2021
[ 15:24 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:d2eb03d1c0d343b2fe350b9079f6c54dfcfbaa1f  commit hash:d2eb03d1c0d343b2fe350b9079f6c54dfcfbaa1f  commit hash:d2eb03d1c0d343b2fe350b9079f6c54dfcfbaa1f  d2eb03d 
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
[ 15:24 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:2487e484e75a45b72964e189d2654720c0b34dd0  commit hash:2487e484e75a45b72964e189d2654720c0b34dd0  commit hash:2487e484e75a45b72964e189d2654720c0b34dd0  2487e48 
Uses/cargo: Mirror _RUST_ARCH_* mapping from lang/rust
Tue, 26 Oct 2021
[ 14:46 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:6180c0b094c839fb16fcd95e3c53f3ca79544f9c  commit hash:6180c0b094c839fb16fcd95e3c53f3ca79544f9c  commit hash:6180c0b094c839fb16fcd95e3c53f3ca79544f9c  6180c0b 
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.
Mon, 25 Oct 2021
[ 08:49 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:2bad8d171afe848ac88585270964342a55d504ce  commit hash:2bad8d171afe848ac88585270964342a55d504ce  commit hash:2bad8d171afe848ac88585270964342a55d504ce  2bad8d1 
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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
[ 08:46 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:124261fa7deb972b647c686d2531bbba0a9a4223  commit hash:124261fa7deb972b647c686d2531bbba0a9a4223  commit hash:124261fa7deb972b647c686d2531bbba0a9a4223  124261f  (Only the first 10 of 14 ports in this commit are shown above. View all ports for this commit)
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
Sun, 19 Sep 2021
[ 09:03 Tobias Kortkamp (tobik) search for other commits by this committer Author: Jan Beich ]    commit hash:93924a20b38e7856dc1a0df0c4514eaecdb624be  commit hash:93924a20b38e7856dc1a0df0c4514eaecdb624be  commit hash:93924a20b38e7856dc1a0df0c4514eaecdb624be  93924a2 
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
[ 09:03 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:6f1fefb50e755d727f471aeb75ebe4e28f876b4b  commit hash:6f1fefb50e755d727f471aeb75ebe4e28f876b4b  commit hash:6f1fefb50e755d727f471aeb75ebe4e28f876b4b  6f1fefb  (Only the first 10 of 15 ports in this commit are shown above. View all ports for this commit)
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
Tue, 7 Sep 2021
[ 16:53 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:d8fbaa503cf286a4d61cd6d03e48b445fe5dfca4  commit hash:d8fbaa503cf286a4d61cd6d03e48b445fe5dfca4  commit hash:d8fbaa503cf286a4d61cd6d03e48b445fe5dfca4  d8fbaa5 
Scripts/cargo-crates.awk: Move split_url() to separate file

Also stop leaking local variables
[ 08:04 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:905b1bd86fd5a0a40ce912c5d96992303a05aa62  commit hash:905b1bd86fd5a0a40ce912c5d96992303a05aa62  commit hash:905b1bd86fd5a0a40ce912c5d96992303a05aa62  905b1bd 
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.
Mon, 6 Sep 2021
[ 19:28 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:b1670e2c3d42a2aeacff843ef0ccea21c0929d03  commit hash:b1670e2c3d42a2aeacff843ef0ccea21c0929d03  commit hash:b1670e2c3d42a2aeacff843ef0ccea21c0929d03  b1670e2 
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
Sat, 28 Aug 2021
[ 13:38 Mikael Urankar (mikael) search for other commits by this committer Author: pouet ]    commit hash:55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5  commit hash:55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5  commit hash:55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5  55dbdde  (Only the first 10 of 14 ports in this commit are shown above. View all ports for this commit)
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
Sun, 27 Jun 2021
[ 05:39 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:f897ded31edcafadb3e4dd662fa022cabae86623  commit hash:f897ded31edcafadb3e4dd662fa022cabae86623  commit hash:f897ded31edcafadb3e4dd662fa022cabae86623  f897ded 
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
Tue, 11 May 2021
[ 17:29 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:bfd338293c668a646a7a05253f8ec16c101ce517  commit hash:bfd338293c668a646a7a05253f8ec16c101ce517  commit hash:bfd338293c668a646a7a05253f8ec16c101ce517  bfd3382 
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
[ 17:29 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:d8837418ea743776bc43b9c91d83080d8eff5029  commit hash:d8837418ea743776bc43b9c91d83080d8eff5029  commit hash:d8837418ea743776bc43b9c91d83080d8eff5029  d883741  (Only the first 10 of 20 ports in this commit are shown above. View all ports for this commit)
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
Wed, 28 Apr 2021
[ 04:44 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:3758b337a1b07b4a767d74e21e6b0b67db5e763c  commit hash:3758b337a1b07b4a767d74e21e6b0b67db5e763c  commit hash:3758b337a1b07b4a767d74e21e6b0b67db5e763c  3758b33 
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.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Mon, 19 Apr 2021
[ 09:07 Luca Pizzamiglio (pizzamig) search for other commits by this committer ]    commit hash:58744a09099a7accf9f5acd004e04701c6d8a130  commit hash:58744a09099a7accf9f5acd004e04701c6d8a130  commit hash:58744a09099a7accf9f5acd004e04701c6d8a130  58744a0 
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
Wed, 14 Apr 2021
[ 12:22 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:ffd4db6b940600e78ab01f8ef06bb3e7629f48e6  commit hash:ffd4db6b940600e78ab01f8ef06bb3e7629f48e6  commit hash:ffd4db6b940600e78ab01f8ef06bb3e7629f48e6  ffd4db6 
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
Tue, 13 Apr 2021
[ 07:05 Tobias Kortkamp (tobik) search for other commits by this committer ]    commit hash:7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01  commit hash:7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01  commit hash:7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01  7bec7b1 
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
Tue, 6 Apr 2021
[ 14:27 Mathieu Arnold (mat) search for other commits by this committer ]    commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  5d33e04  (Only the first 10 of 224 ports in this commit are shown above. View all ports for this commit)
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
Mon, 29 Mar 2021
[ 18:07 tobik search for other commits by this committer ] Original commit   Revision:569489
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
Sun, 14 Feb 2021
[ 15:45 mikael search for other commits by this committer ] Original commit   Revision:565245 (Only the first 10 of 139 ports in this commit are shown above. View all ports for this commit)
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
Tue, 24 Nov 2020
[ 12:48 mikael search for other commits by this committer ] Original commit   Revision:556157 (Only the first 10 of 137 ports in this commit are shown above. View all ports for this commit)
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
Tue, 10 Nov 2020
[ 15:42 pkubaj search for other commits by this committer ] Original commit   Revision:554839
Add powerpc64le since it uses the same CPU models as powerpc64.
Tue, 13 Oct 2020
[ 08:36 mikael search for other commits by this committer ] Original commit   Revision:552221 (Only the first 10 of 117 ports in this commit are shown above. View all ports for this commit)
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
Sat, 19 Sep 2020
[ 13:01 pkubaj search for other commits by this committer ] Original commit   Revision:548981
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
Sun, 30 Aug 2020
[ 18:36 tobik search for other commits by this committer ] Original commit   Revision:547071 (Only the first 10 of 99 ports in this commit are shown above. View all ports for this commit)
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
Mon, 3 Aug 2020
[ 15:18 tobik search for other commits by this committer ] Original commit   Revision:544073 (Only the first 10 of 97 ports in this commit are shown above. View all ports for this commit)
lang/rust: Update to 1.45.2

Changes:	https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
Thu, 30 Jul 2020
[ 18:26 tobik search for other commits by this committer ] Original commit   Revision:543815 (Only the first 10 of 97 ports in this commit are shown above. View all ports for this commit)
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
Fri, 17 Jul 2020
[ 06:44 tobik search for other commits by this committer ] Original commit   Revision:542412 (Only the first 10 of 104 ports in this commit are shown above. View all ports for this commit)
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
Thu, 4 Jun 2020
[ 18:08 tobik search for other commits by this committer ] Original commit   Revision:537917 (Only the first 10 of 99 ports in this commit are shown above. View all ports for this commit)
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
Thu, 23 Apr 2020
[ 15:32 tobik search for other commits by this committer ] Original commit   Revision:532685 (Only the first 10 of 89 ports in this commit are shown above. View all ports for this commit)
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
Sat, 4 Apr 2020
[ 07:40 tobik search for other commits by this committer ] Original commit   Revision:530623
Mk/Uses/cargo.mk: Add a warning about the openssl-src crate

PR:		245337
Mon, 23 Mar 2020
[ 03:57 tobik search for other commits by this committer ] Original commit   Revision:528945
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
Thu, 12 Mar 2020
[ 19:39 tobik search for other commits by this committer ] Original commit   Revision:528318 (Only the first 10 of 83 ports in this commit are shown above. View all ports for this commit)
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
Wed, 4 Mar 2020
[ 15:00 tobik search for other commits by this committer ] Original commit   Revision:527755
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.
Thu, 27 Feb 2020
[ 15:22 tobik search for other commits by this committer ] Original commit   Revision:527260 (Only the first 10 of 78 ports in this commit are shown above. View all ports for this commit)
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
Thu, 30 Jan 2020
[ 20:00 tobik search for other commits by this committer ] Original commit   Revision:524658 (Only the first 10 of 86 ports in this commit are shown above. View all ports for this commit)
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
Thu, 23 Jan 2020
[ 09:08 tobik search for other commits by this committer ] Original commit   Revision:523913
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
Mon, 13 Jan 2020
[ 18:36 tobik search for other commits by this committer ] Original commit   Revision:522968
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
Thu, 19 Dec 2019
[ 16:14 tobik search for other commits by this committer ] Original commit   Revision:520446 (Only the first 10 of 71 ports in this commit are shown above. View all ports for this commit)
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
Sun, 1 Dec 2019
[ 08:43 tobik search for other commits by this committer ] Original commit   Revision:518760
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
Fri, 29 Nov 2019
[ 22:12 tobik search for other commits by this committer ] Original commit   Revision:518678
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
[ 15:02 pkubaj search for other commits by this committer ] Original commit   Revision:518658
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
Tue, 19 Nov 2019
[ 21:08 tobik search for other commits by this committer ] Original commit   Revision:517982
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.
Thu, 7 Nov 2019
[ 18:07 tobik search for other commits by this committer ] Original commit   Revision:516995 (Only the first 10 of 83 ports in this commit are shown above. View all ports for this commit)
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
Fri, 27 Sep 2019
[ 12:51 tobik search for other commits by this committer ] Original commit   Revision:513030
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 = "..." }
[ 09:35 tobik search for other commits by this committer ] Original commit   Revision:513013 (Only the first 10 of 72 ports in this commit are shown above. View all ports for this commit)
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
Mon, 16 Sep 2019
[ 12:39 tobik search for other commits by this committer ] Original commit   Revision:512176
Mk/Uses/cargo.mk: Add gmake build dependency for jemalloc-sys
Thu, 15 Aug 2019
[ 14:30 tobik search for other commits by this committer ] Original commit   Revision:508994 (Only the first 10 of 56 ports in this commit are shown above. View all ports for this commit)
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
Tue, 6 Aug 2019
[ 08:12 tobik search for other commits by this committer ] Original commit   Revision:508234
Mk/Uses/cargo.mk: Add support for CARGO_USE_GITLAB/GL_TUPLE to cargo-crates
Thu, 18 Jul 2019
[ 08:18 tobik search for other commits by this committer ] Original commit   Revision:506841
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
Mon, 15 Jul 2019
[ 08:46 tobik search for other commits by this committer ] Original commit   Revision:506644
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.
Thu, 4 Jul 2019
[ 14:41 tobik search for other commits by this committer ] Original commit   Revision:505837 (Only the first 10 of 54 ports in this commit are shown above. View all ports for this commit)
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
Mon, 10 Jun 2019
[ 10:56 tobik search for other commits by this committer ] Original commit   Revision:503890
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.
Fri, 24 May 2019
[ 07:57 tobik search for other commits by this committer ] Original commit   Revision:502426
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
[ 03:25 tobik search for other commits by this committer ] Original commit   Revision:502416 (Only the first 10 of 76 ports in this commit are shown above. View all ports for this commit)
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
Wed, 15 May 2019
[ 03:12 tobik search for other commits by this committer ] Original commit   Revision:501679 (Only the first 10 of 62 ports in this commit are shown above. View all ports for this commit)
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
Wed, 17 Apr 2019
[ 07:33 tobik search for other commits by this committer ] Original commit   Revision:499149 (Only the first 10 of 12 ports in this commit are shown above. View all ports for this commit)
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.
Thu, 11 Apr 2019
[ 19:39 tobik search for other commits by this committer ] Original commit   Revision:498677 (Only the first 10 of 72 ports in this commit are shown above. View all ports for this commit)
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
Mon, 25 Mar 2019
[ 06:28 tobik search for other commits by this committer ] Original commit   Revision:496795
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.
Thu, 14 Mar 2019
[ 17:31 jbeich search for other commits by this committer ] Original commit   Revision:495724
USES=cargo to omit -C link-arg if LDFLAGS is empty

DPorts overrides USE_GCC logic and doesn't opt in into SSP_CFLAGS, so
its LDFLAGS are empty by default.

PR:		236529
Reported by:	Antonio Huete Jimenez
Sat, 2 Mar 2019
[ 00:35 tobik search for other commits by this committer ] Original commit   Revision:494349
Mk/Uses/cargo.mk: Require ports gcc on powerpc64 same as lang/rust

PR:		235063
Thu, 28 Feb 2019
[ 18:51 jbeich search for other commits by this committer ] Original commit   Revision:494176 (Only the first 10 of 81 ports in this commit are shown above. View all ports for this commit)
lang/rust: update to 1.33.0

- www/firefox temporarily loses SIMD in charset conversion, see
  https://bugzilla.mozilla.org/show_bug.cgi?id=1521249
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html
Tested by:	Mikael Urankar (aarch64, armv6, armv7, powerpc64), Piotr Kubaj
(powerpc64)
Approved by:	rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D19354
[ 18:47 jbeich search for other commits by this committer ] Original commit   Revision:494175 (Only the first 10 of 70 ports in this commit are shown above. View all ports for this commit)
USES=cargo to update libc to 0.2.49 for Tier2

PR:		235063
Differential Revision:	https://reviews.freebsd.org/D19309
Fri, 15 Feb 2019
[ 12:04 tobik search for other commits by this committer ] Original commit   Revision:492993
Add a CRATESIO entry for crates.io to bsd.sites.mk

Switch cargo.mk over to it.

Differential Revision:	https://reviews.freebsd.org/D19133
[ 09:33 ale search for other commits by this committer ] Original commit   Revision:492987
Don't break when there are multiple libc versions in crates.
Fri, 8 Feb 2019
[ 12:19 tobik search for other commits by this committer ] Original commit   Revision:492431
Mk/Uses/cargo.mk: Silence "you need USES=ssl" QA warning

We already have it via CARGO_CRATES=openssl-sys-*.

Differential Revision:	https://reviews.freebsd.org/D19044
Thu, 17 Jan 2019
[ 19:50 jbeich search for other commits by this committer ] Original commit   Revision:490600 (Only the first 10 of 50 ports in this commit are shown above. View all ports for this commit)
lang/rust: update to 1.32.0

- devel/racer no longer needs to dowgrade rustc-ap-syntax
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html
Approved by:	rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D18858
Fri, 4 Jan 2019
[ 04:00 jbeich search for other commits by this committer ] Original commit   Revision:489241
Allow overriding rust dependency

Add DEFAULT_VERSIONS+=rust=rust-nightly to make.conf(5) if you want to
build consumers using lang/rust-nightly.

Approved by:	rust (tobik)
MFH:		2019Q1 (avoid merge conflicts during www/firefox updates)
Differential Revision:	https://reviews.freebsd.org/D18634
Sun, 16 Dec 2018
[ 12:08 tobik search for other commits by this committer ] Original commit   Revision:487583
Mk/Uses/cargo.mk: Fix install for Rust 2018 edition applications

`cargo install` currently fails with:

error: Using `cargo install` to install the binaries for the package
in current working directory is no longer supported, use `cargo
install --path .` instead.

Also see https://github.com/rust-lang/cargo/issues/5327
Fri, 14 Dec 2018
[ 18:20 jbeich search for other commits by this committer ] Original commit   Revision:487455
USES=cargo to respect CC for linking

Reported by:	tijl
Approved by:	rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D18528
Thu, 6 Dec 2018
[ 17:11 jbeich search for other commits by this committer ] Original commit   Revision:486770 (Only the first 10 of 86 ports in this commit are shown above. View all ports for this commit)
lang/rust: update to 1.31.0

- devel/racer no longer needs to dowgrade rustc-ap-syntax
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2018/12/06/Rust-1.31.0.html
Approved by:	rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D18427
[ 17:07 jbeich search for other commits by this committer ] Original commit   Revision:486769
USES=cargo to convert LDFLAGS into RUSTFLAGS

Approved by:	rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D18039
Thu, 29 Nov 2018
[ 11:05 tobik search for other commits by this committer ] Original commit   Revision:486165
Warn maintainers when OpenSSL 1.1.1 support is missing when using
an outdated openssl < 0.10.4 crate.

Submitted by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D18292
Fri, 26 Oct 2018
[ 16:18 tobik search for other commits by this committer ] Original commit   Revision:483041
Bump minimum Rust version after rP482993
Fri, 28 Sep 2018
[ 18:47 tobik search for other commits by this committer ] Original commit   Revision:480877
Bump minimum Rust version in Mk/Uses/cargo.mk

Given that at least ripgrep will soon require Rust >= 1.28.0 [1]
and given the recently discovered buffer overflow vulnerability in
the standard library of Rust < 1.29.1 [2] bump it to 1.29.1 to avoid
surprises.

[1] https://github.com/BurntSushi/ripgrep/issues/1019
[2]
https://groups.google.com/forum/#!topic/rustlang-security-announcements/CmSuTm-SaU0
Fri, 21 Sep 2018
[ 11:16 jbeich search for other commits by this committer ] Original commit   Revision:480253
lang/rust: unbundle libgit2/libssh2

- libgit2 in ports is nowadays newer than bundled version
- libssh2 was already unbundled until 1.29.0 update
- Unbundle libssh2 for USES=cargo (unused atm)

PR:		231411
Approved by:	rust (dumbbell, tobik)
Tue, 4 Sep 2018
[ 07:26 tobik search for other commits by this committer ] Original commit   Revision:478931
Mk/Uses/cargo.mk: Let 'cargo-crates' generate Cargo.lock if it does not exist

This will make maintaining ports easier when upstream does not
provide a Cargo.lock on its own.

It uses the crate registry and will output the newest crate versions
available based on the restrictions in Cargo.toml.  As such subsequent
runs of `make cargo-crates` might not generate the same output.
Upstream should still be encouraged to provide Cargo.lock if possible.

Requested by:	mat
Differential Revision:	https://reviews.freebsd.org/D17003

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

1 | 2  »