[Pkg-giraffe-discuss] [PATCH 2/2] control: break and replace upstream built plugin packages

Roel van Meer roel at 1afa.com
Thu Mar 29 11:38:07 UTC 2018


This makes it much easier to switch from the packages built by Kopano
to the Debian-built packages.

Change-Id: Id190b077d7d7864b3a94e32b100122877db42dfd
---
 debian/control | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/debian/control b/debian/control
index 1f83365..9f0ee0c 100644
--- a/debian/control
+++ b/debian/control
@@ -98,6 +98,8 @@ Description: WebApp for the Kopano Collaboration Platform - Lighttpd
 Package: kopano-webapp-contactfax
 Architecture: all
 Depends: ${misc:Depends}, kopano-webapp-common (>= ${binary:Version})
+Breaks: kopano-webapp-plugin-contactfax
+Replaces: kopano-webapp-plugin-contactfax
 Description: Kopano WebApp fax plugin
  This package is a plugin for kopano-webapp, a web interface for Kopano from
  Zarafa.
@@ -108,6 +110,8 @@ Description: Kopano WebApp fax plugin
 Package: kopano-webapp-folderwidgets
 Architecture: all
 Depends: ${misc:Depends}, kopano-webapp-common (>= ${binary:Version})
+Breaks: kopano-webapp-plugin-folderwidgets
+Replaces: kopano-webapp-plugin-folderwidgets
 Description: Kopano WebApp folder widgets plugin
  This package is a plugin for kopano-webapp, a web interface for Kopano from
  Zarafa.
@@ -118,6 +122,8 @@ Description: Kopano WebApp folder widgets plugin
 Package: kopano-webapp-gmaps
 Architecture: all
 Depends: ${misc:Depends}, kopano-webapp-common (>= ${binary:Version})
+Breaks: kopano-webapp-plugin-gmaps
+Replaces: kopano-webapp-plugin-gmaps
 Description: Kopano WebApp google maps plugin
  This package is a plugin for kopano-webapp, a web interface for Kopano from
  Zarafa.
@@ -128,6 +134,8 @@ Description: Kopano WebApp google maps plugin
 Package:  kopano-webapp-pimfolder
 Architecture: all
 Depends: ${misc:Depends}, kopano-webapp-common (>= ${binary:Version})
+Breaks: kopano-webapp-plugin-pimfolder
+Replaces: kopano-webapp-plugin-pimfolder
 Description: Kopano WebApp personal inbox plugin
  This package is a plugin for kopano-webapp, a web interface for Kopano from
  Zarafa.
@@ -140,6 +148,8 @@ Description: Kopano WebApp personal inbox plugin
 Package: kopano-webapp-quickitems
 Architecture: all
 Depends: ${misc:Depends}, kopano-webapp-common (>= ${binary:Version})
+Breaks: kopano-webapp-plugin-quickitems
+Replaces: kopano-webapp-plugin-quickitems
 Description: Kopano WebApp quick items plugin
  This package is a plugin for kopano-webapp, a web interface for Kopano from
  Zarafa.
@@ -149,6 +159,8 @@ Description: Kopano WebApp quick items plugin
 
 Package: kopano-webapp-titlecounter
 Architecture: all
+Breaks: kopano-webapp-plugin-titlecounter
+Replaces: kopano-webapp-plugin-titlecounter
 Depends: ${misc:Depends}, kopano-webapp-common (>= ${binary:Version})
 Description: Kopano WebApp Titlecounter plugin
  This package is a plugin for kopano-webapp, a web interface for Kopano from
@@ -159,6 +171,8 @@ Description: Kopano WebApp Titlecounter plugin
 
 Package: kopano-webapp-webappmanual
 Architecture: all
+Breaks: kopano-webapp-plugin-webappmanual
+Replaces: kopano-webapp-plugin-webappmanual
 Depends: ${misc:Depends}, kopano-webapp-common (>= ${binary:Version})
 Description: Kopano WebApp Manual plugin
  This package is a plugin for kopano-webapp, a web interface for Kopano from
@@ -169,6 +183,8 @@ Description: Kopano WebApp Manual plugin
 
 Package: kopano-webapp-zdeveloper
 Architecture: all
+Breaks: kopano-webapp-plugin-zdeveloper
+Replaces: kopano-webapp-plugin-zdeveloper
 Depends: ${misc:Depends}, kopano-webapp-common (>= ${binary:Version})
 Description: Kopano WebApp developer plugin
  This package is a plugin for kopano-webapp, a web interface for Kopano from
-- 
2.11.0




More information about the Pkg-giraffe-discuss mailing list