On Mon, 25 Nov 2024 23:39:35 +0100,
Klemens Nanni <k...@openbsd.org> wrote:
> 
> 25.11.2024 04:18, Kirill A. Korinsky пишет:
> > ports@,
> > 
> > I'd like to update security/mitmproxy to 11.0.1 which requires update
> > security/py-mitmproxy_rs to 0.10.7.
> 
> > Additionally, I'd like to add MODCARGO_CARGOLOCK variable into
> > devel/cargo/cargo.port.mk which allows to run make modcargo-gen-crates on
> > this port without commenting WRKSRC.
> > 
> > And I had sorted dependnecies to match order by pyproject.toml.
> > 
> > Tested on -current/amd64 by iPhone which is connected to it via WG.
> 
> Looks OK to me port-wise.
> 
> cargo-module(5) should document the new variable, though.
> 

Here a diff for cargo-module. I also added to Cc Sebastien, I hope that it's
ok that I had already cimmited MODCARGO_CARGOLOCK.

Index: share/man/man5/cargo-module.5
===================================================================
RCS file: /home/cvs/src/share/man/man5/cargo-module.5,v
diff -u -p -r1.9 cargo-module.5
--- share/man/man5/cargo-module.5       6 Jan 2024 08:03:31 -0000       1.9
+++ share/man/man5/cargo-module.5       25 Nov 2024 23:08:57 -0000
@@ -93,6 +93,10 @@ This module defines:
 Path to cargo manifest.
 Defaults to
 .Pa ${WRKSRC}/Cargo.toml .
+.It Ev MODCARGO_CARGOLOCK
+Path to Cargo.lock.
+Defaults to
+.Pa ${MODCARGO_CARGOTOML:toml=lock} .
 .It Ev MODCARGO_CRATES
 Crates that will be downloaded by the module.
 .It Ev MODCARGO_CRATES_UPDATE


-- 
wbr, Kirill

Reply via email to