aboutsummaryrefslogtreecommitdiff
path: root/mail/libmapi
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-11-28 20:06:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-11-28 20:06:37 +0000
commitf76d32b8e89fed7c0e459c1a7fe7a4b57661b01c (patch)
treead29e6808ff698f84e08dab8e047f0ae72838df9 /mail/libmapi
parent873cae3ab41a109b6f9cf9f4149f101d6d996235 (diff)
downloadports-f76d32b8e89fed7c0e459c1a7fe7a4b57661b01c.tar.gz
ports-f76d32b8e89fed7c0e459c1a7fe7a4b57661b01c.zip
Notes
Diffstat (limited to 'mail/libmapi')
-rw-r--r--mail/libmapi/Makefile76
-rw-r--r--mail/libmapi/distinfo3
-rw-r--r--mail/libmapi/pkg-descr12
-rw-r--r--mail/libmapi/pkg-plist119
4 files changed, 210 insertions, 0 deletions
diff --git a/mail/libmapi/Makefile b/mail/libmapi/Makefile
new file mode 100644
index 000000000000..dbe082a80c0b
--- /dev/null
+++ b/mail/libmapi/Makefile
@@ -0,0 +1,76 @@
+# New ports collection makefile for: libmapi
+# Date created: 1 May 2009
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libmapi
+PORTVERSION= 0.8.2
+CATEGORIES= mail
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR=openchange/libmapi/${PORTNAME}-${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-${CODENAME}
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= Open Source implementation of Microsoft Exchange protocols
+
+BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ ${HOSTCONFIG}:${PORTSDIR}/net/samba4-devel \
+ pidl:${PORTSDIR}/devel/p5-Parse-Pidl
+LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3 \
+ ical.43:${PORTSDIR}/devel/libical \
+ tdb.1:${PORTSDIR}/databases/tdb \
+ talloc.1:${PORTSDIR}/devel/talloc
+RUN_DEPENDS= ${HOSTCONFIG}:${PORTSDIR}/net/samba4-devel
+
+HOSTCONFIG= ${LOCALBASE}/libdata/pkgconfig/samba-hostconfig.pc
+
+CODENAME= ROMULUS
+USE_GMAKE= yes
+USE_GNOME= pkgconfig
+USE_PYTHON= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-samba=${LOCALBASE}
+
+OPTIONS= BOOST "Enable libmapi++ (needs boost)" yes \
+ DOXYGEN "Enble building documentation" no
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ARGS+= --disable-swig-perl
+CONFIGURE_ARGS+= --disable-pymapi
+
+.if exists(${LOCALBASE}/lib/libboost_thread.so)
+WITH_BOOST=yes
+.endif
+
+.if defined(WITH_BOOST)
+LIB_DEPENDS+= boost_thread.4:${PORTSDIR}/devel/boost-libs
+PLIST_SUB+= BOOST=""
+.else
+PLIST_SUB+= BOOST="@comment "
+.endif
+
+.if defined(WITH_DOXYGEN) || exists(${LOCALBASE}/bin/doxygen)
+BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
+PLIST_SUB+= DOXYGEN=""
+.else
+PLIST_SUB+= DOXYGEN="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/bin/sh|${LOCALBASE}/bin/bash|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/Makefile
+
+post-install:
+.for i in libmapi libmapiadmin libmapiproxy libmapiserver libmapistore libocpf
+ @${LN} -fs ${PREFIX}/lib/${i}.so.0.8 ${PREFIX}/lib/${i}.so.0
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/mail/libmapi/distinfo b/mail/libmapi/distinfo
new file mode 100644
index 000000000000..abf1d13dd538
--- /dev/null
+++ b/mail/libmapi/distinfo
@@ -0,0 +1,3 @@
+MD5 (libmapi-0.8.2-ROMULUS.tar.gz) = b956870860cd786a0793bd89783df185
+SHA256 (libmapi-0.8.2-ROMULUS.tar.gz) = 82dfe90fdc5ba0b34950719ea0ea9cc1cf7835bd1a9127fd177435e1eeba0ffa
+SIZE (libmapi-0.8.2-ROMULUS.tar.gz) = 1529269
diff --git a/mail/libmapi/pkg-descr b/mail/libmapi/pkg-descr
new file mode 100644
index 000000000000..2f78882e5b79
--- /dev/null
+++ b/mail/libmapi/pkg-descr
@@ -0,0 +1,12 @@
+The OpenChange MAPI library aims to provide interoperability with an
+Open Source implementation of Microsoft Exchange protocols under UNIX/Linux.
+The current implementation offers a client-side library which can be used in
+existing messaging clients and offer native compatibility with Exchange Servers
+up to 2007.
+
+MAPI stands for Messaging Application Programming Interface and is used in the
+Microsoft Exchange Server groupware server. This solution works with Outlook
+and provides collaborative features such as a messaging server, shared
+calendars, contact databases, public folders and tasks.
+
+WWW: http://www.openchange.org
diff --git a/mail/libmapi/pkg-plist b/mail/libmapi/pkg-plist
new file mode 100644
index 000000000000..7bac15f50679
--- /dev/null
+++ b/mail/libmapi/pkg-plist
@@ -0,0 +1,119 @@
+bin/exchange2ical
+bin/exchange2mbox
+bin/locale_codepage
+bin/mapiprofile
+bin/mapitest
+bin/openchangeclient
+bin/openchangemapidump
+bin/openchangepfadmin
+bin/schemaIDGUID
+include/gen_ndr/exchange.h
+include/gen_ndr/property.h
+%%BOOST%%include/libmapi++/attachment.h
+%%BOOST%%include/libmapi++/clibmapi.h
+%%BOOST%%include/libmapi++/folder.h
+%%BOOST%%include/libmapi++/impl/message.ipp
+%%BOOST%%include/libmapi++/impl/object.ipp
+%%BOOST%%include/libmapi++/impl/session.ipp
+%%BOOST%%include/libmapi++/libmapi++.h
+%%BOOST%%include/libmapi++/mapi_exception.h
+%%BOOST%%include/libmapi++/message.h
+%%BOOST%%include/libmapi++/message_store.h
+%%BOOST%%include/libmapi++/object.h
+%%BOOST%%include/libmapi++/profile.h
+%%BOOST%%include/libmapi++/property_container.h
+%%BOOST%%include/libmapi++/session.h
+include/libmapi/dlinklist.h
+include/libmapi/emsmdb.h
+include/libmapi/libmapi.h
+include/libmapi/mapi_ctx.h
+include/libmapi/mapi_id_array.h
+include/libmapi/mapi_nameid.h
+include/libmapi/mapi_notification.h
+include/libmapi/mapi_object.h
+include/libmapi/mapi_profile.h
+include/libmapi/mapi_provider.h
+include/libmapi/mapicode.h
+include/libmapi/mapidefs.h
+include/libmapi/nspi.h
+include/libmapi/proto.h
+include/libmapi/socket/netif.h
+include/libmapi/version.h
+include/libmapiadmin/libmapiadmin.h
+include/libmapiadmin/proto.h
+include/libmapiproxy.h
+include/libmapiserver.h
+include/libocpf/ocpf.h
+include/libocpf/proto.h
+include/mapistore/mapistore.h
+include/mapistore/mapistore_errors.h
+lib/libmapi.so
+lib/libmapi.so.0
+lib/libmapi.so.0.8
+lib/libmapiadmin.so
+lib/libmapiadmin.so.0
+lib/libmapiadmin.so.0.8
+lib/libmapiproxy.so
+lib/libmapiproxy.so.0
+lib/libmapiproxy.so.0.8
+lib/libmapiserver.so
+lib/libmapiserver.so.0
+lib/libmapiserver.so.0.8
+lib/libmapistore.so
+lib/libmapistore.so.0
+lib/libmapistore.so.0.8
+lib/libocpf.so
+lib/libocpf.so.0
+lib/libocpf.so.0.8
+lib/mapistore_backends/mapistore_sqlite3.so
+lib/nagios/check_exchange
+libdata/pkgconfig/libmapi.pc
+libdata/pkgconfig/libmapiadmin.pc
+libdata/pkgconfig/libmapiproxy.pc
+libdata/pkgconfig/libmapiserver.pc
+libdata/pkgconfig/libocpf.pc
+%%PYTHON_SITELIBDIR%%/openchange/__init__.py
+%%PYTHON_SITELIBDIR%%/openchange/mailbox.py
+%%PYTHON_SITELIBDIR%%/openchange/provision.py
+%%PYTHON_SITELIBDIR%%/openchange/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/openchange/tests/test_mailbox.py
+%%PYTHON_SITELIBDIR%%/openchange/tests/test_provision.py
+modules/dcerpc_mapiproxy/mpm_cache.so
+modules/dcerpc_mapiproxy/mpm_downgrade.so
+modules/dcerpc_mapiproxy/mpm_dummy.so
+modules/dcerpc_mapiproxy/mpm_pack.so
+modules/dcerpc_mapiproxy_server/exchange_ds_rfr.so
+modules/dcerpc_mapiproxy_server/exchange_emsmdb.so
+modules/dcerpc_mapiproxy_server/exchange_nsp.so
+modules/dcerpc_server/dcesrv_mapiproxy.so
+modules/torture/openchange.so
+share/setup/AD/oc_provision_configuration.ldif
+share/setup/AD/oc_provision_schema.ldif
+share/setup/AD/oc_provision_schema_ADSC.ldif
+share/setup/AD/oc_provision_schema_modify.ldif
+share/setup/AD/prefixMap.txt
+share/setup/openchangedb/oc_provision_openchange_init.ldif
+share/setup/openchangedb/oc_provision_openchange_mailbox.ldif
+share/setup/profiles/oc_profiles_init.ldif
+share/setup/profiles/oc_profiles_schema.ldif
+@dirrm share/setup/profiles
+@dirrm share/setup/openchangedb
+@dirrm share/setup/AD
+@dirrm share/setup
+@dirrm %%PYTHON_SITELIBDIR%%/openchange/tests
+@dirrm %%PYTHON_SITELIBDIR%%/openchange
+@dirrm modules/torture
+@dirrm modules/dcerpc_server
+@dirrm modules/dcerpc_mapiproxy_server
+@dirrm modules/dcerpc_mapiproxy
+@dirrmtry modules
+@dirrm lib/nagios
+@dirrm lib/mapistore_backends
+@dirrm include/mapistore
+@dirrm include/libocpf
+@dirrm include/libmapiadmin
+@dirrm include/libmapi/socket
+@dirrm include/libmapi
+%%BOOST%%@dirrm include/libmapi++/impl
+%%BOOST%%@dirrm include/libmapi++
+@dirrm include/gen_ndr