diff --git a/n/davical/GETTING_STARTED.txt b/n/davical/GETTING_STARTED.txt deleted file mode 100644 index dabb0ec2..00000000 --- a/n/davical/GETTING_STARTED.txt +++ /dev/null @@ -1,56 +0,0 @@ -(For detailled configuration and administration instructions, see the -DAViCal Wiki on .) - - -CREATE THE DATABASE BACKEND - -After installing the package, you must run the dba/create-database.sh -script to automatically create the PostgreSQL database needed by -DAViCal. PostgreSQL must have been compiled with Perl support (that -should be the case if you used the ap/postgresql SlackBuild), and the -Perl packages YAML and DBD::Pg must be installed. - -Assuming the master user of PostgreSQL is `postgres' and that it can -connect to the local cluster without a password, run the script as -follows: - - $ PGUSER=postgres /usr/share/davical/dba/create-database.sh - -This will create a database named `davical' and two users `davical_dba' -and `davical_app'. Note the auto-generated password for the `admin' -user, you'll need it to log yourself on the DAViCal web interface. - - -HTTPD/PHP CONFIGURATION - -It is not necessary anymore to use a VirtualHost dedicated to DAViCal -(although you can still do so). The easiest setup is to add the -following lines in /etc/httpd/httpd.conf: - - Alias /cal/ "/usr/share/davical/htdocs/" - - Order allow,deny - Allow from all - php_value include_path "/usr/share/awl/inc" - - -(or include the /etc/httpd/extra/httpd-davical.conf file provided with -this package). - -You must then enable the PostgreSQL extension for PHP, if you have not -already done so. See the README_PHP.txt file in the ap/postgresql -SlackBuild directory. - -Restart your httpd server and you may now connect to -http://yourserver/cal/, and DAViCAL should warn you that it needs to be -configured. Create a configuration file in /etc/davical, named after the -FQDN of your host (yourserver-conf.php). - -That's it. DAViCal is ready. Use the web interface to create an user, -and configure your client to access an user's calendar at the following -address: - - http://yourserver/cal/caldav.php/username/home/ - -(note that some clients, such as Evolution, use `caldav://' instead of -`http://'). diff --git a/n/davical/davical-0.9.7.6.tar.gz.sha1 b/n/davical/davical-0.9.7.6.tar.gz.sha1 deleted file mode 100644 index 696fafa6..00000000 --- a/n/davical/davical-0.9.7.6.tar.gz.sha1 +++ /dev/null @@ -1 +0,0 @@ -39f61b098ead3aabcaecf01971793ec421f458d2 davical-0.9.7.6.tar.gz diff --git a/n/davical/davical.SlackBuild b/n/davical/davical.SlackBuild deleted file mode 100755 index 73340bb0..00000000 --- a/n/davical/davical.SlackBuild +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/bash -# Build script for Slackware -# Copyright (C) 2010 Damien Goutte-Gattat -# -# Redistribution and use of this script, with or without modifications, -# 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. -# -# Contact: Damien Goutte-Gattat -# -# Latest davical sourcecode is available at: . -# -# Depends: ap/postgresql, l/php-awl -# -# Note: DAViCal needs the pgsql.so extension for PHP, which is not -# provided in Slackware's PHP package. You need to compile it -# from the PHP sources after installing PostgreSQL, see the -# README_PHP.txt file in ap/postgresql. - -# Source package infos -NAMESRC=${NAMESRC:-davical} -VERSION=${VERSION:-0.9.7.6} # Latest 0.9.8 seems broken somehow -ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} -WGET=${WGET:-http://debian.mcmillan.net.nz/packages/davical/$ARCHIVE} - -# Build infos -NAMEPKG=${NAMEPKG:-davical} -BUILD=${BUILD:-1GGD} -ARCH=${ARCH:-noarch} -EXT=${EXT:-txz} - -# Directories -TMP=${TMP:-/tmp} -OUT=${OUT:-$TMP/build} -PKG=${PKG:-$OUT/$NAMEPKG} -CWD=$(pwd) - -set -e # Quit if a command returns non-zero - -# Sanity checks -if [ $UID -eq 0 ]; then - echo "You should NOT run this script as ROOT!" - exit 1 -fi -if [ ! -d $TMP ]; then - echo "$TMP does not exist or is not a directory!" - exit 1 -fi - -# Get and verify the source archive -if [ ! -r $ARCHIVE ]; then - wget -c -O $ARCHIVE.part "$WGET" - mv $ARCHIVE.part $ARCHIVE -fi -sha1sum -c $ARCHIVE.sha1 -NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) - -# Install -cd $TMP -echo "Building $ARCHIVE..." -tar xf $CWD/$ARCHIVE -cd $NAME -mkdir -p $PKG/usr/share/davical $PKG/etc/davical $PKG/usr/doc/$NAME/html -mv dba htdocs inc po $PKG/usr/share/davical/ -mv docs/api $PKG/usr/doc/$NAME/html/ -mv COPYING CREDITS ChangeLog README TODO config \ - docs/davical_en_user_guide.odt $PKG/usr/doc/$NAME -cp $CWD/GETTING_STARTED.txt $PKG/usr/doc/$NAME/ -cp $PKG/usr/doc/$NAME/config/example-config.php \ - $PKG/etc/davical/example.com-conf.php - -# Install a configuration file for httpd -install -D -m 644 $CWD/httpd-davical.conf \ - $PKG/etc/httpd/extra/httpd-davical.conf.new - -# Copy slack-desc and doinst.sh files -install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc - -# Package the tree -cd $PKG -mkdir -p $OUT -PACKAGING=" -chown root:root . -R -/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT -rm -rf $PKG -rm -rf $TMP/$NAME -" -if type -p fakeroot ; then - echo "$PACKAGING" | fakeroot -else - su -c "$PACKAGING" -fi diff --git a/n/davical/doinst.sh b/n/davical/doinst.sh deleted file mode 100644 index 619d9740..00000000 --- a/n/davical/doinst.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -config() -{ - NEW="$1" - OLD="`dirname $NEW`/`basename $NEW .new`" - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then - rm $NEW - fi -} -config /etc/httpd/extra/httpd-davical.conf.new diff --git a/n/davical/httpd-davical.conf b/n/davical/httpd-davical.conf deleted file mode 100644 index b2b99733..00000000 --- a/n/davical/httpd-davical.conf +++ /dev/null @@ -1,12 +0,0 @@ -# -# DAViCal calendar sharing -# - -# Needs PHP with the PostgreSQL extension pgsql.so - -Alias /cal/ "/usr/share/davical/htdocs/" - - Order allow,deny - Allow from all - php_value include_path "/usr/share/awl/inc" - diff --git a/n/davical/slack-desc b/n/davical/slack-desc deleted file mode 100644 index 31dafe75..00000000 --- a/n/davical/slack-desc +++ /dev/null @@ -1,12 +0,0 @@ - |-----handy-ruler------------------------------------------------------| -davical: davical (CalDAV server) -davical: -davical: DAViCal is a server for calendar sharing. It is an implementation of -davical: the CalDAV protocol which is designed for storing calendaring -davical: resources (in iCalendar format) on a remote shared server. -davical: -davical: -davical: -davical: -davical: -davical: