From owner-freebsd-ports@FreeBSD.ORG Wed Aug 12 20:41:22 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF49D106566B; Wed, 12 Aug 2009 20:41:22 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id A44988FC49; Wed, 12 Aug 2009 20:41:22 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 9BD8722AC8; Wed, 12 Aug 2009 16:41:21 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 12 Aug 2009 16:41:21 -0400 X-Sasl-enc: n7tXUkN3axTtnwWdGHGMg3jkgvgj8cyg+sTI91CbgmXg 1250109681 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id DA942E5E0; Wed, 12 Aug 2009 16:41:20 -0400 (EDT) Message-Id: <9634BCBC-E295-425A-ABA3-5EAFF0385692@goldmark.org> From: Jeffrey Goldberg To: Paul Schmehl In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 12 Aug 2009 15:41:19 -0500 References: <70C7249E-1EC4-4D00-BECE-CD30B43436B5@goldmark.org> X-Mailer: Apple Mail (2.936) Cc: Mail List - Mailman , FreeBSD Ports List , jmelo@FreeBSD.org Subject: Re: Multiple instances of Mailman on FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 20:41:23 -0000 On Aug 12, 2009, at 3:21 PM, Paul Schmehl wrote: > --On Wednesday, August 12, 2009 13:55:18 -0500 Jeffrey Goldberg > wrote: >> I'm posting this to both the mailman-users list and the freebsd-ports >> list. I realize that not all follow-up will make it to both lists. >> But when I do >> >> % cd /usr/ports/mail/mailman >> % sudo make -DMM_DIR=mailman/vhosts/lists.wilson-pta.org - >> DFORCE_PKG_REGISTER install >> >> It just installs in the default location, /usr/local/mailman > This could be a really stupid question (because I've never tried to > do what you're doing), but shouldn't the above line be: > > $ sudo make MM_DIR=/mailman/vhosts/lists.wilson-pta.org > > In other words, don't you have to provide the *absolute* patch to > the install location? No. Reading the Makefile it is clear that MM_DIR is relative to $PREFIX The default setting in the Makefile is MM_DIR?= mailman And later on there is a MAILMANDIR= ${PREFIX}/${MM_DIR} With MAILMANDIR being the absolute install directory. > The problem is, I'm not exactly sure *where* you want mailman to > install, so it's hard to be correct without more information. Mailman (under normal defaults) installs in various directories under /usr/local/mailman The python for all of the CGIs lives in /usr/local/mailman/Mailman and the programs that an administrator might run on the command line live in /usr/local/mailmain/bin And there are various other directories for queues and logs and data and per list configurations and such I want to have instances installed in /usr/local/mailman/vhosts/site1 /usr/local/mailman/vhosts/site2 /usr/local/mailman/vhosts/site3 Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/