summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-26 07:36:17 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-26 07:57:55 +0200
commit22d19b2fdbee44006878eb6c9855fc0e76b27ad1 (patch)
treeb317b651c35ee465862cc9095b9890da72375bdd /network
parentca4b1cc853e58dff29bab574ff881f2345b84edc (diff)
downloadslackbuilds-22d19b2fdbee44006878eb6c9855fc0e76b27ad1.tar.gz
network/zarafa: Updated for version 7.1.0.
Added a patch for gcc-4.7.x, added the new dependency kyotocabinet Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/zarafa/gcc47.patch11
-rw-r--r--network/zarafa/zarafa.SlackBuild12
-rw-r--r--network/zarafa/zarafa.info8
3 files changed, 23 insertions, 8 deletions
diff --git a/network/zarafa/gcc47.patch b/network/zarafa/gcc47.patch
new file mode 100644
index 0000000000..0fff552d50
--- /dev/null
+++ b/network/zarafa/gcc47.patch
@@ -0,0 +1,11 @@
+diff -Naur zarafa-7.1.0.orig/inetmapi/outputStreamMAPIAdapter.h zarafa-7.1.0/inetmapi/outputStreamMAPIAdapter.h
+--- zarafa-7.1.0.orig/inetmapi/outputStreamMAPIAdapter.h 2012-08-08 17:14:57.000000000 +0200
++++ zarafa-7.1.0/inetmapi/outputStreamMAPIAdapter.h 2012-09-13 19:37:26.072059371 +0200
+@@ -51,6 +51,7 @@
+ #define OUTPUT_STREAM_MAPI_ADAPTER_H
+
+ #include "mapidefs.h"
++#include <unistd.h>
+ #include <vmime/utility/stream.hpp>
+
+ class outputStreamMAPIAdapter : public vmime::utility::outputStream {
diff --git a/network/zarafa/zarafa.SlackBuild b/network/zarafa/zarafa.SlackBuild
index 14db1e6105..7a9b6f8949 100644
--- a/network/zarafa/zarafa.SlackBuild
+++ b/network/zarafa/zarafa.SlackBuild
@@ -26,7 +26,7 @@
# revision date 2011/09/16
PRGNAM=zarafa
-VERSION=${VERSION:-7.0.1}
+VERSION=${VERSION:-7.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,8 +69,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-VMIME_LIBS="-lvmime-zarafa" \
-VMIME_CFLAGS="-I/usr/include/vmime-zarafa"
+# With gcc-4.7.x we need a little patch
+patch -p1 < $CWD/gcc47.patch
+
+VMIME_LIBS="-lvmime_zarafa" \
+VMIME_CFLAGS="-I/usr/include/vmime_zarafa" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -79,9 +82,10 @@ VMIME_CFLAGS="-I/usr/include/vmime-zarafa"
--docdir=/usr/doc/$PRGNAM-$VERSION \
--sysconfdir=/etc \
--disable-static \
+ --enable-icu \
--with-userscript-prefix=/etc/zarafa/userscripts \
--with-quotatemplate-prefix=/etc/zarafa/quotamails \
- --with-vmime-prefix=/usr/include/vmime-zarafa \
+ --with-vmime-prefix=/usr/include/vmime_zarafa \
--with-clucene-lib-prefix=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
diff --git a/network/zarafa/zarafa.info b/network/zarafa/zarafa.info
index 3c75ed362b..14b9183592 100644
--- a/network/zarafa/zarafa.info
+++ b/network/zarafa/zarafa.info
@@ -1,10 +1,10 @@
PRGNAM="zarafa"
-VERSION="7.0.1"
+VERSION="7.1.0"
HOMEPAGE="http://www.zarafa.com/"
-DOWNLOAD="http://download.zarafa.com/community/final/7.0/7.0.1-28479/sourcecode/zcp-7.0.1.tar.gz"
-MD5SUM="2c268b1e5cba538c7d84ec9a742c3347"
+DOWNLOAD="http://download.zarafa.com/community/final/7.1/7.1.0-36420/sourcecode/zcp-7.1.0.tar.gz"
+MD5SUM="7620836954035bbd81959d2a5da1153a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libvmime-zarafa zarafa-webaccess-ajax"
+REQUIRES="kyotocabinet libvmime-zarafa"
MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com"