From owner-freebsd-questions@FreeBSD.ORG Mon Mar 16 20:10:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74859106567D for ; Mon, 16 Mar 2009 20:10:24 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 047698FC08 for ; Mon, 16 Mar 2009 20:10:23 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1LjJ8c-0003a7-SW; Mon, 16 Mar 2009 20:10:18 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n2GKAG89012616; Mon, 16 Mar 2009 20:10:17 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id B5897FCA6A0; Mon, 16 Mar 2009 20:10:11 +0000 (GMT) Date: Mon, 16 Mar 2009 20:10:11 +0000 From: Frank Shute To: robert@webtent.com Message-ID: <20090316201011.GA95214@melon.esperance-linux.co.uk> Mail-Followup-To: robert@webtent.com, FreeBSD References: <1237050781.14400.3.camel@columbus.webtent.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1237050781.14400.3.camel@columbus.webtent.org> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Mon, 16 Mar 2009 20:10:17 +0000 (GMT) Cc: FreeBSD Subject: Re: Portinstall insists on rebuilding openldap client X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 20:10:25 -0000 On Sat, Mar 14, 2009 at 01:12:56PM -0400, Robert Fitzpatrick wrote: > > I was trying to install samba and it keeps wanting to build the openldap > client package that I already have installed. I really don't want to > mess with that as it is also supporting other packages for the mail > system. Why would it be wanting to build a package that is already > installed? > > mx1# ls /var/db/pkg | grep ldap > openldap-sasl-client-2.3.43 > openldap-sasl-server-2.3.43 > p5-perl-ldap-0.34 > php5-ldap-5.2.5_1 > phpldapadmin-1.1.0.5_1,1 > mx1# portinstall samba > ---> Found 3 ports matching 'samba': > net/samba3 > net/samba32 > net/samba33 > Install 'net/samba3'? [yes] no > Install 'net/samba32'? [yes] no > Install 'net/samba33'? [yes] > [Gathering depends for net/samba33 ................................................ done] > ---> Installing 'openldap-sasl-client-2.3.43' from a port (net/openldap23-client) > ---> Building '/usr/ports/net/openldap23-client' > ===> Cleaning for openldap-sasl-client-2.3.43 > ===> Vulnerability check disabled, database not found > ===> Extracting for openldap-sasl-client-2.3.43 > => MD5 Checksum OK for openldap-2.3.43.tgz. > => SHA256 Checksum OK for openldap-2.3.43.tgz > -- > Robert You could try using the exclude flag of portupgrade: # portupgrade -Nvx samba33 openldap23-client (I havent tested it). I don't think you would have a problem if it did rebuild the ldap client though as it should use the same config options that you originally built it with. An alternative is to build samba without ldap support by unchecking that option within make config (I guess you probably want ldap support with samba though). Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html