diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-11-16 19:32:32 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-16 19:32:32 -0600 |
commit | 5ee98b94c72ef53f25d87c3d4caa387626b70ef9 (patch) | |
tree | f5b3ac2bf959ed817ad6f9405351834a94577407 | |
parent | e0bf49bf394e2f6e1b58ea4aad248b77ab73bba8 (diff) | |
download | slackbuilds-5ee98b94c72ef53f25d87c3d4caa387626b70ef9.tar.gz |
network/zarafa: Removed (build failure)
Niels says he'll look into the zarafa stuff later.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | network/zarafa/README | 7 | ||||
-rw-r--r-- | network/zarafa/README.Slackware | 81 | ||||
-rw-r--r-- | network/zarafa/doinst.sh | 32 | ||||
-rw-r--r-- | network/zarafa/gcc47.patch | 11 | ||||
-rw-r--r-- | network/zarafa/slack-desc | 19 | ||||
-rw-r--r-- | network/zarafa/zarafa.SlackBuild | 142 | ||||
-rw-r--r-- | network/zarafa/zarafa.info | 10 |
7 files changed, 0 insertions, 302 deletions
diff --git a/network/zarafa/README b/network/zarafa/README deleted file mode 100644 index 80323e18ed..0000000000 --- a/network/zarafa/README +++ /dev/null @@ -1,7 +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. - -If you want to upgrade a zarafa 6.x.y database, you will need the -zarafa7-upgrade tool, which needs the optional dependency -MySQL-python. diff --git a/network/zarafa/README.Slackware b/network/zarafa/README.Slackware deleted file mode 100644 index 569141b247..0000000000 --- a/network/zarafa/README.Slackware +++ /dev/null @@ -1,81 +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 privileges on zarafa.* to zarafa@<your_server> 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/ -There 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 if mysql is on the same box) - mysql_user (default is root, not a good idea) - mysql_password - -3) Starting and stopping services ---------------------------------- - -For all services a /etc/rc.d/rc.zarafa-* script is installed. -To start a particular service, make the script executable and include a few -lines in your /etc/rc.d/rc.local and /etc/rc.d/rc.local_shutdown script. - -As an example for the zarafa-server: - - # chmod +x /etc/rc.d/rc.zarafa-server - -Include the following lines in /etc/rc.d/rc.local, they will check all -scripts related to zarafa and start them if the executable bit is set: - - for z in server spooler gateway dagent ical monitor indexer ; do - if [ -x /etc/rc.d/rc.zarafa-$z ]; then - /etc/rc.d/rc.zarafa-$z start - fi - done - -To stop them at shutting down your server, include these lines in -/etc/rc.d/rc.local_shutdown: - - for z in indexer monitor ical dagent gateway spooler server ; do - if [ -x /etc/rc.d/rc.zarafa-$z ]; then - /etc/rc.d/rc.zarafa-$z stop - fi - done - -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. - diff --git a/network/zarafa/doinst.sh b/network/zarafa/doinst.sh deleted file mode 100644 index ab8d7de91d..0000000000 --- a/network/zarafa/doinst.sh +++ /dev/null @@ -1,32 +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... -} - -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -for cnf in etc/zarafa/*.cfg.new; do - config $cnf -done - -for rc in etc/rc.d/rc.zarafa-*.new; do - preserve_perms $rc -done - diff --git a/network/zarafa/gcc47.patch b/network/zarafa/gcc47.patch deleted file mode 100644 index 0fff552d50..0000000000 --- a/network/zarafa/gcc47.patch +++ /dev/null @@ -1,11 +0,0 @@ -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/slack-desc b/network/zarafa/slack-desc deleted file mode 100644 index 2a3f5c465f..0000000000 --- a/network/zarafa/slack-desc +++ /dev/null @@ -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: diff --git a/network/zarafa/zarafa.SlackBuild b/network/zarafa/zarafa.SlackBuild deleted file mode 100644 index 7a9b6f8949..0000000000 --- a/network/zarafa/zarafa.SlackBuild +++ /dev/null @@ -1,142 +0,0 @@ -#!/bin/sh - -# Slackware build script for zarafa: -# an MS Exchange substitute - -# Copyright 2009-2011 Niels Horn, Rio de Janeiro, RJ, Brazil -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# revision date 2011/09/16 - -PRGNAM=zarafa -VERSION=${VERSION:-7.1.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -SRCNAM=zcp - -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" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $TMP/$PRGNAM-$VERSION $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -# 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} \ - --localstatedir=/var \ - --mandir=/usr/man \ - --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-clucene-lib-prefix=/usr/lib${LIBDIRSUFFIX} \ - --build=$ARCH-slackware-linux - -# Use our CFLAGS -for mf in $(find . -name Makefile); do - sed -i "/^C[X]*[X]*FLAGS/s/=/+=/" $mf -done - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ - 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 - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -# Rename cfg files to .new -for cfg in $PKG/etc/$PRGNAM/*.cfg; do - mv $cfg $cfg.new -done - -# The doc of zarafa-gateway ends up in the wrong directory somehow... -mv $PKG/usr/doc/zarafa-gateway/* $PKG/usr/doc/$PRGNAM-$VERSION/ -rmdir $PKG/usr/doc/zarafa-gateway - -# Remove sysconfig files. We don't use them and they only set the collation, -# which is taken care of in the rc.* scripts as well -rm -rf $PKG/etc/sysconfig - -# Move /etc/init.d scripts to /etc/rc.d with the correct naming -mkdir -p $PKG/etc/rc.d -for script in $PKG/etc/init.d/*; do - rc=$(basename $script) - mv $script $PKG/etc/rc.d/rc.$rc.new - chmod -x $PKG/etc/rc.d/rc.$rc.new -done -rm -rf $PKG/etc/init.d - -# 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} diff --git a/network/zarafa/zarafa.info b/network/zarafa/zarafa.info deleted file mode 100644 index 14d0b6aba4..0000000000 --- a/network/zarafa/zarafa.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="zarafa" -VERSION="7.1.0" -HOMEPAGE="http://www.zarafa.com/" -DOWNLOAD="http://download.zarafa.com/community/final/7.1/7.1.0-36420/sourcecode/zcp-7.1.0.tar.gz" -MD5SUM="7c8ecdd77e6e4c8c0644e2e6e8d9e332" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="kyotocabinet libvmime-zarafa" -MAINTAINER="Niels Horn" -EMAIL="niels.horn@gmail.com" |