ports/124560: back-sock openldap backend not build in openldap24-server port

Stef Walter stef at memberwebs.com
Fri Jun 13 20:10:01 UTC 2008


>Number:         124560
>Category:       ports
>Synopsis:       back-sock openldap backend not build in openldap24-server port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 13 20:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Stef Walter
>Release:        6.3-RELEASE-p2
>Organization:
None
>Environment:
FreeBSD packager-6initial.ws.local 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #2: Tue May 20 16:27:28 UTC 2008     root at packager.example.com:/usr/obj/usr/src/sys/PACKAGER  i386

>Description:
Starting with openldap 2.4, there's a new backend called back_sock. See
'man slapd-sock'. The FreeBSD port doesn't include an option to build this.
Attached is a patch which adds that option.


>How-To-Repeat:

>Fix:
Will attach a patch

Patch attached with submission follows:

--- net/openldap24-server/Makefile.orig	2008-06-10 18:39:00.000000000 +0000
+++ net/openldap24-server/Makefile	2008-06-10 18:37:47.000000000 +0000
@@ -48,6 +48,7 @@
 		PERL "With Perl backend" off \
 		RELAY "With Relay backend" off \
 		SHELL "With Shell backend (disables threading)" off \
+		SOCK "With Sock backend" off \
 		ODBC "With SQL backend" off \
 		RLOOKUPS "With reverse lookups of client hostnames" off \
 		SLP "With SLPv2 (RFC 2608) support" off \
@@ -352,6 +353,13 @@
 WANT_OPENLDAP_THREADS=	yes
 .endif
 
+.if defined(WITH_SOCK)
+CONFIGURE_ARGS+=	--enable-sock=${BACKEND_ENABLE}
+PLIST_SUB+=		BACK_SOCK=${BACKEND_PLIST}
+.else
+PLIST_SUB+=		BACK_SOCK="@comment "
+.endif
+
 .if defined(WITH_PERL)
 USE_PERL5=		yes
 CONFIGURE_ARGS+=	--enable-perl=${BACKEND_ENABLE}
--- net/openldap24-server/pkg-plist.orig	2008-06-10 18:11:30.000000000 +0000
+++ net/openldap24-server/pkg-plist	2008-06-10 18:12:28.000000000 +0000
@@ -60,6 +60,10 @@
 %%BACK_SHELL%%libexec/openldap/back_shell-2.4.so.2
 %%BACK_SHELL%%libexec/openldap/back_shell.la
 %%BACK_SHELL%%libexec/openldap/back_shell.so
+%%BACK_SOCK%%libexec/openldap/back_sock-2.4.so
+%%BACK_SOCK%%libexec/openldap/back_sock-2.4.so.2
+%%BACK_SOCK%%libexec/openldap/back_sock.la
+%%BACK_SOCK%%libexec/openldap/back_sock.so
 %%BACK_SQL%%libexec/openldap/back_sql-2.4.so
 %%BACK_SQL%%libexec/openldap/back_sql-2.4.so.2
 %%BACK_SQL%%libexec/openldap/back_sql.la


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list