From owner-freebsd-ports@FreeBSD.ORG Wed Aug 12 20:50:40 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 121A21065675; Wed, 12 Aug 2009 20:50:40 +0000 (UTC) (envelope-from prvs=468fd4678=pschmehl_lists@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id C94A38FC3D; Wed, 12 Aug 2009 20:50:39 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.43,370,1246856400"; d="scan'208";a="14881708" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 12 Aug 2009 15:21:47 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id A94094EF47; Wed, 12 Aug 2009 15:21:47 -0500 (CDT) Date: Wed, 12 Aug 2009 20:21:47 +0000 From: Paul Schmehl To: Jeffrey Goldberg , FreeBSD Ports List , Mail List - Mailman Message-ID: In-Reply-To: <70C7249E-1EC4-4D00-BECE-CD30B43436B5@goldmark.org> References: <70C7249E-1EC4-4D00-BECE-CD30B43436B5@goldmark.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: 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 Reply-To: Paul Schmehl 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:50:40 -0000 --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. > > I would like to set up multiple instances of Mailman on a FreeBSD 7- > STABLE system with using Postfix. Looking at the ports Makefile, it > appears that if I set MM_DIR=mailman/vhosts/domain-for-this-instance > everything should work file (plus add FORCE_PACKAGE_REGISTER allow > this second instance to be installed.) > > 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 > > And this paradoxical report of various settings > > $ sudo make MM_DIR=mailman/vhosts/lists.wilson-pta.org - 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? In addition, I would think you would need to change PREFIX as well for the port to install where you want it to. So, ISTM, you should be doing this: $ sudo make PREFIX=/usr/local/mailman/vhost/lists.wilson-pta.org -DFORCE_PKG_REGISTER install rather than trying to set MM_DIR. Note you may *also* have to set MM_DIR, but I'm almost certain you need to set PREFIX if you want the port to install there instead of /usr/local/mailman. The problem is, I'm not exactly sure *where* you want mailman to install, so it's hard to be correct without more information. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson