On Sat, Jun 7, 2025 at 11:24 AM Vidar Karlsen <[email protected]> wrote:
> On Fri, Jun 06, 2025 at 03:57:39PM +0200, Tomek CEDRO wrote:
> > On Fri, Jun 6, 2025 at 3:44 PM Vidar Karlsen <[email protected]> wrote:
> > > Hello,
> > > In an attempt to reduce build times, a review[1] for lang/rust-bin as a
> > > new port was floated last year, but didn't get a whole lot of traction.
>
> > Why not pkg install rust ?
>
> lang/rust depends on libcurl.so, so a version bump of ftp/curl will
> cause poudriere to rebuild rust. This happens often enough to be a
> burden on my pkg builder.

You were talking about binary packages, so someone have to build the
package anyway, let it be "trusted central" or "your own local
trusted" package builder. If you need to build the port on your own
anyway then what is the benefit?

The main concern here is probably whether allowing externally built
binaries (that may contain malware) easily into the OS for everyone on
FreeBSD is okay - if so such port should be marked dangerous.

I was thinking if flavors can help here to keep single port, simplify
things, and give what you need, instead of creating additional
separate "dangerous" port?

If you need minimal package you may want to create minimal flavor of
existing port?

Maybe you think of creating new rust-bin port that can provide
different rust versions for testing, that adds something new over
existing port, and maybe that could use flavors too?

Thanks :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to