Re: Portinstall insists on rebuilding openldap client

2009-03-17 Thread Timur I. Bakeyev
On Sat, Mar 14, 2009 at 6:12 PM, Robert Fitzpatrick li...@webtent.net 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

 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'

I guess, you are missing:

WANT_OPENLDAP_SASL=yes

in your /etc/make.conf.

Give it a try.

With regards,
Timur
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Portinstall insists on rebuilding openldap client

2009-03-16 Thread Frank Shute
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 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Portinstall insists on rebuilding openldap client

2009-03-14 Thread Robert Fitzpatrick
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

see what I'm up to on my Live Journal tech blog at
-- http://saintcolumbus.livejournal.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org