# HG changeset patch # User Paul Boddie # Date 1393027535 -3600 # Node ID 9edd6a891e3b0970825fc89774aa00cadfc11417 Packaging for kolab 3.1.0-25 from upstream. diff -r 000000000000 -r 9edd6a891e3b debian/README.Debian --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/README.Debian Sat Feb 22 01:05:35 2014 +0100 @@ -0,0 +1,20 @@ +kolab for Debian +---------------- + +Version 3.0.0-10 allows you to install another imap server. +The preferred server is still cyrus-imapd, but any package +that provides imap-server can be installed without breaking +the Kolab installation. + +The same applies to LDAP. 389-ds is preferred, but another LDAP +server, such as openldap (slapd) that also provides ldap-server +can be installed as well. + +Note that setup-kolab only works when the preferred servers are +installed, so in terms of configuration you're on your own if you +install a different server. + +Note also that this in itself does not easily enable an installation +across multiple servers. That is still a work in progress. + + -- Paul Klos Sun, 25 Aug 2013 15:33:17 +0200 diff -r 000000000000 -r 9edd6a891e3b debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Sat Feb 22 01:05:35 2014 +0100 @@ -0,0 +1,200 @@ +kolab (3.1.0-25) unstable; urgency=low + + * Recover some lost changes + * Correct creation of univention-directory-listener hook link + * Correct permissions on /etc/kolab/kolab.conf and /var/lib/kolab for UCS + + -- Jeroen van Meeuwen (Kolab Systems) Tue, 26 Nov 2013 12:56:00 +0100 + +kolab (3.1.0-22.14) unstable; urgency=low + + * Install kolab-ldap after univention-legacy-kolab-schema + * Extend UDM settings + * Load kolab schema + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 22 Nov 2013 12:56:00 +0100 + +kolab (3.1.0-22.10) unstable; urgency=low + + * generate passphrases for cyrus-admin in preinst scripts + * Ship kolab.conf as part of kolab-ucs + * Start kolab-saslauthd in kolab-imap and kolab-mta postinst, after join scripts + * install kolab-saslauthd before kolab-imap and kolab-mta + * cyrus-imapd should be installed before kolab-imap is + * Do not start kolab-saslauthd in kolab-ucs join script + + -- Jeroen van Meeuwen (Kolab Systems) Thu, 21 Nov 2013 12:56:00 +0100 + +kolab (3.1.0-21) unstable; urgency=low + + * Do not test for an imap server when adding a cyrus administrator user + * kolab-imap and kolab-mta have to separately depend on kolab-saslauthd + * Repack kolab-3.1.tar.gz + * Avoid too many reloads and restarts + * Conflict with, Provide and Replace univention-mail-postfix + * Fix Cyrus IMAP missing option + + -- Jeroen van Meeuwen (Kolab Systems) Wed, 20 Nov 2013 12:56:00 +0100 + +kolab (3.1.0-14) unstable; urgency=low + + * Correct ldap_servers setting + * Correct cyrus-imap admin username (kolab.conf) + * Add ptloader to cyrus.conf + * Correct /etc/imapd.conf template (comments) + + -- Jeroen van Meeuwen (Kolab Systems) Tue, 19 Nov 2013 12:56:00 +0100 + +kolab (3.1.0-12) unstable; urgency=low + + * Add generic kolab-ucs package + + -- Jeroen van Meeuwen (Kolab Systems) Mon, 18 Nov 2013 12:56:00 +0100 + +kolab (3.1.0-11) unstable; urgency=low + + * Correct locations of imapd.conf/cyrus.conf + * Remove obsolete /etc/pam.d/ configuration + * Refresh /etc/imapd.conf template + * Correct locations of SQL files to be loaded + * Correct name of kolab-mta password change script call in join script + * Add univention configuration for kolab-imap and kolab-mta + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 15 Nov 2013 12:56:00 +0100 + +kolab (3.1.0-2) unstable; urgency=low + + * Add default plugins for kolab-webclient + + -- Jeroen van Meeuwen (Kolab Systems) Thu, 31 Oct 2013 12:56:00 +0100 + +kolab (3.1.0-1) unstable; urgency=low + + * Kolab web client includes chwala and iRony + + -- Jeroen van Meeuwen (Kolab Systems) Sun, 8 Sep 2013 12:56:00 +0100 + +kolab (3.0.0-10) unstable; urgency=low + + * Remove duplicate sections + * Spelling corrections + * Add Debian source format + * Missed one meta-package + * Depend kolab-mta on cyrus-imapd or other IMAP server + * Allow other ldap-server for kolab-ldap + * Add myself to Uploaders + * Add README.Debian + + -- Paul Klos Sun, 25 Aug 2013 15:48:44 +0200 + +kolab (3.0.0-9) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Update kolab-webclient dependencies + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 05 Oct 2012 12:34:49 -0400 + +kolab (3.0.0-8) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Add dependency on wallace (#1063) + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen (Kolab Systems) Tue, 02 Oct 2012 12:16:28 -0400 + +kolab (3.0.0-7) unstable; urgency=low + + * Have the webclient depend on mysql-server (#1059) + * Make the mta sub-package depend on amavisd-new, clamav-daemon and + spamassassin (#1060) + + -- Jeroen van Meeuwen (Kolab Systems) Sat, 29 Sep 2012 12:30:42 +0200 + +kolab (3.0.0-6) unstable; urgency=low + + * kolab-ldap should depend on our schema extensions package as well + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 28 Sep 2012 03:18:26 +0200 + +kolab (3.0.0-5) unstable; urgency=low + + * Actually also depend on postfix-ldap since we'll be using LDAP lookup tables + + -- Jeroen van Meeuwen (Kolab Systems) Tue, 11 Sep 2012 16:58:47 +0200 + +kolab (3.0.0-4.3) unstable; urgency=low + + * Non-maintainer upload. + * Another attempt to fix the kolab-mta dependencies + * Add back the dependency on kolab-webclient now that roundcube-plugins-kolab is available + + -- Michael Kiefer Mon, 10 Sep 2012 22:06:03 +0200 + +kolab (3.0.0-4.2) unstable; urgency=low + + * Non-maintainer upload. + * Attempted fix for kolab-mta dependencies + + -- Paul Klos Sat, 08 Sep 2012 13:00:00 +0200 + +kolab (3.0.0-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove Breaks/Conflicts + + -- Paul Klos Fri, 07 Sep 2012 18:00:00 +0200 + +kolab (3.0.0-4) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Conflict / Break exim4-config as well + + [ Kolab Systems User ] + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 07 Sep 2012 13:00:21 +0200 + +kolab (3.0.0-3) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Attempt without stating the exim4 metapackage + + [ Kolab Systems User ] + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 07 Sep 2012 01:08:27 +0200 + +kolab (3.0.0-2) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Add Breaks: exim4 + + [ Kolab Systems User ] + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 07 Sep 2012 01:03:37 +0200 + +kolab (3.0.0-1) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Depend on postfix and conflict with exim4 (recommended by Andre Heinecke) + + [ Kolab Systems User ] + + -- Jeroen van Meeuwen (Kolab Systems) Fri, 07 Sep 2012 00:55:20 +0200 + +kolab (2.4.1-5) unstable; urgency=low + + [ Jeroen van Meeuwen (Kolab Systems) ] + * Obsolete more exim4 packages + * Temporarily disable dependency on kolab-webclient + + [ Jeroen van Meeuwen ] + + -- Jeroen van Meeuwen Wed, 22 Aug 2012 15:38:28 +0200 + +kolab (2.4.1-2) unstable; urgency=low + + * Initial package + + -- Jeroen van Meeuwen (Kolab Systems) Wed, 6 Jun 2012 00:00:00 +0000 diff -r 000000000000 -r 9edd6a891e3b debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Sat Feb 22 01:05:35 2014 +0100 @@ -0,0 +1,1 @@ +5 diff -r 000000000000 -r 9edd6a891e3b debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Sat Feb 22 01:05:35 2014 +0100 @@ -0,0 +1,102 @@ +Source: kolab +Section: mail +Priority: extra +Maintainer: Jeroen van Meeuwen (Kolab Systems) +Uploaders: Paul Klos +Build-Depends: debhelper (>= 8), + univention-config-dev | bash +Standards-Version: 3.9.3 +Vcs-Browser: http://git.kolabsys.com/apt/kolab/ +Vcs-Git: git://git.kolabsys.com/git/apt/kolab +Homepage: http://www.kolab.org/ + +Package: kolab +Architecture: all +Depends: kolab-cli, + kolab-conf, + kolab-imap, + kolab-ldap, + kolab-mta, + kolab-saslauthd, + kolab-server, + kolab-webclient, + ${misc:Depends}, + ${nonucs:Depends}, + ${ucs:Depends} +Description: Metapackage for Kolab Groupware Server + Install a complete Kolab Groupware server using this metapackage. + The installation will include: + - command-line utilities, + - configuration management, + - an IMAP server, + - an LDAP server, + - a mail transport agent, + - an authentication daemon, + - a Kolab Groupware synchronization server, + - a web admin interface, and + - a Kolab webmail client interface. + +Package: kolab-imap +Architecture: all +Pre-Depends:cyrus-imapd (>= 2.4) | imap-server, + kolab-saslauthd +Depends: ${misc:Depends}, + ${ucs:Depends} +Description: IMAP server for Kolab Groupware server + This is a metapackage for the IMAP server dependencies of + Kolab Groupware + +Package: kolab-ldap +Architecture: all +Pre-Depends:${ucs:Pre-Depends} +Depends: 389-ds | ldap-server, + kolab-schema (>= 3.0), + ${misc:Depends}, + ${ucs:Depends} +Description: LDAP server for Kolab Groupware server + This is a metapackage for the LDAP server dependencies of + Kolab Groupware + +Package: kolab-mta +Architecture: all +Pre-Depends:kolab-saslauthd, + postfix +Depends: amavisd-new, + clamav-daemon, + postfix-ldap, + spamassassin, + wallace, + ${misc:Depends}, + ${ucs:Depends} +Provides: ${ucs:Provides} +Conflicts: ${ucs:Conflicts} +Replaces: ${ucs:Replaces} +Description: MTA server for Kolab Groupware server + This is a metapackage for the MTA server dependencies of + Kolab Groupware + +Package: kolab-webclient +Architecture: all +Depends: chwala, + iRony, + kolab-freebusy, + kolab-syncroton, + mysql-client, + mysql-server, + php-mdb2-driver-mysql (>= 1.5.0b2), + roundcubemail (>= 0.9), + roundcubemail-plugin-contextmenu, + roundcubemail-plugin-threadingasdefault, + roundcubemail-plugins-kolab (>= 3.0), + ${misc:Depends}, + ${ucs:Depends} +Description: Webmail client for Kolab Groupware server + This is a metapackage for the Webmail client interface + dependencies of Kolab Groupware + +Package: kolab-ucs +Architecture: all +Depends: ${misc:Depends} +Description: Additional UCS routines for integration + This package installs the necessary scripts to integrate + Kolab Groupware in to Univention Corporate Server diff -r 000000000000 -r 9edd6a891e3b debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Sat Feb 22 01:05:35 2014 +0100 @@ -0,0 +1,25 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: Copyright (C) 2012 Kolab Systems - Jeroen van Leeuwen +License: GPL-3+ + This program 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 3 of the License, or (at your option) any later + version. + . + This program 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 full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. diff -r 000000000000 -r 9edd6a891e3b debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Sat Feb 22 01:05:35 2014 +0100 @@ -0,0 +1,61 @@ +#!/usr/bin/make -f + +export DH_OPTIONS=-v +export DH_VERBOSE=1 + +override_dh_auto_install: + # Test to see if we are building for a UCS platform + if [ -x "$$(which univention-install-config-registry 2>/dev/null)" ]; then \ + cp -av $(CURDIR)/ucs/conffiles/ $(CURDIR)/. ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.univention-config-registry $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.univention-config-registry-categories $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.univention-config-registry-variables $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.univention-service $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-mta.univention-config-registry $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-mta.univention-config-registry-categories $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-mta.univention-config-registry-variables $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-ucs.univention-config-registry $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-webclient.univention-config-registry $(CURDIR)/debian/ ; \ + cp -av $(CURDIR)/ucs/debian/kolab-webclient.univention-config-registry-variables $(CURDIR)/debian/ ; \ + univention-install-config-registry --verbose ; \ + cp -av $(CURDIR)/ucs/kolab-imap-join-script.sh $(CURDIR)/81kolab-imap.inst ; \ + cp -av $(CURDIR)/ucs/kolab-imap-passwd-change.sh $(CURDIR)/kolab-imap ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.dirs $(CURDIR)/debian/kolab-imap.dirs ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.install $(CURDIR)/debian/kolab-imap.install ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.postinst $(CURDIR)/debian/kolab-imap.postinst ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.preinst $(CURDIR)/debian/kolab-imap.preinst ; \ + cp -av $(CURDIR)/ucs/debian/kolab-imap.prerm $(CURDIR)/debian/kolab-imap.prerm ; \ + cp -av $(CURDIR)/ucs/kolab-mta-join-script.sh $(CURDIR)/67kolab-mta.inst ; \ + cp -av $(CURDIR)/ucs/kolab-mta-passwd-change.sh $(CURDIR)/kolab-mta ; \ + cp -av $(CURDIR)/ucs/debian/kolab-mta.dirs $(CURDIR)/debian/kolab-mta.dirs ; \ + cp -av $(CURDIR)/ucs/debian/kolab-mta.install $(CURDIR)/debian/kolab-mta.install ; \ + cp -av $(CURDIR)/ucs/debian/kolab-mta.postinst $(CURDIR)/debian/kolab-mta.postinst ; \ + cp -av $(CURDIR)/ucs/debian/kolab-mta.preinst $(CURDIR)/debian/kolab-mta.preinst ; \ + cp -av $(CURDIR)/ucs/kolab-ucs-join-script.sh $(CURDIR)/65kolab-ucs.inst ; \ + cp -av $(CURDIR)/ucs/kolab-ucs-passwd-change.sh $(CURDIR)/kolab-ucs ; \ + cp -av $(CURDIR)/ucs/debian/kolab-ucs.dirs $(CURDIR)/debian/kolab-ucs.dirs ; \ + cp -av $(CURDIR)/ucs/debian/kolab-ucs.install $(CURDIR)/debian/kolab-ucs.install ; \ + cp -av $(CURDIR)/ucs/debian/kolab-ucs.postinst $(CURDIR)/debian/kolab-ucs.postinst ; \ + cp -av $(CURDIR)/ucs/debian/kolab-ucs.preinst $(CURDIR)/debian/kolab-ucs.preinst ; \ + cp -av $(CURDIR)/ucs/debian/kolab-ucs.prerm $(CURDIR)/debian/kolab-ucs.prerm ; \ + cp -av $(CURDIR)/ucs/kolab-webclient-join-script.sh $(CURDIR)/85kolab-webclient.inst ; \ + cp -av $(CURDIR)/ucs/kolab-webclient-passwd-change.sh $(CURDIR)/kolab-webclient ; \ + cp -av $(CURDIR)/ucs/kolab_ucs_logo.png $(CURDIR)/. ; \ + cp -av $(CURDIR)/ucs/debian/kolab-webclient.dirs $(CURDIR)/debian/kolab-webclient.dirs ; \ + cp -av $(CURDIR)/ucs/debian/kolab-webclient.install $(CURDIR)/debian/kolab-webclient.install ; \ + cp -av $(CURDIR)/ucs/debian/kolab-webclient.postinst $(CURDIR)/debian/kolab-webclient.postinst ; \ + for pkg in kolab kolab-imap kolab-mta kolab-webclient; do \ + echo "ucs:Depends=kolab-ucs" >> $(CURDIR)/debian/$${pkg}.substvars ; \ + done ; \ + echo "ucs:Depends=kolab-ucs" >> $(CURDIR)/debian/kolab-ldap.substvars ; \ + echo "ucs:Pre-Depends=univention-legacy-kolab-schema" >> $(CURDIR)/debian/kolab-ldap.substvars ; \ + echo "ucs:Conflicts=univention-mail-postfix,univention-mail-postfix-forward,univention-mail-postfix-kolab2" >> $(CURDIR)/debian/kolab-mta.substvars ; \ + echo "ucs:Provides=univention-mail-postfix,univention-mail-postfix-forward,univention-mail-postfix-kolab2" >> $(CURDIR)/debian/kolab-mta.substvars ; \ + echo "ucs:Replaces=univention-mail-postfix,univention-mail-postfix-forward,univention-mail-postfix-kolab2" >> $(CURDIR)/debian/kolab-mta.substvars ; \ + else \ + echo "nonucs:Depends=kolab-webadmin" >> $(CURDIR)/debian/kolab.substvars ; \ + fi + dh_auto_install + +%: + dh $@