Projects
Kolab:3.4:Updates
pykolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Difference Between Revision 2 and
Kolab:3.4
/
pykolab
View file
debian-jessie-systemd.patch
Added
@@ -0,0 +1,101 @@ +From 6359245b344eb81e1014fa5a2f51dd261db6b4e0 Mon Sep 17 00:00:00 2001 +From: Timotheus Pokorra <tp@tbits.net> +Date: Tue, 5 May 2015 11:06:17 +0200 +Subject: [PATCH 1/2] Debian Jessie: fix service names (#4688) for systemd we + need to use different service names for kolabd (kolab-server) and httpd + (apache2) for CentOS vs Debian + +--- + pykolab/setup/setup_kolabd.py | 10 ++++++++-- + pykolab/setup/setup_roundcube.py | 10 ++++++++-- + pykolab/setup/setup_syncroton.py | 10 ++++++++-- + 3 files changed, 24 insertions(+), 6 deletions(-) + +diff --git a/pykolab/setup/setup_kolabd.py b/pykolab/setup/setup_kolabd.py +index 7c7982d..315c7a2 100644 +--- a/pykolab/setup/setup_kolabd.py ++++ b/pykolab/setup/setup_kolabd.py +@@ -72,7 +72,10 @@ def execute(*args, **kw): + myaugeas.close() + + if os.path.isfile('/bin/systemctl'): +- subprocess.call(['/bin/systemctl', 'restart', 'kolabd.service']) ++ if os.path.isfile('/etc/debian_version'): ++ subprocess.call(['/bin/systemctl', 'restart', 'kolab-server.service']) ++ else: ++ subprocess.call(['/bin/systemctl', 'restart', 'kolabd.service']) + elif os.path.isfile('/sbin/service'): + subprocess.call(['/sbin/service', 'kolabd', 'restart']) + elif os.path.isfile('/usr/sbin/service'): +@@ -81,7 +84,10 @@ def execute(*args, **kw): + log.error(_("Could not start the kolab server service.")) + + if os.path.isfile('/bin/systemctl'): +- subprocess.call(['/bin/systemctl', 'enable', 'kolabd.service']) ++ if os.path.isfile('/etc/debian_version'): ++ subprocess.call(['/bin/systemctl', 'enable', 'kolab-server.service']) ++ else: ++ subprocess.call(['/bin/systemctl', 'enable', 'kolabd.service']) + elif os.path.isfile('/sbin/chkconfig'): + subprocess.call(['/sbin/chkconfig', 'kolabd', 'on']) + elif os.path.isfile('/usr/sbin/update-rc.d'): +diff --git a/pykolab/setup/setup_roundcube.py b/pykolab/setup/setup_roundcube.py +index 6558989..5baf3c5 100644 +--- a/pykolab/setup/setup_roundcube.py ++++ b/pykolab/setup/setup_roundcube.py +@@ -227,7 +227,10 @@ password='%s' + time.sleep(2) + + if os.path.isfile('/bin/systemctl'): +- subprocess.call(['/bin/systemctl', 'restart', 'httpd.service']) ++ if os.path.isfile('/etc/debian_version'): ++ subprocess.call(['/bin/systemctl', 'restart', 'apache2.service']) ++ else: ++ subprocess.call(['/bin/systemctl', 'restart', 'httpd.service']) + elif os.path.isfile('/sbin/service'): + subprocess.call(['/sbin/service', 'httpd', 'restart']) + elif os.path.isfile('/usr/sbin/service'): +@@ -236,7 +239,10 @@ password='%s' + log.error(_("Could not start the webserver server service.")) + + if os.path.isfile('/bin/systemctl'): +- subprocess.call(['/bin/systemctl', 'enable', 'httpd.service']) ++ if os.path.isfile('/etc/debian_version'): ++ subprocess.call(['/bin/systemctl', 'enable', 'apache2.service']) ++ else: ++ subprocess.call(['/bin/systemctl', 'enable', 'httpd.service']) + elif os.path.isfile('/sbin/chkconfig'): + subprocess.call(['/sbin/chkconfig', 'httpd', 'on']) + elif os.path.isfile('/usr/sbin/update-rc.d'): +diff --git a/pykolab/setup/setup_syncroton.py b/pykolab/setup/setup_syncroton.py +index ca99bd5..f98e046 100644 +--- a/pykolab/setup/setup_syncroton.py ++++ b/pykolab/setup/setup_syncroton.py +@@ -87,7 +87,10 @@ password='%s' + time.sleep(2) + + if os.path.isfile('/bin/systemctl'): +- subprocess.call(['/bin/systemctl', 'restart', 'httpd.service']) ++ if os.path.isfile('/etc/debian_version'): ++ subprocess.call(['/bin/systemctl', 'restart', 'apache2.service']) ++ else: ++ subprocess.call(['/bin/systemctl', 'restart', 'httpd.service']) + elif os.path.isfile('/sbin/service'): + subprocess.call(['/sbin/service', 'httpd', 'restart']) + elif os.path.isfile('/usr/sbin/service'): +@@ -96,7 +99,10 @@ password='%s' + log.error(_("Could not start the webserver server service.")) + + if os.path.isfile('/bin/systemctl'): +- subprocess.call(['/bin/systemctl', 'enable', 'httpd.service']) ++ if os.path.isfile('/etc/debian_version'): ++ subprocess.call(['/bin/systemctl', 'enable', 'apache2.service']) ++ else: ++ subprocess.call(['/bin/systemctl', 'enable', 'httpd.service']) + elif os.path.isfile('/sbin/chkconfig'): + subprocess.call(['/sbin/chkconfig', 'httpd', 'on']) + elif os.path.isfile('/usr/sbin/update-rc.d'): +-- +1.9.1 + +
View file
fix-php5.6-roundcube.patch
Added
@@ -0,0 +1,21 @@ +--- a/share/templates/roundcubemail/config.inc.php.tpl ++++ b/share/templates/roundcubemail/config.inc.php.tpl +@@ -214,4 +214,17 @@ + 'ssl_verify_peer' => false, + ); + ++ # required for php 5.6, see https://bbs.archlinux.org/viewtopic.php?id=193012 and http://php.net/manual/de/context.ssl.php ++ # production environment requires real security settings!!! ++ \$config['imap_conn_options']=array( ++ 'ssl'=>array( ++ 'verify_peer_name'=>false, ++ 'verify_peer'=>false, ++ 'allow_self_signed'=>true)); ++ \$config['smtp_conn_options']=array( ++ 'ssl'=>array( ++ 'verify_peer_name'=>false, ++ 'verify_peer'=>false, ++ 'allow_self_signed'=>true)); ++ + ?> +
View file
debian.changelog
Changed
@@ -1,3 +1,15 @@ +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) + + -- Timotheus Pokorra <timotheus@kolab.org> Fri, 08 May 2015 20:00:00 +0100 + +pykolab (0.7.10-0~kolab2) unstable; urgency=low + + * Debian Jessie: fix service names (#4688) for systemd we need to use different service names for kolabd (kolab-server) and httpd (apache2) for CentOS vs Debian + + -- Timotheus Pokorra <timotheus@kolab.org> Thu, 07 May 2015 20:00:00 +0100 + pykolab (0.7.10-0~kolab1) unstable; urgency=low * https://issues.kolab.org/buglist.cgi?target_milestone=0.7.10&product=pykolab
View file
debian.series
Changed
@@ -1,1 +1,3 @@ cyrus-imapd.conf-cert-paths.patch -p1 +debian-jessie-systemd.patch -p1 +fix-php5.6-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~kolab1 +Version: 0.7.10-0~kolab3 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
.