[pkg-kolab] r69 - trunk/kolab-resource-handlers/debian

Noel Koethe noel at costa.debian.org
Wed Jan 4 11:34:05 UTC 2006


Author: noel
Date: 2006-01-04 11:34:04 +0000 (Wed, 04 Jan 2006)
New Revision: 69

Added:
   trunk/kolab-resource-handlers/debian/compat
   trunk/kolab-resource-handlers/debian/resmgr.conf
   trunk/kolab-resource-handlers/debian/rules
Log:
initial files

Added: trunk/kolab-resource-handlers/debian/compat
===================================================================
--- trunk/kolab-resource-handlers/debian/compat	2006-01-04 11:30:20 UTC (rev 68)
+++ trunk/kolab-resource-handlers/debian/compat	2006-01-04 11:34:04 UTC (rev 69)
@@ -0,0 +1 @@
+4

Added: trunk/kolab-resource-handlers/debian/resmgr.conf
===================================================================
--- trunk/kolab-resource-handlers/debian/resmgr.conf	2006-01-04 11:30:20 UTC (rev 68)
+++ trunk/kolab-resource-handlers/debian/resmgr.conf	2006-01-04 11:34:04 UTC (rev 69)
@@ -0,0 +1,79 @@
+<?php
+// Example conf file for resmgr!
+
+// What is the root directory of our Horde instance?
+ at define('HORDE_BASE', '/var/kolab/www/fbview');
+
+// What is the address of the Cyrus server where the calendar data is stored?
+$params['server'] = 'localhost';
+
+// What is our default mail domain? This is used if any users do not have
+// '@domain' specified after their username as part of their email address.
+$params['email_domain'] = 'example.com';
+
+// Are we using virtual domains with Cyrus?
+$params['virtual_domains'] = true;
+
+// Should we append domains to mailbox URIs? This only applies when
+// virtual_domains is true, and when using manager accounts.
+$params['append_domains'] = false;
+
+// Should we make sure that the sender and From header match for mail
+// that origins on this server?
+$params['verify_from_header'] = true;
+
+// Should we perform this check on mail from our
+// subdomains too?
+$params['verify_subdomains'] = true;
+
+// Should the Sender: header be used over From: if present?
+$params['allow_sender_header'] = true;
+
+// Should reject messages with From headers that dont match
+// the envelope? Default is to rewrite the header
+$params['reject_forged_from_header'] = false;
+
+// Should we allow forwarded ical messages from Outlook
+// by encapsulating them in a MIME multipart
+$params['allow_outlook_ical_forward']  = true;
+
+// LDAP data
+// What is the address of the LDAP server address where user objects reside
+$params['ldap_uri'] = 'ldaps://localhost';
+
+// What is the Base DN of our LDAP database?
+$params['base_dn'] = 'dc=example,dc=com';
+
+// What DN should we use to bind to the LDAP server?
+$params['bind_dn'] = 'cn=nobody,cn=internal,dc=example,dc=com';
+
+// What password should we use with the above DN when binding?
+$params['bind_pw'] = 'xyz';
+
+
+// What account should we use to read/write calendar data? This account should
+// have access to the calendar mailbox of all resource/group mailboxes.
+$params['calendar_user'] = 'calendar@'.$params['email_domain'];
+$params['calendar_pass'] = 'zyx';
+
+// Filename of private key used to decrypt password from LDAP
+$params['priv_key_file'] = '/etc/kolab/res_priv.pem';
+
+// What is the name of the users' calendar mailbox?
+$params['calendar_store'] = 'Calendar';
+
+// Where can we get free/busy information from?
+$params['freebusy_url'] = 'http://kolab.example.com/freebusy/${USER}.ifb';
+ 
+// PFB url to trigger creation of pfb
+$params['pfb_trigger_url'] = 'http://@@@fqdnhostname@@@/freebusy/trigger/${USER}/${FOLDER}.xpfb';
+
+// Where are we logging to?
+$params['log'] = 'file:/var/log/kolab/resmgr.log';                // File...
+// $params['log'] = 'syslog:cons, pid';            // Or syslog...
+
+// What level of output should we log? Higher levels give more verbose output.
+// One of: RM_LOG_SILENT; RM_LOG_ERROR; RM_LOG_WARN; RM_LOG_INFO or RM_LOG_DEBUG.
+$params['log_level'] = RM_LOG_DEBUG;
+?>
+

Added: trunk/kolab-resource-handlers/debian/rules
===================================================================
--- trunk/kolab-resource-handlers/debian/rules	2006-01-04 11:30:20 UTC (rev 68)
+++ trunk/kolab-resource-handlers/debian/rules	2006-01-04 11:34:04 UTC (rev 69)
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+	dpatch apply-all
+	touch patch-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	dpatch deapply-all
+	rm -f build-stamp configure-stamp patch-stamp
+	rm -rf debian/patched
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# install the resource manager php scripts
+	install -D -m 644 kolab-resource-handlers/resmgr/kolabfilter.php debian/kolab-resource-handlers/usr/share/kolab-resource-handlers/kolabfilter.php
+	install -D -m 644 kolab-resource-handlers/resmgr/kolabmailboxfilter.php debian/kolab-resource-handlers/usr/share/kolab-resource-handlers/kolabmailboxfilter.php
+	install -D -m 644 kolab-resource-handlers/resmgr/kolabmailtransport.php debian/kolab-resource-handlers/usr/share/kolab-resource-handlers/kolabmailtransport.php
+	install -D -m 644 kolab-resource-handlers/resmgr/misc.php debian/kolab-resource-handlers/usr/share/kolab-resource-handlers/misc.php
+	install -D -m 644 kolab-resource-handlers/resmgr/olhacks.php debian/kolab-resource-handlers/usr/share/kolab-resource-handlers/olhacks.php
+	install -D -m 644 kolab-resource-handlers/resmgr/resmgr.php debian/kolab-resource-handlers/usr/share/kolab-resource-handlers/resmgr.php
+
+	install -D -m 644 debian/resmgr.conf debian/kolab-resource-handlers/etc/kolab/resmgr.conf
+	
+binary-arch: build install
+# We are binary-indep so nothing to do here.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+#	dh_installexamples
+#	dh_installinit
+#	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+	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


Property changes on: trunk/kolab-resource-handlers/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-kolab-devel mailing list