From owner-freebsd-ports Wed Jun 28 12:40:30 2000 Delivered-To: freebsd-ports@freebsd.org Received: from manatee.mammalia.org (manatee.mammalia.org [216.231.50.6]) by hub.freebsd.org (Postfix) with ESMTP id E1D6237C0E7 for ; Wed, 28 Jun 2000 12:40:26 -0700 (PDT) (envelope-from rjoseph@mammalia.org) Received: by manatee.mammalia.org (Postfix, from userid 1000) id 95C1011CD69; Wed, 28 Jun 2000 12:40:25 -0700 (PDT) Date: Wed, 28 Jun 2000 12:40:25 -0700 From: R Joseph Wright To: Mike Meyer Cc: freebsd-ports@FreeBSD.org Subject: Re: qmail install locations Message-ID: <20000628124025.A8820@manatee.mammalia.org> References: <20000628000201.A3427@manatee.mammalia.org> <20000628110401.A46663@mithrandr.moria.org> <14682.8319.396642.399373@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <14682.8319.396642.399373@guru.mired.org>; from mwm@mired.org on Wed, Jun 28, 2000 at 10:57:51AM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jun 28, 2000 at 10:57:51AM -0500, Mike Meyer wrote: > Neil Blakey-Milner writes: > > On Wed 2000-06-28 (00:02), R Joseph Wright wrote: > > > I just installed qmail and the installation does not mesh with the > > > rest of the system. For example, virtually everything goes under > > > /var, even the executables. Being a port, I think it should not > > > compete with the base system's space. > > > Would anyone object to me tweaking it to go under /usr/local? Then I > > > will fill out a PR. > > qmail on every other system in the world installs in /var/qmail, and the > > author prefers that this is so. In the near future, we may be able to > > distribute packages for qmail, and this would require that everything be > > accessible via /var/qmail. > > It's a bit nastier than that. Qmail includes control files that pretty > much *have* to be different between systems. The port builds the > initial versions for you. Installing these on a shared file system > would almost certainly break the mail system on any systems that share > that file system. /var is specifically designed *not* to be shared, so > it's the right place to put things initially. > > I'd vote for the default install not breaking existing installs in > environments that share /usr/local. One way to do that is to do what > postfix does, and just install sample config files instead of real > ones. You also need to provide startup scripts that start with > different config files, so that it can be started with a config file > from an unshared file system. > > > If you personally want to change this to /usr/local, change PREFIX in > > the port, where it explains what you should do. (it suggests > > /usr/local/qmail) > > This failed pretty badly when I tried it recently. I gave up and just > install it in /var/qmail. > >