summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/.gitlab-ci.yml6
-rw-r--r--debian/changelog48
-rw-r--r--debian/control23
-rw-r--r--debian/copyright29
-rw-r--r--debian/docs2
-rw-r--r--debian/gbp.conf19
-rw-r--r--debian/install6
-rw-r--r--debian/lintian-overrides3
-rw-r--r--debian/prerm42
-rwxr-xr-xdebian/rules9
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch7
13 files changed, 200 insertions, 0 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml
new file mode 100644
index 0000000..831136f
--- /dev/null
+++ b/debian/.gitlab-ci.yml
@@ -0,0 +1,6 @@
+---
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
+
+variables:
+ SALSA_CI_ENABLE_BUILD_PACKAGE_TWICE: 1
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ae6d0b9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,48 @@
+icingadb-web (1.1.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Thu, 16 Nov 2023 05:52:21 +0100
+
+icingadb-web (1.1.0-1) unstable; urgency=medium
+
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 29 Sep 2023 17:01:14 +0200
+
+icingadb-web (1.1.0-1~exp1) experimental; urgency=medium
+
+ * New upstream release.
+ * Add Rules-Requires-Root to control file.
+ * Bump Standards-Version to 4.6.2, no changes.
+ * Bump debhelper compat to 13.
+ * Enable Salsa CI.
+ * Update copyright file.
+ * Require at least icinga-php-library 0.13.0 & icinga-php-thirdparty 0.12.0.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 29 Sep 2023 06:29:34 +0200
+
+icingadb-web (1.0.2-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 05 Nov 2022 06:52:18 +0100
+
+icingadb-web (1.0.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Require at least icinga-php-library 0.10.0.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 06 Sep 2022 10:40:25 +0200
+
+icingadb-web (1.0.0-1) unstable; urgency=medium
+
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 09 Jul 2022 20:54:12 +0200
+
+icingadb-web (1.0.0-1~exp1) experimental; urgency=medium
+
+ * Initial Release. (Closes: #1014267).
+
+ -- Bas Couwenberg <sebastic@debian.org> Sun, 03 Jul 2022 17:55:41 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9f4dd88
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: icingadb-web
+Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic@debian.org>
+Section: admin
+Priority: optional
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.6.2
+Vcs-Browser: https://salsa.debian.org/nagios-team/icingadb-web
+Vcs-Git: https://salsa.debian.org/nagios-team/icingadb-web.git
+Homepage: https://icinga.com
+Rules-Requires-Root: no
+
+Package: icingadb-web
+Architecture: all
+Depends: icingaweb2 (>= 2.9),
+ icinga-php-library (>= 0.13.0),
+ icinga-php-thirdparty (>= 0.12.0),
+ ${misc:Depends}
+Description: Icinga DB Web for Icinga Web 2
+ Icinga DB Web pushes your monitoring stack to the next level.
+ Based on the lessons learnt with the base monitoring module,
+ it offers a modern and streamlined design to provide a clear
+ and concise overview of your monitoring environment.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..86141c0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Icinga DB Web
+Source: https://github.com/Icinga/icingadb-web
+
+Files: *
+Copyright: 2020-2023, Icinga GmbH <info@icinga.com>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2018, Icinga GmbH <info@icinga.com>
+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, 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 program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the complete text of version 2 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..291e900
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.md
+doc
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..e3daba6
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,19 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
+
+[buildpackage]
+pbuilder-options = --source-only-changes
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..34115fa
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,6 @@
+application/* usr/share/icingaweb2/modules/icingadb/application/
+library/* usr/share/icingaweb2/modules/icingadb/library/
+public/* usr/share/icingaweb2/modules/icingadb/public/
+configuration.php usr/share/icingaweb2/modules/icingadb/
+module.info usr/share/icingaweb2/modules/icingadb/
+run.php usr/share/icingaweb2/modules/icingadb/
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..23d94c2
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,3 @@
+# Not documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/modules/icingadb/module.info]
+
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..c5fc722
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,42 @@
+#!/bin/sh
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see https://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+module_name=icingadb
+
+case "$1" in
+ remove)
+ echo "Disabling icingaweb2 module '${module_name}'"
+ rm -f /etc/icingaweb2/enabledModules/"${module_name}"
+ ;;
+
+ upgrade|deconfigure)
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cc2c367
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_compress:
+ dh_compress -X.md
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..a55022b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/Icinga/icingadb-web/issues
+Bug-Submit: https://github.com/Icinga/icingadb-web/issues/new
+Repository: https://github.com/Icinga/icingadb-web.git
+Repository-Browse: https://github.com/Icinga/icingadb-web
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ee2433a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=4
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|icingadb-web)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/icingadb-web-$1.$2/ \
+https://github.com/Icinga/icingadb-web/tags \
+(?:.*?/archive/(?:.*?/)?)?(?:rel|v|icingadb-web)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))