Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2003 21:47:20 -0500 (CDT)
From:      nobody <no.spam.allowed@234-169.ip.ll.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55361: Make Balsa2 LDAP installation optional
Message-ID:  <200308080247.h782lKFB067513@234-169.ip.ll.net>
Resent-Message-ID: <200308080250.h782o8dr052761@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55361
>Category:       ports
>Synopsis:       Make Balsa2 LDAP installation optional
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 07 19:50:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     none
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:


	
>Description:
	Balsa2 requires an OpenLDAP installation to allow Balsa to make use of
	an LDAP-based addressbook. Unfortunately, this can cause a previously
	installed version of OpenLDAP to be overwritten, possibly breaking
	other LDAP dependancies (FreeBSD port or not).

	What is proposed is a new make.conf variable "HAVE_OPENLDAP" which can
	be used to prevent the inclusion of OpenLDAP in the Balsa2 make and
	installation. Since this is a new make.conf variable, the changes
	included below should not impact current or future Balsa2 users.

	This will provide the advanced/experienced OpenLDAP user/administrator
	the ability to protect their existing OpenLDAP environments and
	development, while still allowing the novice Balsa2/OpenLDAP user
	to get the required LDAP libraries for Balsa2 if they are not already
	installed.
	
>How-To-Repeat:
	Upgrade or reinstall Balsa2 after a port upgrade and LDAP installation
	is forced.
	
>Fix:

*** Makefile.orig	Wed Aug  6 03:35:10 2003
--- Makefile	Wed Aug  6 20:27:27 2003
***************
*** 17,24 ****
  COMMENT=	A mail reader for the GNOME 2 desktop
  
  BUILD_DEPENDS=	${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
! LIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap21 \
! 		aspell.15:${PORTSDIR}/textproc/aspell \
  		pcre.0:${PORTSDIR}/devel/pcre \
  		esmtp.6:${PORTSDIR}/mail/libesmtp \
  		gdbm.3:${PORTSDIR}/databases/gdbm \
--- 17,23 ----
  COMMENT=	A mail reader for the GNOME 2 desktop
  
  BUILD_DEPENDS=	${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
! LIB_DEPENDS=	aspell.15:${PORTSDIR}/textproc/aspell \
  		pcre.0:${PORTSDIR}/devel/pcre \
  		esmtp.6:${PORTSDIR}/mail/libesmtp \
  		gdbm.3:${PORTSDIR}/databases/gdbm \
***************
*** 46,51 ****
--- 45,54 ----
  .if defined(WITH_GPG)
  LIB_DEPENDS+=		gpgme.9:${PORTSDIR}/security/gpgme
  CONFIGURE_ARGS+=	--enable-gpgme
+ .endif
+ 
+ .if !defined(HAVE_OPENLDAP)
+ LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap21
  .endif
  
  .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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