Portinstall insists on rebuilding openldap client
Frank Shute
frank at shute.org.uk
Mon Mar 16 13:10:25 PDT 2009
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
More information about the freebsd-questions
mailing list