Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2009 20:10:11 +0000
From:      Frank Shute <frank@shute.org.uk>
To:        robert@webtent.com
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Portinstall insists on rebuilding openldap client
Message-ID:  <20090316201011.GA95214@melon.esperance-linux.co.uk>
In-Reply-To: <1237050781.14400.3.camel@columbus.webtent.org>
References:  <1237050781.14400.3.camel@columbus.webtent.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090316201011.GA95214>