aboutsummaryrefslogtreecommitdiff
path: root/mail/slapd-cyrus
diff options
context:
space:
mode:
Diffstat (limited to 'mail/slapd-cyrus')
-rw-r--r--mail/slapd-cyrus/Makefile46
-rw-r--r--mail/slapd-cyrus/distinfo3
-rw-r--r--mail/slapd-cyrus/pkg-descr5
-rw-r--r--mail/slapd-cyrus/pkg-plist15
4 files changed, 69 insertions, 0 deletions
diff --git a/mail/slapd-cyrus/Makefile b/mail/slapd-cyrus/Makefile
new file mode 100644
index 000000000000..50efd91ad811
--- /dev/null
+++ b/mail/slapd-cyrus/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: slapd-cyrus
+# Date created: Wed 16 Sep 2009
+# Whom: Alexey V. Degtyarev
+#
+# $FreeBSD$
+#
+
+PORTNAME= slapd-cyrus
+PORTVERSION= 0.01
+CATEGORIES= mail net
+MASTER_SITES= SF/${PORTNAME}
+DISTNAME= Slapd-Backend-Cyrus-${PORTVERSION}
+
+MAINTAINER= alexey@renatasystems.org
+COMMENT= Slapd backend to translate DIT into Cyrus configuration
+
+BUILD_DEPENDS= cyrus-imapd>=0:${PORTSDIR}/mail/cyrus-imapd23 \
+ p5-BerkeleyDB>=0:${PORTSDIR}/databases/p5-BerkeleyDB \
+ p5-Class-Accessor-Lvalue>=0:${PORTSDIR}/devel/p5-Class-Accessor-Lvalue \
+ p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
+ p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
+ p5-Test-Class>=0:${PORTSDIR}/devel/p5-Test-Class \
+ p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PERL5= 5.10+
+
+PERL_MODBUILD= yes
+
+PLIST_SUB= SITE_PERL_REL=${SITE_PERL_REL} \
+ DOCS_DIR_REL=${DOCSDIR_REL}
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= slapd-cyrus.conf
+
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} -m 0444 ${WRKSRC}/t/etc/slapd.conf.dist \
+ ${DOCSDIR}/slapd-cyrus.conf
+.endif
+
+do-install:
+ ${MKDIR} ${SITE_PERL}
+ cd ${WRKSRC}/lib && ${PAX} -r -w . ${SITE_PERL}
+
+.include <bsd.port.mk>
diff --git a/mail/slapd-cyrus/distinfo b/mail/slapd-cyrus/distinfo
new file mode 100644
index 000000000000..5625d60fc5d3
--- /dev/null
+++ b/mail/slapd-cyrus/distinfo
@@ -0,0 +1,3 @@
+MD5 (Slapd-Backend-Cyrus-0.01.tar.gz) = f014aca5c9889f3091da3f1de0109acc
+SHA256 (Slapd-Backend-Cyrus-0.01.tar.gz) = c3face348c2635ae01d9a9503911dcda017de36784e576cdbe8d069dc16e297a
+SIZE (Slapd-Backend-Cyrus-0.01.tar.gz) = 20880
diff --git a/mail/slapd-cyrus/pkg-descr b/mail/slapd-cyrus/pkg-descr
new file mode 100644
index 000000000000..699e80079333
--- /dev/null
+++ b/mail/slapd-cyrus/pkg-descr
@@ -0,0 +1,5 @@
+slapd-cyrus is a slapd perl backend, used to translate LDAP DIT into
+Cyrus IMAP-server configuration. It can manage user folders, shared
+folders and ACLs of shared folders.
+
+WWW: http://slapd-cyrus.sourceforge.net
diff --git a/mail/slapd-cyrus/pkg-plist b/mail/slapd-cyrus/pkg-plist
new file mode 100644
index 000000000000..150d3a94c322
--- /dev/null
+++ b/mail/slapd-cyrus/pkg-plist
@@ -0,0 +1,15 @@
+%%SITE_PERL_REL%%/Slapd/Backend/Constant.pm
+%%SITE_PERL_REL%%/Slapd/Backend/Cyrus.pm
+%%SITE_PERL_REL%%/Slapd/Backend/Cyrus/Base.pm
+%%SITE_PERL_REL%%/Slapd/Backend/Cyrus/Cyradm.pm
+%%SITE_PERL_REL%%/Slapd/Backend/Cyrus/Mail.pm
+%%SITE_PERL_REL%%/Slapd/Backend/Cyrus/User.pm
+%%SITE_PERL_REL%%/Slapd/Backend/Proxy.pm
+%%SITE_PERL_REL%%/Slapd/Backend/Proxy/Store.pm
+%%SITE_PERL_REL%%/Slapd/Backend/Proxy/Store/BerkeleyDB.pm
+@dirrmtry %%SITE_PERL_REL%%/Slapd/Backend/Proxy/Store
+@dirrmtry %%SITE_PERL_REL%%/Slapd/Backend/Proxy
+@dirrmtry %%SITE_PERL_REL%%/Slapd/Backend/Cyrus
+@dirrmtry %%SITE_PERL_REL%%/Slapd/Backend
+@dirrmtry %%SITE_PERL_REL%%/Slapd
+@dirrmtry %%SITE_PERL_REL%%