From nobody@FreeBSD.org  Tue Jun 28 08:59:03 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 CFF9916A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Jun 2005 08:59:03 +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 BA00443D55
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Jun 2005 08:59:03 +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 j5S8x3I9043659
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Jun 2005 08:59:03 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j5S8x3NS043658;
	Tue, 28 Jun 2005 08:59:03 GMT
	(envelope-from nobody)
Message-Id: <200506280859.j5S8x3NS043658@www.freebsd.org>
Date: Tue, 28 Jun 2005 08:59:03 GMT
From: Pawel Wieleba <P.Wieleba@iem.pw.edu.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] net/openldap23-server port doesn't build with unique and ppolicy overlays
X-Send-Pr-Version: www-2.3

>Number:         82725
>Category:       ports
>Synopsis:       [PATCH] net/openldap23-server port doesn't build with unique and ppolicy overlays
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 28 09:00:32 GMT 2005
>Closed-Date:    Thu Jun 30 11:03:56 GMT 2005
>Last-Modified:  Thu Jun 30 11:03:56 GMT 2005
>Originator:     Pawel Wieleba
>Release:        FreeBSD 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:
Hi!
I'm using unique and ppolicy overlays with OpenLDAP server, and I have to manually change the port before each build, because it doesn't have proper flags.
It would be nice to to add WITH_UNIQUE and WITH_PPOLICY flags to this port.
>How-To-Repeat:
      
>Fix:
The patch to the net/openldap23-server port which solves the problem is also available on my web:
http://www.iem.pw.edu.pl/~wielebap/ldap/openldap/2.3/Makefile.diff

--- Makefile-ORG        Mon Jun 27 13:42:17 2005
+++ Makefile    Tue Jun 28 10:37:49 2005
@@ -193,6 +193,14 @@
 CONFIGURE_ARGS+=       --enable-aci
 .endif

+.if defined(WITH_UNIQUE)
+CONFIGURE_ARGS+=       --enable-unique
+.endif
+
+.if defined(WITH_PPOLICY)
+CONFIGURE_ARGS+=       --enable-ppolicy
+.endif
+
 .if defined(WITHOUT_BDB)
 CONFIGURE_ARGS+=       --disable-bdb \
                        --disable-hdb \
@@ -355,6 +363,8 @@
        @${ECHO} "WITH_DYNGROUP         with Dynamic Group overlay"
        @${ECHO} "WITH_PROXYCACHE       with Proxy Cache overlay"
        @${ECHO} "WITH_ACI              with per-object ACIs (experimental)"
+       @${ECHO} "WITH_UNIQUE           with attribute Uniqueness overlay"
+       @${ECHO} "WITH_PPOLICY          with Password Policy 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"
>Release-Note:
>Audit-Trail:

From: Vsevolod Stakhov <vsevolod@highsecure.ru>
To: bug-followup@FreeBSD.org, P.Wieleba@iem.pw.edu.pl
Cc:  
Subject: Re: ports/82725: [PATCH] net/openldap23-server port doesn't build
 with unique and ppolicy overlays
Date: Wed, 29 Jun 2005 03:36:36 +0400

 I think that this patch is ready for commit (it does not break port 
 building and plist). Also I want to convert port for using OPTIONS as 
 now there are too many knobs to remember them all.
 
 BTW, if you want maintainer to reply more quickly you may include him at 
 CC of PR.
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Jun 30 11:03:47 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

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