Download raw body.
security/mitmproxy: update to 11.0.1
On Thu, 12 Dec 2024 12:19:56 +0100,
Theo Buehler <tb@theobuehler.org> wrote:
>
> On Wed, Dec 11, 2024 at 08:17:15PM +0100, Kirill A. Korinsky wrote:
> > On Wed, 11 Dec 2024 19:02:48 +0100,
> > Sebastien Marie <semarie@kapouay.eu.org> wrote:
> > >
> > > Regarding the documentation, I think it should mention that it do not
> > > affect the build in any way : cargo is looking at MODCARGO_CARGOTOML
> > > path only. Otherwise it could be confusing for the packager to have
> > > both.
> > >
> > > Maybe something like "used only by modcargo-gen-crates target" ?
> > >
> >
> > What do you think about this wording?
> >
> > 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 11 Dec 2024 19:15:37 -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 which is used only by modcargo-gen-crates target.
>
> I think this should use some markup for consistency with the rest of the
> file, for example:
>
> Path to Cargo.lock, which is used only by the
> .Cm modcargo-gen-crates
> target.
>
> Not sure if it should be '.Pa Cargo.lock' as well, or perhaps spell it
> out as 'cargo lock file' like it is done in the Cargo.toml entry.
>
Here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html I
see that Cargo.toml is called as a manifest file, and I don't see any
"official" naming for Cargo.lock. This is a reason why I have used the file
name, and not something else.
Regarding your remarks, it, indeed, makes things cleaner.
So, here an updated diff.
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 12 Dec 2024 11:27:32 -0000
@@ -93,6 +93,14 @@ This module defines:
Path to cargo manifest.
Defaults to
.Pa ${WRKSRC}/Cargo.toml .
+.It Ev MODCARGO_CARGOLOCK
+Path to
+.Pa Cargo.lock
+which is used only by
+.Cm modcargo-gen-crates
+target.
+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
security/mitmproxy: update to 11.0.1