1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/changelog Mon May 19 23:08:15 2014 +0200
1.3 @@ -0,0 +1,193 @@
1.4 +libkolab (0.5.0-0~kolab5) unstable; urgency=low
1.5 +
1.6 + * Work around php5dismod not being available on UCS 3.2
1.7 +
1.8 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 09 Apr 2014 09:00:00 +0100
1.9 +
1.10 +libkolab (0.5.0-0~kolab4) unstable; urgency=low
1.11 +
1.12 + * Rebuild with php-kolabformat sorted out (#1632)
1.13 +
1.14 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 02 Mar 2014 09:00:00 +0100
1.15 +
1.16 +libkolab (0.5.0-0~kolab3) unstable; urgency=low
1.17 +
1.18 + * add libcalendaring as dependancy to php-kolab, bug 2359
1.19 +
1.20 + -- Timotheus Pokorra <timotheus@pokorra.de> Thu, 07 Nov 2013 14:56:00 +0200
1.21 +
1.22 +libkolab (0.5.0-0~kolab2) unstable; urgency=low
1.23 +
1.24 + * Correct versioned dependency on libkolabxml1 from (>> 0.9) to (>= 1.0)
1.25 +
1.26 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Wed, 16 Oct 2013 09:56:00 +0200
1.27 +
1.28 +libkolab (0.5.0-0~kolab1) unstable; urgency=low
1.29 +
1.30 + * Upstream release 0.5.0
1.31 +
1.32 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Mon, 14 Oct 2013 15:36:55 +0100
1.33 +
1.34 +libkolab (0.5~dev20130521-1) unstable; urgency=low
1.35 +
1.36 + * Latest for Kolab 3.1
1.37 +
1.38 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 08 Sep 2013 15:36:55 +0100
1.39 +
1.40 +libkolab (0.4.2-3) unstable; urgency=low
1.41 +
1.42 + * Revert to single build, depend only on kdepimlibs.
1.43 + * Update changelog
1.44 +
1.45 + -- Paul Klos <kolab@klos2day.nl> Tue, 23 Apr 2013 20:45:12 +0200
1.46 +
1.47 +libkolab (0.4.2-2) unstable; urgency=low
1.48 +
1.49 + * Update changelog
1.50 + * Depend on libkolabxml0 (>= 0.8.4)
1.51 +
1.52 + -- Paul Klos <kolab@klos2day.nl> Mon, 22 Apr 2013 18:01:30 +0200
1.53 +
1.54 +libkolab (0.4.2-1) unstable; urgency=low
1.55 +
1.56 + * Imported Upstream version 0.4.2
1.57 + * Build the package twice: once for clients, once for servers.
1.58 + The client build depends on kdepimlibs. The server build
1.59 + depends on libcalendaring.
1.60 + * Build-depend on kdelibs5-dev
1.61 + * Build-depend on kdepimlibs5-dev
1.62 + * Correct copy-paste errors in overrides
1.63 + * Duplicate dh_install for client and server
1.64 + * New binary package libkolab-kde for the libkolab that depends on KDE/Qt
1.65 + * Add debug info
1.66 + * Copy kolab.ini manually in rules file
1.67 + * Copy kolab.ini after installing the other files
1.68 + and make sure the path exists
1.69 + * Fix install locations
1.70 + * Depend on correct version of libkolabxml Add Conflicts for
1.71 + libkolab0 and libkolab-kde0
1.72 + * More verbosity
1.73 + * Correct library names
1.74 + * Use server build output for all packages except libkolab-kde
1.75 + * Correct dh_auto_build/dh_auto_install options
1.76 + * Create separate client and server builds.
1.77 + The server build is still called libkolab and depends on libcalendaring.
1.78 + The client build is named libkolab-kde, and links against kdepimlibs.
1.79 + * Set target names sooner.
1.80 + Build failed because apparently the target name is required sooner.
1.81 + * Correct library names
1.82 + * Remove unneccesary build dependency on kdelibs5-dev.
1.83 + * Create separate -dev, php and python packages.
1.84 + All 4 packages (libkolab, libkolab-dev, php-kolab and python-kolab)
1.85 + must be supplied in both a server and a KDE falvour.
1.86 + * Correct long lines
1.87 + * Call dh_install for all packages
1.88 + * Add package conflicts
1.89 + * Make php-kolab-kde depend on PHP api
1.90 + * Correct dh_install call for python-kolab-kde
1.91 + * Separate shlibs file for libkolab and libkolab-kde
1.92 + * Updated loong descriptions
1.93 + * Add LIB_INSTALL_DIR
1.94 + * Update changelog
1.95 +
1.96 + -- Paul Klos <kolab@klos2day.nl> Sun, 21 Apr 2013 23:19:24 +0200
1.97 +
1.98 +libkolab (0.4.0-3) unstable; urgency=low
1.99 +
1.100 + * Prepare for transition into Debian proper
1.101 +
1.102 + -- Paul Klos <kolab@klos2day.nl> Wed, 03 Apr 2013 00:04:34 +0200
1.103 +
1.104 +libkolab (0.4.0-2) unstable; urgency=low
1.105 +
1.106 + [ Jeroen van Meeuwen (Kolab Systems) ]
1.107 + * Correct loading of libkolab PHP bindings modules
1.108 + * Pull in php-kolabformat just to make sure kolabformat.so is loaded
1.109 +
1.110 + [ Jeroen van Meeuwen ]
1.111 +
1.112 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Mon, 26 Nov 2012 15:36:55 +0100
1.113 +
1.114 +libkolab (0.4.0-1) unstable; urgency=low
1.115 +
1.116 + [ Jeroen van Meeuwen (Kolab Systems) ]
1.117 + * Imported Upstream version 0.4.0
1.118 + * Update kolab.ini to match the new module from libkolab
1.119 +
1.120 + [ Jeroen van Meeuwen ]
1.121 +
1.122 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Sun, 25 Nov 2012 06:53:46 -0500
1.123 +
1.124 +libkolab (0.3.1-4) unstable; urgency=low
1.125 +
1.126 + [ Paul Klos ]
1.127 + * Make the dependency on PHP API architecture-dependent.
1.128 + * Corrected email address format in previous changelog entry. Set section to python for python-kolab.
1.129 + * Create ini file for PHP module in /usr
1.130 + * Manage kolab.ini file for PHP module from maintainer scripts.
1.131 + * Solves Lintian warning maintainer-script-needs-depends-on-ucf.
1.132 + * Solves Lintian warning libkolab source: unknown-field-in-dsc original-maintainer.
1.133 +
1.134 + [ Jeroen van Meeuwen ]
1.135 + * Rebuild
1.136 +
1.137 + -- Paul Klos <kolab@klos2day.nl> Wed, 24 Oct 2012 20:15:12 -0400
1.138 +
1.139 +libkolab (0.3.1-3) unstable; urgency=low
1.140 +
1.141 + * Rebuild
1.142 +
1.143 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Fri, 5 Oct 2012 20:09:01 +0100
1.144 +
1.145 +libkolab (0.3.1-2.2) unstable; urgency=low
1.146 +
1.147 + * Non-maintainer upload.
1.148 + * Make PHP API dependency architecture-dependent.
1.149 + * Corrected email address format in previous changelog entry.
1.150 + * Set section to python for python-kolab.
1.151 +
1.152 + -- Paul Klos <kolab@klos2day.nl> Wed, 17 Oct 2012 21:45:00 +0200
1.153 +
1.154 +libkolab (0.3.1-2.1) UNRELEASED; urgency=low
1.155 +
1.156 + [ Michael Kiefer ]
1.157 + * Non-maintainer upload.
1.158 + * added possible dependency on phpapi-20100525+lfs to php-kolab
1.159 +
1.160 + -- Michael Kiefer <Michael-Kiefer@web.de> Sat, 29 Sep 2012 23:27:43 +0200
1.161 +
1.162 +libkolab (0.3.1-2) unstable; urgency=low
1.163 +
1.164 + * Fix typo in dependency on phpapi
1.165 +
1.166 + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen> Tue, 11 Sep 2012 16:32:27 +0200
1.167 +
1.168 +libkolab (0.3.1-1) unstable; urgency=low
1.169 +
1.170 + * Build for Debian Wheezy
1.171 +
1.172 + -- Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> Fri, 7 Sep 2012 15:53:19 +0100
1.173 +
1.174 +libkolab (0.2.1-0ubuntu1) quantal; urgency=low
1.175 +
1.176 + * New upstream release
1.177 +
1.178 + -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 19 Jul 2012 12:50:43 +0100
1.179 +
1.180 +libkolab (0.2.0+repack1-0ubuntu2) quantal; urgency=low
1.181 +
1.182 + * Enable parallel building.
1.183 + * Switch to debhelper compat level v9 which exports build flags.
1.184 + * Add a watch file.
1.185 + * Use pkgkde_symbolshelper dh addon.
1.186 + * Update symbols file on amd64.
1.187 + * Pass --fail-missing to dh_install.
1.188 +
1.189 + -- Felix Geyer <debfx@ubuntu.com> Tue, 17 Jul 2012 19:48:01 +0200
1.190 +
1.191 +libkolab (0.2.0+repack1-0ubuntu1) quantal; urgency=low
1.192 +
1.193 + * Initial release.
1.194 + * Repack with licence files from upstream
1.195 +
1.196 + -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 05 Jul 2012 12:55:57 +0100
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/debian/compat Mon May 19 23:08:15 2014 +0200
2.3 @@ -0,0 +1,1 @@
2.4 +8
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/debian/control Mon May 19 23:08:15 2014 +0200
3.3 @@ -0,0 +1,90 @@
3.4 +Source: libkolab
3.5 +Section: libs
3.6 +Priority: optional
3.7 +Maintainer: Debian Kolab Maintainers <pkg-kolab-devel@lists.alioth.debian.org>
3.8 +Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl>
3.9 +Build-Depends:
3.10 + cmake,
3.11 + debhelper,
3.12 + libboost-dev,
3.13 + libboost-program-options-dev,
3.14 + libboost-thread-dev,
3.15 + libboost-system-dev,
3.16 + libcalendaring-dev (>= 4.9.0),
3.17 + libcurl4-gnutls-dev,
3.18 + libkolabxml-dev (>= 1.0),
3.19 + libossp-uuid-dev,
3.20 + libqt4-dev,
3.21 + libxerces-c-dev,
3.22 + php5-cli,
3.23 + php5-dev,
3.24 + python-dev,
3.25 + swig (>= 2.0)
3.26 +X-Python-Version: >= 2.7
3.27 +Standards-Version: 3.9.3
3.28 +Homepage: http://git.kolab.org/libkolab
3.29 +
3.30 +Package: libkolab0
3.31 +Architecture: any
3.32 +Depends: ${misc:Depends}, ${shlibs:Depends}, libkolabxml1 (>= 1.0)
3.33 +Conflicts: libkolab-kde0
3.34 +Description: Maps KDE containers to Kolab formats
3.35 + libkolab provides conversions from/to KDE containers, mime message
3.36 + handling and facilities to read and write kolabv2 and kolabv3.
3.37 + .
3.38 + The libkolab package provides:
3.39 + - kolabformatv2: Kolabformat v2 implementation moved here from kdepim-runtime
3.40 + - kolabformat: Kolab object reading/writing (mime message + kolab-format).
3.41 + Handles v2/v3 transparently.
3.42 + - conversion: Conversions from KDE to Kolab containers and vice verca.
3.43 + - mime: Mime message handling used by kolabformat
3.44 + - icalendar: Exposes iCalendar functionality:
3.45 + iCal reading/writing, iTip, iMip
3.46 + - calendaring: Some general calendaring functions
3.47 + .
3.48 + The libkolab library belongs to the Kolab 3 server components.
3.49 +
3.50 +Package: php-kolab
3.51 +Architecture: any
3.52 +Depends: libkolab0 (= ${binary:Version}),
3.53 + php-kolabformat,
3.54 + ucf,
3.55 + libcalendaring,
3.56 + ${php:Depends},
3.57 + ${misc:Depends},
3.58 + ${shlibs:Depends}
3.59 +Conflicts: php-kolab-kde
3.60 +Description: PHP bindings for Kolab Library
3.61 + This package provides the Kolab PHP modules icalendar and calendaring.
3.62 + .
3.63 + - The calendaring module provides some general calendaring functions
3.64 + - The icalendar module exposes iCalendar functionality:
3.65 + iCal reading/writing, iTip, iMip
3.66 +
3.67 +Package: python-kolab
3.68 +Architecture: any
3.69 +Section: python
3.70 +Depends: libkolab0 (= ${binary:Version}),
3.71 + python,
3.72 + ${misc:Depends},
3.73 + ${shlibs:Depends}
3.74 +Conflicts: python-kolab-kde
3.75 +Description: Python bindings for Kolab Library
3.76 + This package provides the Kolab Python modules icalendar and calendaring.
3.77 + .
3.78 + - The calendaring module provides some general calendaring functions
3.79 + - The icalendar module exposes iCalendar functionality:
3.80 + iCal reading/writing, iTip, iMip
3.81 +
3.82 +Package: libkolab-dev
3.83 +Section: libdevel
3.84 +Architecture: any
3.85 +Depends: libkolab0 (= ${binary:Version}),
3.86 + ${misc:Depends}
3.87 +Conflicts: libkolab-kde-dev
3.88 +Description: Development package for Kolab library
3.89 + libkolab provides conversions from/to KDE containers, mime message
3.90 + handling and facilities to read and write kolabv2 and kolabv3.
3.91 + .
3.92 + This package contains the development files for the library,
3.93 + including headers and Libkolab cmake files.
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/debian/copyright Mon May 19 23:08:15 2014 +0200
4.3 @@ -0,0 +1,78 @@
4.4 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
4.5 +Upstream-Name: libkolab
4.6 +Upstream-Contact: Christian Mollekopf <mollekopf@kolabsys.com>
4.7 +Source: http://git.kolab.org/libkolab
4.8 +
4.9 +Files: *
4.10 +Copyright: 2011-2012 Christian Mollekopf <mollekopf@kolabsys.com>
4.11 + 2004 Bo Thorsen <bo@sonofthor.dk>
4.12 + 2009 <kevin.krammer@gmx.at>
4.13 + 2002-2004 Klarälvdalens Datakonsult AB
4.14 +License: LGPL-3+
4.15 + This program is free software: you can redistribute it and/or modify
4.16 + it under the terms of the GNU Lesser General Public License as published by
4.17 + the Free Software Foundation, either version 3 of the License, or
4.18 + (at your option) any later version.
4.19 + .
4.20 + This program is distributed in the hope that it will be useful,
4.21 + but WITHOUT ANY WARRANTY; without even the implied warranty of
4.22 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4.23 + GNU Lesser General Public License for more details.
4.24 + .
4.25 + You should have received a copy of the GNU Lesser General Public License
4.26 + along with this program. If not, see <http://www.gnu.org/licenses/>.
4.27 + .
4.28 + On Debian systems a full copy of the LGPL 3 can be found at
4.29 + /usr/share/common-licenses/LGPL-3
4.30 +
4.31 +Files: kolab_export.h
4.32 + kolabformat/v2helpers.h
4.33 + kolabformatV2/journal.h
4.34 + kolabformatV2/event.cpp
4.35 + kolabformatV2/note.h
4.36 + kolabformatV2/contact.cpp
4.37 + kolabformatV2/contact.h
4.38 + kolabformatV2/kolabbase.h
4.39 + kolabformatV2/incidence.h
4.40 + kolabformatV2/note.cpp
4.41 + kolabformatV2/journal.cpp
4.42 + kolabformatV2/kolabbase.cpp
4.43 + kolabformatV2/event.h
4.44 + kolabformatV2/task.h
4.45 + kolabformatV2/incidence.cpp
4.46 + kolabformatV2/distributionlist.h
4.47 + kolabformatV2/distributionlist.cpp
4.48 + kolabformatV2/task.cpp
4.49 +Copyright: 2011-2012 Christian Mollekopf <mollekopf@kolabsys.com>
4.50 + 2004 Bo Thorsen <bo@sonofthor.dk>
4.51 + 2009 <kevin.krammer@gmx.at>
4.52 + 2002-2004 Klarälvdalens Datakonsult AB
4.53 +License: LGPL-2+-QT-EXCEPTION
4.54 + This library is free software; you can redistribute it and/or
4.55 + modify it under the terms of the GNU Library General Public
4.56 + License as published by the Free Software Foundation; either
4.57 + version 2 of the License, or (at your option) any later version.
4.58 + .
4.59 + This library is distributed in the hope that it will be useful,
4.60 + but WITHOUT ANY WARRANTY; without even the implied warranty of
4.61 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4.62 + Library General Public License for more details.
4.63 + .
4.64 + You should have received a copy of the GNU Library General Public License
4.65 + along with this library; see the file COPYING.LIB. If not, write to
4.66 + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
4.67 + Boston, MA 02110-1301, USA.
4.68 + .
4.69 + In addition, as a special exception, the copyright holders give
4.70 + permission to link the code of this program with any edition of
4.71 + the Qt library by Trolltech AS, Norway (or with modified versions
4.72 + of Qt that use the same license as Qt), and distribute linked
4.73 + combinations including the two. You must obey the GNU General
4.74 + Public License in all respects for all of the code used other than
4.75 + Qt. If you modify this file, you may extend this exception to
4.76 + your version of the file, but you are not obligated to do so. If
4.77 + you do not wish to do so, delete this exception statement from
4.78 + your version.
4.79 + .
4.80 + On Debian systems a full copy of the LGPL 2 can be found at
4.81 + /usr/share/common-licenses/LGPL-2
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/debian/libkolab-dev.install Mon May 19 23:08:15 2014 +0200
5.3 @@ -0,0 +1,3 @@
5.4 +usr/lib/libkolab.so
5.5 +usr/lib/cmake/Libkolab/*.cmake
5.6 +usr/include/kolab/*.h
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/debian/libkolab-kde-dev.install Mon May 19 23:08:15 2014 +0200
6.3 @@ -0,0 +1,3 @@
6.4 +usr/lib/libkolab-kde.so
6.5 +usr/lib/cmake/Libkolab/*.cmake
6.6 +usr/include/kolab/*.h
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/debian/libkolab-kde0.install Mon May 19 23:08:15 2014 +0200
7.3 @@ -0,0 +1,2 @@
7.4 +usr/lib/libkolab-kde.so.0
7.5 +usr/lib/libkolab-kde.so.0.*
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/debian/libkolab-kde0.lintian-overrides Mon May 19 23:08:15 2014 +0200
8.3 @@ -0,0 +1,9 @@
8.4 +# hardening-check --verbose libkolab-dev.so.0 reports
8.5 +# Fortify Source functions: no, only unprotected functions found!
8.6 +# unprotected: memmove
8.7 +# unprotected: memcpy
8.8 +# Neither memmove nor memcpy occur in the source code,
8.9 +# so overriding this warning
8.10 +libkolab-kde0 binary: hardening-no-fortify-functions
8.11 +# Using shlibs for now
8.12 +libkolab-kde0 binary: no-symbols-control-file
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/debian/libkolab-kde0.shlibs Mon May 19 23:08:15 2014 +0200
9.3 @@ -0,0 +1,1 @@
9.4 +libkolab-kde 0 libkolab-kde0 (>= 0.4.0)
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/debian/libkolab0.install Mon May 19 23:08:15 2014 +0200
10.3 @@ -0,0 +1,2 @@
10.4 +usr/lib/libkolab.so.0
10.5 +usr/lib/libkolab.so.0.*
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/debian/libkolab0.lintian-overrides Mon May 19 23:08:15 2014 +0200
11.3 @@ -0,0 +1,9 @@
11.4 +# hardening-check --verbose libkolab.so.0 reports
11.5 +# Fortify Source functions: no, only unprotected functions found!
11.6 +# unprotected: memmove
11.7 +# unprotected: memcpy
11.8 +# Neither memmove nor memcpy occur in the source code,
11.9 +# so overriding this warning
11.10 +libkolab0 binary: hardening-no-fortify-functions
11.11 +# Using shlibs for now
11.12 +libkolab0 binary: no-symbols-control-file
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/debian/libkolab0.shlibs Mon May 19 23:08:15 2014 +0200
12.3 @@ -0,0 +1,1 @@
12.4 +libkolab 0 libkolab0 (>= 0.4.0)
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/debian/php-kolab-kde.install Mon May 19 23:08:15 2014 +0200
13.3 @@ -0,0 +1,3 @@
13.4 +/usr/share/php5/kolab/kolab.ini usr/share/php5/kolab/
13.5 +usr/lib/php5/*/*.so
13.6 +usr/share/php/kolab*.php
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/debian/php-kolab.install Mon May 19 23:08:15 2014 +0200
14.3 @@ -0,0 +1,3 @@
14.4 +/usr/share/php5/kolab/kolab.ini usr/share/php5/kolab/
14.5 +usr/lib/php5/*/*.so
14.6 +usr/share/php/kolab*.php
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/debian/php-kolab.postinst Mon May 19 23:08:15 2014 +0200
15.3 @@ -0,0 +1,42 @@
15.4 +#!/bin/sh
15.5 +
15.6 +set -e
15.7 +
15.8 +#EXTRA#
15.9 +#DEBHELPER#
15.10 +
15.11 +if [ -d "/etc/php5/mods-available" ]; then
15.12 + inidir=/etc/php5/mods-available
15.13 +else
15.14 + inidir=/etc/php5/conf.d
15.15 +fi
15.16 +
15.17 +module=kolab
15.18 +package=php-${module}
15.19 +inifile=${module}.ini
15.20 +priority=31
15.21 +
15.22 +if [ "$1" = "configure" ]; then
15.23 +
15.24 + # Register new conffile with UCF
15.25 + ucf /usr/share/php5/${module}/${inifile} ${inidir}/${inifile}
15.26 + ucfr --force ${package} ${inidir}/${inifile}
15.27 +
15.28 + # Move pre-extension manager conffile
15.29 + dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 0.4.0~ -- "$@";
15.30 +
15.31 + if [ -f "${inidir}/${inifile}.dpkg-new" ]; then
15.32 + md5sum="$(md5sum ${inidir}/${inifile}.dpkg-new | sed -e 's/ .*//')"
15.33 + old_md5sum="$(md5sum ${inidir}/${inifile} | sed -e 's/ .*//')"
15.34 + if [ "$md5sum" = "$old_md5sum" ]; then
15.35 + mv "${inidir}/${inifile}.dpkg-new" "${inidir}/${inifile}"
15.36 + fi
15.37 + fi
15.38 +
15.39 + # Enable the module
15.40 + if [ -x "$(which php5enmod 2>/dev/null)" ]; then
15.41 + php5enmod ${module}/${priority:-21}
15.42 + fi
15.43 +fi
15.44 +
15.45 +exit 0
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
16.2 +++ b/debian/php-kolab.postrm Mon May 19 23:08:15 2014 +0200
16.3 @@ -0,0 +1,44 @@
16.4 +#!/bin/sh
16.5 +
16.6 +set -e
16.7 +
16.8 +#EXTRA#
16.9 +#DEBHELPER#
16.10 +
16.11 +if [ -d "/etc/php5/mods-available" ]; then
16.12 + inidir=/etc/php5/mods-available/
16.13 +else
16.14 + inidir=/etc/php5/conf.d/
16.15 +fi
16.16 +
16.17 +module=kolab
16.18 +package=php-${module}
16.19 +inifile=${module}.ini
16.20 +
16.21 +dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 0.3.0~ -- "$@";
16.22 +
16.23 +# Query which package has this conffile registered
16.24 +if which ucfq >/dev/null; then
16.25 + ucfp=$(ucfq -w ${inidir}/${inifile} | cut -f 2 -d:)
16.26 +fi
16.27 +
16.28 +# Only work with the config file if it still belongs to us
16.29 +if test "$ucfp" = ${package}; then
16.30 + if [ "$1" = "purge" ]; then
16.31 + for ext in '~' '%' .bak .ucf-new .ucf-old .ucf-dist; do
16.32 + rm -f ${inidir}/${inifile}${ext}
16.33 + done
16.34 +
16.35 + rm -f ${inidir}/${inifile}
16.36 +
16.37 + if which ucf >/dev/null; then
16.38 + ucf --purge ${inidir}/${inifile}
16.39 + fi
16.40 +
16.41 + if which ucfr >/dev/null; then
16.42 + ucfr --purge ${package} ${inidir}/${inifile}
16.43 + fi
16.44 + fi
16.45 +fi
16.46 +
16.47 +exit 0
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
17.2 +++ b/debian/php-kolab.preinst Mon May 19 23:08:15 2014 +0200
17.3 @@ -0,0 +1,12 @@
17.4 +#!/bin/sh
17.5 +
17.6 +set -e
17.7 +
17.8 +#EXTRA#
17.9 +#DEBHELPER#
17.10 +
17.11 +inifile=kolab.ini
17.12 +
17.13 +dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} /etc/php5/mods-available/${inifile} 0.3.0~ -- "$@";
17.14 +
17.15 +exit 0
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
18.2 +++ b/debian/php-kolab.prerm Mon May 19 23:08:15 2014 +0200
18.3 @@ -0,0 +1,27 @@
18.4 +#!/bin/bash
18.5 +
18.6 +set -e
18.7 +
18.8 +#EXTRA#
18.9 +#DEBHELPER#
18.10 +
18.11 +if [ -d "/etc/php5/mods-available" ]; then
18.12 + inidir=/etc/php5/mods-available/
18.13 +else
18.14 + inidir=/etc/php5/conf.d/
18.15 +fi
18.16 +
18.17 +module=kolab
18.18 +package=php-${module}
18.19 +inifile=${module}.ini
18.20 +
18.21 +
18.22 +if [ "$1" = "remove" ]; then
18.23 + if [ -x "$(which php5dismod 2>/dev/null)" ]; then
18.24 + php5dismod ${module}
18.25 + elif [ -f "${inidir}/${inifile}" ]; then
18.26 + rm -f "${inidir}/${inifile}"
18.27 + fi
18.28 +fi
18.29 +
18.30 +exit 0
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
19.2 +++ b/debian/php-kolab.triggers Mon May 19 23:08:15 2014 +0200
19.3 @@ -0,0 +1,1 @@
19.4 +activate /etc/php5/conf.d
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
20.2 +++ b/debian/python-kolab-kde.install Mon May 19 23:08:15 2014 +0200
20.3 @@ -0,0 +1,1 @@
20.4 +usr/lib*/python*/*-packages/*
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
21.2 +++ b/debian/python-kolab.install Mon May 19 23:08:15 2014 +0200
21.3 @@ -0,0 +1,1 @@
21.4 +usr/lib*/python*/*-packages/*
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
22.2 +++ b/debian/rules Mon May 19 23:08:15 2014 +0200
22.3 @@ -0,0 +1,47 @@
22.4 +#!/usr/bin/make -f
22.5 +
22.6 +PHPAPI := $(shell php-config --phpapi)
22.7 +PYTHON_SITEARCH := $(shell python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
22.8 +
22.9 +export DH_VERBOSE=1
22.10 +export DH_OPTIONS=-v
22.11 +
22.12 +export DEB_LDFLAGS_MAINT_APPEND="-Wl,--as-needed"
22.13 +
22.14 +%:
22.15 + dh $@ --parallel --with python2
22.16 +
22.17 +override_dh_auto_configure:
22.18 + dh_auto_configure -- \
22.19 + -DLIB_INSTALL_DIR=/usr/lib \
22.20 + -DPHP_BINDINGS=ON \
22.21 + -DPHP_INSTALL_DIR=/usr/lib/php5/$(PHPAPI)/ \
22.22 + -DPHP4_EXECUTABLE=/usr/bin/php5 \
22.23 + -DPHP4_INCLUDE_PATH=/usr/include/php5/ \
22.24 + -DPYTHON_BINDINGS=ON \
22.25 + -DPYTHON_INSTALL_DIR=$(PYTHON_SITEARCH) \
22.26 + -DUSE_LIBCALENDARING=ON
22.27 +
22.28 +override_dh_gencontrol:
22.29 + echo "php:Depends=phpapi-${PHPAPI}" >> debian/php-kolab.substvars
22.30 + dh_gencontrol
22.31 +
22.32 +override_dh_install:
22.33 + # Install the PHP modules manually, because they depend on PHP the API version,
22.34 + # which has to be determined dynamically, so we can't put it into an .install file.
22.35 + mkdir -p debian/tmp/usr/share/php
22.36 + mv debian/tmp/usr/lib/php5/$(PHPAPI)/kolabcalendaring.php debian/tmp/usr/share/php/kolabcalendaring.php
22.37 + mv debian/tmp/usr/lib/php5/$(PHPAPI)/kolabicalendar.php debian/tmp/usr/share/php/kolabicalendar.php
22.38 + mv debian/tmp/usr/lib/php5/$(PHPAPI)/kolabobject.php debian/tmp/usr/share/php/kolabobject.php
22.39 + mv debian/tmp/usr/lib/php5/$(PHPAPI)/kolabshared.php debian/tmp/usr/share/php/kolabshared.php
22.40 + # Put kolab.ini into place
22.41 + mkdir -p debian/tmp/usr/share/php5/kolab
22.42 + cp debian/usr/share/php5/kolab/kolab.ini debian/tmp/usr/share/php5/kolab/
22.43 + # Install the packages
22.44 + dh_install --list-missing
22.45 +
22.46 +override_dh_auto_test:
22.47 + dh_auto_test || :
22.48 +
22.49 +override_dh_shlibdeps:
22.50 + dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
23.2 +++ b/debian/usr/share/php5/kolab/kolab.ini Mon May 19 23:08:15 2014 +0200
23.3 @@ -0,0 +1,5 @@
23.4 +; Kolab libraries
23.5 +extension=kolabobject.so
23.6 +extension=kolabshared.so
23.7 +extension=kolabcalendaring.so
23.8 +extension=kolabicalendar.so
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
24.2 +++ b/debian/watch Mon May 19 23:08:15 2014 +0200
24.3 @@ -0,0 +1,3 @@
24.4 +version=3
24.5 +http://git.kolab.org/libkolab/ \
24.6 + /libkolab/snapshot/libkolab-([0-9\.]+)\.tar\.gz