Created attachment 247892 [details] Remove the dependency on libgit2 Though it isn't mentioned in the changelog, cargo-audit no longer uses libgit2 as of 0.18.0. The port builds successfully without it. https://github.com/rustsec/rustsec/issues/1058#issuecomment-1806295368
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ebede82362daa8997b260cb789b9113630190294 commit ebede82362daa8997b260cb789b9113630190294 Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2024-01-25 15:01:34 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2024-01-25 15:31:26 +0000 security/cargo-audit: no longer needs libgit2 cargo-audit no longer uses libgit2 as of 0.18.0. The port builds successfully without it. PR: 276558 security/cargo-audit/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
Thanks!
It looks like this inadvertently regressed when the port was upgraded to 0.19.0. In addition, the dependency on libssh2 can be removed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=af98160dc2ec2915d49b8ea9b3d9490840f2d19d commit af98160dc2ec2915d49b8ea9b3d9490840f2d19d Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2024-03-23 19:18:56 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2024-03-23 19:19:38 +0000 security/cargo-audit: no longer needs libgit2 security/cargo-audit: no longer needs libgit2 cargo-audit no longer uses libgit2 as of 0.18.0. The port builds successfully without it. PR: 276558 security/cargo-audit/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)