summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:16:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:16:36 +0000
commit000101f990da3666f51018fe83f494f04c8677ff (patch)
tree759fcde00724b17cc0e727e7aacfefd9aa52f9c1 /debian
parentAdding upstream version 1.3.2. (diff)
downloadicingaweb2-module-cube-000101f990da3666f51018fe83f494f04c8677ff.tar.xz
icingaweb2-module-cube-000101f990da3666f51018fe83f494f04c8677ff.zip
Adding debian version 1.3.2-1.debian/1.3.2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/changelog90
-rw-r--r--debian/control27
-rw-r--r--debian/copyright48
-rwxr-xr-xdebian/icingaweb2-module-cube.config13
-rw-r--r--debian/icingaweb2-module-cube.docs2
-rwxr-xr-xdebian/icingaweb2-module-cube.postinst48
-rwxr-xr-xdebian/icingaweb2-module-cube.postrm23
-rw-r--r--debian/icingaweb2-module-cube.templates9
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/es.po37
-rw-r--r--debian/po/fr.po37
-rw-r--r--debian/po/ge.po36
-rw-r--r--debian/po/nl.po38
-rw-r--r--debian/po/sv.po36
-rw-r--r--debian/po/templates.pot36
-rwxr-xr-xdebian/rules20
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch3
19 files changed, 510 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ca88d6b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,90 @@
+icingaweb2-module-cube (1.3.2-1) unstable; urgency=medium
+
+ * Adding Swedish debconf translations from Martin Bagge (Closes: #1059114).
+ * Adding French debconf translations from Jean-Pierre Giraud
+ (Closes: #1060627).
+ * Correcting debconf question (Closes: #1052185).
+ * Unfuzzy because the change is small.
+ * Merge upstream version 1.3.2 (Closes: #1057905).
+ * Updating copyright.
+
+ -- David Kunz <david.kunz@dknet.ch> Thu, 08 Feb 2024 14:42:54 +0100
+
+icingaweb2-module-cube (1.3.1-1) unstable; urgency=medium
+
+ * Standardization of the rules for icingaweb2 modules.
+ * Configure debconf.
+ * Adding Spanish debconf translations from Camaleón.
+ * Adding Dutch debconf translations from Francs Spiesschaert.
+ * Adding German debconf translations from Christoph Brinkhaus.
+ * Merging upstream version 1.3.1.
+
+ -- David Kunz <david.kunz@dknet.ch> Wed, 23 Aug 2023 15:35:26 +0200
+
+icingaweb2-module-cube (1.3.0-2) unstable; urgency=medium
+
+ * Move from experimental to unstable.
+
+ -- David Kunz <david.kunz@dknet.ch> Tue, 27 Jun 2023 15:27:09 +0200
+
+icingaweb2-module-cube (1.3.0-1) experimental; urgency=medium
+
+ * Merging upstream version 1.3.0.
+ * Adding icingadb to enhances.
+ * Updating Standards-Version to 4.6.2.
+ * Remove dublicate entry in control.
+ * Adding Rules-Requires-Root in control.
+ * Remove documentation files in non-doc path.
+ * Adding metadata file.
+
+ -- David Kunz <david.kunz@dknet.ch> Fri, 12 May 2023 09:46:08 +0200
+
+icingaweb2-module-cube (1.2.2-1) unstable; urgency=medium
+
+ * Merging upstream version 1.2.2.
+ * Updating copyrigt for debian.
+
+ -- David Kunz <david.kunz@dknet.ch> Tue, 03 Jan 2023 13:56:07 +0100
+
+icingaweb2-module-cube (1.2.1-1) unstable; urgency=medium
+
+ * Merging upstream version 1.2.1.
+ * Updating Standards-Version to 4.6.1.
+ * Updating depends.
+ * Remove unused recommends.
+ * Updating copyright.
+
+ -- David Kunz <david.kunz@dknet.ch> Tue, 05 Jul 2022 14:44:30 +0200
+
+icingaweb2-module-cube (1.1.1-2) unstable; urgency=medium
+
+ * Updating vcs in control.
+ * Updating Standards-Version.
+ * Adding watch file.
+ * Adding doc/* to docs.
+ * Updating copyright.
+
+ -- David Kunz <david.kunz@dknet.ch> Wed, 29 Dec 2021 11:18:47 +0100
+
+icingaweb2-module-cube (1.1.1-1) unstable; urgency=medium
+
+ * Merging upstream version 1.1.1.
+ * Adding recommends to icingaweb2-module-director.
+ * Updating standard version.
+
+ -- David Kunz <david.kunz@dknet.ch> Thu, 05 Jan 2021 12:07:34 +0200
+
+icingaweb2-module-cube (1.0.1-2) unstable; urgency=medium
+
+ * Updating debhelper.
+ * Updating standard version.
+ * Fixing typo in path (Closes: #952979).
+ * Fixing typo in previous changelog entry.
+
+ -- David Kunz <david.kunz@dknet.ch> Mon, 22 Jun 2020 07:49:29 +0200
+
+icingaweb2-module-cube (1.0.1-1) unstable; urgency=medium
+
+ * Initial release (Closes: #921102).
+
+ -- David Kunz <david.kunz@dknet.ch> Mon, 12 Aug 2019 14:57:16 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c6a5fb8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: icingaweb2-module-cube
+Section: admin
+Priority: optional
+Maintainer: David Kunz <david.kunz@dknet.ch>
+Build-Depends:
+ debhelper-compat (= 13),
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Homepage: https://github.com/Icinga/icingaweb2-module-cube
+Vcs-Browser: https://salsa.debian.org/david.kunz/icingaweb2-module-cube
+Vcs-Git: https://salsa.debian.org/david.kunz/icingaweb2-module-cube.git
+
+Package: icingaweb2-module-cube
+Architecture: all
+Depends:
+ icingaweb2,
+ icinga-php-library,
+ ${misc:Depends},
+Enhances:
+ icingaweb2,
+ icingadb,
+Description: simple and responsive web interface to show host statistics
+ Icinga Web 2 is a very modular, fast and simple web interface for your Icinga
+ monitoring environment.
+ .
+ Cube is a tiny module. It currently shows host statistics (total count, health)
+ grouped by various custom variables in multiple dimensions.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a5899c2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,48 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: icingaweb2-module-cube
+Upstream-Contact: Icinga Development Team <icinga-devel@lists.icinga.org>
+Source: https://github.com/Icinga/icingaweb2-module-cube/releases
+
+Files: *
+Copyright: 2016-2022 Icinga Development Team <icinga-devel@lists.icinga.org>
+License: GPL-2
+
+Files: debian/*
+Copyright: 2019-2024 David Kunz <david.kunz@dknet.ch>
+License: GPL-2
+
+Files: debian/po/es.po
+Copyright: 2023 Camaleón <noelamac@gmail.com>
+License: GPL-2
+
+Files: debian/po/fr.po
+Copyright: 2023 French l10n team <debian-l10n-french@lists.debian.org>
+License: GPL-2
+
+Files: debian/po/ge.po
+Copyright: 2023 Christoph Brinkhaus <c.brinkhaus@t-online.de>
+License: GPL-2
+
+Files: debian/po/nl.po
+Copyright: 2023 Frans Spiesschaert <Frans.Spiesschaert@yucom.be>
+License: GPL-2
+
+Files: debian/po/sv.po
+Copyright: 2023 Martin Bagge <brother@persilja.net>
+License: GPL-2
+
+License: GPL-2
+ 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 2 of the License.
+ .
+ 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
diff --git a/debian/icingaweb2-module-cube.config b/debian/icingaweb2-module-cube.config
new file mode 100755
index 0000000..74f1821
--- /dev/null
+++ b/debian/icingaweb2-module-cube.config
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+MODULE=icingaweb2-module-cube
+
+. /usr/share/debconf/confmodule
+
+db_settitle ${MODULE}/title
+db_input low ${MODULE}/enable || true
+db_go
+
+db_stop
diff --git a/debian/icingaweb2-module-cube.docs b/debian/icingaweb2-module-cube.docs
new file mode 100644
index 0000000..968f11e
--- /dev/null
+++ b/debian/icingaweb2-module-cube.docs
@@ -0,0 +1,2 @@
+README.md
+doc/*
diff --git a/debian/icingaweb2-module-cube.postinst b/debian/icingaweb2-module-cube.postinst
new file mode 100755
index 0000000..cc074d3
--- /dev/null
+++ b/debian/icingaweb2-module-cube.postinst
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+set -e
+
+MODULE="cube"
+
+case "${1}" in
+ configure)
+ . /usr/share/debconf/confmodule
+
+ db_get icingaweb2-module-${MODULE}/enable
+ MODULE_ENABLE="${RET:-true}"
+
+ db_stop
+
+ if ! getent group icingaweb2 > /dev/null
+ then
+ groupadd --system icingaweb2 > /dev/null
+ fi
+
+ if [ "${MODULE_ENABLE}" = "true" ]
+ then
+ if [ ! -e "/etc/icingaweb2/enabledModules" ]
+ then
+ mkdir -p "/etc/icingaweb2/enabledModules"
+ chown root:icingaweb2 "/etc/icingaweb2/enabledModules" > /dev/null 2>&1 || true
+ fi
+
+ ln -sf "/usr/share/icingaweb2/modules/${MODULE}" "/etc/icingaweb2/enabledModules/${MODULE}"
+ chown root:icingaweb2 "/etc/icingaweb2/enabledModules/${MODULE}" > /dev/null 2>&1 || true
+ else
+ rm -f "/etc/icingaweb2/enabledModules/${MODULE}"
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument: \`${1}'." >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/icingaweb2-module-cube.postrm b/debian/icingaweb2-module-cube.postrm
new file mode 100755
index 0000000..d82c284
--- /dev/null
+++ b/debian/icingaweb2-module-cube.postrm
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+MODULE="cube"
+
+case ${1} in
+ remove)
+ rm -f "/etc/icingaweb2/enabledModules/${MODULE}"
+ ;;
+
+ purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument: \`${1}'." >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/icingaweb2-module-cube.templates b/debian/icingaweb2-module-cube.templates
new file mode 100644
index 0000000..8b85d3b
--- /dev/null
+++ b/debian/icingaweb2-module-cube.templates
@@ -0,0 +1,9 @@
+Template: icingaweb2-module-cube/title
+Type: title
+_Description: icingaweb2-module-cube: Setup
+
+Template: icingaweb2-module-cube/enable
+Type: boolean
+Default: true
+_Description: Should this module be enabled?
+ This module can be enabled or disabled.
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..beeb60a
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] icingaweb2-module-cube.templates
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644
index 0000000..82a956b
--- /dev/null
+++ b/debian/po/es.po
@@ -0,0 +1,37 @@
+# Translation of icingaweb2-module-cube debconf templates to Spanish.
+# Copyright (C) 2023 Camaleón <noelamac@gmail.com>
+# This file is distributed under the same license as the icingaweb2-module-cube package.
+# Camaleón <noelamac@gmail.com>, 2023.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icingaweb2-module-cube\n"
+"Report-Msgid-Bugs-To: icingaweb2-module-cube@packages.debian.org\n"
+"POT-Creation-Date: 2023-06-14 11:35+0200\n"
+"PO-Revision-Date: 2023-06-19 19:14+0200\n"
+"Last-Translator: Camaleón <noelamac@gmail.com>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.4.2\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: title
+#. Description
+#: ../icingaweb2-module-cube.templates:1001
+msgid "icingaweb2-module-cube: Setup"
+msgstr "icingaweb2-module-cube: Configuración"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "Should this module be enabled?"
+msgstr "¿Desea activar este módulo?"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "This module can be enabled or disabled."
+msgstr "Puede activar o desactivar este módulo."
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644
index 0000000..2dac8f4
--- /dev/null
+++ b/debian/po/fr.po
@@ -0,0 +1,37 @@
+# Translation of icingaweb2-module-cube debconf template to French
+# Copyright (C) 2023, French l10n team <debian-l10n-french@lists.debian.org>
+# This file is distributed under the same license as the icingaweb2-module-cube package.
+#
+# Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>, 2024.
+msgid ""
+msgstr ""
+"Project-Id-Version: icingaweb2-module-cube\n"
+"Report-Msgid-Bugs-To: icingaweb2-module-cube@packages.debian.org\n"
+"POT-Creation-Date: 2023-06-14 11:35+0200\n"
+"PO-Revision-Date: 2024-01-12 00:27+0100\n"
+"Last-Translator: Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"Language: fr_FR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"X-Generator: Lokalize 22.12.3\n"
+
+#. Type: title
+#. Description
+#: ../icingaweb2-module-cube.templates:1001
+msgid "icingaweb2-module-cube: Setup"
+msgstr "icingaweb2-module-cube : configuration"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "Should this module be enabled?"
+msgstr "Faut-il activer ce module ?"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "This module can be enabled or disabled."
+msgstr "Ce module peut être activé ou désactivé."
diff --git a/debian/po/ge.po b/debian/po/ge.po
new file mode 100644
index 0000000..9f0cf0b
--- /dev/null
+++ b/debian/po/ge.po
@@ -0,0 +1,36 @@
+# German translation of manpages
+# This file is distributed under the same license as the icingaweb2-module-cube package.
+# Copyright © of this file:
+# Christoph Brinkhaus <c.brinkhaus@t-online.de>, 2023.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icingaweb2-module-cube\n"
+"Report-Msgid-Bugs-To: icingaweb2-module-cube@packages.debian.org\n"
+"POT-Creation-Date: 2023-06-14 11:35+0200\n"
+"PO-Revision-Date: 2023-06-17 10:30+0200\n"
+"Last-Translator: Christoph Brinkhaus <c.brinkhaus@t-online.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Type: title
+#. Description
+#: ../icingaweb2-module-cube.templates:1001
+msgid "icingaweb2-module-cube: Setup"
+msgstr "icingaweb2-module-cube: Einrichtung"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "Should this module be enabled?"
+msgstr "Soll dieses Modul aktiviert werden?"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "This module can be enabled or disabled."
+msgstr "Dieses Modul kann aktiviert oder deaktiviert werden."
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644
index 0000000..4716241
--- /dev/null
+++ b/debian/po/nl.po
@@ -0,0 +1,38 @@
+# Dutch translation of icingaweb2-module-cube debconf templates.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the icingaweb2-module-cube package.
+# # Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2023.
+# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2023.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icingaweb2-module-cube_1.2.2-2\n"
+"Report-Msgid-Bugs-To: icingaweb2-module-cube@packages.debian.org\n"
+"POT-Creation-Date: 2023-06-14 11:35+0200\n"
+"PO-Revision-Date: 2023-07-05 22:55+0200\n"
+"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n"
+"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Gtranslator 3.30.1\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+
+#. Type: title
+#. Description
+#: ../icingaweb2-module-cube.templates:1001
+msgid "icingaweb2-module-cube: Setup"
+msgstr "icingaweb2-module-cube: Instellen"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "Should this module be enabled?"
+msgstr "Moet deze module ingeschakeld worden?"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "This module can be enabled or disabled."
+msgstr "Deze module kan in- of uitgeschakeld worden."
diff --git a/debian/po/sv.po b/debian/po/sv.po
new file mode 100644
index 0000000..941bded
--- /dev/null
+++ b/debian/po/sv.po
@@ -0,0 +1,36 @@
+# Translation of icingaweb2-module-cube debconf template to Swedish
+# Copyright (C) 2023 Martin Bagge <brother@persilja.net>
+# This file is distributed under the same license as the icingaweb2-module-cube package.
+#
+# Martin Bagge <brother@persilja.net>, 2023.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: icingaweb2-module-cube\n"
+"Report-Msgid-Bugs-To: icingaweb2-module-cube@packages.debian.org\n"
+"POT-Creation-Date: 2023-06-14 11:35+0200\n"
+"PO-Revision-Date: 2023-12-20 11:28+0100\n"
+"Last-Translator: Martin Bagge <brother@persilja.net>\n"
+"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: title
+#. Description
+#: ../icingaweb2-module-cube.templates:1001
+msgid "icingaweb2-module-cube: Setup"
+msgstr "icingaweb2-module-cube: Inställningar"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "Should this module be enabled?"
+msgstr "Ska denna modul aktiveras?"
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "This module can be enabled or disabled."
+msgstr "Denna modul kan aktiveras eller avaktiveras."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..4660952
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,36 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the icingaweb2-module-cube package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: icingaweb2-module-cube\n"
+"Report-Msgid-Bugs-To: icingaweb2-module-cube@packages.debian.org\n"
+"POT-Creation-Date: 2024-02-08 14:17+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: title
+#. Description
+#: ../icingaweb2-module-cube.templates:1001
+msgid "icingaweb2-module-cube: Setup"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "Should this module be enabled?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../icingaweb2-module-cube.templates:2001
+msgid "This module can be enabled or disabled."
+msgstr ""
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f8bd75e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+MODULE := cube
+DEBDIR := debian/icingaweb2-module-$(MODULE)
+
+%:
+ dh ${@}
+
+override_dh_auto_install:
+ mkdir -p $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)
+ find . -maxdepth 1 -mindepth 1 -and -not -name debian -and -not -name ".git*" -and -not -name ".pc" -exec cp -a {} $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) \;
+
+execute_after_dh_installdocs:
+ find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name AUTHORS -exec rm -f {} \;
+ find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name COPYING -exec rm -f {} \;
+ find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name LICENSE -exec rm -f {} \;
+ find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name README -exec rm -f {} \;
+ find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name "*.md" -exec rm -f {} \;
+ find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -type d -empty -delete
+ rm -rf $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/doc
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..4204eb7
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Archive: "https://github.com/Icinga/"
+Bug-Database: "https://github.com/Icinga/icingaweb2-module-cube/labels/bug"
+Documentation: "https://github.com/Icinga/icingaweb2-module-cube/tree/main/doc"
+Repository: "https://github.com/Icinga/icingaweb2-module-cube"
+Repository-Browse: "https://github.com/orgs/Icinga/repositories"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..0426586
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/icingaweb2-module-cube-$1\.tar\.gz/ \
+ https://github.com/icinga/icingaweb2-module-cube/tags .*/v?(\d\S+)\.tar\.gz