From nobody@FreeBSD.org  Tue Jun 28 22:36:40 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3D1D616A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Jun 2005 22:36:40 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 28CDB43D48
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Jun 2005 22:36:40 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j5SMadKC096795
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Jun 2005 22:36:39 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j5SMadSc096794;
	Tue, 28 Jun 2005 22:36:39 GMT
	(envelope-from nobody)
Message-Id: <200506282236.j5SMadSc096794@www.freebsd.org>
Date: Tue, 28 Jun 2005 22:36:39 GMT
From: Pawel Wieleba <P.Wieleba@iem.pw.edu.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] net/openldap23-server doesn't build with syncprov overlay so it can't be a replication provider server
X-Send-Pr-Version: www-2.3

>Number:         82752
>Category:       ports
>Synopsis:       [PATCH] net/openldap23-server doesn't build with syncprov overlay so it can't be a replication provider server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 28 22:40:22 GMT 2005
>Closed-Date:    Thu Jun 30 12:21:10 GMT 2005
>Last-Modified:  Thu Jun 30 12:21:10 GMT 2005
>Originator:     Pawel Wieleba
>Release:        5.4-STABLE
>Organization:
>Environment:
FreeBSD srv 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri May 13 08:15:55 CEST 2005     root@srv:/usr/obj/usr/src/sys/SRV  i386
>Description:
net/openldap23-server doesn't build with syncprov overlay. That's why it cannot be a replication provider.

It would be nice to build net/openldap23-server with --enable-syncprov or add WITH_SYNCPROV flag to Makefile.

CU
PW
>How-To-Repeat:
      
>Fix:
As openldap22 supports provider replication by default I added it by default:
--- Makefile-ORG        Tue Jun 28 10:33:12 2005
+++ Makefile    Wed Jun 29 00:09:14 2005
@@ -167,7 +167,7 @@
 BACKEND_PLIST=         "@comment "
 .endif

-CONFIGURE_ARGS+=       --disable-syncprov
+CONFIGURE_ARGS+=       --enable-syncprov

 CONFIGURE_ARGS+=       --localstatedir=${LOCALSTATEDIR} \
                        --enable-ldbm=${BACKEND_ENABLE} \

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Thu Jun 30 11:00:31 GMT 2005 
State-Changed-Why:  
Asked maintainer 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Thu Jun 30 11:00:31 GMT 2005 
Responsible-Changed-Why:  
Track 

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

From: Pav Lucistnik <pav@FreeBSD.org>
To: vsevolod@highsecure.ru, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/82752: [PATCH] net/openldap23-server doesn't build with
	syncprov overlay so it can't be a replication provider server
Date: Thu, 30 Jun 2005 13:00:25 +0200

 Dear maintainer of FreeBSD port net/openldap23-server, please review
 
 http://www.freebsd.org/cgi/query-pr.cgi?q=82752
 
 What's your opinion on this?
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 Mischief managed.

From: Vsevolod Stakhov <vsevolod@highsecure.ru>
To: Pav Lucistnik <pav@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/82752: [PATCH] net/openldap23-server doesn't build with syncprov overlay so it can't be a replication provider server
Date: Thu, 30 Jun 2005 15:54:48 +0400

 --K8nIJk4ghYZn606h
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 I think, it should be done using WITH_SYNCPROV knob, because
 as I said earlier I plan to convert port (on next update) to
 use OPTIONS.
 
 --K8nIJk4ghYZn606h
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="openldap.diff"
 
 --- Makefile.orig	Thu Jun 30 15:48:08 2005
 +++ Makefile	Thu Jun 30 15:51:40 2005
 @@ -167,8 +167,6 @@
  BACKEND_PLIST=		"@comment "
  .endif
  
 -CONFIGURE_ARGS+=	--disable-syncprov
 -
  CONFIGURE_ARGS+=	--localstatedir=${LOCALSTATEDIR} \
  			--enable-ldbm=${BACKEND_ENABLE} \
  			--enable-crypt \
 @@ -201,6 +199,12 @@
  CONFIGURE_ARGS+=       --enable-ppolicy
  .endif
  
 +.if defined(WITH_SYNCPROV)
 +CONFIGURE_ARGS+=	--enable-syncprov
 +.else
 +CONFIGURE_ARGS+=	--disable-syncprov
 +.endif
 +
  .if defined(WITHOUT_BDB)
  CONFIGURE_ARGS+=	--disable-bdb \
  			--disable-hdb \
 @@ -365,6 +369,7 @@
  	@${ECHO} "WITH_ACI              with per-object ACIs (experimental)"
  	@${ECHO} "WITH_UNIQUE           with attribute Uniqueness overlay"
  	@${ECHO} "WITH_PPOLICY          with Password Policy overlay"
 +	@${ECHO} "WITH_SYNCPROV		with Syncprov overlay"
  	@${ECHO} "WITHOUT_DYNAMIC_BACKENDS build static backends"
  .if defined(DFOSVERSION) || ${OSVERSION} >= 500038
  	@${ECHO} "WITH_RCORDER          slapd(1) should start early in the boot process"
 
 --K8nIJk4ghYZn606h--
 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Thu Jun 30 12:20:09 GMT 2005 
State-Changed-Why:  
Maintainer's version committed, thank you! 

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