[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: News server running as stand-alone daemon
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: News server running as stand-alone daemon
- From: naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de (Christian Weisgerber)
- Date: Sun, 12 Nov 2000 22:57:04 +0000 (UTC)
- Newsgroups: list.openbsd.ports
Felix Kronlage <felix_(_at_)_mad_(_dot_)_hazardous_(_dot_)_org> wrote:
> > There are also some packaging issues with regard to the news spool.
> You mean, the type of news spool used?
No, that's a runtime configuration option.
You have to consider the directory layout of an INN port. FreeBSD
puts everything under /usr/local/news, which is very simple but
outrageously violates hier(7). More sensibly, you'll need to break
some things out to /etc and /var.
Dealing with PATHETC is probably easy. Define it to /etc, move
the contents to usr/share/examples/inn after the fake install, and
handle it with the usual INSTALL script. But what do you do with
PATHDB and the /var/news/ hierarchy?
Quite some time ago I installed a FreeBSD INN package that didn't
do anything to build the required directories in /var/news. It
took me the better part of an afternoon of trial and error to create
all required directories with the right permissions (INN is somewhat
fussy there) by hand.
Christian "naddy" Weisgerber naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de
Visit your host, monkey.org