summaryrefslogtreecommitdiff
path: root/mail/dovecot2-ldap
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-07-18 15:03:05 +0000
committerfhajny <fhajny>2016-07-18 15:03:05 +0000
commit4503bdffde39f471d600fa8e52bb04f42e7fc4a1 (patch)
tree74ebc30fc94b073dddef461e08701e68ee35dcef /mail/dovecot2-ldap
parent9ddccb1c3991a5850f12316606bd09a0e6b86fc0 (diff)
downloadpkgsrc-4503bdffde39f471d600fa8e52bb04f42e7fc4a1.tar.gz
Split off dovecot2-{gssapi,ldap,mysql,pgsql,sqlite} as separate
packages, remove respective options.mk parts.
Diffstat (limited to 'mail/dovecot2-ldap')
-rw-r--r--mail/dovecot2-ldap/DESCR3
-rw-r--r--mail/dovecot2-ldap/Makefile30
-rw-r--r--mail/dovecot2-ldap/PLIST5
3 files changed, 38 insertions, 0 deletions
diff --git a/mail/dovecot2-ldap/DESCR b/mail/dovecot2-ldap/DESCR
new file mode 100644
index 00000000000..1f2eb02311a
--- /dev/null
+++ b/mail/dovecot2-ldap/DESCR
@@ -0,0 +1,3 @@
+Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems,
+written with security primarily in mind. This package contains the LDAP
+backend plugins.
diff --git a/mail/dovecot2-ldap/Makefile b/mail/dovecot2-ldap/Makefile
new file mode 100644
index 00000000000..63eb786d19d
--- /dev/null
+++ b/mail/dovecot2-ldap/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2016/07/18 15:03:05 fhajny Exp $
+#
+
+.include "../../mail/dovecot2/Makefile.plugin"
+
+PKGNAME= ${DISTNAME:S/dovecot/dovecot-ldap/}
+COMMENT+= (LDAP plugin)
+
+CONFIGURE_ARGS+= --with-ldap=plugin
+
+INSTALLATION_DIRS+= include/dovecot \
+ lib/dovecot/auth lib/dovecot/dict
+
+do-install:
+ cd ${WRKSRC} && (\
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+ src/auth/libauthdb_ldap.la \
+ ${DESTDIR}${PREFIX}/lib/dovecot/auth; \
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+ src/lib-ldap/libdovecot-ldap.la \
+ ${DESTDIR}${PREFIX}/lib/dovecot; \
+ ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+ src/plugins/dict-ldap/libdict_ldap.la \
+ ${DESTDIR}${PREFIX}/lib/dovecot/dict; \
+ )
+ ${INSTALL_DATA} ${WRKSRC}/src/lib-ldap/ldap-client.h \
+ ${DESTDIR}${PREFIX}/include/dovecot
+
+.include "../../databases/openldap-client/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/dovecot2-ldap/PLIST b/mail/dovecot2-ldap/PLIST
new file mode 100644
index 00000000000..b83e8da8a1a
--- /dev/null
+++ b/mail/dovecot2-ldap/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/18 15:03:05 fhajny Exp $
+include/dovecot/ldap-client.h
+lib/dovecot/auth/libauthdb_ldap.la
+lib/dovecot/dict/libdict_ldap.la
+lib/dovecot/libdovecot-ldap.la