From owner-freebsd-isp Thu Jun 6 15: 0: 3 2002 Delivered-To: freebsd-isp@freebsd.org Received: from hex.databits.net (hex.csh.rit.edu [129.21.60.134]) by hub.freebsd.org (Postfix) with ESMTP id 67E9A37B403 for ; Thu, 6 Jun 2002 14:59:59 -0700 (PDT) Received: by hex.databits.net (Postfix, from userid 1001) id 6485A2110F; Thu, 6 Jun 2002 17:59:55 -0400 (EDT) Date: Thu, 6 Jun 2002 17:59:55 -0400 From: Pete Fritchman To: up@3.am Cc: FreeBSD ISP List Subject: Re: Apache and mods from ports Message-ID: <20020606175955.B76162@databits.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from up@3.am on Thu, Jun 06, 2002 at 05:36:26PM -0400 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ++ 06/06/02 17:36 -0400 - up@3.am: | | I've built apache and mods from tarballs many times, but ports looks like | it could save me alot of time (particulary with mod_ssl), so I thought I'd | give it a go. | | The only thing is, I really want to install it under /usr/local/apache | ("classic Apache"), instead of the default scattered all over /usr/local. | | It looks simple enough to do. I just edited the Makefile under | /usr/ports/www/apache13-modssl to --with-layout=Apache instead of the | default --with-layout=FreeBSD and --suexec-docroot=${PREFIX}/htdocs. Hmm, I think the better way to do this would be "make install PREFIX=/usr/local/apache". It might not be the exact same as the "classic apache" layout (i.e. the config would be in /usr/local/apache/etc/httpd, but you could symlink & stuff) but you'll still get the ports benefits (see your paragraph below for an example). Note though, when you go to install other mod_* ports, be sure to set PREFIX *and* LOCALBASE to /usr/local/apache. | Judging by the contents of | /usr/ports/www/apache13-modssl/work/apache_1.3.24/config.layout | I would have thought this would take care of all the other variables | ($PREFIX, etc), but it didn't. What's worse, 'make deinstall' can't find | where I installed it, even if I mv config.status and edit the Makefile | layout variable. Right, ``make deinstall'' depends on the packing list in pkg-plist, which assumes you're installing apache the normal ports way. --pete -- Pete Fritchman [petef@(databits.net|freebsd.org|csh.rit.edu)] finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message