Bug 82725

Summary: [PATCH] net/openldap23-server port doesn't build with unique and ppolicy overlays
Product: Ports & Packages Reporter: Pawel Wieleba <P.Wieleba>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Pawel Wieleba 2005-06-28 10:00:32 UTC
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.

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



+.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"--XmNVyAQidbIvmFnQH45aBrYIAkaZavyjcqd41nXBTcJ4qQgu
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.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
Comment 1 Vsevolod Stakhov 2005-06-29 00:36:36 UTC
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.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-06-30 12:03:47 UTC
State Changed
From-To: open->closed

Committed, thanks!