pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/26166:
>Number: 26166
>Category: pkg
>Synopsis:
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jul 05 13:44:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Rasputin
>Release: NetBSD 2.0F
>Organization:
Rasputin :: Jack of All Trades - Master of Nuns
>Environment:
System: NetBSD lb 2.0F NetBSD 2.0F (LITTLEBIRD) #0: Sun Jun 27 20:48:32 BST
2004 rasputin@lb:/usr/obj/usr/src/sys/arch/i386/compile/LITTLEBIRD i386
Architecture: i386
Machine: i386
>Description:
add optional ldap support to www/apache2 package
>How-To-Repeat:
See attached patch.
>Fix:
Note: the following patch affects Makefile.common since apache2
requires that apr have ldap support built-in to be effective.
This means the resulting httpd binary has ldap support built into
it also - hence the AP2_* prefix on the mk.conf variable.
Patch:
Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/www/apache2/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- Makefile 27 Jun 2004 16:34:25 -0000 1.37
+++ Makefile 5 Jul 2004 13:39:33 -0000
@@ -34,6 +34,9 @@
DFLT_APACHE_MODULES+= proxy proxy_connect proxy_ftp proxy_http
DFLT_APACHE_MODULES+= ssl
APACHE_MODULES?= ${DFLT_APACHE_MODULES}
+.if defined(AP2_USE_OPENLDAP) && ${AP2_USE_OPENLDAP} == YES
+APACHE_MODULES+= ldap auth_ldap
+.endif
CONFIGURE_ARGS+= --enable-modules="${APACHE_MODULES}"
CONFIGURE_ARGS+= --enable-so
BUILD_DEFS+= APACHE_MODULES
Index: Makefile.common
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/www/apache2/Makefile.common,v
retrieving revision 1.8
diff -u -r1.8 Makefile.common
--- Makefile.common 24 Apr 2004 22:46:12 -0000 1.8
+++ Makefile.common 5 Jul 2004 13:39:33 -0000
@@ -5,3 +5,10 @@
${MASTER_SITE_APACHE:=httpd/old/} \
http://www.NetBSD.org/images/logos/
MAINTAINER= tech-pkg%NetBSD.org@localhost
+.if defined(AP2_USE_OPENLDAP) && ${AP2_USE_OPENLDAP} == YES
+APR_CONFIGURE_ARGS+= --with-ldap
+APU_CONFIGURE_ARGS+= --with-ldap
+
+.include "../../databases/openldap/buildlink3.mk"
+.endif
+
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index