Date: Fri, 13 Jun 2008 20:02:58 GMT From: Stef Walter <stef@memberwebs.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/124560: back-sock openldap backend not build in openldap24-server port Message-ID: <200806132002.m5DK2wJ7060672@www.freebsd.org> Resent-Message-ID: <200806132010.m5DKA1IX029175@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806132002.m5DK2wJ7060672>