Projects
Kolab:3.4:Updates
pykolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
pykolab.spec
Changed
@@ -29,13 +29,16 @@ Summary: Kolab Groupware Solution Name: pykolab Version: 0.7.10 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Applications/System URL: http://kolab.org/ Source0: http://files.kolab.org/releases/%{name}-%{version}.tar.gz +Patch0: fix-missing-template.patch +Patch1: fix-setup-roundcube.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch %if 0%{?suse_version} @@ -200,6 +203,9 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 + %build autoreconf -v || automake --add-missing && autoreconf -v %configure @@ -522,6 +528,9 @@ %attr(0700,%{kolab_user},%{kolab_group}) %dir %{_var}/spool/pykolab/wallace %changelog +* Tue Jun 02 2015 Daniel Hoffend <dh@dotlan.net> - 0.7.10-2 +- Add missing kolab_addressbook config template for setup-kolab + * Wed Feb 25 2015 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.7.10-1 - Release of version 0.7.10, see;
View file
fix-missing-template.patch
Added
@@ -0,0 +1,54 @@ +From 791f1e48a09d18621d43ba3a5eb59255283c439d Mon Sep 17 00:00:00 2001 +From: Daniel Hoffend <dh@dotlan.net> +Date: Tue, 2 Jun 2015 16:56:15 +0200 +Subject: [PATCH] Add missing roundcube template + adjust irony path - Fixes + #5066 + +--- + share/templates/roundcubemail/calendar.inc.php.tpl | 2 +- + .../roundcubemail/kolab_addressbook.inc.php.tpl | 20 ++++++++++++++++++++ + 2 files changed, 21 insertions(+), 1 deletion(-) + create mode 100644 share/templates/roundcubemail/kolab_addressbook.inc.php.tpl + +diff --git a/share/templates/roundcubemail/calendar.inc.php.tpl b/share/templates/roundcubemail/calendar.inc.php.tpl +index 6ee1506..bcdc720 100644 +--- a/share/templates/roundcubemail/calendar.inc.php.tpl ++++ b/share/templates/roundcubemail/calendar.inc.php.tpl +@@ -7,7 +7,7 @@ + \$config['calendar_work_start'] = 6; + \$config['calendar_work_end'] = 18; + \$config['calendar_event_coloring'] = 0; +- \$config['calendar_caldav_url'] = 'http://' . \$_SERVER['HTTP_HOST'] . '/iRony/calendars/%u/%i'; ++ \$config['calendar_caldav_url'] = 'http://%h/iRony/calendars/%u/%i'; + + \$config['calendar_itip_smtp_server'] = ''; + \$config['calendar_itip_smtp_user'] = ''; +diff --git a/share/templates/roundcubemail/kolab_addressbook.inc.php.tpl b/share/templates/roundcubemail/kolab_addressbook.inc.php.tpl +new file mode 100644 +index 0000000..f19c86a +--- /dev/null ++++ b/share/templates/roundcubemail/kolab_addressbook.inc.php.tpl +@@ -0,0 +1,20 @@ ++<?php ++ ++ ++// This option allows to set addressbooks priority or to disable some ++// of them. Disabled addressbooks will be not shown in the UI. Default: 0. ++// 0 - "Global address book(s) first". Use all address books, starting with the global (LDAP) ++// 1 - "Personal address book(s) first". Use all address books, starting with the personal (Kolab) ++// 2 - "Global address book(s) only". Use the global (LDAP) addressbook. Disable the personal. ++// 3 - "Personal address book(s) only". Use the personal (Kolab) addressbook(s). Disable the global. ++\$config['kolab_addressbook_prio'] = 0; ++ ++// Base URL to build fully qualified URIs to access address books via CardDAV ++// The following replacement variables are supported: ++// %h - Current HTTP host ++// %u - Current webmail user name ++// %n - Folder name ++// %i - Folder UUID ++\$config['kolab_addressbook_carddav_url'] = 'http://%h/iRony/addressbooks/%u/%i'; ++ ++?> +-- +1.9.1 +
View file
fix-setup-roundcube.patch
Added
@@ -0,0 +1,41 @@ +From 39cde352048254e3abaef60ef4abc1fba7845940 Mon Sep 17 00:00:00 2001 +From: Daniel Hoffend <dh@dotlan.net> +Date: Wed, 3 Jun 2015 00:52:30 +0200 +Subject: [PATCH] Don't overwrite config if template is not found - Fixes #5066 + +--- + pykolab/setup/setup_roundcube.py | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/pykolab/setup/setup_roundcube.py b/pykolab/setup/setup_roundcube.py +index accd5e0..1af0f9e 100644 +--- a/pykolab/setup/setup_roundcube.py ++++ b/pykolab/setup/setup_roundcube.py +@@ -134,15 +134,15 @@ def execute(*args, **kw): + level=8 + ) + +- fp = None +- if os.path.isdir('/etc/roundcubemail'): +- fp = open('/etc/roundcubemail/%s' % (want_file), 'w') +- elif os.path.isdir('/etc/roundcube'): +- fp = open('/etc/roundcube/%s' % (want_file), 'w') +- +- if not fp == None: +- fp.write(t.__str__()) +- fp.close() ++ fp = None ++ if os.path.isdir('/etc/roundcubemail'): ++ fp = open('/etc/roundcubemail/%s' % (want_file), 'w') ++ elif os.path.isdir('/etc/roundcube'): ++ fp = open('/etc/roundcube/%s' % (want_file), 'w') ++ ++ if not fp == None: ++ fp.write(t.__str__()) ++ fp.close() + + schema_files = [] + for root, directories, filenames in os.walk('/usr/share/doc/'): +-- +1.9.1 +
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +pykolab (0.7.10-0~kolab4) unstable; urgency=low + + * Add missing kolab_addressbook config template for setup-kolab + + -- Daniel Hoffend <dh@dotlan.net> Tue, 02 Jun 2015 17:10:00 +0200 + pykolab (0.7.10-0~kolab3) unstable; urgency=low * Debian Jessie: php 5.6: roundcubemail needs more configuration to connect to IMAP with self signed certificate (#5034)
View file
debian.series
Changed
@@ -1,3 +1,5 @@ cyrus-imapd.conf-cert-paths.patch -p1 debian-jessie-systemd.patch -p1 fix-php5.6-roundcube.patch -p1 +fix-missing-template.patch -p1 +fix-setup-roundcube.patch -p1
View file
pykolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: pykolab Binary: pykolab, kolab-cli, kolab-conf, kolab-saslauthd, kolab-server, kolab-telemetry, kolab-xml, wallace Architecture: all -Version: 0.7.10-0~kolab3 +Version: 0.7.10-0~kolab4 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.