Third Party Config files on FreeBSD are to be found under /usr.local/etc. For instance apache, cups, rsync are to be found under /usr/local/etc/apache24, /usr/local/etc/cups, and /usr/local/etc/rsync respectively, but that is a problem for anyone who wants to port Mailman 3 to FreeBSD.
I guess one option would be to set mailman3-flags="--config-file=/usr/local/etc/mailman/mailman.cfg" in /etc/rc.conf or somesuch...
On Sun, Aug 13, 2017 at 7:23 PM, John Poltorak <karotlopj@gmail.com> wrote:
I'm making progress, albeit slowly. Any progress I make I will post on the FreeBSD forums...
https://forums.freebsd.org/threads/61050/
On Sun, Aug 13, 2017 at 7:14 PM, Barry Warsaw <barry@list.org> wrote:
Thanks for the reference John,
On Aug 13, 2017, at 06:52, John Poltorak <karotlopj@gmail.com> wrote:
Regarding location of mailman.cfg...FreeBSD adopt a strict directory hierachy
https://www.freebsd.org/cgi/man.cgi?hier(7)
Anything installed outside the base OS belongs in /usr/local
I looked over that page. Does this mean that even if you were to install Mailman 3 via the FreeBSD package manager (i.e. ports), you’d still want mailman.cfg in /usr/local/etc instead of /etc? That would differ from most Linux distributions where package manager installed packages would have their configuration files in /etc, and where “third party” packages would have them in /usr/local/etc.
I guess that issue is something for the FreeBSD porters of Mailman3…
I think so. I think for now I don’t want to support /usr/local/etc/mailman.cfg out of the box, although I’m open to persuasion if there are some more generic use cases. OTOH, the internal function that calculates the search paths could be refactored to make it easy for distributions to carry small deltas to add that as a search path (it really wouldn’t be that hard to do now, but it’s a little icky). Of course, you can’t add a configuration file to find a configuration file. :)
Cheers, -Barry
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/