Hello community,

here is the log from the commit of package kopano for openSUSE:Factory checked 
in at 2019-09-23 12:29:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kopano (Old)
 and      /work/SRC/openSUSE:Factory/.kopano.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kopano"

Mon Sep 23 12:29:24 2019 rev:18 rq:730477 version:8.7.83

Changes:
--------
--- /work/SRC/openSUSE:Factory/kopano/kopano.changes    2019-03-20 
13:22:07.717302244 +0100
+++ /work/SRC/openSUSE:Factory/.kopano.new.7948/kopano.changes  2019-09-23 
12:29:25.989688759 +0200
@@ -1,0 +2,53 @@
+Thu Sep 12 18:23:03 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to upstream snapshot 8.7.83
+  * libserver: fix "withholding" of properties from clients [KC-1547]
+  * dagent, spooler: threaded more is enabled by default now [KC-1475]
+  * ldapplugin: 22% speedup in retriving the entire user list [KC-1399]
+  * client: enable write-caching for properties on stores and folders;
+    improves e.g. store creation time by 17% [KC-1585]
+  * Dropped Python2 and PHP5 support
+
+-------------------------------------------------------------------
+Tue May 28 12:00:56 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Update to new upstream release 8.7.3
+  * Fixes:
+  * dagent: standard casing for RFC 5322 headers [KF-2100]
+  * daemons: do not fail startup on IPv4-only systems [KC-1400]
+  * Feed HTML through libtidy before using it for the to-plaintext
+    conversion stage [KS-40722]
+  * server: fix crash on shutdown [KF-2179]
+  * server: address a potential crash due to type mismatch [KF-2151]
+  * server: use utf8mb3 with mysql 5.1 [KC-1423]
+  * server: avoid entering truncated tproperties data into the
+    cache [KC-1417]
+  * server: avoid using OpenLDAP-specific filters that 389-ds
+    does not know about [KC-1402]
+  * server: fixed TLS negotiation errors with openSSL 1.1.1 [KC-1439]
+  * spooler: avoid unnecessary QP encoding in header fields [KC-1430]
+  * spooler: fix hang on process termination [KC-1449]
+  * srvadm: do not complain about default_store_locale [KC-1416]
+  * dbadm: some long-running statements can now be run in parallel
+    with the new -j option [KS-42617]
+  * pyko: expand stubbed messages when dumping [KC-1159,KC-1168]
+  * pyko: don't mix str/int busy statuses [KC-1433]
+  * oof: fix erroneous -u parsing [KC-1425]
+  * oof: make --message option set the right property [KC-1435]
+  * server: complete utf8mb4->utf8 fallback for RHEL6 [KC-1423]
+  * inetmapi: modified appointments need to produce a new
+    Message-ID [KC-1458]
+  * dagent: set Bcc/RecipMe flags appropriately [KC-319]
+  * inetmapi: restore FQDN in Message-IDs [KC-1393]
+  * inetmapi: parse fake "From:" header better to hinder
+    proliferation of impersonations [KC-1350]
+  * stats: print "PR_..." instead of proptag numbers [KC-1495]
+  * server: no more unbounded thread number increase [KC-1446]
+  * php: fix crash in zif_mapi_getprops [KC-1507]
+  * Enhancements:
+  * backup: do record outofoffice settings
+  * php-ext: performance measurement log now contains a
+    timestamp, thread identifier, and global monotonic counter.
+    This can be used for estimating the achieved command rate.
+
+-------------------------------------------------------------------

Old:
----
  PKGBUILD
  debian.kopano-backup.install
  debian.kopano-grapi.install
  debian.kopano-grapi.postinst
  debian.kopano-migration-pst.install
  debian.kopano-presence.install
  debian.kopano-presence.postinst
  debian.kopano-python-utils.install
  debian.kopano-search.install
  debian.kopano-search.postinst
  debian.kopano-spamd.install
  debian.kopano-spamd.postinst
  debian.python-kopano.install
  debian.python-mapi.install
  debian.python3-kopano-presence.install
  debian.python3-kopano-rest.install
  debian.python3-kopano-utils.install
  debian.python3-kopano.install
  kopanocore-8.7.0.110.tar.xz

New:
----
  debian.kopano-indexer.install
  debian.libkcindex0.install
  kopanocore-8.7.83.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kopano.spec ++++++
++++ 1025 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kopano/kopano.spec
++++ and /work/SRC/openSUSE:Factory/.kopano.new.7948/kopano.spec

++++++ _service ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.277688548 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.277688548 +0200
@@ -2,15 +2,9 @@
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
                <param 
name="url">https://stash.kopano.io/scm/kc/kopanocore.git</param>
-               <param name="revision">kc-8.7.x</param>
-               <param name="parent-tag">kopanocore-8.7.0</param>
-               <param name="versionformat">8.7.0.@TAG_OFFSET@</param>
-
-               <!-- Regex used to rewrite the version which is applied after
-                    versionformat [kopanocore-8.5.80] and after the implicit
-                    versionformat compaction [kopanocore8.5.80].
-                    Turns kopanocore8.5.80 into 8.5.80. -->
-               <param name="versionrewrite-pattern">kopanocore-?(.*)</param>
+               <param name="revision">kopanocore-8.7.83</param>
+               <param name="parent-tag">kopanocore-8.7.83</param>
+               <param name="versionformat">8.7.83</param>
        </service>
        <service name="recompress" mode="disabled">
                <param name="file">*.tar</param>

++++++ debian.changelog ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.293688545 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.293688545 +0200
@@ -1,4 +1,4 @@
-kopano (8.7.0.110-0) unstable; urgency=low
+kopano (8.7.83-0) unstable; urgency=low
 
   * Current release.
 

++++++ debian.control ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.317688541 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.317688541 +0200
@@ -24,7 +24,6 @@
  libkrb5-dev,
  libldap2-dev,
  libmariadbclient-dev | libmysqlclient-dev,
- libmicrohttpd-dev (>= 0.9.30),
  libncurses5-dev,
  libncursesw5-dev,
  libpam0g-dev,
@@ -35,14 +34,13 @@
  libtool-bin | libtool,
  libvmime-dev (>= 0.9.2),
  libxml2-dev,
+ lsb-release,
  m4,
  openssl,
  php-dev | php7.2-dev | php7.1-dev | php7.0-dev | php5-dev,
  pkg-config (>= 0.18),
  python3-dev,
  python3-setuptools,
- python-dev,
- python-setuptools,
  swig,
  systemd,
  tidy-html5-dev,
@@ -53,7 +51,7 @@
 
 Package: kopano-archiver
 Architecture: any
-Depends: ${shlibs:Depends}, libkcarchiver0 (= ${binary:Version})
+Depends: python3-kopano, ${python3:Depends}, ${shlibs:Depends}, libkcarchiver0 
(= ${binary:Version})
 Description: Hierarchial Storage Management for the Kopano Core platform
  The Kopano Archiver provides a Hierarchical Storage Management (HSM)
  solution for Kopano Core.
@@ -63,16 +61,6 @@
  server. Clients will still be able to open the message from the
  secondary Kopano server directly.
 
-Package: kopano-backup
-Architecture: any
-Depends: ${shlibs:Depends}, ${python3:Depends},
- python3-bsddb3, python3-kopano, kopano-common
-Breaks: kopano-server (<< 8.6.80.621)
-Description: Utility to back up and restore Kopano stores
- kopano-backup is a MAPI-level backup/restore tool. It can sync
- complete users/stores to disk using ICS to incrementally sync the
- respective MAPI items, and can process stores in parallel.
-
 Package: kopano-bash-completion
 Depends: bash-completion
 Architecture: any
@@ -120,7 +108,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, kopano-common,
  kopano-client (= ${binary:Version}), libkcpyplug0 (= ${binary:Version}),
- python3-kopano-utils (= ${binary:Version})
+ python3-kopano-utils (>= 8.7.80)
 Breaks: kopano-server (<< 8.6.0)
 Description: E-Mail Delivery Agent for Kopano Core
  Delivers incoming e-mail from your SMTP server to stores
@@ -159,19 +147,6 @@
  other folders and subfolders. The gateway can be configured to
  listen for POP3, POP3S, IMAP and/or IMAPS.
 
-Package: kopano-grapi
-Architecture: any
-Depends: ${shlibs:Depends},
- systemd,
- kopano-common (= ${binary:Version}),
- python3-falcon (>= 1.4.1) | kopano-python3-extras,
- python3-bjoern (>= 2.2.2) | kopano-python3-extras,
- python3-jsonschema,
- python3-kopano-rest (= ${binary:Version}),
- python3-setproctitle
-Description: REST entrypoints to the Kopano Groupware Core stack
- GRAPI makes Groupware related data accessible via a REST interface.
-
 Package: kopano-ical
 Architecture: any
 Depends: ${shlibs:Depends}, kopano-common, kopano-client (= ${binary:Version})
@@ -180,6 +155,13 @@
  using iCalendar compliant clients. The iCal/CalDAV gateway can be
  configured to listen for HTTP and HTTPS requests.
 
+Package: kopano-indexer
+Architecture: all
+Description: Fulltext indexer service for Kopano Core
+ kopano-indexd offers the fulltext indexing of libkcindex over the
+ network. kopano-server can make use of this service or the libkcindex
+ library to offload search queries from the SQL database.
+
 Package: kopano-lang
 Architecture: all
 Depends: locales
@@ -196,15 +178,6 @@
  kopano-migration-imap provides a utility based on imapsync to migrate
  between IMAP mailboxes (including Kopano).
 
-Package: kopano-migration-pst
-Architecture: any
-Depends: ${shlibs:Depends}, ${python3:Depends}, python3-kopano, kopano-common
-Breaks: kopano-server (<< 8.6.80.621)
-Description: Utility to import PST files
- kopano-migration-pst is a utility to import PST files into Kopano. As PST
- files are basically MAPI dumps, and Kopano also uses MAPI internally, there
- should be practically no data loss, even including calendar data.
-
 Package: kopano-monitor
 Architecture: any
 Depends: ${shlibs:Depends}, kopano-common, kopano-client (= ${binary:Version})
@@ -212,43 +185,12 @@
  Regularly checks stores for total usage. If a quota limit has been
  exceeded, an e-mail will be internally sent to this account.
 
-Package: kopano-presence
-Architecture: any
-Depends: ${shlibs:Depends}, kopano-common, python3-kopano-presence (= 
${binary:Version})
-Breaks: kopano-server (<< 8.6.80.621)
-Description: kopano presence daemon
- A daemon for collecting and exporting user presence information
- across multiple protocols in a unified way. Supports XMPP and Spreed.
- Clients can both query the daemon with presence information (for
- example, the user is 'available' for XMPP and 'away' for Spreed) and
- update presence information (for example, make a user 'available' on
- Spreed). Queries and updates are performed with simple GET and PUT
- requests, respectively, using a simple (and identical) JSON format.
-
-Package: kopano-python-utils
-Architecture: any
-Depends: ${shlibs:Depends}, ${python3:Depends}, kopano-client (= 
${binary:Version}),
- python3-bsddb3, python3-kopano
-Description: Additional Python-based command-line utils for Kopano Core
- Command-line clients to manipulate mailboxes (stores) in various ways.
-
-Package: kopano-search
-Architecture: any
-Depends: ${shlibs:Depends}, ${python3:Depends}, python3-kopano, python3-xapian 
| python-xapian,
- python3-bsddb3, python3-magic,
- lsb-base, coreutils (>= 5.93), bash (>= 3.0), gawk, w3m,
- xsltproc, poppler-utils, unzip, file, catdoc, xapian-tools
-Breaks: kopano-server (<< 8.6.80.621)
-Description: Indexed search engine for Kopano Core
- kopano-search creates indexes for messages and attachments per user.
- When this service is running, search queries on the server will use
- this index to quickly find messages and contents of attached
- documents, enhancing the search performance of kopano-server.
-
 Package: kopano-server
 Architecture: any
 Depends: ${shlibs:Depends}, kopano-common,
  kopano-utils, libtcmalloc-minimal4, libs3-4
+Breaks: kopano-common (<< 8.7.80)
+Suggests: kopano-python-utils (>= 8.7.81.165)
 Description: Server component for Kopano Core
  This package provides the key component of Kopano Core, providing the
  server to which Kopano clients connect. The server requires a MySQL
@@ -256,16 +198,17 @@
 
 Package: kopano-server-packages
 Architecture: all
-Depends: kopano-backup (= ${binary:Version}),
- kopano-dagent (= ${binary:Version}),
- kopano-gateway (= ${binary:Version}),
- kopano-ical (= ${binary:Version}),
- kopano-monitor (= ${binary:Version}),
- kopano-python-utils (= ${binary:Version}),
- kopano-search (= ${binary:Version}),
- kopano-server (= ${binary:Version}),
- kopano-spooler (= ${binary:Version}),
- kopano-utils (= ${binary:Version})
+Depends:
+ kopano-backup,
+ kopano-dagent,
+ kopano-gateway,
+ kopano-ical,
+ kopano-monitor,
+ kopano-python-utils,
+ kopano-search,
+ kopano-server,
+ kopano-spooler,
+ kopano-utils
 Breaks: kopano-core
 Replaces: kopano-core
 Description: Metapackage to install the entire Kopano Core stack
@@ -275,14 +218,6 @@
  This package is merely meant to cause pulling in all the Kopano
  server components.
 
-Package: kopano-spamd
-Architecture: any
-Depends: ${shlibs:Depends}, ${python3:Depends},
- python3-bsddb3, python3-kopano
-Description: ICS-driven spam learning daemon for Kopano/SpamAssassin
- A program which can teach SpamAssassin about spam based upon
- the mails a user has moved to his Kopano junk folder.
-
 Package: kopano-statsd
 Architecture: any
 Depends: ${shlibs:Depends}
@@ -296,7 +231,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, kopano-common,
  kopano-client (= ${binary:Version}), libkcpyplug0 (= ${binary:Version}),
- python-mapi (= ${binary:Version})
+ python3-mapi (= ${binary:Version})
 Description: E-mail Spooler for Kopano Core
  The outgoing e-mail spooler. This service makes
  sure that e-mails sent by clients are converted to
@@ -319,76 +254,6 @@
  Using this module, you can create PHP programs which use MAPI calls
  to interact with Kopano.
 
-Package: python-kopano
-Architecture: all
-Section: python
-Depends: ${shlibs:Depends}, python-mapi, python-dateutil, python-tz
-Replaces: kopano-compat, python2-kopano
-Breaks: python2-kopano
-Description: High-level Python 2 bindings for Kopano
- Object-Oriented Python 2 bindings for Kopano. Uses python-mapi to
- do the low level work. Can be used for many common system
- administration tasks.
-
-Package: python3-kopano
-Architecture: all
-Section: python
-Depends: ${shlibs:Depends}, python3-mapi, python3-dateutil, python3-tz
-Description: High-level Python 3 bindings for Kopano
- Object-Oriented Python 3 bindings for Kopano. Uses python3-mapi to
- do the low level work. Can be used for many common system
- administration tasks.
-
-Package: python3-kopano-rest
-Architecture: all
-Section: python
-Depends: ${shlibs:Depends},
- python3-kopano (= ${binary:Version}),
- python3-jwt (>= 1.33) | kopano-python3-extras,
- python3-ujson,
- python3-requests,
- python3-pillow,
- python3-dateutil,
- python3-bsddb3,
- python3-tz
-Description: Kopano REST API bindings for Kopano for Python 3
- These bindings use python-kopano3 to interface with Groupware Core.
-
-Package: python3-kopano-utils
-Architecture: all
-Section: python
-Depends: ${shlibs:Depends},
- python3-kopano (= ${binary:Version}),
- python3-bsddb3,
- python3-mapi
-Replaces: kopano-dagent (<< 8.6.81.496)
-Breaks: kopano-dagent (<< 8.6.81.496)
-Description: Kopano utils modules for Python 3
- Python 3 utility helpers for Kopano Groupware Core.
-
-Package: python3-kopano-presence
-Architecture: all
-Section: python
-Depends: ${shlibs:Depends},
- python3-kopano (= ${binary:Version}),
- python3-flask,
- python3-sleekxmpp
-Replaces: kopano-presence (<< 8.6.81.496)
-Breaks: kopano-presence (<< 8.6.81.496)
-Description: Kopano presence module for Python 3
- Python 3 module for Kopano Presence.
-
-Package: python-mapi
-Architecture: any
-Section: python
-Depends: ${shlibs:Depends}, kopano-client (= ${binary:Version})
-Replaces: libkcpyconv0, libkcpydirector0, python2-mapi
-Breaks: libkcpyconv0, libkcpydirector0, python2-mapi
-Description: Python 2 bindings for MAPI
- Low-level (SWIG-generated) Python 2 bindings for MAPI. Using this
- module, you can create Python 2 programs which use MAPI calls to
- interact with Kopano.
-
 Package: python3-mapi
 Architecture: any
 Section: python
@@ -424,6 +289,16 @@
 Description: iCal interface for MAPI
  Provides an interface between iCal and MAPI.
 
+Package: libkcindex0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Fulltext indexing API for Kopano Core
+ This library implements a Xapian-based fulltext search index for
+ messages and attachments. kopano-server can load this library into
+ its memory space to access this indexer API through shared memory,
+ saving the round-trip latency between kopano-server and a separate
+ kopano-indexd instance.
+
 Package: libkcinetmapi0
 Architecture: any
 Depends: ${shlibs:Depends}
@@ -442,7 +317,6 @@
  the dagent/spooler config file. Multithreading will be turned OFF
  when using this plugin.
 
-
 Package: libkcrosie0
 Architecture: any
 Depends: ${shlibs:Depends}

++++++ debian.kopano-archiver.install ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.349688536 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.349688536 +0200
@@ -1,10 +1,4 @@
 usr/sbin/kopano-archiver
-usr/sbin/kopano-archiver-aclset
-usr/sbin/kopano-archiver-aclsync
-usr/sbin/kopano-archiver-restore
 usr/share/doc/kopano/example-config/archiver.cfg
 usr/share/man/man5/kopano-archiver.cfg.5
 usr/share/man/man8/kopano-archiver.8
-usr/share/man/man8/kopano-archiver-aclset.8
-usr/share/man/man8/kopano-archiver-aclsync.8
-usr/share/man/man8/kopano-archiver-restore.8

++++++ debian.kopano-dagent.install ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.437688522 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.437688522 +0200
@@ -1,17 +1,7 @@
-usr/sbin/kopano-autorespond
 usr/sbin/kopano-dagent
-usr/sbin/kopano-mr-accept
-usr/sbin/kopano-mr-process
 usr/share/doc/kopano/example-config/apparmor.d/usr.sbin.kopano-dagent
 usr/share/doc/kopano/example-config/autorespond
-usr/share/doc/kopano/example-config/autorespond.cfg
 usr/share/doc/kopano/example-config/dagent.cfg
-usr/share/kopano-dagent/python/
-usr/share/kopano-dagent/python/plugins/
 usr/share/man/man5/kopano-dagent.cfg.5
-usr/share/man/man8/kopano-autorespond.8
 usr/share/man/man8/kopano-dagent.8
-usr/share/man/man8/kopano-mr-accept.8
-usr/share/man/man8/kopano-mr-process.8
 var/lib/kopano/autorespond/
-var/lib/kopano/dagent/plugins/

++++++ debian.kopano-indexer.install ++++++
usr/lib/*/kopano/kopano-indexd
usr/share/man/man8/kopano-indexd.8
++++++ debian.kopano-server.install ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.553688503 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.553688503 +0200
@@ -15,7 +15,6 @@
 usr/share/doc/kopano/kopano.schema
 usr/share/doc/kopano/ldap-switch-sendas.pl
 usr/share/doc/kopano/ssl-certificates.sh
-usr/share/doc/kopano/update-resource-recipients
 usr/share/kopano/ldap.active-directory.cfg
 usr/share/kopano/ldap.openldap.cfg
 usr/share/kopano/ldap.propmap.cfg

++++++ debian.kopano-spooler.install ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.573688499 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.577688499 +0200
@@ -1,7 +1,4 @@
 usr/sbin/kopano-spooler
 usr/share/doc/kopano/example-config/spooler.cfg
-usr/share/kopano-spooler/python/
-usr/share/kopano-spooler/python/plugins/
 usr/share/man/man5/kopano-spooler.cfg.5
 usr/share/man/man8/kopano-spooler.8
-var/lib/kopano/spooler/plugins/

++++++ debian.libkcindex0.install ++++++
usr/lib/*/libkcindex.so.0*
++++++ debian.php7-mapi.postinst ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.777688466 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.777688466 +0200
@@ -2,7 +2,9 @@
 
 set -e
 
-if [ -d /etc/php/7.2 ]; then
+if [ -d /etc/php/7.3 ]; then
+       BASE="/etc/php/7.3"
+elif [ -d /etc/php/7.2 ]; then
        BASE="/etc/php/7.2"
 elif [ -d /etc/php/7.0 ]; then
        BASE="/etc/php/7.0"

++++++ debian.rules ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.801688462 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.805688462 +0200
@@ -6,20 +6,25 @@
 export DH_OPTIONS
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_RELEASE_CODE    ?= $(shell lsb_release -cs)
 CONFFLAGS = \
        --prefix=/usr --localstatedir=/var --sysconfdir=/etc --enable-release \
+       --disable-python --enable-pybind \
        TCMALLOC_CFLAGS=" " TCMALLOC_LIBS="-ltcmalloc_minimal"
 INSTDIR = debian/tmp
 
 override_dh_auto_configure:
        autoreconf -fi
-       dh_auto_configure -Bpy2 -- ${CONFFLAGS} PYTHON="$$(which python2)" 
PYTHON_CFLAGS="$$(pkg-config python2 --cflags)" PYTHON_LIBS="$$(pkg-config 
python2 --libs)"
        dh_auto_configure -Bpy3 -- ${CONFFLAGS} PYTHON="$$(which python3)" 
PYTHON_CFLAGS="$$(pkg-config python3 --cflags)" PYTHON_LIBS="$$(pkg-config 
python3 --libs)"
 
 override_dh_auto_build:
-       dh_auto_build -Bpy2 -- V=1
        dh_auto_build -Bpy3 -- V=1
 
+override_dh_systemd_start:
+       # Restart services, after they have upgraded to minify downtime while
+       # upgrading and to ensure all services actually are restarted on 
upgrade.
+       dh_systemd_start --restart-after-upgrade
+
 override_dh_systemd_enable:
        # Move systemd service files into debian folder so they can be correctly
        # installed by dh_systemd.
@@ -27,7 +32,6 @@
        dh_systemd_enable
 
 override_dh_auto_install:
-       dh_auto_install -Bpy2 -- -j1 PHP_SYSCONF_DIR=/usr/share/kopano/php/mapi
        dh_auto_install -Bpy3 -- -j1 PHP_SYSCONF_DIR=/usr/share/kopano/php/mapi
        mkdir -p ${INSTDIR}/var/lib/kopano/autorespond
        mkdir -p ${INSTDIR}/var/lib/kopano/rrd
@@ -51,9 +55,11 @@
        mkdir -p ${INSTDIR}/usr/share/doc/kopano-common
        gzip -c <RELNOTES.txt 
>${INSTDIR}/usr/share/doc/kopano-common/changelog.gz
 
-       # Update paths in grapi bin script.
-       sed -i 
"s|EXE=.*|EXE=/usr/lib/${DEB_BUILD_GNU_TYPE}/kopano/kopano-mfr.py|" 
${INSTDIR}/usr/sbin/kopano-grapi
-       sed -i "s|EXTRA_PYTHONPATH=.*|EXTRA_PYTHONPATH=$(shell 
PYTHONUSERBASE=/usr/lib/kopano/python3-extras python3 -m site --user-site)|" 
${INSTDIR}/usr/sbin/kopano-grapi
+    # Kopano Search needs to run with Python 2 on Debian 8 because of 
non-existing python3-xapian.
+       if [ "${DEB_RELEASE_CODE}" = "jessie" ]; then \
+               sed -i "1 c #!/usr/bin/python" 
${INSTDIR}/usr/sbin/kopano-search; \
+               sed -i "1 c #!/usr/bin/python" 
${INSTDIR}/usr/sbin/kopano-search-xapian-compact.py; \
+       fi
 
 %:
        dh $@ --parallel --with python3,systemd

++++++ kopano.dsc ++++++
--- /var/tmp/diff_new_pack.2AWfMi/_old  2019-09-23 12:29:27.829688457 +0200
+++ /var/tmp/diff_new_pack.2AWfMi/_new  2019-09-23 12:29:27.829688457 +0200
@@ -1,20 +1,57 @@
 Format: 1.0
 Source: kopano
 Architecture: any all
-Version: 8.7.0.110-0
+Version: 8.7.83-0
 DEBTRANSFORM-RELEASE: 1
 Maintainer: Kopano Development <[email protected]>
 Homepage: https://kopano.com
 Standards-Version: 3.9.4
-Build-Depends: debhelper (>= 4.0.0), binutils (>= 2.12.90.0.9), devscripts,
- autotools-dev, g++ (>= 4.8), automake (>= 1:1.9) | automake1.9, autoconf (>= 
2.59),
- libtool (>= 1.5), libtool-bin | libtool, pkg-config (>= 0.18), libssl-dev,
- libvmime-dev (>= 0.9.2), uuid-dev, php-dev | php4-dev | php5-dev,
- libmysqlclient15-dev | libmysqlclient-dev | libmariadb-client-lgpl-dev,
- libcurl3-dev | libcurl4-openssl-dev, gettext, libldap2-dev, m4,
- zlib1g-dev, fakeroot, libncurses5-dev, libncursesw5-dev, libxml2-dev,
- libpam0g-dev, libkrb5-dev, python3-dev,
- libicu-dev, libical-dev, swig, python-dev,
- gsoap (>= 2.8.49), libgoogle-perftools-dev, openssl,
- libs3-dev (>= 4.1)
+# You need to update both kopano.dsc and debian.control (*sigh* - Debian)
+Build-Depends:
+ autoconf (>= 2.59),
+ automake (>= 1:1.10) | automake1.10,
+ autotools-dev,
+ binutils (>= 2.20),
+ debhelper (>= 9),
+ devscripts,
+ dh-systemd (>= 1.5),
+ dts4debian [amd64],
+ fakeroot,
+ g++ (>= 4.8),
+ gettext,
+ gsoap (>= 2.8.49),
+ libcurl3-dev | libcurl4-openssl-dev,
+ libdb++-dev,
+ libgoogle-perftools-dev,
+ libhx-dev (>= 1.10),
+ libical-dev,
+ libicu-dev,
+ libjsoncpp-dev (>= 1.4.0),
+ libkrb5-dev,
+ libldap2-dev,
+ libmariadbclient-dev | libmysqlclient-dev,
+ libncurses5-dev,
+ libncursesw5-dev,
+ libpam0g-dev,
+ librrd-dev (>= 1.3),
+ libs3-dev (>= 4.1),
+ libssl-dev,
+ libtool (>= 1.5),
+ libtool-bin | libtool,
+ libvmime-dev (>= 0.9.2),
+ libxapian-dev,
+ libxml2-dev,
+ lsb-release,
+ m4,
+ openssl,
+ php-dev | php7.3-dev | php7.2-dev | php7.1-dev | php7.0-dev | php5-dev,
+ pkg-config (>= 0.18),
+ python3-dev,
+ python3-setuptools,
+ swig,
+ systemd,
+ tidy-html5-dev,
+ uuid-dev,
+ zlib1g-dev,
+ libkcoidc-dev [amd64]
 Files:

++++++ kopanocore-8.7.0.110.tar.xz -> kopanocore-8.7.83.tar.xz ++++++
++++ 108628 lines of diff (skipped)


Reply via email to