From owner-freebsd-ports@FreeBSD.ORG Thu Jun 25 07:18:49 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 6251A1065676 for ; Thu, 25 Jun 2009 07:18:49 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB258FC3A for ; Thu, 25 Jun 2009 07:18:48 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.17.180] (helo=moosi) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1MJjEt-000KhT-Oo; Thu, 25 Jun 2009 11:19:19 +0400 To: Peter Clark References: <4A3FAD34.9060607@mtmary.edu> From: Boris Samorodov Date: Thu, 25 Jun 2009 11:19:24 +0400 In-Reply-To: <4A3FAD34.9060607@mtmary.edu> (Peter Clark's message of "Mon\, 22 Jun 2009 11\:11\:32 -0500") Message-ID: <00927667@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@freebsd.org Subject: Re: built with OLD dependency, take 2 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, 25 Jun 2009 07:18:50 -0000 Peter Clark writes: > Hello, > > I am not sure where to ask this question so I am going to start here, > if this is not the correct place any direction to where I should as > would be appreciated. > > I have 2 Freebsd 7.2p1 fresh installs. I have installed a number of > ports while trying to configure them to their final configuration > (everything installed is from ports). Weekly I cvsup my ports and run > portmanager -u. On both of these boxes I now have a missing port and > ones listed as being built with an OLD dependency. > > Box 1: snip of portmanager -u: > 00020 have:cyrus-sasl-2.1.23 /security/cyrus-sasl2 > CURRENT > > 00023 have:openldap-sasl-server-2.4.16_1 /net/openldap24-server > CURRENT > > 00025 have:postfix-2.6.2_1,1 /mail/postfix built > with OLD dependency: openldap-client-2.4.16 > > 00027 ----:openldap-client-2.4.16 /net/openldap24-client > MISSING > > 00034 have:openldap-sasl-client-2.4.16 > /net/openldap24-sasl-client CURRENT > > skipping postfix-2.6.2_1,1 /mail/postfix until dependency > openldap-client-2.4.16 updated > skipping openldap-client-2.4.16 /net/openldap24-client marked IGNORE > reason: conflicts with another installed port > > > Box 2: snip of portmanager -u: > 00024 have:openldap-sasl-server-2.4.16_1 /net/openldap24-server > CURRENT > > 00031 have:apache-2.2.11_7 /www/apache22 built > with OLD dependency: openldap-client-2.4.16 > > 00032 ----:openldap-client-2.4.16 /net/openldap24-client > MISSING > > 00033 have:php5-5.2.9 /lang/php5 CURRENT > > 00035 have:php5-ldap-5.2.9 /net/php5-ldap built > with OLD dependency: openldap-client-2.4.16 > > 00042 have:phpldapadmin-1.1.0.7,1 /net/phpldapadmin > CURRENT > > 00050 have:openldap-sasl-client-2.4.16 > /net/openldap24-sasl-client CURRENT > > skipping apache-2.2.11_7 /www/apache22 until dependency > openldap-client-2.4.16 updated > skipping openldap-client-2.4.16 /net/openldap24-client marked IGNORE > reason: conflicts with another installed port > skipping php5-ldap-5.2.9 /net/php5-ldap until dependency > openldap-client-2.4.16 updated > ------------------------------------------------------------------------ > > postfix is built with openldap but not sasl2 > apache is built with ldap and authnz_ldap > > On both of the boxes the offender seems to be > openldap-client-2.4.16. I installed the sasl-server version of > openldap which in turn installed the openldap-sasl-client. I am not > sure why postfix, apache22 and php5-ldap are having a problem with the > sasl vs non sasl versions. I think that the sasl client and the > regular client write to the same place though they conflict with each > other. Is there a way to resolve this? I'm not an expert here but since nobody has responded so far give me a try. If you need an openldap-sasl-client then the best way is to define WANT_OPENLDAP_SASL=YES at /etc/make.conf. Then all other ports which use openldap should use (have a dependency, check for existence, etc.) openldap-sasl port but not plain openldap. I'd advice you to remove all ports that depends upon openldap ports, add the abovementioned line to /etc/make.conf and reinstall the needed ports. WBR -- bsam