summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-10-02 11:06:36 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-10-02 11:06:36 -0500
commit566ca380542ad825beeb46ae666777cff54f12c8 (patch)
tree824699e1d4925aa35926198cccfdb5213ef5e669
parent475c91bd1a420666989141a583287df441dd1056 (diff)
downloadslackbuilds-566ca380542ad825beeb46ae666777cff54f12c8.tar.gz
network/zarafa-webaccess-ajax: Updated for version 7.0.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/zarafa-webaccess-ajax/README27
-rw-r--r--network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.SlackBuild28
-rw-r--r--network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.info8
3 files changed, 44 insertions, 19 deletions
diff --git a/network/zarafa-webaccess-ajax/README b/network/zarafa-webaccess-ajax/README
index e47b85b9b8..a99062b680 100644
--- a/network/zarafa-webaccess-ajax/README
+++ b/network/zarafa-webaccess-ajax/README
@@ -1,23 +1,28 @@
-The webaccess module of Zarafa is a Ajax / PHP based solution to
+The webaccess module of Zarafa is an Ajax / PHP based solution to
access your e-mail, agenda, contacts, etcetera via a browser.
This SlackBuild uses the following defaults:
-* DOCROOT=/var/www/htdocs
-* DOCDIR=webaccess
-* PHPUSER=root
-* PHPGROUP=apache
-With the defaults, Zarafa will be accessible from http://<yourserver>/webaccess/
+ * DOCROOT=/var/www/htdocs
+ * DOCDIR=webaccess
+ * PHPUSER=root
+ * PHPGROUP=apache
+
+With the defaults, Zarafa will be accessible from:
+
+ http://<yourserver>/webaccess/
Change these at build time if preferred:
-# DOCROOT=/your/preferred/directory \
- PHPUSER=youruser PHPGROUP=yourgroup \
- ./zarafa-webaccess-ajax.SlackBuild
+
+ # DOCROOT=/your/preferred/directory \
+ PHPUSER=youruser PHPGROUP=yourgroup \
+ ./zarafa-webaccess-ajax.SlackBuild
This requires zarafa.
This needs the following settings in your /etc/httpd/php.ini:
+
short_open_tag = On
-Check /etc/zarafa/config.php after installation if you need any
-non-standard configuration.
+Check /etc/zarafa/config.php after installation if you need any non-
+standard configuration.
diff --git a/network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.SlackBuild b/network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.SlackBuild
index 48fa5898da..789881e5f6 100644
--- a/network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.SlackBuild
+++ b/network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.SlackBuild
@@ -3,11 +3,30 @@
# Slackware build script for zarafa-webaccess-ajax:
# Ajax-based solution for webaccess to zarafa
-# Written by Niels Horn <niels.horn@gmail.com>
-# revision date 2010/11/30
+# 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-webaccess-ajax
-VERSION=${VERSION:-6.40.3}
+VERSION=${VERSION:-7.0.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -24,6 +43,7 @@ for i in $(echo $DOCROOT | tr "/" " "); do
done
SRCNAM=zarafa
+TARNAM=zcp
UNTARDIR=php-webclient-ajax
CONFDIR=etc/zarafa
@@ -37,7 +57,7 @@ set -e
rm -rf $TMP/$SRCNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar --wildcards -xvf $CWD/$SRCNAM-$VERSION.tar.gz $SRCNAM-$VERSION/$UNTARDIR/*
+tar --wildcards -xvf $CWD/$TARNAM-$VERSION.tar.gz $SRCNAM-$VERSION/$UNTARDIR/*
cd $SRCNAM-$VERSION/$UNTARDIR
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
diff --git a/network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.info b/network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.info
index 59dd0d597b..d7d15120b4 100644
--- a/network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.info
+++ b/network/zarafa-webaccess-ajax/zarafa-webaccess-ajax.info
@@ -1,10 +1,10 @@
PRGNAM="zarafa-webaccess-ajax"
-VERSION="6.40.3"
+VERSION="7.0.1"
HOMEPAGE="http://www.zarafa.com/"
-DOWNLOAD="http://www.nielshorn.net/_download/slackware/source/zarafa-6.40.3.tar.gz"
-MD5SUM="a2177498a1cc054b8beaba9a3887ec89"
+DOWNLOAD="http://download.zarafa.com/community/final/7.0/7.0.1-28479/sourcecode/zcp-7.0.1.tar.gz"
+MD5SUM="2c268b1e5cba538c7d84ec9a742c3347"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com"
-APPROVED="Erik Hanson"
+APPROVED="rworkman"