pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/atheme chat/atheme: Add ldap option, fix build wi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/33bf59a32f74
branches: trunk
changeset: 329524:33bf59a32f74
user: nia <nia%pkgsrc.org@localhost>
date: Sat Feb 09 20:13:02 2019 +0000
description:
chat/atheme: Add ldap option, fix build without builtin ldap...
diffstat:
chat/atheme/PLIST | 4 ++--
chat/atheme/options.mk | 13 +++++++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
diffs (50 lines):
diff -r 6d3566a99bb4 -r 33bf59a32f74 chat/atheme/PLIST
--- a/chat/atheme/PLIST Sat Feb 09 19:51:43 2019 +0000
+++ b/chat/atheme/PLIST Sat Feb 09 20:13:02 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2019/02/07 14:29:20 nia Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/02/09 20:13:02 nia Exp $
bin/atheme-dbverify
bin/atheme-ecdsakeygen
bin/atheme-services
@@ -120,7 +120,7 @@
include/libmowgli-2/vio/vio.h
lib/atheme/modules/alis/main.so
lib/atheme/modules/auth/dummy.so
-lib/atheme/modules/auth/ldap.so
+${PLIST.ldap}lib/atheme/modules/auth/ldap.so
lib/atheme/modules/backend/corestorage.so
lib/atheme/modules/backend/flatfile.so
lib/atheme/modules/backend/opensex.so
diff -r 6d3566a99bb4 -r 33bf59a32f74 chat/atheme/options.mk
--- a/chat/atheme/options.mk Sat Feb 09 19:51:43 2019 +0000
+++ b/chat/atheme/options.mk Sat Feb 09 20:13:02 2019 +0000
@@ -1,10 +1,12 @@
-# $NetBSD: options.mk,v 1.1.1.1 2008/06/16 10:38:27 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2019/02/09 20:13:02 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.atheme
-PKG_SUPPORTED_OPTIONS= ssl atheme-large-net
+PKG_SUPPORTED_OPTIONS= ldap ssl atheme-large-net
PKG_SUGGESTED_OPTIONS= ssl
+PLIST_VARS+= ldap
+
.include "../../mk/bsd.options.mk"
###
@@ -17,6 +19,13 @@
CONFIGURE_ARGS+= --disable-ssl
.endif
+.if !empty(PKG_OPTIONS:Mldap)
+. include "../../databases/openldap-client/buildlink3.mk"
+PLIST.ldap= yes
+.else
+CONFIGURE_ARGS+= --without-ldap
+.endif
+
###
### Large network support (i.e. > 2000 users)
###
Home |
Main Index |
Thread Index |
Old Index