--- /dev/null
+quickappoint for Debian
+-----------------------
+
+* Don't forget to install postgresql.
+* Change at least the projecturl in /etc/quickappoint/options.php
+* Go to http://$projecturl to log in
+* There's an admin user with username "quick" and password "appoint".
+ Use it - and change the password immediately!
+
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at>, Fri, 18 Nov 2005 17:38:30 +0100
--- /dev/null
+quickappoint (0.1+svn20051119-4) unstable; urgency=low
+
+ * Added homepage to debian/control.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at> Sun, 25 Dec 2005 14:31:15 +0100
+
+quickappoint (0.1+svn20051119-3) unstable; urgency=low
+
+ * Changed "projecturl" in /etc/quickappoint/options.conf
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at> Sun, 20 Nov 2005 23:27:29 +0100
+
+quickappoint (0.1+svn20051119-2) unstable; urgency=low
+
+ * Changed Architecture from "any" to "all".
+ * Added dpatch to Build-Depends.
+ * Changed Build-Depends to Build-Depends-Indep.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at> Sun, 20 Nov 2005 15:35:36 +0100
+
+quickappoint (0.1+svn20051119-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- gregor herrmann <gregor+debian@comodo.priv.at> Sat, 19 Nov 2005 13:16:59 +0100
+
--- /dev/null
+#!/bin/sh
+
+set -e
+#set -x
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/config.pgsql
+
+dbc_go quickappoint $@
--- /dev/null
+Source: quickappoint
+Section: web
+Priority: optional
+Maintainer: gregor herrmann <gregor+debian@comodo.priv.at>
+Build-Depends-Indep: debhelper (>= 4.0.0), dpatch
+Standards-Version: 3.6.2
+
+Package: quickappoint
+Architecture: all
+Depends: php4, php4-pgsql, postgresql, dbconfig-common, debconf (>= 0.5) | debconf-2.0
+Description: tool for managing common appointments
+ Quickappoint is a web application written in PHP4 and using
+ postgresql as a database backend.
+ .
+ It's objective is to assist a group of people to determine
+ dates for common appointments.
+ .
+ Homepage: http://www.toastfreeware.priv.at/
+
--- /dev/null
+This package was debianized by gregor herrmann <gregor+debian@comodo.priv.at> on
+Fri, 18 Nov 2005 17:38:30 +0100.
+
+It was written by toastfreeware - http://www.toastfreeware.priv.at/
+
+Copyright:
+Toastfreeware (c) 2005
+
+License:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- /dev/null
+var/www/quickappoint
+etc/quickappoint
+usr/share/doc/quickappoint
+usr/share/dbconfig-common/data/quickappoint/install-dbadmin
+usr/share/lintian/overrides
--- /dev/null
+doc/dump.sql
+doc/quickappoint.xls
+doc/quickappoint.txt
--- /dev/null
+*php var/www/quickappoint
+cgi-bin var/www/quickappoint
+css var/www/quickappoint
+lib var/www/quickappoint
+locale var/www/quickappoint
+etc/options.php etc/quickappoint
--- /dev/null
+quickappoint binary: no-debconf-templates
--- /dev/null
+pgsql
+options
--- /dev/null
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## options.dpatch by <gregor+debian@comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad quickappoint-0.1+svn20051119~/etc/options.php quickappoint-0.1+svn20051119/etc/options.php
+--- quickappoint-0.1+svn20051119~/etc/options.php 2005-11-20 23:25:42.000000000 +0100
++++ quickappoint-0.1+svn20051119/etc/options.php 2005-11-20 23:27:20.000000000 +0100
+@@ -1,32 +1,30 @@
+ <?php
+
++/*
++CHANGE SETTINGS HERE:
++You may want to change at least the projecturl, the other
++settings have reasonable defaults.
++*/
++
+ // Server settings
+ $project_options = array(
+- 'projecturl' => 'http://www.toastfreeware.priv.at/quickappoint/',
++ 'projecturl' => 'http://localhost/quickappoint/',
+ 'locale' => '' // use empty string for system default or something like 'de_AT@euro'
+ );
+
+
+ // Database settings
+ $db_options = array(
+- 'host' => 'colleen.colgarra.priv.at',
++ 'host' => 'localhost',
+ 'db' => 'quickappoint',
+ 'user' => 'quickappoint',
+ 'pass' => 'quickappoint'
+ );
+
++/*
++DON'T CHANGE ANYTHING HERE.
++*/
+
+-// -------------
+-// Local options for testing and developing on local machines below:
+-
+-$local = !ereg('toastfreeware', $_SERVER['HTTP_HOST']);
+-
+-if ($local) {
+- $project_options['projecturl'] = 'http://localhost/~philipp/quickappoint/';
+-}
+-
+-
+-// -------------
+ // Further options (derived)
+ // Pages where the user doesn't require a login
+ $unrestricted_pages = array(
+diff -urNad quickappoint-0.1+svn20051119~/lib/prepend.php quickappoint-0.1+svn20051119/lib/prepend.php
+--- quickappoint-0.1+svn20051119~/lib/prepend.php 2005-11-20 23:25:42.000000000 +0100
++++ quickappoint-0.1+svn20051119/lib/prepend.php 2005-11-20 23:25:43.000000000 +0100
+@@ -3,7 +3,7 @@
+
+ error_reporting(E_ALL);
+ session_start();
+-require_once(dirname(__FILE__) . '/../etc/options.php');
++require_once('/etc/quickappoint/options.php');
+
+
+ // check server settings: magic quotes gpc
--- /dev/null
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## pgsql.dpatch by <gregor+debian@comodo.priv.at>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad quickappoint-0.1+svn20051119~/doc/dump.sql quickappoint-0.1+svn20051119/doc/dump.sql
+--- quickappoint-0.1+svn20051119~/doc/dump.sql 2005-11-20 00:19:30.000000000 +0100
++++ quickappoint-0.1+svn20051119/doc/dump.sql 2005-11-20 00:23:03.000000000 +0100
+@@ -8,24 +8,6 @@
+ SET search_path = public, pg_catalog;
+
+ --
+--- TOC entry 20 (OID 52099)
+--- Name: plpgsql_call_handler(); Type: FUNC PROCEDURAL LANGUAGE; Schema: public; Owner: philipp
+---
+-
+-CREATE FUNCTION plpgsql_call_handler() RETURNS language_handler
+- AS '$libdir/plpgsql', 'plpgsql_call_handler'
+- LANGUAGE c;
+-
+-
+---
+--- TOC entry 18 (OID 52100)
+--- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: public; Owner:
+---
+-
+-CREATE TRUSTED PROCEDURAL LANGUAGE plpgsql HANDLER plpgsql_call_handler;
+-
+-
+---
+ -- TOC entry 5 (OID 21697)
+ -- Name: person; Type: TABLE; Schema: public; Owner: gregoa
+ --
+@@ -262,3 +244,13 @@
+ COMMENT ON COLUMN permission.manageperson IS 'if true, the person may add or remove persons for this appointment.';
+
+
++-- additional SQL commands
++ALTER USER quickappoint PASSWORD 'quickappoint';
++GRANT ALL ON DATABASE quickappoint TO quickappoint;
++GRANT USAGE ON SCHEMA public TO quickappoint;
++GRANT ALL ON TABLE appointment TO quickappoint;
++GRANT ALL ON TABLE person TO quickappoint;
++GRANT ALL ON TABLE permission TO quickappoint;
++GRANT ALL ON TABLE proposal TO quickappoint;
++GRANT ALL ON TABLE response TO quickappoint;
++INSERT INTO person VALUES (1, 'quick', '7d8e1de4afe448799eca785ed3c42095', 'Local Quickappoint Admin', NULL, true, true, '');
--- /dev/null
+#!/bin/sh
+
+set -e
+#set -x
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/postinst.pgsql
+dbc_go quickappoint $@
+
+#DEBHELPER#
--- /dev/null
+#!/bin/sh
+
+set -e
+#set -x
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/postrm.pgsql
+dbc_go quickappoint $@
+
+#DEBHELPER#
--- /dev/null
+#!/bin/sh
+
+set -e
+#set -x
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/prerm.pgsql
+dbc_go quickappoint $@
+
+#DEBHELPER#
--- /dev/null
+.TH QUICKAPPOINT 1 "November 18, 2005"
+.SH NAME
+quickappoint \- webapplication for finding common appointments
+.SH SYNOPSIS
+.B quickappoint - open in your browser
+.SH DESCRIPTION
+This manual page documents briefly the
+.B quickappoint
+application.
+.PP
+\fBquickappoint\fP is an application for managing common appointments.
+.SH BACKGROUND
+It uses php4 and postgresql.
+.SH SEE ALSO
+/usr/share/doc/quickappoint
+.SH AUTHOR
+quickappoint was written by Toastfreeware <toast@toastfreeware.priv.at>
+.PP
+This manual page was written by gregor herrmann <gregor.herrmann@comodo.priv.at>,
+for the Debian project (but may be used by others).
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+configure: configure-stamp
+configure-stamp: patch
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+
+ dh_clean
+
+patch: patch-stamp
+patch-stamp:
+ dpatch apply-all
+# dpatch call-all -a=pkg-info >patch-stamp
+ touch patch-stamp
+
+
+unpatch:
+ dpatch deapply-all
+ rm -rf patch-stamp debian/patched
+
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/quickappoint.
+
+ # Lintian overrides
+ install -m 644 $(CURDIR)/debian/lintian.overrides \
+ $(CURDIR)/debian/quickappoint/usr/share/lintian/overrides/quickappoint
+ # Database
+ install -m 644 $(CURDIR)/doc/dump.sql \
+ $(CURDIR)/debian/quickappoint/usr/share/dbconfig-common/data/quickappoint/install-dbadmin/pgsql
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+# dh_installexamples
+ dh_install
+# dh_installmenu
+ dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+# dh_link
+# dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure