From 68338952426e0d4e3b373e7fd926682d66dbc8b0 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 2 Jun 2004 01:02:27 +0000 Subject: Add Ximian Connector, an Evolution plug-in for connecting to Microsoft Exchange mail servers. PR: 67442 Submitted by: Alex Kiesel (based on) --- mail/Makefile | 1 + mail/evolution-exchange/Makefile | 35 +++++++++++++++ mail/evolution-exchange/distinfo | 2 + mail/evolution-exchange/files/patch-configure | 11 +++++ .../files/patch-lib::e2k-autoconfig.c | 13 ++++++ mail/evolution-exchange/files/patch-ltmain.sh | 51 ++++++++++++++++++++++ mail/evolution-exchange/pkg-descr | 13 ++++++ mail/evolution-exchange/pkg-plist | 23 ++++++++++ mail/ximian-connector/Makefile | 35 +++++++++++++++ mail/ximian-connector/distinfo | 2 + mail/ximian-connector/files/patch-configure | 11 +++++ .../files/patch-lib::e2k-autoconfig.c | 13 ++++++ mail/ximian-connector/files/patch-ltmain.sh | 51 ++++++++++++++++++++++ mail/ximian-connector/pkg-descr | 13 ++++++ mail/ximian-connector/pkg-plist | 23 ++++++++++ 15 files changed, 297 insertions(+) create mode 100644 mail/evolution-exchange/Makefile create mode 100644 mail/evolution-exchange/distinfo create mode 100644 mail/evolution-exchange/files/patch-configure create mode 100644 mail/evolution-exchange/files/patch-lib::e2k-autoconfig.c create mode 100644 mail/evolution-exchange/files/patch-ltmain.sh create mode 100644 mail/evolution-exchange/pkg-descr create mode 100644 mail/evolution-exchange/pkg-plist create mode 100644 mail/ximian-connector/Makefile create mode 100644 mail/ximian-connector/distinfo create mode 100644 mail/ximian-connector/files/patch-configure create mode 100644 mail/ximian-connector/files/patch-lib::e2k-autoconfig.c create mode 100644 mail/ximian-connector/files/patch-ltmain.sh create mode 100644 mail/ximian-connector/pkg-descr create mode 100644 mail/ximian-connector/pkg-plist (limited to 'mail') diff --git a/mail/Makefile b/mail/Makefile index bf284bf54841..eec5a654599e 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -431,6 +431,7 @@ SUBDIR += xbuffy SUBDIR += xc-mail SUBDIR += xfmail + SUBDIR += ximian-connector SUBDIR += xlbiff SUBDIR += xmail SUBDIR += xmailbox diff --git a/mail/evolution-exchange/Makefile b/mail/evolution-exchange/Makefile new file mode 100644 index 000000000000..25deecad6486 --- /dev/null +++ b/mail/evolution-exchange/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: ximian-connector +# Date created: 30 May 2004 +# Whom: kiesel +# +# $FreeBSD$ +# + +PORTNAME= ximian +PORTVERSION= 1.4.7.1 +CATEGORIES= mail gnome +MASTER_SITES= http://ftp.ximian.com/pub/source/evolution/ +PKGNAMESUFFIX= -connector +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} + +MAINTAINER= kiesel@schlund.de +COMMENT= Evolution plugin to connect to Microsoft Exchange servers + +BUILD_DEPENDS= evolution-${EVO_VERSION}:${PORTSDIR}/mail/evolution +RUN_DEPENDS= evolution-${EVO_VERSION}:${PORTSDIR}/mail/evolution + +USE_X_PREFIX= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +WANT_OPENLDAP_VER= 21 +WANT_OPENLDAP_SASL= yes +USE_GNOME= gnomeprefix gnomehack gnometarget +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-openldap=${LOCALBASE} \ + --with-static-ldap=no + +EVO_VERSION= 1.4 +PLIST_SUB= VERSION="1.4" EVO_VERSION=${EVO_VERSION} + +.include diff --git a/mail/evolution-exchange/distinfo b/mail/evolution-exchange/distinfo new file mode 100644 index 000000000000..ff3a864f146c --- /dev/null +++ b/mail/evolution-exchange/distinfo @@ -0,0 +1,2 @@ +MD5 (ximian-connector-1.4.7.1.tar.gz) = fad20b3b50161a99f1e36b704590e600 +SIZE (ximian-connector-1.4.7.1.tar.gz) = 898976 diff --git a/mail/evolution-exchange/files/patch-configure b/mail/evolution-exchange/files/patch-configure new file mode 100644 index 000000000000..b2b64b88e985 --- /dev/null +++ b/mail/evolution-exchange/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Tue Jun 1 20:52:34 2004 ++++ configure Tue Jun 1 20:52:55 2004 +@@ -22992,7 +22992,7 @@ + + case $with_static_ldap in + no|"") +- if test -f $with_openldap/lib/libldap.la; then ++ if test -f $with_openldap/lib/libldap.so; then + with_static_ldap=no + else + with_static_ldap=yes diff --git a/mail/evolution-exchange/files/patch-lib::e2k-autoconfig.c b/mail/evolution-exchange/files/patch-lib::e2k-autoconfig.c new file mode 100644 index 000000000000..d5806c41d0c5 --- /dev/null +++ b/mail/evolution-exchange/files/patch-lib::e2k-autoconfig.c @@ -0,0 +1,13 @@ +--- lib/e2k-autoconfig.c.orig Tue May 11 11:09:03 2004 ++++ lib/e2k-autoconfig.c Tue Jun 1 20:47:50 2004 +@@ -25,6 +25,10 @@ + + #include + #include ++#include ++#include ++#include ++#include + #include + #include + diff --git a/mail/evolution-exchange/files/patch-ltmain.sh b/mail/evolution-exchange/files/patch-ltmain.sh new file mode 100644 index 000000000000..263a5ce21d00 --- /dev/null +++ b/mail/evolution-exchange/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig Mon Apr 5 19:24:18 2004 ++++ ltmain.sh Tue Jun 1 20:45:09 2004 +@@ -1346,7 +1346,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1361,8 +1361,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -3056,6 +3064,9 @@ + # problems, so we reset it completely + verstring= + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + verstring="0.0" + ;; +@@ -5528,10 +5539,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/mail/evolution-exchange/pkg-descr b/mail/evolution-exchange/pkg-descr new file mode 100644 index 000000000000..c89d7aba86dd --- /dev/null +++ b/mail/evolution-exchange/pkg-descr @@ -0,0 +1,13 @@ +Ximian Connector is a plugin for Evolution that adds Exchange client +capabilities to Evolution. + +With the Evolution Connector installed, Evolution functions as an +Exchange client, enabling users to become full participants in company-wide +group scheduling and other collaborative tasks. Linux, Solaris and FreeBSD +users can access public folders, Global Address Lists, email, calendar, +task lists, and group scheduling information. + +WWW: http://www.novell.com/products/connector/ + +- Alex Kiesel +kiesel@schlund.de diff --git a/mail/evolution-exchange/pkg-plist b/mail/evolution-exchange/pkg-plist new file mode 100644 index 000000000000..4d9afd021282 --- /dev/null +++ b/mail/evolution-exchange/pkg-plist @@ -0,0 +1,23 @@ +bin/ximian-connector-setup +etc/gconf/gconf.xml.defaults/apps/evolution/exchange/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/evolution/exchange/%gconf.xml +etc/gconf/schemas/apps_evolution_exchange.schemas +lib/evolution/%%EVO_VERSION%%/camel-providers/libcamelexchange.so +lib/evolution/%%EVO_VERSION%%/camel-providers/libcamelexchange.urls +libdata/bonobo/servers/GNOME_Evolution_Exchange_Storage.server +libexec/evolution/%%EVO_VERSION%%/evolution-exchange-storage +share/gnome/evolution/%%EVO_VERSION%%/images/connector.png +share/gnome/evolution/%%EVO_VERSION%%/images/exchange-delegates-48.png +share/gnome/evolution/%%EVO_VERSION%%/images/exchange-oof-48.png +share/gnome/ximian-connector/%%VERSION%%/glade/exchange-autoconfig-wizard.glade +share/gnome/ximian-connector/%%VERSION%%/glade/exchange-delegates.glade +share/gnome/ximian-connector/%%VERSION%%/glade/exchange-oof.glade +share/gnome/ximian-connector/%%VERSION%%/glade/exchange-permissions-dialog.glade +share/gnome/ximian-connector/%%VERSION%%/images/connector.png +share/locale/de/LC_MESSAGES/ximian-connector-%%VERSION%%.mo +@dirrm share/gnome/ximian-connector/%%VERSION%%/images +@dirrm share/gnome/ximian-connector/%%VERSION%%/glade +@dirrm share/gnome/ximian-connector/%%VERSION%% +@dirrm share/gnome/ximian-connector +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/evolution/exchange +@dirrm etc/gconf/gconf.xml.defaults/apps/evolution/exchange diff --git a/mail/ximian-connector/Makefile b/mail/ximian-connector/Makefile new file mode 100644 index 000000000000..25deecad6486 --- /dev/null +++ b/mail/ximian-connector/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: ximian-connector +# Date created: 30 May 2004 +# Whom: kiesel +# +# $FreeBSD$ +# + +PORTNAME= ximian +PORTVERSION= 1.4.7.1 +CATEGORIES= mail gnome +MASTER_SITES= http://ftp.ximian.com/pub/source/evolution/ +PKGNAMESUFFIX= -connector +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} + +MAINTAINER= kiesel@schlund.de +COMMENT= Evolution plugin to connect to Microsoft Exchange servers + +BUILD_DEPENDS= evolution-${EVO_VERSION}:${PORTSDIR}/mail/evolution +RUN_DEPENDS= evolution-${EVO_VERSION}:${PORTSDIR}/mail/evolution + +USE_X_PREFIX= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +WANT_OPENLDAP_VER= 21 +WANT_OPENLDAP_SASL= yes +USE_GNOME= gnomeprefix gnomehack gnometarget +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-openldap=${LOCALBASE} \ + --with-static-ldap=no + +EVO_VERSION= 1.4 +PLIST_SUB= VERSION="1.4" EVO_VERSION=${EVO_VERSION} + +.include diff --git a/mail/ximian-connector/distinfo b/mail/ximian-connector/distinfo new file mode 100644 index 000000000000..ff3a864f146c --- /dev/null +++ b/mail/ximian-connector/distinfo @@ -0,0 +1,2 @@ +MD5 (ximian-connector-1.4.7.1.tar.gz) = fad20b3b50161a99f1e36b704590e600 +SIZE (ximian-connector-1.4.7.1.tar.gz) = 898976 diff --git a/mail/ximian-connector/files/patch-configure b/mail/ximian-connector/files/patch-configure new file mode 100644 index 000000000000..b2b64b88e985 --- /dev/null +++ b/mail/ximian-connector/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Tue Jun 1 20:52:34 2004 ++++ configure Tue Jun 1 20:52:55 2004 +@@ -22992,7 +22992,7 @@ + + case $with_static_ldap in + no|"") +- if test -f $with_openldap/lib/libldap.la; then ++ if test -f $with_openldap/lib/libldap.so; then + with_static_ldap=no + else + with_static_ldap=yes diff --git a/mail/ximian-connector/files/patch-lib::e2k-autoconfig.c b/mail/ximian-connector/files/patch-lib::e2k-autoconfig.c new file mode 100644 index 000000000000..d5806c41d0c5 --- /dev/null +++ b/mail/ximian-connector/files/patch-lib::e2k-autoconfig.c @@ -0,0 +1,13 @@ +--- lib/e2k-autoconfig.c.orig Tue May 11 11:09:03 2004 ++++ lib/e2k-autoconfig.c Tue Jun 1 20:47:50 2004 +@@ -25,6 +25,10 @@ + + #include + #include ++#include ++#include ++#include ++#include + #include + #include + diff --git a/mail/ximian-connector/files/patch-ltmain.sh b/mail/ximian-connector/files/patch-ltmain.sh new file mode 100644 index 000000000000..263a5ce21d00 --- /dev/null +++ b/mail/ximian-connector/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig Mon Apr 5 19:24:18 2004 ++++ ltmain.sh Tue Jun 1 20:45:09 2004 +@@ -1346,7 +1346,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1361,8 +1361,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -3056,6 +3064,9 @@ + # problems, so we reset it completely + verstring= + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + verstring="0.0" + ;; +@@ -5528,10 +5539,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/mail/ximian-connector/pkg-descr b/mail/ximian-connector/pkg-descr new file mode 100644 index 000000000000..c89d7aba86dd --- /dev/null +++ b/mail/ximian-connector/pkg-descr @@ -0,0 +1,13 @@ +Ximian Connector is a plugin for Evolution that adds Exchange client +capabilities to Evolution. + +With the Evolution Connector installed, Evolution functions as an +Exchange client, enabling users to become full participants in company-wide +group scheduling and other collaborative tasks. Linux, Solaris and FreeBSD +users can access public folders, Global Address Lists, email, calendar, +task lists, and group scheduling information. + +WWW: http://www.novell.com/products/connector/ + +- Alex Kiesel +kiesel@schlund.de diff --git a/mail/ximian-connector/pkg-plist b/mail/ximian-connector/pkg-plist new file mode 100644 index 000000000000..4d9afd021282 --- /dev/null +++ b/mail/ximian-connector/pkg-plist @@ -0,0 +1,23 @@ +bin/ximian-connector-setup +etc/gconf/gconf.xml.defaults/apps/evolution/exchange/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/evolution/exchange/%gconf.xml +etc/gconf/schemas/apps_evolution_exchange.schemas +lib/evolution/%%EVO_VERSION%%/camel-providers/libcamelexchange.so +lib/evolution/%%EVO_VERSION%%/camel-providers/libcamelexchange.urls +libdata/bonobo/servers/GNOME_Evolution_Exchange_Storage.server +libexec/evolution/%%EVO_VERSION%%/evolution-exchange-storage +share/gnome/evolution/%%EVO_VERSION%%/images/connector.png +share/gnome/evolution/%%EVO_VERSION%%/images/exchange-delegates-48.png +share/gnome/evolution/%%EVO_VERSION%%/images/exchange-oof-48.png +share/gnome/ximian-connector/%%VERSION%%/glade/exchange-autoconfig-wizard.glade +share/gnome/ximian-connector/%%VERSION%%/glade/exchange-delegates.glade +share/gnome/ximian-connector/%%VERSION%%/glade/exchange-oof.glade +share/gnome/ximian-connector/%%VERSION%%/glade/exchange-permissions-dialog.glade +share/gnome/ximian-connector/%%VERSION%%/images/connector.png +share/locale/de/LC_MESSAGES/ximian-connector-%%VERSION%%.mo +@dirrm share/gnome/ximian-connector/%%VERSION%%/images +@dirrm share/gnome/ximian-connector/%%VERSION%%/glade +@dirrm share/gnome/ximian-connector/%%VERSION%% +@dirrm share/gnome/ximian-connector +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/evolution/exchange +@dirrm etc/gconf/gconf.xml.defaults/apps/evolution/exchange -- cgit v1.2.3