[pkg-horde] [COMMIT lionel kronolith--sid--2--patch-1] Import kronolith2 2.0.5-1

Lionel Elie Mamane lmamane at costa.debian.org
Sat Dec 24 16:55:03 UTC 2005


A/ debian/.arch-ids
A/ debian
A  debian/control
A  debian/.arch-ids/README.Debian.id
A  debian/.arch-ids/dirs.id
A  debian/dirs
A  {arch}/kronolith/kronolith--sid/kronolith--sid--2/pkg-horde-hackers at lists.alioth.debian.org--2006/patch-log/patch-1
A  debian/.arch-ids/changelog.id
A  debian/.arch-ids/cron.d.id
A  debian/docs
A  debian/rules
A  debian/compat
A  debian/.arch-ids/compat.id
A  debian/.arch-ids/rules.id
A  debian/examples
A  debian/.arch-ids/docs.id
A  debian/.arch-ids/examples.id
A  debian/.arch-ids/control.id
A  debian/.arch-ids/watch.id
A  debian/changelog
A  debian/watch
A  debian/copyright
A  debian/.arch-ids/=id
A  debian/README.Debian
A  debian/.arch-ids/copyright.id
A  debian/cron.d

--- /dev/null
+++ debian/control
@@ -0,0 +1,16 @@
+Source: kronolith2
+Section: web
+Priority: optional
+Maintainer: Jose Carlos Medeiros <debian at psabs.com.br>
+Uploaders: Ola Lundqvist <opal at debian.org>
+Build-Depends-Indep: debhelper (>= 4.0.0)
+Standards-Version: 3.6.2
+
+Package: kronolith2
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, horde3, php4-mcal | php4-mysql | php4-pgsql, php-date, php-http-request
+Recommends: php4-cli | php4-cgi, locales
+Suggests: imp4, nag2
+Description: calendar component for Horde Framework
+ Kronolith is a web-based calendar system written in PHP and utilizing the
+ Horde Application Framework.


--- /dev/null
+++ debian/.arch-ids/README.Debian.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31965.0


--- /dev/null
+++ debian/.arch-ids/dirs.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31971.0


--- /dev/null
+++ debian/dirs
@@ -0,0 +1,2 @@
+usr/share/horde3/kronolith
+etc/horde/kronolith2


--- /dev/null
+++ {arch}/kronolith/kronolith--sid/kronolith--sid--2/pkg-horde-hackers at lists.alioth.debian.org--2006/patch-log/patch-1
@@ -0,0 +1,25 @@
+Revision: kronolith--sid--2--patch-1
+Archive: pkg-horde-hackers at lists.alioth.debian.org--2006
+Creator: Lionel Elie Mamane <lionel at mamane.lu>
+Date: Sat Dec 24 17:51:14 CET 2005
+Standard-date: 2005-12-24 16:51:14 GMT
+New-files: debian/.arch-ids/=id
+    debian/.arch-ids/README.Debian.id
+    debian/.arch-ids/changelog.id
+    debian/.arch-ids/compat.id debian/.arch-ids/control.id
+    debian/.arch-ids/copyright.id
+    debian/.arch-ids/cron.d.id debian/.arch-ids/dirs.id
+    debian/.arch-ids/docs.id debian/.arch-ids/examples.id
+    debian/.arch-ids/rules.id debian/.arch-ids/watch.id
+    debian/README.Debian debian/changelog debian/compat
+    debian/control debian/copyright debian/cron.d debian/dirs
+    debian/docs debian/examples debian/rules debian/watch
+New-directories: debian debian/.arch-ids
+New-patches: pkg-horde-hackers at lists.alioth.debian.org--2006/kronolith--sid--2--patch-1
+Summary: Import kronolith2 2.0.5-1
+Keywords: 
+
+Imported kronolith2-2.0.5
+into pkg-horde-hackers at lists.alioth.debian.org--2006/kronolith--sid--2
+
+


--- /dev/null
+++ debian/.arch-ids/changelog.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31966.0


--- /dev/null
+++ debian/.arch-ids/cron.d.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31970.0


--- /dev/null
+++ debian/docs
@@ -0,0 +1,2 @@
+README
+docs/*


--- /dev/null
+++ debian/compat
@@ -0,0 +1,1 @@
+4


--- /dev/null
+++ debian/rules
@@ -0,0 +1,106 @@
+#!/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
+
+# List all Files and directories here that should not be copied 
+COPY_EXCLUDE=^(configure-stamp|build-stamp|config|COPYING|debian|docs|po|README|scripts)$
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/kronolith2.
+	#### copy files ####
+	for i in $$(ls -1 | egrep -v "$(COPY_EXCLUDE)"); do \
+		echo install $$i ; \
+		cp -a $$i debian/kronolith2/usr/share/horde3/kronolith ; \
+	done
+
+	#### copy configuration files ####
+	for i in config/*.dist; do \
+		NAME=etc/horde/kronolith2/$$(basename $$i ".dist"); \
+		cp -a $$i debian/kronolith2/$$NAME; \
+	done
+	cp config/conf.xml debian/kronolith2/etc/horde/kronolith2/
+	touch debian/kronolith2/etc/horde/kronolith2/conf.php
+	#chown www-data:root debian/kronolith2/etc/horde/kronolith2/conf.php
+	dh_link etc/horde/kronolith2 usr/share/horde3/kronolith/config
+
+	#### copy script to run by cron ####
+	mkdir debian/kronolith2/usr/share/horde3/kronolith/scripts
+	cp scripts/reminders.php debian/kronolith2/usr/share/horde3/kronolith/scripts
+	chmod +x debian/kronolith2/usr/share/horde3/kronolith/scripts/reminders.php
+
+        #### create htaccess  to restrict acess by web ####
+	echo "Deny from all" > debian/kronolith2/etc/horde/kronolith2/.htaccess
+	echo "Deny from all" > debian/kronolith2/usr/share/horde3/kronolith/scripts/.htaccess
+
+	#### change made for program run with no problems ###
+	# change HORDE_BASE  in php files
+	# change /usr/local/bin/php to /usr/bin/php
+	# change KRONOLITH_BASE in php files
+	dh_installexamples
+	for i in $$(find debian/kronolith2 -name "*.php*"); do \
+		cat $$i | \
+		sed -e "s/define('HORDE_BASE'.*;/define\('HORDE_BASE', '\/usr\/share\/horde3\'\);/" |\
+		sed -e "s/define('KRONOLITH_BASE'.*;/define\('KRONOLITH_BASE', '\/usr\/share\/horde3\/kronolith'\);/" |\
+		sed -e "s/\/usr\/local\/bin/\/usr\/bin/" > $$i.rew; \
+		cat $$i.rew > $$i; \
+		rm -f $$i.rew; \
+	done
+
+	#### change permissions of scripts ####
+	for i in $$(find debian/kronolith2/usr/share/horde3/kronolith -type f | \
+		xargs grep '^#!\/' |cut -d: -f1); do \
+		chmod u+x $$i; \
+	done
+	#### end ####
+
+# 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 docs/CHANGES
+	dh_installdocs -XINSTALL -Xdocs/CHANGES
+	dh_installcron
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	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


--- /dev/null
+++ debian/.arch-ids/compat.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31967.0


--- /dev/null
+++ debian/.arch-ids/rules.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31974.0


--- /dev/null
+++ debian/examples
@@ -0,0 +1,3 @@
+config/
+po/
+scripts/


--- /dev/null
+++ debian/.arch-ids/examples.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31973.0


--- /dev/null
+++ debian/.arch-ids/docs.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31972.0


--- /dev/null
+++ debian/.arch-ids/control.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31968.0


--- /dev/null
+++ debian/.arch-ids/watch.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31975.0


--- /dev/null
+++ debian/changelog
@@ -0,0 +1,44 @@
+kronolith2 (2.0.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Mon, 14 Nov 2005 17:11:54 -0200
+
+kronolith2 (2.0.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated package to Standards-Version: 3.6.2.
+  * Updated License in debian/copyright.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Mon, 17 Oct 2005 15:57:11 -0200
+
+kronolith2 (2.0.3-2) unstable; urgency=low
+
+  * Added php-http-request as required in control. (closes: #308663)
+  * Changed rules and README.Debian No longer provides config.bak file.
+    (closes: #308993)
+  * Added locales as recommended.
+  * Moved dh_installexamples to "install" rule in rules file. Now
+    examples/* files are changed like others.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Thu, 28 Jul 2005 19:24:39 -0300
+
+kronolith2 (2.0.3-1) unstable; urgency=low
+
+  * Initial upload of this package, closes: #303116.
+  * New upstream release.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Mon,  2 May 2005 12:28:17 -0300
+
+kronolith2 (2.0.2-1) unstable; urgency=low
+
+  * Made Ola Lundqvist co maintainer.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Tue, 19 Apr 2005 19:10:56 -0300
+
+kronolith2 (2.0.2-0) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Tue, 22 Feb 2005 17:45:32 -0300
+


--- /dev/null
+++ debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://ftp.horde.org/pub/kronolith/kronolith-h3-([\d\.]*)\.tar\.gz


--- /dev/null
+++ debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Jose Carlos Medeiros <debian at psabs.com.br> on
+Tue, 22 Feb 2005 17:45:32 -0300.
+
+It was downloaded from http://www.horde.org/kronolith/
+
+Copyright Holder: See /usr/share/doc/kronolith2/CREDITS
+
+License:
+
+   This package 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.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.


--- /dev/null
+++ debian/.arch-ids/=id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31964.0


--- /dev/null
+++ debian/README.Debian
@@ -0,0 +1,109 @@
+kronolith2 for Debian
+---------------------
+
+To configure this package use the horde3 web configuration. To let
+it write to the configuration files you have to change of conf.php
+file in /etc/horde/kronolith2 to owned by www-data.
+You need to create /etc/horde/kronolith2/conf.php.bak file and change
+owner to www-data or change owner of /etc/horde/kronolith2 to www-data.
+
+If you do not do that you have to cut from the web configuration
+program and paste into the config file yourself.
+
+The reason why this is not the default option is, that allow writing
+to configuration files without any authentication is a big
+security hole.
+
+.....................................................................
+
+Some notes from upstream INSTALL document follow here:
+
+Prerequisites
+=============
+
+To function properly, Kronolith requires the following:
+
+1. MCAL or SQL support in PHP.
+
+   Kronolith store its data either using the MCAL extension, or in an SQL
+   database.  Build PHP either ``--with-mcal`` or with whichever SQL driver
+   you require; see the Horde `horde/docs/INSTALL`_ file for more details on
+   using databases with Horde.
+
+   $ mkdir /var/calendar
+   $ chmod 1777 /var/calendar
+
+   Make the mstore password file ``/etc/mpasswd`` with the ``htpasswd``
+   program from Apache.  For the first time use::
+
+   $ htpasswd -c /etc/mpasswd username
+
+   and for adding more users don't use the -c switch
+
+   You only need one username to run kronolith.  The calendars for the
+   different horde users are managed automatically.
+
+
+Configuring Kronolith
+=====================
+
+1. Configuring Horde for Kronolith
+
+   a. Configuring a DataTree backend
+
+      Kronolith requires a permanent ``DataTree`` backend in Horde to manage
+      calendars and to add events to calendars.  If you didn't setup a
+      DataTree backend yet, go to the configuration interface, select Horde
+      from the list of applications and select a driver different than
+      ``None`` on the ``DataTree System`` tab.  Make sure that you ran the
+      necessary scripts to create a storage backend for the DataTree system,
+      e.g. one of the ``create.*.sql`` or ``horde_datatree.*.sql`` SQL scripts
+      in ``horde/scripts/sql/``.  You should have done this already during the
+      installation of Horde.
+
+2. Creating the database table [Only if you are using SQL, not libmcal]
+
+   The specific steps to create the Kronolith database table depend on which
+   database you've chosen to use.
+
+   First, look in ``scripts/drivers/sql/`` to see if a script already exists
+   for your database type.  If so, you should be able to simply execute that
+   script as superuser in your database.  (Note that executing the script as
+   the "horde" user will probably fail when granting privileges.)
+
+   If such a script does not exist, you'll need to build your own, using the
+   file kronolith.sql as a starting point.  If you need assistance in creating
+   databases, you may wish to let us know on the Kronolith mailing list.
+
+   You will also need to make sure that the "horde" user in your database has
+   table-creation privileges, so that the tables that `PEAR DB`_ uses to
+   provide portable sequences can be created.
+
+   .. _`PEAR DB`: http://pear.php.net/DB
+
+3. Configuring Kronolith.
+
+   You must login to Horde as a Horde Administrator to finish the
+   configuration of Kronolith.  Use the Horde ``Administration`` menu item to
+   get to the administration page, and then click on the ``Configuration``
+   icon to get the configuration page.  Select ``Calendar`` from the selection
+   list of applications.  Fill in or change any configuration values as
+   needed.  When done click on ``Generate Calendar Configuration`` to generate
+   the ``conf.php`` file.  If your web server doesn't have write permissions
+   to the Kronolith configuration directory or file, it will not be able to
+   write the file.  In this case, go back to ``Configuration`` and choose one
+   of the other methods to create the configuration file
+   ``kronolith/config/conf.php``.
+
+4. Testing Kronolith
+
+   Use Kronolith to create, modify, and delete events. Test at least the
+   following:
+
+   - Creating a new event
+   - Creating a recurring event
+   - Modifying an event
+   - Deleting an event
+
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>, Tue, 22 Feb 2005 17:45:32 -0300


--- /dev/null
+++ debian/.arch-ids/copyright.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 17:51:12 2005 31969.0


--- /dev/null
+++ debian/cron.d
@@ -0,0 +1,4 @@
+#
+# Regular cron jobs for the kronolith2 package
+#
+* * * * * root test -x /usr/bin/php4 && /usr/bin/php4 -q /usr/share/horde3/kronolith/scripts/reminders.php 1>&2 > /dev/null




More information about the pkg-horde-hackers mailing list