From josemi@freebsd.jazztel.es  Mon Sep 20 18:54:10 2004
Return-Path: <josemi@freebsd.jazztel.es>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 019A916A4CE; Mon, 20 Sep 2004 18:54:10 +0000 (GMT)
Received: from smtp2.jazztel.es (smtp2.jazztel.es [62.14.3.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 991E843D41; Mon, 20 Sep 2004 18:54:09 +0000 (GMT)
	(envelope-from josemi@freebsd.jazztel.es)
Received: from antivirus
	by smtp2.jazztel.es
	with antivirus id 1C9TIZ-0006b2-00
	Mon, 20 Sep 2004 20:54:03 +0200
Received: from [212.106.207.12] (helo=rguez.homeunix.net)
	by smtp2.jazztel.es
	with esmtp id 1C9TIZ-0006ar-00
	Mon, 20 Sep 2004 20:54:03 +0200
Received: from redesjm.local (orion.redesjm.local [192.168.254.16])
	by rguez.homeunix.net (8.13.1/8.13.1) with ESMTP id i8KIs74O067571;
	Mon, 20 Sep 2004 20:54:07 +0200 (CEST)
	(envelope-from freebsd@redesjm.local)
Received: (from freebsd@localhost)
	by redesjm.local (8.13.1/8.13.1/Submit) id i8KIs7Id007423;
	Mon, 20 Sep 2004 20:54:07 +0200 (CEST)
	(envelope-from freebsd)
Message-Id: <200409201854.i8KIs7Id007423@redesjm.local>
Date: Mon, 20 Sep 2004 20:54:07 +0200 (CEST)
From: Jose M Rodriguez (freebsd) <josemi@freebsd.jazztel.es>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dinoex@freebsd.org
Subject: [PATCH] mail/sendmail: use openldap22
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         71949
>Category:       ports
>Synopsis:       [PATCH] mail/sendmail: use openldap22
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 20 19:00:48 GMT 2004
>Closed-Date:    Wed Oct 13 04:59:30 CEST 2004
>Last-Modified:  Wed Oct 13 04:59:30 CEST 2004
>Originator:     Jose M Rodriguez (freebsd)
>Release:        FreeBSD 5.3-BETA5 i386
>Organization:
Redes JM
>Environment:
System: FreeBSD orion.redesjm.local 5.3-BETA5 FreeBSD 5.3-BETA5 #0: Mon Sep 20 08:39:19 CEST 2004
>Description:
	Use openldap 2.2 client, now ports default

Port maintainer (dinoex@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:



--- patch-sendmail begins here ---
--- mail/sendmail/Makefile.orig	Mon Sep 20 19:24:10 2004
+++ mail/sendmail/Makefile	Mon Sep 20 19:25:55 2004
@@ -66,11 +66,11 @@
 		sendmail+sasl2-8.*
 CONFLICTS+=	sendmail-sasl-8.* sendmail-sasl2-8.* sendmail-tls-8.*
 .if defined(LDAP_PORT)
-OPENLDAP_LIB?=	libldap.so.2
+OPENLDAP_LIB?=	libldap-2.2.so.7
 BUILD_DEPENDS+=	${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
 RUN_DEPENDS+=	${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT}
 .else
-USE_OPENLDAP_VER?=	21
+USE_OPENLDAP_VER?=	22
 .endif
 .else
 CONFLICTS+=	sendmail*+ldap*-8.*
--- patch-sendmail ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Mon Sep 20 21:23:08 CEST 2004 
Responsible-Changed-Why:  
I will take care of it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71949 
State-Changed-From-To: open->feedback 
State-Changed-By: dinoex 
State-Changed-When: Mon Sep 20 21:25:53 CEST 2004 
State-Changed-Why:  

LDAP_PORT ist only for backwards compatibility 
Updateing this will break old installations. 

using openldap22 now will include databases/db42, 
wich has unresolved locking problemes. 

see problems in Thread: milter-sender 


http://www.freebsd.org/cgi/query-pr.cgi?pr=71949 

From: Jose M Rodriguez <josemi@freebsd.jazztel.es>
To: freebsd-gnats-submit@freebsd.org, josemi@freebsd.jazztel.es
Cc: dinoex@freebsd.org
Subject: Re: ports/71949: [PATCH] mail/sendmail: use openldap22
Date: Wed, 13 Oct 2004 01:10:36 +0200

 No problems detected here, tested with milter(antivir-milter), ldap22 
 and sasl2(with bdb-42).
 
 In fact, problems detected with openldap21 (default now).  
 openldap21-client conflicts with openldap22-client and this is ports 
 defaults now.
 
 Seems here that this comes from where openldap21 was the default 
 openldap port.
 
 --
   josemi
 
State-Changed-From-To: feedback->closed 
State-Changed-By: dinoex 
State-Changed-When: Wed Oct 13 04:59:14 CEST 2004 
State-Changed-Why:  
Partly committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71949 
>Unformatted:
