From owner-freebsd-ports@FreeBSD.ORG Thu Sep 14 05:47:31 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A906216A407 for ; Thu, 14 Sep 2006 05:47:31 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2473343D6B for ; Thu, 14 Sep 2006 05:47:26 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so74568uge for ; Wed, 13 Sep 2006 22:47:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D9C92eoSA4sHSbivXOi4u2wocO4HLgloEElcomgzQpBkbS52ZPZjp0ifWydRjSxGk3NyOWkK3mV0IoOYN1m7mjYQ+NhtaddwfzPOASQ9kk4ZL3VzqKYzZ6hZiq2sRRm7U+Y1pcqh0gt0+abyidoPCkQ7xcZyGNhA1M8D4V5zuzE= Received: by 10.66.220.17 with SMTP id s17mr4558054ugg; Wed, 13 Sep 2006 22:47:25 -0700 (PDT) Received: by 10.67.86.8 with HTTP; Wed, 13 Sep 2006 22:47:25 -0700 (PDT) Message-ID: <790a9fff0609132247q402b82e9h2df3f5ae46b3b14d@mail.gmail.com> Date: Thu, 14 Sep 2006 00:47:25 -0500 From: "Scot Hetzel" To: "Timur I. Bakeyev" In-Reply-To: <20060913213628.GB81030@com.bat.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45081B59.80309@veldy.net> <790a9fff0609130833w5c6f8502jf2cedf0c17a80389@mail.gmail.com> <790a9fff0609130938j24c8188cs6a0e5d1339a76a90@mail.gmail.com> <450834DE.6090406@veldy.net> <20060913213628.GB81030@com.bat.ru> Cc: "Thomas T. Veldhouse" , freebsd-ports@freebsd.org Subject: Re: Samba and FAM 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: Thu, 14 Sep 2006 05:47:31 -0000 On 9/13/06, Timur I. Bakeyev wrote: > Hi guys! > > Can you please explain me, what is all that fight about? > No fight, just trying to help Thomas out by finding a way to disable fam support. On 9/13/06, Timur I. Bakeyev wrote: > Hi Tom! > > On Wed, Sep 13, 2006 at 11:42:06AM -0500, Thomas T. Veldhouse wrote: > > Scot Hetzel wrote: > > >Had a look at the samba configure script, and it doesn't have an > > >option to disable fam/gamin support. > > > > > >So your only option is to uninstall all ports that require fam/gamin. > > >Install samba w/FAM_SUPPORT off, then reinstall the ports that were > > >removed. > > > > > The catch 22 is that Courier-Imap attempts to use FAM even when it is not > > configured to do so. So, I have to have FAM installed. I could get it all > > working by deinstalling and reinstalling in the right order ... until > > portmanager comes along and upgrades samba sometime in the future. > > I don't see what portmanager have to do here. Also I don't see how Samba > port could be upgraded regarding this problem. The only solution I see > is to alter Samba configure script so it'll be possible to disable > linkage against FAM library. > The problem is that if you install samba x.y.z without fam support, then use portmanager to upgrade to samba x.y.z+1, the port built by portmanager would have fam support built in. The only way around it would be to uninstall all FAM dependant ports, before upgrading samba. Don't dwell on this problem too much, a note to indicate that fam support had been forced is enough. Re-write the warning as you see fit, or you could use: FAM_SUPPORT forced due to braindead linux configure script :) Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.