mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
network/zarafa: Removed (missing dependency)
libvmime-zarafa was removed due to build failure
This commit is contained in:
parent
0c588813f0
commit
0bd998d319
8 changed files with 0 additions and 239 deletions
|
@ -1,6 +0,0 @@
|
|||
Zarafa offers a replacement for MS Exchange Server, providing
|
||||
Outlook "Look & Feel" webaccess, integration with Linux mailservers,
|
||||
mobile phone support, Outlook sharing (100% MAPI) etc.
|
||||
|
||||
This requires libvmime-zarafa, and zarafa-webaccess-ajax is needed
|
||||
at runtime.
|
|
@ -1,66 +0,0 @@
|
|||
README.Slackware
|
||||
================
|
||||
|
||||
This document gives some basic instructions on setting up Zarafa on Slackware
|
||||
|
||||
1) Prepare your MySQL server
|
||||
----------------------------
|
||||
|
||||
On your MySQL server, enter with an account with full privileges:
|
||||
|
||||
# mysql -u <your_account> -p<your_password>
|
||||
|
||||
In MySQL, create the database and user:
|
||||
|
||||
mysql> create database zarafa;
|
||||
mysql> grant all priviliges on zarafa.* to zarafa@hn_gtw01.hn identified by 'zarafa';
|
||||
mysql> flush privileges;
|
||||
mysql> quit
|
||||
|
||||
You can change the name of the user and password as you please.
|
||||
|
||||
2) Edit Zarafa configuration files
|
||||
----------------------------------
|
||||
|
||||
The sample configuration files are installed in /etc/zarafa/
|
||||
Thera are files for the server, spooler, gateway, etc.
|
||||
|
||||
Change at least the file server.cfg to the correct values for your MySQL
|
||||
server:
|
||||
|
||||
mysql_host (can be localhost is mysql is on the same box)
|
||||
mysql_user (default is root, not a good idea)
|
||||
mysql_password
|
||||
|
||||
3) Starting and stopping services
|
||||
---------------------------------
|
||||
|
||||
You can start and stop the zarafa services with the command:
|
||||
|
||||
# zarafa-<service> start | stop
|
||||
|
||||
For instance:
|
||||
|
||||
# zarafa-server start
|
||||
|
||||
Select the services you need to start and put the commands in
|
||||
/etc/rc.d/rc.local & /etc/rc.d/rc.local_shutdown
|
||||
|
||||
4) Creating "public store"
|
||||
--------------------------
|
||||
|
||||
To create the public store of shared folders, use:
|
||||
|
||||
# zarafa-admin -s
|
||||
|
||||
5) Where to go from here
|
||||
------------------------
|
||||
|
||||
With these steps, you have concluded the basic setup of Zarafa. For web
|
||||
access, install the zarafa-webaccess-ajax package.
|
||||
|
||||
More documentation is available in the man-pages and from the Zarafa site:
|
||||
http://www.zarafa.com/content/documentation
|
||||
On this site, several manuals (including some translations) and whitepapers
|
||||
can be downloaded.
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
config() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
for cnf in etc/zarafa/*.cfg.new; do
|
||||
config $cnf
|
||||
done
|
|
@ -1,14 +0,0 @@
|
|||
--- zarafa-6.30.5/ECtools/ECTestTools/ICalTests/ical2mapi.cpp 2009-11-12 20:55:01.000000000 -0200
|
||||
+++ zarafa-6.30.5_patched/ECtools/ECTestTools/ICalTests/ical2mapi.cpp 2009-12-12 12:28:15.000000000 -0200
|
||||
@@ -178,9 +178,9 @@
|
||||
if (readfile(argv[4], &icalstring))
|
||||
goto exit;
|
||||
|
||||
- CreateICalToMapi(lpInbox, lpAdrBook, &lpICalToMapi);
|
||||
+ CreateICalToMapi(lpInbox, lpAdrBook, 0, &lpICalToMapi);
|
||||
|
||||
- hr = lpICalToMapi->ParseICal(icalstring, "UTF-8", "UTC", 0); // assume ical file is in utf-8
|
||||
+ hr = lpICalToMapi->ParseICal(icalstring, "UTF-8", "UTC", NULL, 0); // assume ical file is in utf-8
|
||||
if (FAILED(hr)) {
|
||||
cerr << "unable to parse" << endl;
|
||||
goto exit;
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
zarafa: zarafa (MS Exchange replacement)
|
||||
zarafa:
|
||||
zarafa: Zarafa offers a replacement for MS Exchange Server, providing
|
||||
zarafa: Outlook "Look & Feel" webaccess, integration with Linux mailservers,
|
||||
zarafa: mobile phone support, Outlook sharing (100% MAPI) etc.
|
||||
zarafa:
|
||||
zarafa: http://www.zarafa.com/
|
||||
zarafa:
|
||||
zarafa:
|
||||
zarafa:
|
||||
zarafa:
|
|
@ -1,11 +0,0 @@
|
|||
--- zarafa-6.30.5/configure 2009-11-12 20:28:29.000000000 -0200
|
||||
+++ zarafa-6.30.5_patched/configure 2009-12-12 18:27:55.000000000 -0200
|
||||
@@ -22494,7 +22494,7 @@
|
||||
_ACEOF
|
||||
|
||||
VMIME_CFLAGS=-I$VMIME_PREFIX
|
||||
- VMIME_LIBS="-lvmime"
|
||||
+ VMIME_LIBS="-lvmime-zarafa"
|
||||
|
||||
else
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for zarafa:
|
||||
# an MS Exchange substitute
|
||||
|
||||
# Written by Niels Horn - niels.horn@gmail.com
|
||||
# revision date 2009/12/12
|
||||
|
||||
PRGNAM=zarafa
|
||||
VERSION=6.30.5
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $TMP/$PRGNAM-$VERSION $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
# Apply patches to avoid compiling error
|
||||
# (note: this is my personal solution / hack, I did not find any answer on
|
||||
# the official zarafa forum, although other users reported the same issue.)
|
||||
patch -p1 < $CWD/ical2mapi.patch
|
||||
|
||||
# Apply patch to use "vmime-zarafa" instead of "vmime"
|
||||
patch -p1 < $CWD/vmime-zarafa.patch
|
||||
|
||||
SLKCFLAGS="$SLKCFLAGS -I/usr/include/vmime-zarafa"
|
||||
|
||||
CFLAGS=$SLKCFLAGS \
|
||||
CXXFLAGS=$SLKCFLAGS \
|
||||
CPPFLAGS=$SLKCFLAGS \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--disable-static \
|
||||
--with-userscript-prefix=/etc/zarafa/userscripts \
|
||||
--with-quotatemplate-prefix=/etc/zarafa/quotamails \
|
||||
--with-vmime-prefix=/usr/include/vmime-zarafa \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
# Sample configuration files
|
||||
mkdir -p $PKG/etc/$PRGNAM
|
||||
( cd $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
for cnf in *.cfg; do
|
||||
mv $cnf $PKG/etc/$PRGNAM/$cnf.new
|
||||
done
|
||||
)
|
||||
|
||||
# Directory for log file
|
||||
mkdir -p $PKG/var/log/$PRGNAM
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/README.Slackware > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="zarafa"
|
||||
VERSION="6.30.5"
|
||||
HOMEPAGE="http://www.zarafa.com/"
|
||||
DOWNLOAD="http://download.zarafa.com/zarafa/drupal/ondemand.php?version=6.30.5&src=zarafa-6.30.5"
|
||||
MD5SUM="43465b74868f175e73716c58732b2b8f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Niels Horn"
|
||||
EMAIL="niels.horn@gmail.com"
|
||||
APPROVED="rworkman"
|
Loading…
Reference in a new issue