1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/README.Debian Sat Feb 15 19:34:16 2014 +0100
1.3 @@ -0,0 +1,28 @@
1.4 +pykolab for Debian
1.5 +------------------
1.6 +
1.7 +There is a bug in Wallace, see https://issues.kolab.org/show_bug.cgi?id=1469.
1.8 +
1.9 +For new installs, i.e. where setup-kolab has not been run, Wallace
1.10 +will not be installed in the mail delivery chain.
1.11 +
1.12 +If you have already configured your Kolab server, you need to make this
1.13 +change manually.
1.14 +
1.15 +In /etc/postfix/master.cf, adjust the line that says:
1.16 +
1.17 + -o content_filter=smtp-wallace:[127.0.0.1]:10026
1.18 +
1.19 +to:
1.20 +
1.21 + -o content_filter=
1.22 +
1.23 +and restart postfix.
1.24 +
1.25 +Please refer to http://www.intevation.de/pipermail/kolab-users/2012-December/014175.html.
1.26 +
1.27 +The Wallace daemon is still started. While bug #1469 remains unfixed,
1.28 +You may disable it by modifying /etc/default/wallace and
1.29 +changing START=yes to START=no.
1.30 +
1.31 + -- Paul Klos <kolab@klos2day.nl> Mon, 17 Dec 2012 21:03:17 +0100
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/debian/README.source Sat Feb 15 19:34:16 2014 +0100
2.3 @@ -0,0 +1,5 @@
2.4 +pykolab for Debian
2.5 +------------------
2.6 +
2.7 +<this file describes information about the source package, see Debian policy
2.8 +manual section 4.14. You WILL either need to modify or delete this file>
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/debian/changelog Sat Feb 15 19:34:16 2014 +0100
3.3 @@ -0,0 +1,456 @@
3.4 +pykolab (0.6.12-0~kolab2) unstable; urgency=low
3.5 +
3.6 + * New upstream release
3.7 + * Fix logger switching gid
3.8 +
3.9 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sat, 15 Feb 2014 20:00:00 +0100
3.10 +
3.11 +pykolab (0.6.11-0~kolab12) unstable; urgency=low
3.12 +
3.13 + * Fix logger
3.14 +
3.15 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Fri, 14 Feb 2014 20:00:00 +0100
3.16 +
3.17 +pykolab (0.6.11-0~kolab11) unstable; urgency=low
3.18 +
3.19 + * Make sure the logger and saslauthd drop permissions too
3.20 +
3.21 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 13 Feb 2014 20:00:00 +0100
3.22 +
3.23 +pykolab (0.6.11-0~kolab10) unstable; urgency=low
3.24 +
3.25 + * Fix use of deprecated function get_user_attribute
3.26 + * Make sure the correct rights are set on shared folders with delivery enabled
3.27 + * Match messages that do not have an X-Spam-Header, too
3.28 +
3.29 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 12 Feb 2014 20:00:00 +0100
3.30 +
3.31 +pykolab (0.6.11-0~kolab7) unstable; urgency=low
3.32 +
3.33 + * Fix typos in Sieve management
3.34 + * Correct more permissions
3.35 +
3.36 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 11 Feb 2014 20:00:00 +0100
3.37 +
3.38 +pykolab (0.6.11-0~kolab6) unstable; urgency=low
3.39 +
3.40 + * Ship Sieve management for UCS
3.41 + * Fix permissions on /etc/kolab/kolab.conf, /var/lib/kolab/, /var/log/kolab/
3.42 + * Allow caches rendered read-only or in the middle of a transaction to be re-initialized
3.43 +
3.44 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Mon, 10 Feb 2014 20:00:00 +0100
3.45 +
3.46 +pykolab (0.6.11-0~kolab1) unstable; urgency=low
3.47 +
3.48 + * New upstream release 0.6.11
3.49 +
3.50 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 28 Jan 2014 20:00:00 +0100
3.51 +
3.52 +pykolab (0.6.10-0~kolab1) unstable; urgency=low
3.53 +
3.54 + * New upstream release 0.6.10
3.55 + * Fix case-sensitive comparison of server addresses.
3.56 + * Fix initial synchronization of users with mailhost attributes already set.
3.57 + * Add configuration option to prevent kolabd from applying the recipient policy.
3.58 + * Handle errors in subscribing a user to mail folders.
3.59 +
3.60 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 14 Jan 2014 20:00:00 +0100
3.61 +
3.62 +pykolab (0.6.9-0~kolab9) unstable; urgency=low
3.63 +
3.64 + * Allow 8bit passwords to pass through log.debug()
3.65 +
3.66 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 26 Nov 2013 20:00:00 +0100
3.67 +
3.68 +pykolab (0.6.9-0~kolab8) unstable; urgency=low
3.69 +
3.70 + * Avoid setting permissions that collide with those needed on UCS
3.71 + * Define build requirement on univention-config-dev | bash in pykolab.dsc as well
3.72 +
3.73 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 26 Nov 2013 20:00:00 +0100
3.74 +
3.75 +pykolab (0.6.9-0~kolab7) unstable; urgency=low
3.76 +
3.77 + * Relocate patches for Debian/APT
3.78 + * Ship patch to correct roundcube/syncroton database schema loading
3.79 + * Fix #2585 and resort the otherwise unsorted storage order
3.80 +
3.81 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 24 Nov 2013 20:00:00 +0100
3.82 +
3.83 +pykolab (0.6.9-0~kolab5) unstable; urgency=low
3.84 +
3.85 + * Add ucs/kolab.py
3.86 +
3.87 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Fri, 22 Nov 2013 20:00:00 +0100
3.88 +
3.89 +pykolab (0.6.9-0~kolab3) unstable; urgency=low
3.90 +
3.91 + * Do not remove setup_syncroton.py
3.92 + * Trigger restarts necessary for cyrus-imapd and postfix
3.93 + * New upstream version
3.94 + * Test for a lock directory before touching lock files
3.95 +
3.96 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 21 Nov 2013 20:00:00 +0100
3.97 +
3.98 +pykolab (0.6.8-0~kolab4) unstable; urgency=low
3.99 +
3.100 + * Make the kolab-saslauthd rundir a little more flexible
3.101 +
3.102 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 19 Nov 2013 20:00:00 +0100
3.103 +
3.104 +pykolab (0.6.8-0~kolab3) unstable; urgency=low
3.105 +
3.106 + * Reduce requirement on python to >= 2.6
3.107 + * Reduce requirement on python-ldap
3.108 + * Adjust spec used for Debian 6 (-based platforms)
3.109 +
3.110 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Fri, 15 Nov 2013 20:00:00 +0100
3.111 +
3.112 +pykolab (0.6.8-0~kolab1.5) unstable; urgency=low
3.113 +
3.114 + * fix path in postfix master.cf file, bug 2508
3.115 +
3.116 + -- Timotheus Pokorra <timotheus@kolab.org> Wed, 13 Nov 2013 20:00:00 +0100
3.117 +
3.118 +pykolab (0.6.8-0~kolab1.4) unstable; urgency=low
3.119 +
3.120 + * add missing dependency libpython2.7, fixes bug 2469, preventing installing setup-kolab ldap and other components separately
3.121 +
3.122 + -- Jan Kowalsky <tuxus@notraces.net> Thu, 08 Nov 2013 13:15:00 +0100
3.123 +
3.124 +pykolab (0.6.8-0~kolab1.3) unstable; urgency=low
3.125 +
3.126 + * add even more missing files, translit.py and wap/*, fixes bug 2451
3.127 +
3.128 + -- Timotheus Pokorra <timotheus@pokorra.de> Wed, 30 Oct 2013 08:15:00 +0100
3.129 +
3.130 +pykolab (0.6.8-0~kolab1.2) unstable; urgency=low
3.131 +
3.132 + * add missing imap_utf7 module, fixes bug 2425
3.133 +
3.134 + -- Torsten Grote <grote@kolabsys.com> Fri, 25 Oct 2013 00:45:43 +0100
3.135 +
3.136 +pykolab (0.6.8-0~kolab1.1) unstable; urgency=low
3.137 +
3.138 + * Fixing bug 2404, setup-kolab
3.139 +
3.140 + -- Timotheus Pokorra <timotheus@pokorra.de> Thu, 24 Oct 2013 12:10:43 +0100
3.141 +
3.142 +pykolab (0.6.8-0~kolab1) unstable; urgency=low
3.143 +
3.144 + * Imported Upstream version 0.6.8
3.145 +
3.146 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 16 Oct 2013 12:10:43 +0100
3.147 +
3.148 +pykolab (0.6.6-1) unstable; urgency=low
3.149 +
3.150 + * Imported Upstream version 0.6.6
3.151 +
3.152 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Fri, 20 Sep 2013 12:10:43 +0100
3.153 +
3.154 +pykolab (0.6.5-1) unstable; urgency=low
3.155 +
3.156 + * Imported Upstream version 0.6.5
3.157 +
3.158 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 15 Sep 2013 12:10:43 +0100
3.159 +
3.160 +pykolab (0.5.12-1) unstable; urgency=low
3.161 +
3.162 + * Imported Upstream version 0.5.12
3.163 + * Update changelog
3.164 + * Remove installation line for non-existent freebusy templates
3.165 + * Remove installation line for non-existent z-push templates
3.166 +
3.167 + -- Paul Klos <kolab@klos2day.nl> Mon, 13 May 2013 23:02:33 +0200
3.168 +
3.169 +pykolab (0.5.11-3) unstable; urgency=low
3.170 +
3.171 + * Remove Kolab syncroton setup for Debian, since
3.172 + kolab-syncroton takes care of its database setup.
3.173 +
3.174 + -- Paul Klos <kolab@klos2day.nl> Tue, 02 Apr 2013 21:53:11 +0200
3.175 +
3.176 +pykolab (0.5.11-2) unstable; urgency=low
3.177 +
3.178 + * Make kolab-conf depend on python-augeas and python-cheetah (bug #1616)
3.179 +
3.180 + -- Paul Klos <kolab@klos2day.nl> Thu, 21 Mar 2013 22:25:16 +0100
3.181 +
3.182 +pykolab (0.5.11-1) unstable; urgency=low
3.183 +
3.184 + [ Paul Klos ]
3.185 + * Imported upstream version 0.5.11
3.186 +
3.187 + -- Paul Klos <kolab@klos2day.nl> Wed, 09 Jan 2013 22:21:36 +0100
3.188 +
3.189 +pykolab (0.5.10-2) unstable; urgency=low
3.190 +
3.191 + [ Paul Klos ]
3.192 + * Correct wallace init script (solves #1404)
3.193 + * Fix a couple of issues with the init script for kolab-server (kolabd)
3.194 + - Check for running daemon failed,
3.195 + so it was started every time the script was run
3.196 + - Shutdown did not work
3.197 + * Update changelog
3.198 + * Disable Wallace
3.199 + * Update changelog
3.200 + * Add explanation to README file
3.201 +
3.202 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.203 + * Drop the workaround for issue #1469
3.204 +
3.205 + [ Jeroen van Meeuwen ]
3.206 +
3.207 + -- Paul Klos <kolab@klos2day.nl> Tue, 25 Dec 2012 12:23:13 +0100
3.208 +
3.209 +pykolab (0.5.10-1) unstable; urgency=low
3.210 +
3.211 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.212 + * Imported Upstream version 0.5.10
3.213 + * Drop patches a part of 0.5.10 release
3.214 +
3.215 + [ Jeroen van Meeuwen ]
3.216 +
3.217 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 25 Dec 2012 12:10:43 +0100
3.218 +
3.219 +pykolab (0.5.8-9) unstable; urgency=low
3.220 +
3.221 + * Temporarily disable Wallace because of bug #1469
3.222 +
3.223 + -- Paul Klos <kolab@klos2day.nl> Mon, 17 Dec 2012 20:48:29 +0100
3.224 +
3.225 +pykolab (0.5.8-8) unstable; urgency=low
3.226 +
3.227 + * Fix issues in wallace and kolabd init script (#1404)
3.228 +
3.229 + -- Paul Klos <kolab@klos2day.nl> Sun, 16 Dec 2012 15:45:56 +0100
3.230 +
3.231 +pykolab (0.5.8-7) unstable; urgency=low
3.232 +
3.233 + * Move python-mysqldb from build-depends to pykolab depends
3.234 +
3.235 + -- Paul Klos <kolab@klos2day.nl> Tue, 04 Dec 2012 18:11:07 +0100
3.236 +
3.237 +pykolab (0.5.8-6) unstable; urgency=low
3.238 +
3.239 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.240 + * Correct init scripts to not use --user / --group as parameters to start-stop-daemon, as that has the effect of verifying the ownership of PID files (#1401)
3.241 +
3.242 + [ Jeroen van Meeuwen ]
3.243 +
3.244 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 29 Nov 2012 14:44:45 +0100
3.245 +
3.246 +pykolab (0.5.8-5) unstable; urgency=low
3.247 +
3.248 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.249 + * Add dependency on python-mysqldb (#1394)
3.250 + * Rebase the set of permissions on /etc/kolab/, /etc/kolab/kolab.conf, /var/lib/kolab/ and /var/log/kolab/ on to the permissions used on our reference platform (#1395, part i)
3.251 + * Ship patch for #1396
3.252 + * Ship patch for #1397
3.253 + * Correct patch and do not change the tls cert paths at all on Debian
3.254 + * Do not install the Kolab SMTP Access Policy executable in its own subdirectory
3.255 + * Ship fix for #1398
3.256 +
3.257 + [ Jeroen van Meeuwen ]
3.258 +
3.259 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 29 Nov 2012 14:13:50 +0100
3.260 +
3.261 +pykolab (0.5.8-4) unstable; urgency=low
3.262 +
3.263 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.264 + * Disable and shut down saslauthd before attempting to start kolab-saslauthd
3.265 +
3.266 + [ Jeroen van Meeuwen ]
3.267 +
3.268 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 25 Nov 2012 09:05:48 -0500
3.269 +
3.270 +pykolab (0.5.8-3) unstable; urgency=low
3.271 +
3.272 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.273 + * Import os before using it
3.274 +
3.275 + [ Jeroen van Meeuwen ]
3.276 +
3.277 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 25 Nov 2012 08:23:26 -0500
3.278 +
3.279 +pykolab (0.5.8-2) unstable; urgency=low
3.280 +
3.281 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.282 + * Patch unlinking mysql tmp my.cnf too early
3.283 + * Update patches
3.284 +
3.285 + [ Jeroen van Meeuwen ]
3.286 +
3.287 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 25 Nov 2012 07:56:34 -0500
3.288 +
3.289 +pykolab (0.5.8-1) unstable; urgency=low
3.290 +
3.291 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.292 + * Imported Upstream version 0.5.8
3.293 +
3.294 + [ Jeroen van Meeuwen ]
3.295 +
3.296 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 25 Nov 2012 06:43:44 -0500
3.297 +
3.298 +pykolab (0.5.6-7) unstable; urgency=low
3.299 +
3.300 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.301 + * Set tls_ca to the same self-generated certificate file (#1260)
3.302 + * Correct service init script $NAME
3.303 +
3.304 + [ Jeroen van Meeuwen ]
3.305 +
3.306 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 22 Nov 2012 03:18:44 -0500
3.307 +
3.308 +pykolab (0.5.6-6) unstable; urgency=low
3.309 +
3.310 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.311 + * Same thing here, do not use --user/--group to start the Kolab daemon with
3.312 + * Do not use --chuid/--group from start-stop-daemon - it somehow prevents the process from reading the configuration
3.313 + * Correct the permissions on the SASL authentication daemon socket directory
3.314 +
3.315 + [ Jeroen van Meeuwen ]
3.316 +
3.317 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 21 Nov 2012 12:20:18 -0500
3.318 +
3.319 +pykolab (0.5.6-4) unstable; urgency=low
3.320 + * Remove dependency on libsasl2-modules-ldap from kolab-saslauthd
3.321 + * Diasable wallaced upon installation and enable during kolab-setup
3.322 + * Diasable kolabd upon installation and enable during kolab-setup
3.323 + * Added debian/watch
3.324 + * Add patch description (solves quilt-patch-missing-description warning)
3.325 +
3.326 + -- Paul Klos <kolab@klos2day.nl> Wed, 14 Nov 2012 17:06:21 -0500
3.327 +
3.328 +pykolab (0.5.6-3) unstable; urgency=low
3.329 +
3.330 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.331 + * Remove obsolete patches, correct path for imapd.conf(5) certificate paths
3.332 +
3.333 + [ Jeroen van Meeuwen ]
3.334 +
3.335 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 07 Nov 2012 09:13:32 -0500
3.336 +
3.337 +pykolab (0.5.6-2) unstable; urgency=low
3.338 +
3.339 + * /usr/lib*/python*/*-packages/pykolab/cli/telemetry/*
3.340 + moved to kolab-telemetry
3.341 + * removed various example files (debian/*.ex)
3.342 +
3.343 + -- Paul Klos <kolab@klos2day.nl> Tue, 30 Oct 2012 17:35:41 +0200
3.344 +
3.345 +pykolab (0.5.6-1) unstable; urgency=low
3.346 +
3.347 + * Imported Upstream version 0.5.6
3.348 +
3.349 + -- Paul Klos <kolab@klos2day.nl> Wed, 24 Oct 2012 18:43:17 +0200
3.350 +
3.351 +pykolab (0.5.5-7) unstable; urgency=low
3.352 +
3.353 + * Depend on python-icalendar (pykolab, kolab-xml, wallace)
3.354 +
3.355 + -- Paul Klos <kolab@klos2day.nl> Sat, 20 Oct 2012 22:53:51 +0200
3.356 +
3.357 +pykolab (0.5.5-6.1) unstable; urgency=low
3.358 +
3.359 + * Non-maintainer upload.
3.360 + * Trying to install wallace init.d script from wallace.init
3.361 +
3.362 + -- Paul Klos <kolab@klos2day.nl> Tue, 02 Oct 2012 20:50:10 +0200
3.363 +
3.364 +pykolab (0.5.5-5) unstable; urgency=low
3.365 +
3.366 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.367 + * Add dependency on python-kolabformat (#1064)
3.368 +
3.369 + [ Jeroen van Meeuwen ]
3.370 +
3.371 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 02 Oct 2012 12:10:18 -0400
3.372 +
3.373 +pykolab (0.5.5-4) unstable; urgency=low
3.374 +
3.375 + * pykolab is to depend on python-pyasn1-modules as well (#1058)
3.376 + * Rename kolab-content-filter to its original name, wallace
3.377 + * Include patch from upstream to fix the init scripts (#972)
3.378 + * Update changelog for 0.5.5-4
3.379 + * Attempt to override the installinit target
3.380 +
3.381 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sat, 29 Sep 2012 13:41:22 +0200
3.382 +
3.383 +pykolab (0.5.5-3) unstable; urgency=low
3.384 +
3.385 + * Fix postinst
3.386 +
3.387 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 27 Sep 2012 22:01:59 +0200
3.388 +
3.389 +pykolab (0.5.5-2) unstable; urgency=low
3.390 +
3.391 + * Include /var/log/kolab
3.392 + * Add /var/lib/kolab Add post installation file that is supposed
3.393 + to add the users and groups needed, and fixes directory permissions
3.394 + * Add a patch for the default user for dirsrv
3.395 +
3.396 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 27 Sep 2012 19:45:05 +0200
3.397 +
3.398 +pykolab (0.5.5-1.1) unstable; urgency=low
3.399 +
3.400 + * Non-maintainer upload.
3.401 + * Imported Upstream version 0.5.5
3.402 +
3.403 + -- Paul Klos <kolab@klos2day.nl> Thu, 22 Sep 2012 11:59:00 +0200
3.404 +
3.405 +pykolab (0.5.4-3) unstable; urgency=low
3.406 +
3.407 + * Let's not depend on libsasl2 since it is a virtual package
3.408 +
3.409 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen> Tue, 11 Sep 2012 17:15:07 +0200
3.410 +
3.411 +pykolab (0.5.4-2) unstable; urgency=low
3.412 +
3.413 + * Correct the path for setup-ds-admin on Debian
3.414 + * Add another patch that is not upstreamed for the failure
3.415 + to create a semaphore for the administrator server
3.416 + * Add the plugins/ to the pykolab core package
3.417 + * Make each package depend on the same version of the other
3.418 + packages that fall out of this source package
3.419 + * Depend on the actual sasl2 packages we require
3.420 +
3.421 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 11 Sep 2012 17:04:30 +0200
3.422 +
3.423 +pykolab (0.5.4-1.1) unstable; urgency=low
3.424 +
3.425 + * Non-maintainer upload.
3.426 + * Imported Upstream version 0.5.4
3.427 +
3.428 + -- Paul Klos <kolab@klos2day.nl> Thu, 06 Sep 2012 16:47:00 +0200
3.429 +
3.430 +pykolab (0.5.3-1.1) unstable; urgency=low
3.431 +
3.432 + * Non-maintainer upload.
3.433 + * Imported Upstream version 0.5.3
3.434 +
3.435 + -- Paul Klos <kolab@klos2day.nl> Fri, 24 Aug 2012 22:50:53 +0200
3.436 +
3.437 +pykolab (0.4.14-2) unstable; urgency=low
3.438 +
3.439 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.440 + * Install setup-kolab.py
3.441 +
3.442 + [ Jeroen van Meeuwen ]
3.443 +
3.444 + -- Jeroen van Meeuwen <vanmeeuwen@auto.kolabsys.com> Wed, 22 Aug 2012 16:57:44 +0200
3.445 +
3.446 +pykolab (0.4.14-1) unstable; urgency=low
3.447 +
3.448 + [ Jeroen van Meeuwen (Kolab Systems) ]
3.449 + * Imported Upstream version 0.4.14
3.450 +
3.451 + [ Jeroen van Meeuwen ]
3.452 +
3.453 + -- Jeroen van Meeuwen <vanmeeuwen@auto.kolabsys.com> Wed, 22 Aug 2012 16:03:53 +0200
3.454 +
3.455 +pykolab (0.4.3-3) unstable; urgency=low
3.456 +
3.457 + * Initial version
3.458 +
3.459 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 13 May 2012 19:40:48 +0100
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/debian/compat Sat Feb 15 19:34:16 2014 +0100
4.3 @@ -0,0 +1,1 @@
4.4 +7
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/debian/control Sat Feb 15 19:34:16 2014 +0100
5.3 @@ -0,0 +1,112 @@
5.4 +Source: pykolab
5.5 +Section: python
5.6 +Priority: optional
5.7 +Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>
5.8 +Uploaders: Paul Klos <kolab@klos2day.nl>
5.9 +Build-Depends: autotools-dev,
5.10 + debhelper (>= 7.0.50~),
5.11 + dh-autoreconf,
5.12 + gawk,
5.13 + gettext,
5.14 + intltool,
5.15 + libcroco3,
5.16 + libexpat1,
5.17 + libglib2.0-0,
5.18 + libglib2.0-dev,
5.19 + libpcre3,
5.20 + libssl-dev,
5.21 + libunistring0,
5.22 + libxml-parser-perl,
5.23 + libxml2,
5.24 + mime-support,
5.25 + python (>= 2.6~),
5.26 + python-icalendar,
5.27 + python-minimal,
5.28 + python-nose,
5.29 + python-support,
5.30 + univention-config-dev | bash
5.31 +Standards-Version: 3.9.3
5.32 +Homepage: http://www.kolab.org
5.33 +Vcs-Git: git://git.kolab.org/git/pykolab
5.34 +#Vcs-Browser: http://git.debian.org/?p=collab-maint/pykolab.git;a=summary
5.35 +
5.36 +Package: pykolab
5.37 +Architecture: all
5.38 +Depends: adduser (>= 3.11),
5.39 + libpython2.7 | libpython2.6,
5.40 + python,
5.41 + python-icalendar,
5.42 + python-mysqldb,
5.43 + python-ldap,
5.44 + python-pyasn1,
5.45 + python-pyasn1-modules,
5.46 + python-sqlalchemy,
5.47 + ${misc:Depends},
5.48 + ${shlibs:Depends},
5.49 + ${ucs:Depends}
5.50 +Description: Kolab Groupware daemon and utilities
5.51 + Python implementation of the Kolab Groupware server
5.52 +
5.53 +Package: kolab-cli
5.54 +Architecture: all
5.55 +Depends: pykolab (= ${binary:Version}),
5.56 + python,
5.57 + python-augeas,
5.58 + python-cheetah,
5.59 + ${misc:Depends},
5.60 + ${ucs:Depends}
5.61 +Description: Command-line utilities for Kolab
5.62 + This package includes command-line utilities for Kolab Groupware
5.63 +
5.64 +Package: kolab-conf
5.65 +Architecture: all
5.66 +Depends: pykolab (= ${binary:Version}), kolab-ldap, ${python:Depends}, python, ${misc:Depends}, python-augeas, python-cheetah
5.67 +Description: Configuration management for Kolab
5.68 + This package includes configuration management utilities for
5.69 + Kolab Groupware
5.70 +
5.71 +Package: kolab-saslauthd
5.72 +Architecture: all
5.73 +Depends: lsb-base (>= 3.0-6),
5.74 + pykolab (= ${binary:Version}),
5.75 + python,
5.76 + sasl2-bin,
5.77 + ${misc:Depends}
5.78 +Description: SASL Authentication Daemon for Kolab
5.79 + A multi-domain capable Kolab SASL Authentication daemon.
5.80 +
5.81 +Package: kolab-server
5.82 +Architecture: all
5.83 +Depends: pykolab (= ${binary:Version}), python, ${misc:Depends}, lsb-base (>= 3.0-6)
5.84 +Description: Kolab Groupware Server
5.85 + Server daemon synchronizing the mutations between various
5.86 + Kolab Groupware components.
5.87 +
5.88 +Package: kolab-telemetry
5.89 +Architecture: all
5.90 +Depends: kolab-cli (= ${binary:Version}), python, ${misc:Depends}
5.91 +Description: Kolab Telemetry Logging Capabilities
5.92 + Cyrus IMAP Telemetry logging handling capabilities for Kolab Groupware
5.93 +
5.94 +Package: kolab-xml
5.95 +Architecture: all
5.96 +Depends: pykolab (= ${binary:Version}),
5.97 + python,
5.98 + python-kolabformat,
5.99 + ${misc:Depends},
5.100 + python-icalendar
5.101 +Description: Kolab XML format wrapper for pykolab
5.102 + Kolab Format XML bindings wrapper for pykolab
5.103 +
5.104 +Package: wallace
5.105 +Architecture: all
5.106 +Depends: pykolab (= ${binary:Version}),
5.107 + kolab-xml (= ${binary:Version}),
5.108 + python,
5.109 + ${misc:Depends},
5.110 + lsb-base (>= 3.0-6),
5.111 + python-icalendar
5.112 +Replaces: kolab-content-filter
5.113 +Provides: kolab-content-filter
5.114 +Description: Kolab Content-Filter
5.115 + This is the Kolab Content Filter, with plugins
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/debian/copyright Sat Feb 15 19:34:16 2014 +0100
6.3 @@ -0,0 +1,28 @@
6.4 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
6.5 +Upstream-Name: pykolab
6.6 +Upstream-Contact: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>
6.7 +Source: http://www.kolab.org
6.8 +
6.9 +Files: *
6.10 +Copyright: Copyright (C) 2012 Kolab Systems - Jeroen van Leeuwen <vanmeeuwen@kolabsys.com>
6.11 +License: GPL-3+
6.12 + This program is free software; you can redistribute it
6.13 + and/or modify it under the terms of the GNU General Public
6.14 + License as published by the Free Software Foundation; either
6.15 + version 3 of the License, or (at your option) any later
6.16 + version.
6.17 + .
6.18 + This program is distributed in the hope that it will be
6.19 + useful, but WITHOUT ANY WARRANTY; without even the implied
6.20 + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
6.21 + PURPOSE. See the GNU General Public License for more
6.22 + details.
6.23 + .
6.24 + You should have received a copy of the GNU General Public
6.25 + License along with this package; if not, write to the Free
6.26 + Software Foundation, Inc., 51 Franklin St, Fifth Floor,
6.27 + Boston, MA 02110-1301 USA
6.28 + .
6.29 + On Debian systems, the full text of the GNU General Public
6.30 + License version 3 can be found in the file
6.31 + `/usr/share/common-licenses/GPL-3'.
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/debian/docs Sat Feb 15 19:34:16 2014 +0100
7.3 @@ -0,0 +1,3 @@
7.4 +NEWS
7.5 +README
7.6 +README.tests
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/debian/gbp.conf Sat Feb 15 19:34:16 2014 +0100
8.3 @@ -0,0 +1,34 @@
8.4 +[DEFAULT]
8.5 +builder = git-pbuilder
8.6 +cleaner = fakeroot debian/rules clean
8.7 +pristine-tar = True
8.8 +
8.9 +[git-buildpackage]
8.10 +export-dir = ../build-area/
8.11 +#tarball-dir = ../tarballs/
8.12 +
8.13 +[git-import-orig]
8.14 +dch = False
8.15 +
8.16 +
8.17 +
8.18 +[git-dch]
8.19 +#debian-branch = master
8.20 +
8.21 +[git-buildpackage]
8.22 +#debian-branch = master
8.23 +
8.24 +# Let's use an export directory
8.25 +#export-dir = ../builds
8.26 +
8.27 +# Ignore files / changes that have not been committed
8.28 +# This is necessary because the build process removes
8.29 +# plenty of files.
8.30 +#ignore-new = True
8.31 +
8.32 +#pristine-tar = True
8.33 +
8.34 +# Tag after successful build
8.35 +#tag = True
8.36 +
8.37 +#upstream-branch = upstream
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/debian/kolab-cli.install Sat Feb 15 19:34:16 2014 +0100
9.3 @@ -0,0 +1,8 @@
9.4 +usr/lib*/python*/*-packages/pykolab/cli/*.py
9.5 +usr/lib*/python*/*-packages/pykolab/cli/wap/
9.6 +usr/lib*/python*/*-packages/pykolab/wap_client/
9.7 +usr/lib*/python*/*-packages/kolab/
9.8 +usr/sbin/kolab
9.9 +usr/share/kolab/templates/*.tpl
9.10 +usr/share/kolab/templates/header_checks.*
9.11 +usr/share/kolab/templates/roundcubemail/*.tpl
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/debian/kolab-conf.install Sat Feb 15 19:34:16 2014 +0100
10.3 @@ -0,0 +1,3 @@
10.4 +usr/sbin/setup-kolab
10.5 +usr/sbin/kolab-conf
10.6 +usr/lib*/python*/*-packages/pykolab/setup/
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/debian/kolab-saslauthd.default Sat Feb 15 19:34:16 2014 +0100
11.3 @@ -0,0 +1,9 @@
11.4 +#
11.5 +# Settings for kolab-saslauthd daemon
11.6 +#
11.7 +
11.8 +# Should kolab-saslauthd run automatically on startup? (default: no)
11.9 +START=no
11.10 +
11.11 +FLAGS="-l warning"
11.12 +DAEMON_ARGS="--fork"
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/debian/kolab-saslauthd.init Sat Feb 15 19:34:16 2014 +0100
12.3 @@ -0,0 +1,169 @@
12.4 +#!/bin/sh
12.5 +### BEGIN INIT INFO
12.6 +# Provides: kolab-saslauthd
12.7 +# Default-Start: 2 3 4 5
12.8 +# Default-Stop: 0 1 6
12.9 +# Required-Start: $remote_fs $local_fs $network
12.10 +# Required-Stop: $remote_fs $local_fs $network
12.11 +# Short-Description: Start/Stop the Kolab SASL authentication daemon
12.12 +# Description: The Kolab saslauthd is a server process which handles \
12.13 +# authentication requests on behalf of the cyrus-sasl library.
12.14 +### END INIT INFO
12.15 +
12.16 +if [ -d "/run" ]; then
12.17 + rundir="/run"
12.18 +else
12.19 + rundir="/var/run"
12.20 +fi
12.21 +
12.22 +PATH=/sbin:/usr/sbin:/bin:/usr/bin
12.23 +DESC="The Kolab saslauthd is a server process which handles authentication requests on behalf of the cyrus-sasl library." # Introduce a short description here
12.24 +NAME=kolab-saslauthd # Introduce the short server's name here
12.25 +DAEMON=/usr/sbin/kolab-saslauthd # Introduce the server's location here
12.26 +DAEMON_ARGS="--fork -l warning" # Arguments to run the daemon with
12.27 +PIDFILE=${rundir}/$NAME/$NAME.pid
12.28 +LOCKFILE=${rundir}/lock/$NAME
12.29 +SCRIPTNAME=/etc/init.d/$NAME
12.30 +DEFAULTSFILE=/etc/default/$NAME
12.31 +SOCKETDIR=${rundir}/saslauthd
12.32 +USER=kolab
12.33 +GROUP=kolab-n
12.34 +
12.35 +# Read configuration variable file if it is present
12.36 +[ -r $DEFAULTSFILE ] && . $DEFAULTSFILE
12.37 +
12.38 +# Load the VERBOSE setting and other rcS variables
12.39 +. /lib/init/vars.sh
12.40 +
12.41 +# Define LSB log_* functions.
12.42 +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
12.43 +. /lib/lsb/init-functions
12.44 +
12.45 +#
12.46 +# Function that starts the daemon/service
12.47 +#
12.48 +do_start()
12.49 +{
12.50 + # Return
12.51 + # 0 if daemon has been started
12.52 + # 1 if daemon was already running
12.53 + # 2 if daemon could not be started
12.54 + # If the daemon is not enabled, give the user a warning and stop.
12.55 + if [ "$START" != "yes" ]; then
12.56 + log_warning_msg "To enable $NAME, edit $DEFAULTSFILE and set START=yes"
12.57 + return 0
12.58 + fi
12.59 +
12.60 + # Make sure the pid directory is there
12.61 + if [ ! -d ${rundir}/$NAME ]; then
12.62 + mkdir ${rundir}/$NAME
12.63 + fi
12.64 + chown $USER:$GROUP ${rundir}/$NAME
12.65 +
12.66 + # Make sure the socket directory is there
12.67 + if [ ! -d $SOCKETDIR ]; then
12.68 + mkdir $SOCKETDIR
12.69 + fi
12.70 + chown $USER:$GROUP $SOCKETDIR
12.71 + chmod 0755 $SOCKETDIR
12.72 +
12.73 + start-stop-daemon \
12.74 + --start \
12.75 + --quiet \
12.76 + --pidfile $PIDFILE \
12.77 + --startas $DAEMON \
12.78 + --test > /dev/null \
12.79 + || return 1
12.80 + start-stop-daemon \
12.81 + --start \
12.82 + --quiet \
12.83 + --pidfile $PIDFILE \
12.84 + --startas $DAEMON \
12.85 + -- $FLAGS $DAEMON_ARGS \
12.86 + || return 2
12.87 + # Add code here, if necessary, that waits for the process to be ready
12.88 + # to handle requests from services started subsequently which depend
12.89 + # on this one. As a last resort, sleep for some time.
12.90 + if [ -d "$(dirname $LOCKFILE)" ]; then
12.91 + touch $LOCKFILE
12.92 + fi
12.93 +}
12.94 +
12.95 +#
12.96 +# Function that stops the daemon/service
12.97 +#
12.98 +do_stop()
12.99 +{
12.100 + # Return
12.101 + # 0 if daemon has been stopped
12.102 + # 1 if daemon was already stopped
12.103 + # 2 if daemon could not be stopped
12.104 + # other if a failure occurred
12.105 + start-stop-daemon \
12.106 + --stop \
12.107 + --quiet \
12.108 + --retry=TERM/30/KILL/5 \
12.109 + --startas $DAEMON \
12.110 + --pidfile $PIDFILE
12.111 + RETVAL="$?"
12.112 + [ "$RETVAL" = 2 ] && return 2
12.113 + # Wait for children to finish too if this is a daemon that forks
12.114 + # and if the daemon is only ever run from this initscript.
12.115 + # If the above conditions are not satisfied then add some other code
12.116 + # that waits for the process to drop all resources that could be
12.117 + # needed by services started subsequently. A last resort is to
12.118 + # sleep for some time.
12.119 + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
12.120 + [ "$?" = 2 ] && return 2
12.121 + # Many daemons don't delete their pidfiles when they exit.
12.122 + rm -f $PIDFILE
12.123 + rm -f $LOCKFILE
12.124 + return "$RETVAL"
12.125 +}
12.126 +
12.127 +case "$1" in
12.128 + start)
12.129 + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
12.130 + do_start
12.131 + case "$?" in
12.132 + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
12.133 + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
12.134 + esac
12.135 + ;;
12.136 + stop)
12.137 + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
12.138 + do_stop
12.139 + case "$?" in
12.140 + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
12.141 + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
12.142 + esac
12.143 + ;;
12.144 + status)
12.145 + status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
12.146 + ;;
12.147 + restart|force-reload)
12.148 + log_daemon_msg "Restarting $DESC" "$NAME"
12.149 + do_stop
12.150 + case "$?" in
12.151 + 0|1)
12.152 + do_start
12.153 + case "$?" in
12.154 + 0) log_end_msg 0 ;;
12.155 + 1) log_end_msg 1 ;; # Old process is still running
12.156 + *) log_end_msg 1 ;; # Failed to start
12.157 + esac
12.158 + ;;
12.159 + *)
12.160 + # Failed to stop
12.161 + log_end_msg 1
12.162 + ;;
12.163 + esac
12.164 + ;;
12.165 + *)
12.166 + #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
12.167 + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
12.168 + exit 3
12.169 + ;;
12.170 +esac
12.171 +
12.172 +:
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/debian/kolab-saslauthd.install Sat Feb 15 19:34:16 2014 +0100
13.3 @@ -0,0 +1,2 @@
13.4 +usr/lib*/python*/*-packages/saslauthd/__init__.py
13.5 +usr/sbin/kolab-saslauthd
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/debian/kolab-saslauthd.postinst Sat Feb 15 19:34:16 2014 +0100
14.3 @@ -0,0 +1,12 @@
14.4 +#!/bin/bash
14.5 +
14.6 +#DEBHELPER#
14.7 +
14.8 +set -e
14.9 +
14.10 +case "$1" in
14.11 + configure|upgrade)
14.12 + invoke-rc.d kolab-saslauthd restart || true
14.13 + ;;
14.14 +
14.15 +esac
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/debian/kolab-server.default Sat Feb 15 19:34:16 2014 +0100
15.3 @@ -0,0 +1,10 @@
15.4 +# Configuration file for the Kolab Server daemon.
15.5 +#
15.6 +# See kolabd --help for more flags.
15.7 +#
15.8 +
15.9 +# Should kolabd run automatically on startup? (default: no)
15.10 +START=no
15.11 +
15.12 +FLAGS="-l warning"
15.13 +DAEMON_ARGS="--fork --user kolab"
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
16.2 +++ b/debian/kolab-server.init Sat Feb 15 19:34:16 2014 +0100
16.3 @@ -0,0 +1,154 @@
16.4 +#! /bin/bash
16.5 +### BEGIN INIT INFO
16.6 +# Provides: kolab-server
16.7 +# Default-Start: 2 3 4 5
16.8 +# Default-Stop: 0 1 6
16.9 +# Required-Start: $remote_fs $local_fs $network
16.10 +# Required-Stop: $remote_fs $local_fs $network
16.11 +# Short-Description: Start/Stop the Kolab Server daemon
16.12 +# Description: The Kolab server is a server process which synchronizes
16.13 +# LDAP, SQL and other authentication databases with Cyrus IMAP,
16.14 +# Dovecot or other IMAP servers.
16.15 +### END INIT INFO
16.16 +
16.17 +PATH=/sbin:/usr/sbin:/bin:/usr/bin
16.18 +DESC="The Kolab server synchronizes LDAP, SQL and other authentication databases with Cyrus IMAP, Dovecot or other IMAP servers." # Introduce a short description here
16.19 +NAME=kolabd # Introduce the short server's name here
16.20 +DAEMON=/usr/sbin/kolabd # Introduce the server's location here
16.21 +USER="kolab"
16.22 +GROUP="kolab-n"
16.23 +DAEMON_ARGS="--fork --user $USER" # Arguments to run the daemon with
16.24 +FLAGS="-l warning"
16.25 +PIDFILE=/run/$NAME/$NAME.pid
16.26 +LOCKFILE=/run/lock/$NAME
16.27 +DEFAULTSFILE=/etc/default/$NAME
16.28 +SCRIPTNAME=/etc/init.d/$NAME
16.29 +
16.30 +# Read configuration variable file if it is present
16.31 +[ -r /etc/default/kolab-server ] && . /etc/default/kolab-server
16.32 +
16.33 +# Load the VERBOSE setting and other rcS variables
16.34 +. /lib/init/vars.sh
16.35 +
16.36 +# Define LSB log_* functions.
16.37 +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
16.38 +. /lib/lsb/init-functions
16.39 +
16.40 +#
16.41 +# Function that starts the daemon/service
16.42 +#
16.43 +do_start()
16.44 +{
16.45 + # Return
16.46 + # 0 if daemon has been started
16.47 + # 1 if daemon was already running
16.48 + # 2 if daemon could not be started
16.49 +
16.50 + # If the daemon is not enabled, give the user a warning and stop.
16.51 + if [ "$START" != "yes" ]; then
16.52 + log_warning_msg "To enable $NAME, edit $DEFAULTSFILE and set START=yes"
16.53 + return 0
16.54 + fi
16.55 +
16.56 + if [ ! -d /run/$NAME ]; then
16.57 + mkdir /run/$NAME
16.58 + fi
16.59 + chown $USER:$GROUP /run/$NAME
16.60 +
16.61 + start-stop-daemon \
16.62 + --start \
16.63 + --quiet \
16.64 + --startas $DAEMON \
16.65 + --name $NAME \
16.66 + --test > /dev/null \
16.67 + || return 1
16.68 + start-stop-daemon \
16.69 + --start \
16.70 + --quiet \
16.71 + --exec $DAEMON \
16.72 + --name $NAME \
16.73 + -- $FLAGS $DAEMON_ARGS --pid-file $PIDFILE \
16.74 + || return 2
16.75 + # Add code here, if necessary, that waits for the process to be ready
16.76 + # to handle requests from services started subsequently which depend
16.77 + # on this one. As a last resort, sleep for some time.
16.78 + touch $LOCKFILE
16.79 +}
16.80 +
16.81 +#
16.82 +# Function that stops the daemon/service
16.83 +#
16.84 +do_stop()
16.85 +{
16.86 + # Return
16.87 + # 0 if daemon has been stopped
16.88 + # 1 if daemon was already stopped
16.89 + # 2 if daemon could not be stopped
16.90 + # other if a failure occurred
16.91 + start-stop-daemon \
16.92 + --stop \
16.93 + --quiet \
16.94 + --retry=TERM/30/KILL/5 \
16.95 + --user $USER \
16.96 + --startas $DAEMON \
16.97 + --name $NAME
16.98 + RETVAL="$?"
16.99 + [ "$RETVAL" = 2 ] && return 2
16.100 + # Wait for children to finish too if this is a daemon that forks
16.101 + # and if the daemon is only ever run from this initscript.
16.102 + # If the above conditions are not satisfied then add some other code
16.103 + # that waits for the process to drop all resources that could be
16.104 + # needed by services started subsequently. A last resort is to
16.105 + # sleep for some time.
16.106 + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
16.107 + [ "$?" = 2 ] && return 2
16.108 + # Many daemons don't delete their pidfiles when they exit.
16.109 + rm -f $PIDFILE
16.110 + rm -f $LOCKFILE
16.111 + return "$RETVAL"
16.112 +}
16.113 +
16.114 +case "$1" in
16.115 + start)
16.116 + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
16.117 + do_start
16.118 + case "$?" in
16.119 + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
16.120 + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
16.121 + esac
16.122 + ;;
16.123 + stop)
16.124 + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
16.125 + do_stop
16.126 + case "$?" in
16.127 + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
16.128 + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
16.129 + esac
16.130 + ;;
16.131 + status)
16.132 + status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
16.133 + ;;
16.134 + restart|force-reload)
16.135 + log_daemon_msg "Restarting $DESC" "$NAME"
16.136 + do_stop
16.137 + case "$?" in
16.138 + 0|1)
16.139 + do_start
16.140 + case "$?" in
16.141 + 0) log_end_msg 0 ;;
16.142 + 1) log_end_msg 1 ;; # Old process is still running
16.143 + *) log_end_msg 1 ;; # Failed to start
16.144 + esac
16.145 + ;;
16.146 + *)
16.147 + # Failed to stop
16.148 + log_end_msg 1
16.149 + ;;
16.150 + esac
16.151 + ;;
16.152 + *)
16.153 + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
16.154 + exit 3
16.155 + ;;
16.156 +esac
16.157 +:
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
17.2 +++ b/debian/kolab-server.install Sat Feb 15 19:34:16 2014 +0100
17.3 @@ -0,0 +1,3 @@
17.4 +usr/lib*/python*/*-packages/kolabd/process.py
17.5 +usr/lib*/python*/*-packages/kolabd/__init__.py
17.6 +usr/sbin/kolabd
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
18.2 +++ b/debian/kolab-server.postinst Sat Feb 15 19:34:16 2014 +0100
18.3 @@ -0,0 +1,12 @@
18.4 +#!/bin/bash
18.5 +
18.6 +#DEBHELPER#
18.7 +
18.8 +set -e
18.9 +
18.10 +case "$1" in
18.11 + configure|upgrade)
18.12 + invoke-rc.d kolab-server restart || true
18.13 + ;;
18.14 +
18.15 +esac
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
19.2 +++ b/debian/kolab-telemetry.install Sat Feb 15 19:34:16 2014 +0100
19.3 @@ -0,0 +1,3 @@
19.4 +usr/sbin/kolab_parse_telemetry
19.5 +usr/lib*/python*/*-packages/pykolab/cli/telemetry/*.py
19.6 +usr/lib*/python*/*-packages/pykolab/telemetry.py
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
20.2 +++ b/debian/kolab-xml.install Sat Feb 15 19:34:16 2014 +0100
20.3 @@ -0,0 +1,1 @@
20.4 +usr/lib*/python*/*-packages/pykolab/xml/
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
21.2 +++ b/debian/pykolab.dirs Sat Feb 15 19:34:16 2014 +0100
21.3 @@ -0,0 +1,2 @@
21.4 +var/lib/kolab
21.5 +var/log/kolab
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
22.2 +++ b/debian/pykolab.install Sat Feb 15 19:34:16 2014 +0100
22.3 @@ -0,0 +1,26 @@
22.4 +etc/kolab/kolab.conf
22.5 +usr/lib/pykolab/postfix/kolab_smtp_access_policy usr/lib/postfix/
22.6 +usr/lib*/python*/*-packages/cyruslib.py
22.7 +usr/lib*/python*/*-packages/pykolab/__init__.py
22.8 +usr/lib*/python*/*-packages/pykolab/auth/__init__.py
22.9 +usr/lib*/python*/*-packages/pykolab/auth/ldap/__init__.py
22.10 +usr/lib*/python*/*-packages/pykolab/auth/ldap/auth_cache.py
22.11 +usr/lib*/python*/*-packages/pykolab/auth/ldap/cache.py
22.12 +usr/lib*/python*/*-packages/pykolab/auth/ldap/syncrepl.py
22.13 +usr/lib*/python*/*-packages/pykolab/base.py
22.14 +usr/lib*/python*/*-packages/pykolab/conf/__init__.py
22.15 +usr/lib*/python*/*-packages/pykolab/conf/defaults.py
22.16 +usr/lib*/python*/*-packages/pykolab/constants.py
22.17 +usr/lib*/python*/*-packages/pykolab/errors.py
22.18 +usr/lib*/python*/*-packages/pykolab/imap_utf7.py
22.19 +usr/lib*/python*/*-packages/pykolab/imap/__init__.py
22.20 +usr/lib*/python*/*-packages/pykolab/imap/cyrus.py
22.21 +usr/lib*/python*/*-packages/pykolab/logger.py
22.22 +usr/lib*/python*/*-packages/pykolab/plugins/__init__.py
22.23 +usr/lib*/python*/*-packages/pykolab/plugins/defaultfolders/__init__.py
22.24 +usr/lib*/python*/*-packages/pykolab/plugins/dynamicquota/__init__.py
22.25 +usr/lib*/python*/*-packages/pykolab/plugins/recipientpolicy/__init__.py
22.26 +usr/lib*/python*/*-packages/pykolab/translate.py
22.27 +usr/lib*/python*/*-packages/pykolab/translit.py
22.28 +usr/lib*/python*/*-packages/pykolab/utils.py
22.29 +usr/share/locale/*/LC_MESSAGES/pykolab.mo
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
23.2 +++ b/debian/pykolab.postinst Sat Feb 15 19:34:16 2014 +0100
23.3 @@ -0,0 +1,70 @@
23.4 +#!/bin/bash
23.5 +
23.6 +# From http://www.debian.org/doc/manuals/securing-debian-howto/ch9.en.html#s-bpp-lower-privs
23.7 +
23.8 +set -e
23.9 +
23.10 +case "$1" in
23.11 + install|upgrade|configure)
23.12 +
23.13 + # Add the kolab user and group accounts
23.14 + getent group kolab &>/dev/null || addgroup --quiet --system --gid 412 kolab &>/dev/null
23.15 + getent passwd kolab &>/dev/null || \
23.16 + adduser --quiet --system \
23.17 + --uid 412 --gid 412 --disabled-password \
23.18 + --home /var/lib/kolab \
23.19 + --gecos "Kolab System Account" kolab &>/dev/null || :
23.20 +
23.21 + gpasswd -a www-data kolab >/dev/null 2>&1 || :
23.22 +
23.23 + getent group kolab-n &>/dev/null || addgroup --quiet --system --gid 413 kolab-n &>/dev/null
23.24 + getent passwd kolab-n &>/dev/null || \
23.25 + adduser --quiet --system \
23.26 + --uid 413 --gid 413 --disabled-password \
23.27 + --home /var/lib/kolab \
23.28 + --gecos "Kolab System Account (N)" kolab-n &>/dev/null || :
23.29 + gpasswd -a kolab-n kolab &>/dev/null || :
23.30 +
23.31 + getent group kolab-r &>/dev/null || addgroup --system --gid 414 kolab-r &>/dev/null
23.32 + getent passwd kolab-r &>/dev/null || \
23.33 + adduser --quiet --system \
23.34 + --uid 414 --gid 414 --disabled-password \
23.35 + --home /var/lib/kolab \
23.36 + --gecos "Kolab System Account (R)" kolab-r &>/dev/null || :
23.37 +
23.38 + # Re-base the POSIX permission set on to the reference platform
23.39 + chown root:root /etc/kolab
23.40 + chmod 755 /etc/kolab
23.41 + chmod 640 /etc/kolab/kolab.conf
23.42 +
23.43 + if dpkg-statoverride --list /var/lib/kolab >/dev/null; then
23.44 + dpkg-statoverride --remove /var/lib/kolab
23.45 + fi
23.46 +
23.47 + if dpkg-statoverride --list /var/log/kolab >/dev/null; then
23.48 + dpkg-statoverride --remove /var/log/kolab
23.49 + fi
23.50 +
23.51 + if [ -x "$(which univention-config-registry 2>/dev/null)" ]; then
23.52 + chown listener:nogroup /etc/kolab/kolab.conf
23.53 + dpkg-statoverride --update --add listener nogroup 770 /var/lib/kolab
23.54 + dpkg-statoverride --update --add listener nogroup 770 /var/log/kolab
23.55 + chown -R listener:nogroup /var/lib/kolab /var/log/kolab
23.56 + chmod 770 /var/lib/kolab /var/log/kolab
23.57 + # In any case, add listener to the kolab-n group, and kolab to the nogroup
23.58 + gpasswd -a listener kolab-n >/dev/null 2>&1 || :
23.59 + gpasswd -a kolab nogroup >/dev/null 2>&1 || :
23.60 + if [ -x /etc/init.d/univention-directory-listener ]; then
23.61 + invoke-rc.d univention-directory-listener restart 2>/dev/null || :
23.62 + fi
23.63 + else
23.64 + chown kolab-n:kolab /etc/kolab/kolab.conf
23.65 + dpkg-statoverride --update --add kolab kolab-n 770 /var/lib/kolab
23.66 + dpkg-statoverride --update --add kolab kolab-n 770 /var/log/kolab
23.67 + chown -R kolab:kolab-n /var/lib/kolab /var/log/kolab
23.68 + chmod 770 /var/lib/kolab /var/log/kolab
23.69 + fi
23.70 + ;;
23.71 +esac
23.72 +
23.73 +#DEBHELPER#
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
24.2 +++ b/debian/rules Sat Feb 15 19:34:16 2014 +0100
24.3 @@ -0,0 +1,31 @@
24.4 +#!/usr/bin/make -f
24.5 +# -*- makefile -*-
24.6 +# Sample debian/rules that uses debhelper.
24.7 +# This file was originally written by Joey Hess and Craig Small.
24.8 +# As a special exception, when this file is copied by dh-make into a
24.9 +# dh-make output file, you may use that output file without restriction.
24.10 +# This special exception was added by Craig Small in version 0.37 of dh-make.
24.11 +
24.12 +# Uncomment this to turn on verbose mode.
24.13 +export DH_VERBOSE=1
24.14 +
24.15 +%:
24.16 + dh $@ --with python2 --with autotools-dev --with autoreconf
24.17 +
24.18 +override_dh_auto_test:
24.19 + dh_auto_test || echo “ignoring test failure”
24.20 +
24.21 +override_dh_install:
24.22 + #dh_install --list-missing
24.23 + if [ -x "$$(which univention-install-config-registry 2>/dev/null)" ]; then \
24.24 + echo "usr/lib*/python*/*-packages/pykolab/plugins/sievemgmt/__init__.py" >> $(CURDIR)/debian/pykolab.install ; \
24.25 + echo "usr/lib*/python*/*-packages/pykolab/cli/sieve/" >> $(CURDIR)/debian/kolab-cli.install ; \
24.26 + echo "ucs:Depends=python-sievelib" >> $(CURDIR)/debian/pykolab.substvars ; \
24.27 + echo "ucs:Depends=python-sievelib" >> $(CURDIR)/debian/kolab-cli.substvars ; \
24.28 + fi
24.29 + dh_install
24.30 + if [ -x "$$(which univention-install-config-registry 2>/dev/null)" ]; then \
24.31 + mkdir -p $(CURDIR)/debian/pykolab/usr/share/pyshared/pykolab/ucs/ ; \
24.32 + cp -a ucs/listener.py $(CURDIR)/debian/pykolab/usr/share/pyshared/pykolab/ucs/listener.py ; \
24.33 + fi
24.34 +
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
25.2 +++ b/debian/wallace.default Sat Feb 15 19:34:16 2014 +0100
25.3 @@ -0,0 +1,10 @@
25.4 +# Configuration file for the Kolab Server daemon Wallace.
25.5 +#
25.6 +# See wallaced --help for more flags.
25.7 +#
25.8 +
25.9 +# Should wallaced run automatically on startup? (default: no)
25.10 +START=no
25.11 +
25.12 +FLAGS="-l warning"
25.13 +DAEMON_ARGS="--fork --user kolab"
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
26.2 +++ b/debian/wallace.init Sat Feb 15 19:34:16 2014 +0100
26.3 @@ -0,0 +1,156 @@
26.4 +#! /bin/bash
26.5 +#
26.6 +### BEGIN INIT INFO
26.7 +# Provides: wallace
26.8 +# Default-Start: 2 3 4 5
26.9 +# Default-Stop: 0 1 6
26.10 +# Required-Start: $remote_fs $local_fs $network
26.11 +# Required-Stop: $remote_fs $local_fs $network
26.12 +# Short-Description: Start/Stop the Kolab Server daemon
26.13 +# Description: The Kolab Wallace server daemon is a content filtering daemon.
26.14 +### END INIT INFO
26.15 +
26.16 +PATH=/sbin:/usr/sbin:/bin:/usr/bin
26.17 +DESC="The Kolab Wallace server daemon is a content filtering daemon" # Introduce a short description here
26.18 +NAME=wallace # Introduce the short server's name here
26.19 +PROG_NAME=wallaced
26.20 +DAEMON=/usr/sbin/$PROG_NAME # Introduce the server's location here
26.21 +DAEMON_ARGS="--fork -l warning" # Arguments to run the daemon with
26.22 +PIDFILE=/run//$PROG_NAME/$PROG_NAME.pid
26.23 +LOCKFILE=/run/lock/$PROG_NAME
26.24 +SCRIPTNAME=/etc/init.d/$NAME
26.25 +DEFAULTSFILE=/etc/default/$NAME
26.26 +USER="kolab"
26.27 +GROUP="kolab-n"
26.28 +
26.29 +# Read configuration variable file if it is present
26.30 +[ -r /etc/default/$NAME ] && . /etc/default/$NAME
26.31 +
26.32 +# Load the VERBOSE setting and other rcS variables
26.33 +. /lib/init/vars.sh
26.34 +
26.35 +# Define LSB log_* functions.
26.36 +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
26.37 +. /lib/lsb/init-functions
26.38 +
26.39 +#
26.40 +# Function that starts the daemon/service
26.41 +#
26.42 +do_start()
26.43 +{
26.44 + # Return
26.45 + # 0 if daemon has been started
26.46 + # 1 if daemon was already running
26.47 + # 2 if daemon could not be started
26.48 +
26.49 + # If the daemon is not enabled, give the user a warning and stop.
26.50 + if [ "$START" != "yes" ]; then
26.51 + log_warning_msg "To enable $NAME, edit $DEFAULTSFILE and set START=yes"
26.52 + return 0
26.53 + fi
26.54 +
26.55 + # Make sure the pid directory is there
26.56 + if [ ! -d /run/$PROG_NAME ]; then
26.57 + mkdir /run/$PROG_NAME
26.58 + fi
26.59 + chown $USER:$GROUP /run/$PROG_NAME
26.60 +
26.61 + start-stop-daemon \
26.62 + --start \
26.63 + --quiet \
26.64 + --pidfile $PIDFILE \
26.65 + --startas $DAEMON \
26.66 + --test > /dev/null \
26.67 + || return 1
26.68 + start-stop-daemon \
26.69 + --start \
26.70 + --quiet \
26.71 + --pidfile $PIDFILE \
26.72 + --startas $DAEMON \
26.73 + -- $FLAGS $DAEMON_ARGS \
26.74 + || return 2
26.75 + # Add code here, if necessary, that waits for the process to be ready
26.76 + # to handle requests from services started subsequently which depend
26.77 + # on this one. As a last resort, sleep for some time.
26.78 + touch $LOCKFILE
26.79 +}
26.80 +
26.81 +#
26.82 +# Function that stops the daemon/service
26.83 +#
26.84 +do_stop()
26.85 +{
26.86 + # Return
26.87 + # 0 if daemon has been stopped
26.88 + # 1 if daemon was already stopped
26.89 + # 2 if daemon could not be stopped
26.90 + # other if a failure occurred
26.91 + start-stop-daemon \
26.92 + --stop \
26.93 + --quiet \
26.94 + --retry=TERM/30/KILL/5 \
26.95 + --startas $DAEMON \
26.96 + --pidfile $PIDFILE \
26.97 + --name $PROG_NAME
26.98 + RETVAL="$?"
26.99 + [ "$RETVAL" = 2 ] && return 2
26.100 + # Wait for children to finish too if this is a daemon that forks
26.101 + # and if the daemon is only ever run from this initscript.
26.102 + # If the above conditions are not satisfied then add some other code
26.103 + # that waits for the process to drop all resources that could be
26.104 + # needed by services started subsequently. A last resort is to
26.105 + # sleep for some time.
26.106 + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --user $USER --exec $DAEMON
26.107 + [ "$?" = 2 ] && return 2
26.108 + # Many daemons don't delete their pidfiles when they exit.
26.109 + rm -f $PIDFILE
26.110 + rm -f $LOCKFILE
26.111 + return "$RETVAL"
26.112 +}
26.113 +
26.114 +case "$1" in
26.115 + start)
26.116 + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
26.117 + do_start
26.118 + case "$?" in
26.119 + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
26.120 + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
26.121 + esac
26.122 + ;;
26.123 + stop)
26.124 + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
26.125 + do_stop
26.126 + case "$?" in
26.127 + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
26.128 + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
26.129 + esac
26.130 + ;;
26.131 + status)
26.132 + status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
26.133 + ;;
26.134 + restart|force-reload)
26.135 + log_daemon_msg "Restarting $DESC" "$NAME"
26.136 + do_stop
26.137 + case "$?" in
26.138 + 0|1)
26.139 + do_start
26.140 + case "$?" in
26.141 + 0) log_end_msg 0 ;;
26.142 + 1) log_end_msg 1 ;; # Old process is still running
26.143 + *) log_end_msg 1 ;; # Failed to start
26.144 + esac
26.145 + ;;
26.146 + *)
26.147 + # Failed to stop
26.148 + log_end_msg 1
26.149 + ;;
26.150 + esac
26.151 + ;;
26.152 + *)
26.153 + #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
26.154 + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
26.155 + exit 3
26.156 + ;;
26.157 +esac
26.158 +
26.159 +:
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
27.2 +++ b/debian/wallace.install Sat Feb 15 19:34:16 2014 +0100
27.3 @@ -0,0 +1,2 @@
27.4 +usr/sbin/wallaced
27.5 +usr/lib*/python*/*-packages/wallace/
28.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
28.2 +++ b/debian/wallace.postinst Sat Feb 15 19:34:16 2014 +0100
28.3 @@ -0,0 +1,17 @@
28.4 +#!/bin/bash
28.5 +
28.6 +#DEBHELPER#
28.7 +
28.8 +set -e
28.9 +
28.10 +case "$1" in
28.11 + install|configure)
28.12 + mkdir -p /var/spool/pykolab/wallace && chown -R kolab:kolab-n /var/spool/pykolab
28.13 + ;;
28.14 +
28.15 + upgrade)
28.16 + mkdir -p /var/spool/pykolab/wallace && chown -R kolab:kolab-n /var/spool/pykolab
28.17 + invoke-rc.d wallace restart || true
28.18 + ;;
28.19 +
28.20 +esac
29.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
29.2 +++ b/debian/watch Sat Feb 15 19:34:16 2014 +0100
29.3 @@ -0,0 +1,3 @@
29.4 +version=3
29.5 +http://git.kolab.org/pykolab/ \
29.6 + /pykolab/snapshot/pykolab-([0-9\.]+)\.tar\.gz