pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/atheme



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Feb  9 20:13:02 UTC 2019

Modified Files:
        pkgsrc/chat/atheme: PLIST options.mk

Log Message:
chat/atheme: Add ldap option, fix build without builtin ldap...


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/chat/atheme/PLIST
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/chat/atheme/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/atheme/PLIST
diff -u pkgsrc/chat/atheme/PLIST:1.5 pkgsrc/chat/atheme/PLIST:1.6
--- pkgsrc/chat/atheme/PLIST:1.5        Thu Feb  7 14:29:20 2019
+++ pkgsrc/chat/atheme/PLIST    Sat Feb  9 20:13:02 2019
@@ -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/thread/thread.h
 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

Index: pkgsrc/chat/atheme/options.mk
diff -u pkgsrc/chat/atheme/options.mk:1.1.1.1 pkgsrc/chat/atheme/options.mk:1.2
--- pkgsrc/chat/atheme/options.mk:1.1.1.1       Mon Jun 16 10:38:27 2008
+++ pkgsrc/chat/atheme/options.mk       Sat Feb  9 20:13:02 2019
@@ -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+=     --enable-ssl
 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