Thursday, October 10, 2024

Re: Using Ports

On Thu, Oct 10 2024, Joe B wrote:

> Hello,
>
> I just installed openbsd and I'm happy.. coming from FreeBSD and lots of stuff are different.
>
> I like ports to have options between binary and source.
>
> In freebsd you could make showconfig to see whats configured by default. you could do make config to change the default options then make install clean..
>
> Also i would do this
>
> - make config (change stuff)
> - export BATCH=y
> - make install clean and everything was fine
>
> Ports on openbsd are so different.
>
> What do you recommend me do ? i would like to add ssl put stuff in or
> whatever. I was looking at https://man.openbsd.org/ports and
> https://www.openbsd.org/faq/ports/ports.html but i'm confused
>
> Thanks
>
> Joe

OpenBSD does not really encourage to tinker with ports that much.
Compiling from the ports is left for developers of the ports tree. Users
of the OpenBSD should be using the binary packages. The packages are
compiled most common options enabled but some packages provide few
different "flavors". For example if you install emacs with pkg_add it
will poll which flavor you want:

$ doas pkg_add emacs
quirks-7.53 signed on 2024-10-09T20:18:24Z
quirks-7.50->7.53: ok
Ambiguous: choose package for emacs
a 0: <None>
1: emacs-29.4p0-gtk2
2: emacs-29.4p0-gtk3
3: emacs-29.4p0-no_x11

So, start by using packages and see how it goes.

Timo

No comments:

Post a Comment