pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc




To: Andrew Randrianasulu <randrianasulu%gmail.com@localhost>

Subject: Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc

From: Greg Troxel <gdt%lexort.com@localhost>

Date: Fri, 19 Dec 2025 12:38:40 -0500


Andrew Randrianasulu <randrianasulu%gmail.com@localhost> writes:

>> My opinion is that only minimal config files should be installed, not
>> files with tons of commented out stuff, and that over-installation of
>> documentation wrongly called config is a problem in general.
>
> as non-admin I prefer commented examples

Those are 100% fine to be in /usr/pkg/share/examples/foo.  I don't
object to that at all.  What I object to is installing a 1000-line
config file that is in active use, that leads to

  sysadmin must read/check the entire file to verify that it isn't doing
  something unwanted

  merge conflicts that are unnecessary


And, a program that needs a huge config file is IMHO badly designed.
The defaults should be ok so that mostly one needs to only set things
that are locally different.  But usually the problem is either that
upstream thinks installing a huge file of comments is a good thing, or
that pkgsrc misinterprets this as something that should be installed.


Follow-Ups:

Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc
From: Andrew Randrianasulu


References:

Problem building fail2ban with PKG_SYSCONFBASE=/etc
From: Jarle Greipsland

Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc
From: Greg Troxel

Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc
From: Jarle Greipsland

Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc
From: Greg Troxel

Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc
From: Andrew Randrianasulu




Prev by Date: Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc

Next by Date: Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc

Previous by Thread: Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc

Next by Thread: Re: Problem building fail2ban with PKG_SYSCONFBASE=/etc

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index