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.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

non port: Mk/Scripts/cargo-crates.awk

Number of commits found: 11

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
Wednesday, 8 Sep 2021
19:05 Tobias Kortkamp (tobik) search for other commits by this committer
Scripts/split-url.awk: Pass result array as parameter
commit hash: 628c61939eccbfd4b4f5e11059ffc399701edd92 commit hash: 628c61939eccbfd4b4f5e11059ffc399701edd92 commit hash: 628c61939eccbfd4b4f5e11059ffc399701edd92 commit hash: 628c61939eccbfd4b4f5e11059ffc399701edd92 628c619
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
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
Thursday, 5 Dec 2019
06:42 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Support new Cargo.lock format

The new format [1,2] dropped the [metadata] table.  As a consequence
our cargo-crates.awk script no longer outputs CARGO_CRATES.  We can
get the crate list from the various [[package]] tables instead.
This should work with the new as well as the old format.

[1] https://github.com/rust-lang/cargo/pull/7070
[2] https://github.com/rust-lang/cargo/pull/7579

PR:		242416
Reported by:	jbeich
Original commitRevision:519063 
Wednesday, 7 Aug 2019
10:37 tobik search for other commits by this committer
Mk/Uses/cargo.mk: cargo-crates to flag unknown git hosts

To avoid some head scratching print a warning instead of being
silent when encountering unhandled git hosts.
Original commitRevision:508310 
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 
06:44 tobik search for other commits by this committer
Assign cargo-crates.awk to rust@ too same as USES=cargo
Original commitRevision:508231 
06:43 tobik search for other commits by this committer
Mk/Uses/cargo.mk: Fix cargo-crates to not output identical GH_TUPLE entries

For example, in audio/spotifyd some crates have their sources on
GitHub instead of crates.io and share the same repository and commit
in Cargo.lock like

[[package]]
name = "librespot"
source =
"git+https://github.com/librespot-org/librespot.git#4e3576ba7c6146cf68e1953daeec929d619b26b1"

[[package]]
name = "librespot-audio"
source =
"git+https://github.com/librespot-org/librespot.git#4e3576ba7c6146cf68e1953daeec929d619b26b1"

Based on this cargo-crates.awk would naively generate multiple
identical entries like

librespot-org:librespot:4e3576ba7c6146cf68e1953daeec929d619b26b1:librespot
librespot-org:librespot:4e3576ba7c6146cf68e1953daeec929d619b26b1:librespotaudio

This adds a lot of extra noise to the port and distinfo and is not
really needed for anything.
Original commitRevision:508230 
Wednesday, 19 Jul 2017
14:00 tobik search for other commits by this committer
When specifying Git dependencies in Cargo.toml developers can set 3
additional keys: rev, branch, tag [1].  These are reflected in a
projects' Cargo.lock file as e.g.

git+https://github.com/servo/angle?branch=servo#a1371e8a160128677af863d1d73f150862ba42b2
git+https://github.com/rust-lang/libc?tag=0.2.26#288942e6858a4b2f8ee56338da5386263b9c4b82

Currently cargo-crates.awk generates the wrong output in these cases:

GH_TUPLE=	servo:angle?branch=servo:a1371e8a160128677af863d1d73f150862ba42b2:angle
\
		rust-lang:libc?tag=0.2.26:288942e6858a4b2f8ee56338da5386263b9c4b82:libc

Fix cargo-crates.awk to ignore the query string (except in the tag
case) and generate

GH_TUPLE=	servo:angle:a1371e8a160128677af863d1d73f150862ba42b2:angle \
		rust-lang:libc:0.2.26:libc

instead.

[1]
https://github.com/rust-lang/cargo/blob/master/src/doc/specifying-dependencies.md#specifying-dependencies-from-git-repositories

PR:		220548
Reported by:	jbeich
Reviewed by:	jbeich, mat
Differential Revision:	https://reviews.freebsd.org/D11571
Original commitRevision:446198 
Wednesday, 21 Jun 2017
16:22 tobik search for other commits by this committer
Add USES=cargo to make creating ports of Rust applications easier

Approved by:	mat (mentor)
Reviewed by:	dumbbell, mat
Differential Revision:	https://reviews.freebsd.org/D11162
Original commitRevision:444034 

Number of commits found: 11