Hi Cag,

Cag wrote on Sun, Oct 29, 2017 at 10:51:29PM +0000:
> Ingo Schwarze wrote:
 
>> No.  OpenBSD is a developer-oriented system, so headers are an
>> integral part of the installation.  Installing them must not be
>> optional, or it will cause nothing but needless confusion as soon
>> as people actually start using what they installed.

> And what if someone wants to build an OpenBSD router?

I did so many times.

> It doesn't need headers, or docs.

I did read manual pages there in the past, for sure.
It even happened in 2017 that i read manual pages on a server
machine (that doesn't even have a monitor) and then committed
improvements to that manual based on what i read there.

Besides, i regularly use /usr/include as part of the documentation,
usually more than once every week.  Many manual pages contain copies
of struct declarations, but many others actually point to the header
files for that kind of documentation, and many OpenBSD developers
agree that in some cases, that's a reasonable way to document.

> It doesn't have a lot of storage.

Sure, my first OpenBSD router had 200 MB of hard disk space grand
total.  I did have to do a few special things to save space there,
but the last time i needed that was more than a decade ago.  One
i'm currently still running has a 1 GB disk.  No more special savings
needed, OpenBSD just works out of the box.

Oh, and by the way, the only package i usually install on routers
is this one:

   $ pkg_info -L rsync
  Information for inst:rsync-3.1.2p0

  Files:
  /usr/local/bin/rrsync
  /usr/local/bin/rsync
  /usr/local/man/man1/rsync.1
  /usr/local/man/man5/rsyncd.conf.5
  /usr/local/share/doc/rsync/tech_report.tex
  /etc/rc.d/rsyncd

I guess you don't want to split that into -main and -doc, right?

So the discussion about splitting packages is *particularly*
irrelevant for very small servers because those have hardly any
packages in the first place.

> Are you a dev?

Yes, I am.

> Use this meta -dev package that pulls -dev versions of all packages
> you installed.

Hell, no.  Useless additional work, one more thing to code when
packaging, one more thing to configure, one more thing to maintain,
one more thing to forget about.

> Are you an admin?

Yes, I am.

> Install this -doc metapackage with docs.

Useless additional work.  One among the most important strengths
of OpenBSD is that it requires less work and less configuration.
It just works without any of the additional steps you propose.

I do all the things you want to improve all the time, but don't
see any actual problem that needs solving.

Yours,
  Ingo

Reply via email to