summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:39:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:39:40 +0000
commit92b71369d9c622791ec7758cb3ecfc256031e24d (patch)
tree45fb3f91bbfec5ecb364ceea5a2f4afe31ab57c1 /debian
parentAdding upstream version 2.11.4. (diff)
downloadicingaweb2-92b71369d9c622791ec7758cb3ecfc256031e24d.tar.xz
icingaweb2-92b71369d9c622791ec7758cb3ecfc256031e24d.zip
Adding debian version 2.11.4-2+deb12u1.debian/2.11.4-2+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/OFL.txt97
-rw-r--r--debian/TODO6
-rw-r--r--debian/changelog605
-rw-r--r--debian/control119
-rw-r--r--debian/copyright261
-rw-r--r--debian/gbp.conf19
-rw-r--r--debian/icingacli.bash-completion1
-rw-r--r--debian/icingacli.install3
-rw-r--r--debian/icingacli.lintian-overrides3
-rw-r--r--debian/icingaweb2-common.dirs3
-rw-r--r--debian/icingaweb2-common.install3
-rw-r--r--debian/icingaweb2-common.lintian-overrides6
-rw-r--r--debian/icingaweb2-common.postinst44
-rw-r--r--debian/icingaweb2-common.postrm12
-rw-r--r--debian/icingaweb2-module-doc.install1
-rw-r--r--debian/icingaweb2-module-doc.lintian-overrides6
-rw-r--r--debian/icingaweb2-module-monitoring.install1
-rw-r--r--debian/icingaweb2-module-monitoring.lintian-overrides6
-rw-r--r--debian/icingaweb2.conf25
-rw-r--r--debian/icingaweb2.docs2
-rw-r--r--debian/icingaweb2.install19
-rw-r--r--debian/icingaweb2.links14
-rw-r--r--debian/icingaweb2.lintian-overrides28
-rw-r--r--debian/icingaweb2.postinst43
-rw-r--r--debian/icingaweb2.postrm19
-rw-r--r--debian/patches/error_reporting.patch27
-rw-r--r--debian/patches/php8.2.patch124
-rw-r--r--debian/patches/series2
-rw-r--r--debian/php-icinga.install7
-rw-r--r--debian/php-icinga.lintian-overrides4
-rwxr-xr-xdebian/rules51
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides4
-rwxr-xr-xdebian/sources/icingacli7
-rw-r--r--debian/sources/index.php4
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch6
37 files changed, 1588 insertions, 0 deletions
diff --git a/debian/OFL.txt b/debian/OFL.txt
new file mode 100644
index 0000000..f1a20ac
--- /dev/null
+++ b/debian/OFL.txt
@@ -0,0 +1,97 @@
+Copyright (c) <dates>, <Copyright Holder> (<URL|email>),
+with Reserved Font Name <Reserved Font Name>.
+Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>),
+with Reserved Font Name <additional Reserved Font Name>.
+Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>).
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..32de957
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,6 @@
+icingaweb2 Debian source TODO
+=============================
+
+* embedded jquery + addons: public/js/vendor
+* embedded font: application/fonts
+* embedded PHP libraries: library/vendor/{Parsedown,JShrink,lessphp}
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..86cfe38
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,605 @@
+icingaweb2 (2.11.4-2+deb12u1) bookworm; urgency=medium
+
+ * Team upload.
+ * Update branch in gbp.conf & Vcs-Git URL.
+ * Add patch to suppress Deprecated notices.
+ (closes: #1037925)
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 09 Aug 2023 19:45:18 +0200
+
+icingaweb2 (2.11.4-2) unstable; urgency=medium
+
+ * Team upload.
+ * Fix icingaweb2-common postinst failure.
+ (closes: #1029798)
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 28 Jan 2023 07:18:34 +0100
+
+icingaweb2 (2.11.4-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Bump Standards-Version to 4.6.2, no changes.
+ * Add files from old packaging directory to debian/sources.
+
+ -- Bas Couwenberg <sebastic@debian.org> Thu, 26 Jan 2023 17:51:55 +0100
+
+icingaweb2 (2.11.3-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Update copyright file.
+ * Refresh patches.
+ * Simplify vendor subdirectories installation.
+ * Update paths for dompdf changes.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 14 Dec 2022 17:41:49 +0100
+
+icingaweb2 (2.11.2-2) unstable; urgency=medium
+
+ * Team upload.
+ * Add Rules-Requires-Root to control file.
+ * Add patch to fix issues with php8.2.
+ (closes: #1023354)
+
+ -- Bas Couwenberg <sebastic@debian.org> Mon, 05 Dec 2022 13:19:20 +0100
+
+icingaweb2 (2.11.2-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Update Vcs-* URLs for repo rename.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 05 Nov 2022 06:33:44 +0100
+
+icingaweb2 (2.11.1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Drop patches, included upstream.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 06 Jul 2022 16:25:26 +0200
+
+icingaweb2 (2.11.0-4) unstable; urgency=medium
+
+ * Team upload.
+ * Add upstream patches to replace ours.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 05 Jul 2022 16:11:41 +0200
+
+icingaweb2 (2.11.0-3) unstable; urgency=medium
+
+ * Team upload.
+ * Add patch to fix deprecated warning in setup module.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 02 Jul 2022 13:18:42 +0200
+
+icingaweb2 (2.11.0-2) unstable; urgency=medium
+
+ * Team upload.
+ * Add patch to fix Event Grid SQLSTATE error.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 01 Jul 2022 20:24:08 +0200
+
+icingaweb2 (2.11.0-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ (closes: #1000474)
+ * Bump Standards-Version to 4.6.1, no changes.
+ * Update copyright file.
+ * Don't uglify jQuery, moved to icinga-php-thirdparty.
+ * Update lintian overrides.
+
+ -- Bas Couwenberg <sebastic@debian.org> Thu, 30 Jun 2022 16:23:12 +0200
+
+icingaweb2 (2.10.2-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 15 Jun 2022 17:04:18 +0200
+
+icingaweb2 (2.10.1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 06 Apr 2022 18:35:41 +0200
+
+icingaweb2 (2.10.0-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Update copyright file.
+ * Don't install locale files, removed upstream.
+ * Require at least icinga-php-library 0.8.0.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 23 Mar 2022 17:24:54 +0100
+
+icingaweb2 (2.9.6-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 08 Mar 2022 16:02:48 +0100
+
+icingaweb2 (2.9.5-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 19 Nov 2021 20:56:00 +0100
+
+icingaweb2 (2.9.4-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Bas Couwenberg ]
+ * New upstream release.
+
+ [ Debian Janitor ]
+ * Remove constraints unnecessary since buster:
+ + icingaweb2-common: Drop versioned constraint on icingaweb2 in Replaces.
+ + icingaweb2-common: Drop versioned constraint on icingaweb2 in Breaks.
+ + icingacli: Drop versioned constraint on icingaweb2 in Replaces.
+ + icingacli: Drop versioned constraint on icingaweb2 in Breaks.
+ + Remove 1 maintscript entries from 1 files.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 10 Nov 2021 16:06:38 +0100
+
+icingaweb2 (2.9.3-1) unstable; urgency=medium
+
+ * Team upload.
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 15 Sep 2021 08:27:30 +0200
+
+icingaweb2 (2.9.3-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Don't limit watch file to 2.8.x releases.
+ * Add icinga-php-library & icinga-php-thirdparty to dependencies.
+ * Drop patches, included/applied upstream.
+ * Update uglify Makefile for removed files.
+ * Update copyright file.
+ * Update packaging for /var/lib/icingaweb2 storage directory.
+ * Install subdirectories of lessphp too.
+ * Make icingacli depend on icingaweb2-common instead of php-icinga.
+ * Add php-dom & php-mbstring to Recommends.
+ * Bump Standards-Version to 4.6.0, no changes.
+ * Update lintian overrides.
+ * Add ${misc:Pre-Depends} substvar to icingacli.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 14 Sep 2021 09:46:11 +0200
+
+icingaweb2 (2.8.5-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 25 Aug 2021 16:22:15 +0200
+
+icingaweb2 (2.8.4-1) unstable; urgency=medium
+
+ * Team upload.
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sun, 15 Aug 2021 15:42:01 +0200
+
+icingaweb2 (2.8.4-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 31 Jul 2021 15:05:23 +0200
+
+icingaweb2 (2.8.3-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ - Fixes CVE-2021-32746 & CVE-2021-32747.
+ (closes: #991116)
+ * Limit watch file to 2.8.x releases.
+ * Update copyright file.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 14 Jul 2021 21:20:48 +0200
+
+icingaweb2 (2.8.2-2) unstable; urgency=medium
+
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 18 Dec 2020 10:36:01 +0100
+
+icingaweb2 (2.8.2-2~exp2) experimental; urgency=medium
+
+ * Team upload.
+ * Add patch to update JShrink for PHP 8.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 18 Dec 2020 07:43:44 +0100
+
+icingaweb2 (2.8.2-2~exp1) experimental; urgency=medium
+
+ * Team upload.
+
+ [ Bas Couwenberg ]
+ * Bump watch file version to 4.
+ * Bump Standards-Version to 4.5.1, no changes.
+ * Update lintian overrides.
+
+ [ Ondřej Surý ]
+ * Add upstream patches to support PHP 8.0
+
+ -- Bas Couwenberg <sebastic@debian.org> Mon, 14 Dec 2020 11:01:26 +0100
+
+icingaweb2 (2.8.2-1) unstable; urgency=high
+
+ * Team upload.
+ * New upstream release.
+ - Fixes CVE-2020-24368.
+ (closes: #968833)
+ * Update uglifyjs options for 3.10.1.
+ * Update lintian overrides.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 22 Aug 2020 07:16:12 +0200
+
+icingaweb2 (2.8.1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Add lintian override for national-encoding.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 30 Jun 2020 05:53:23 +0200
+
+icingaweb2 (2.8.0-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Update copyright years for Icinga GmbH.
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 09 Jun 2020 05:56:15 +0200
+
+icingaweb2 (2.8.0~rc1-1~exp2) experimental; urgency=medium
+
+ * Team upload.
+ * Recommend nagios-images for icon images.
+ * Use uglifyjs instead of node-uglify.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 18 Apr 2020 20:11:31 +0200
+
+icingaweb2 (2.8.0~rc1-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+
+ [ Bas Couwenberg ]
+ * New upstream release.
+ * Bump Standards-Version to 4.5.0, no changes.
+ * Update copyright years for Icinga Development Team.
+
+ [ Debian Janitor ]
+ * Bump debhelper from old 9 to 12.
+ * Set debhelper-compat version in Build-Depends.
+ * Drop unnecessary dh arguments: --parallel
+ * Remove obsolete field Name from debian/upstream/metadata (already
+ present in machine-readable debian/copyright).
+
+ -- Bas Couwenberg <sebastic@debian.org> Sun, 15 Mar 2020 06:30:52 +0100
+
+icingaweb2 (2.7.3-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Bump Standards-Version to 4.4.1, no changes.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 19 Oct 2019 07:35:47 +0200
+
+icingaweb2 (2.7.1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 16 Aug 2019 06:37:28 +0200
+
+icingaweb2 (2.7.0-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Bump Standards-Version to 4.4.0, no changes.
+ * Update copyright file, changes:
+ - Add Icinga GmbH to copyright holders
+ - Change license for JShrink to BSD-3-Clause
+ - Update copyright years for Leaf Corcoran
+ - Update copyright holders for jQuery
+ - Update files for tipsy
+ * Update uglify Makefile.
+ * Add lintian override for embedded-php-library.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 31 Jul 2019 06:10:12 +0200
+
+icingaweb2 (2.6.3-1) unstable; urgency=medium
+
+ * Team upload.
+ * Update gbp.conf to use --source-only-changes by default.
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sun, 07 Jul 2019 12:36:22 +0200
+
+icingaweb2 (2.6.3-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Drop patches, applied/included upstream.
+ * Add php-cli dependency to icingaweb2-common for check-syntax.php.
+
+ -- Bas Couwenberg <sebastic@debian.org> Thu, 25 Apr 2019 05:59:55 +0200
+
+icingaweb2 (2.6.2-3) unstable; urgency=medium
+
+ * Team upload.
+ * Bump Standards-Version to 4.3.0, no changes.
+ * Fix Icons list in 'Developer Style' documentation.
+ * Add upstream patches to fix PHP 7.3 support.
+ * Use .maintscript files instead of dpkg-maintscript-helper directly.
+ * Update lintian override for normalize.css.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 05 Mar 2019 10:35:01 +0100
+
+icingaweb2 (2.6.2-2) unstable; urgency=medium
+
+ * Team upload.
+ * Add patch to fix Uncaught ErrorException with PHP 7.3.
+ (closes: #914457)
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 23 Nov 2018 18:36:14 +0100
+
+icingaweb2 (2.6.2-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Bump Standards-Version to 4.2.1, no changes.
+ * Update Homepage to icinga.com.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 23 Nov 2018 09:23:47 +0100
+
+icingaweb2 (2.6.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Drop autopkgtest to test installability.
+ * Add lintian override for testsuite-autopkgtest-missing.
+ * Bump Standards-Version to 4.2.0, no changes.
+
+ -- Bas Couwenberg <sebastic@debian.org> Mon, 06 Aug 2018 07:20:45 +0200
+
+icingaweb2 (2.6.0-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Sort files section in copyrigh file, add public ifont.
+ * Bump Standards-Version to 4.1.5, no changes.
+ * Drop PHP 7.2 patch, included upstream.
+ * Update copyright file, changes:
+ - Change license for dompdf to LGPL-3+
+ - Update copyright years for Emanuil Rusev
+ * Add overrides for package-contains-documentation-outside-usr-share-doc.
+ * Update lintian overrides for ifont.
+ * Remove executable bit from ifont files.
+ * Update lintian override for embedded-javascript-library.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 21 Jul 2018 09:17:41 +0200
+
+icingaweb2 (2.5.3-1) unstable; urgency=medium
+
+ * Team upload.
+ * Add php-curl & php-gd to icingaweb2 Recommends.
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 08 May 2018 19:03:13 +0200
+
+icingaweb2 (2.5.3-1~exp3) experimental; urgency=medium
+
+ * Team upload.
+ * Add upstream patch for PHP 7.2 support.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 08 May 2018 07:56:36 +0200
+
+icingaweb2 (2.5.3-1~exp2) experimental; urgency=medium
+
+ * Team upload.
+ * Use dh_install --list-missing.
+ * Include dompdf & HTMLPurfifier in icingaweb2 package.
+ * Drop obsolete README.source.
+ * Drop unused dependencies from icingaweb2 package.
+ * Include migrate module in icingaweb2-common.
+ * Drop php-htmlpurifier build dependency & test.
+ * Remove extra license files.
+ * Remove duplicate DejaVu fonts, symlink to packaged files.
+ * Update copyright format URL to use HTTPS.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sun, 06 May 2018 19:40:04 +0200
+
+icingaweb2 (2.5.3-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ (closes: #889507, #878239)
+ * Add gbp.conf to use pristine-tar by default.
+ * Update copyright file, changes:
+ - Update copyright years for Icinga Development Team
+ - Use stand-alone license paragraphs
+ - Update Source URL to match watch file
+ * Restructure control file with cme.
+ * Update Vcs-* URLs for Salsa.
+ * Update Homepage to icinga.com.
+ * Update dev.icinga.org URL for move to GitHub.
+ * Use DOMPDF included in Icinga Web 2.
+ * Change Priority from extra to optional.
+ * Sort rules in order of execution.
+ * Enable parallel builds.
+ * Add upstream metadata.
+ * Add lintian override for embedded-javascript-library.
+ * Move rm_conffile from prerm to postrm.
+ * Add autopkgtest to test installability.
+ * Check DEB_BUILD_OPTIONS for nocheck in dh_auto_test override.
+ * Bump Standards-Version to 4.1.4, changes: priority.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sun, 06 May 2018 17:12:24 +0200
+
+icingaweb2 (2.4.1-1) unstable; urgency=medium
+
+ * [21444ed] Add patch 10_revert_dompdf_update
+ to allow use of DOMPDF 0.6.x
+ * [9bd86b8] New upstream version 2.4.1
+
+ -- Markus Frosch <lazyfrosch@debian.org> Fri, 20 Jan 2017 14:24:33 +0100
+
+icingaweb2 (2.4.0-1) unstable; urgency=medium
+
+ * [d17f5af] uglify: Fix rule order for older versions of GNU make
+ * [36e1fe4] uglify: Don't care about a header
+ * [310d027] uglify: Require at least version 2
+ * [9aff116] New upstream version 2.4.0
+ * [9608ebe] Embed forked version of ZF1 (Closes: #814143)
+
+ ZF1 has been forked as a minimal base library inside Icingaweb2.
+
+ It is maintained as part of Icingaweb2. See README for reference:
+ /usr/share/doc/php-icinga/README-ZF1.md
+
+ * [1827003] Minimal icon font installation
+ * [dcdfdcf] Move bash-completion to /usr
+
+ -- Markus Frosch <lazyfrosch@debian.org> Tue, 13 Dec 2016 15:37:14 +0100
+
+icingaweb2 (2.3.4+fix-1) unstable; urgency=medium
+
+ [ Alexander Wirt ]
+ * [7fa211e] Imported Upstream version 2.3.4
+
+ [ Markus Frosch ]
+ * [f2d0189] Fix merged base for 2.3.4
+ * [4c547d8] Include test module into distribution
+ * [a9493cd] Fix icingacli breaking dependency for bash-completion update
+ * [3f6ff8a] Add proper Javascript minification with uglifyjs
+
+ -- Markus Frosch <lazyfrosch@debian.org> Mon, 08 Aug 2016 14:15:06 +0200
+
+icingaweb2 (2.3.4-2) unstable; urgency=medium
+
+ * [a7f069b] Re-add www-data to icingaweb2 group (Closes: #831530)
+ * [3c63052] Recommend some optional modules (Closes: #831440)
+ * [cc5c7b5] Move bash completion to icingacli package (Closes: #830938)
+ * [5a3d014] Fix group and permissions of modules directory
+
+ -- Alexander Wirt <formorer@debian.org> Sun, 17 Jul 2016 10:13:36 +0200
+
+icingaweb2 (2.3.4-1) unstable; urgency=medium
+
+ * Imported Upstream version 2.3.4
+
+ -- Alexander Wirt <formorer@debian.org> Mon, 20 Jun 2016 19:57:23 +0200
+
+icingaweb2 (2.3.3-1) unstable; urgency=medium
+
+ * [6c8a309] Imported Upstream version 2.3.3
+
+ -- Markus Frosch <lazyfrosch@debian.org> Fri, 10 Jun 2016 11:06:50 +0200
+
+icingaweb2 (2.3.2-1) unstable; urgency=medium
+
+ * [c1aee5d] Imported Upstream version 2.3.2
+
+ -- Markus Frosch <lazyfrosch@debian.org> Thu, 28 Apr 2016 18:19:00 +0200
+
+icingaweb2 (2.3.1-1) unstable; urgency=medium
+
+ * [3c80e44] Imported Upstream version 2.3.1
+ * [462f48e] Update dependencies for PHP 7.0 (Closes: #821579, #821680)
+ * [38bfc08] Depend on php-xml for DOM handling modules
+
+ -- Markus Frosch <lazyfrosch@debian.org> Tue, 19 Apr 2016 22:27:28 +0200
+
+icingaweb2 (2.2.0-1) unstable; urgency=medium
+
+ * [1d4af5c] Imported Upstream version 2.2.0
+ * [fc7c95e] iframe module is now included in icingaweb2 base
+
+ -- Markus Frosch <lazyfrosch@debian.org> Tue, 01 Mar 2016 09:58:40 +0100
+
+icingaweb2 (2.1.2-3) unstable; urgency=medium
+
+ * [a95a3f5] Update copyright for php dompdf shipped fonts
+
+ -- Markus Frosch <lazyfrosch@debian.org> Tue, 23 Feb 2016 11:32:40 +0100
+
+icingaweb2 (2.1.2-2) unstable; urgency=medium
+
+ * [672fcae] Split out icingacli and icingaweb2-common as packages
+ * [5927c7e] Include translation module
+ * [71eca67] Remove 10_html_purifier patch
+ * [a0ef32a] Test php-htmlpurifier loading, allow from version 4.3
+ * [a029ff6] Update VCS URLs
+ * [4de17c5] Remove duplicate adduser in postinst
+ * [0f4f2ac] Bump standards version to 3.9.7
+
+ -- Markus Frosch <lazyfrosch@debian.org> Mon, 22 Feb 2016 13:02:00 +0100
+
+icingaweb2 (2.1.2-1) unstable; urgency=medium
+
+ * [92126c1] Imported Upstream version 2.1.1
+ * [bac2ae7] Update html_purifier patch for downwards compatibility
+ * [a488312] Update copyright
+ * [6abcf98] Imported Upstream version 2.1.2
+
+ -- Markus Frosch <lazyfrosch@debian.org> Wed, 23 Dec 2015 15:15:40 +0100
+
+icingaweb2 (2.1.0-2) unstable; urgency=medium
+
+ [ Markus Frosch ]
+ * [ac348b1] Add patch for HTMLPurifier path loading
+
+ -- Alexander Wirt <formorer@debian.org> Wed, 18 Nov 2015 11:53:08 +0100
+
+icingaweb2 (2.1.0-1) unstable; urgency=medium
+
+ [ Alexander Wirt ]
+ * [44344a0] Its zend-framework on precise
+ * [1b1956d] zend version on precise is too old, remove the alternative
+
+ [ Markus Frosch ]
+ * [58169fb] Imported Upstream version 2.1.0
+ * [f65e92d] Add iframe module
+
+ -- Markus Frosch <lazyfrosch@debian.org> Mon, 16 Nov 2015 16:29:42 +0100
+
+icingaweb2 (2.0.0-1) unstable; urgency=medium
+
+ [ Markus Frosch ]
+ * [bd9e401] Ship empty modules directory in main package
+ * [8a9396a] Move setup code into core module
+
+ [ Alexander Wirt ]
+ * [a42beb9] Imported Upstream version 2.0.0
+
+ -- Alexander Wirt <formorer@debian.org> Fri, 02 Oct 2015 14:35:07 +0200
+
+icingaweb2 (2.0.0~rc1-1) unstable; urgency=medium
+
+ * [0ef8c38] Imported Upstream version 2.0.0~rc1
+
+ -- Alexander Wirt <formorer@debian.org> Fri, 19 Jun 2015 20:37:23 +0200
+
+icingaweb2 (2.0.0~beta3-1) unstable; urgency=low
+
+ [ Markus Frosch ]
+ * Initial Debian packaging
+ * [d8df5df] Take care about minification of vendor javascripts
+ * [458cd2e] Use the yui-compressor for backwards compatibility
+ * [6cb0061] Merge icingaweb2-common and icingacli in icingaweb2
+
+ [ Alexander Wirt ]
+ * [fa8e336] Imported Upstream version 2.0.0~beta3
+
+ -- Alexander Wirt <formorer@debian.org> Thu, 19 Mar 2015 20:22:16 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6a988ac
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,119 @@
+Source: icingaweb2
+Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
+Uploaders: Markus Frosch <lazyfrosch@debian.org>
+Section: admin
+Priority: optional
+Build-Depends: bash-completion,
+ debhelper-compat (= 12),
+ php-cli
+Standards-Version: 4.6.2
+Vcs-Browser: https://salsa.debian.org/nagios-team/icingaweb2
+Vcs-Git: https://salsa.debian.org/nagios-team/icingaweb2.git -b bookworm
+Homepage: https://icinga.com
+Rules-Requires-Root: no
+
+Package: icingaweb2
+Architecture: all
+Depends: fonts-dejavu-core,
+ fonts-dejavu-extra,
+ icingaweb2-common (= ${source:Version}),
+ php-xml,
+ ${misc:Depends}
+Recommends: apache2 | httpd,
+ php,
+ php-cli,
+ php-curl,
+ php-dom,
+ php-gd,
+ php-mbstring,
+ php-ldap,
+ php-json,
+ php-intl,
+ php-imagick,
+ icingacli,
+ icingaweb2-module-monitoring,
+ icingaweb2-module-doc,
+ nagios-images
+Description: simple and responsive web interface for Icinga
+ Icinga Web 2 is a very modular, fast and simple web interface for your Icinga
+ monitoring environment.
+ .
+ The software will give you a web frontend for your monitoring solution, and
+ can run additional modules, extending monitoring data, or even supplying
+ something new to the webinterface.
+ .
+ This package installs the web interface with all needed dependencies.
+
+Package: icingaweb2-common
+Architecture: all
+Depends: adduser,
+ icinga-php-library (>= 0.9.0),
+ icinga-php-thirdparty (>= 0.11.0),
+ php-cli,
+ php-icinga (= ${source:Version}),
+ ${misc:Depends}
+Conflicts: icingaweb2-module-setup
+Replaces: icingaweb2-module-setup
+Description: simple and responsive web interface for Icinga - common files
+ Icinga Web 2 is a very modular, fast and simple web interface for your Icinga
+ monitoring environment.
+ .
+ The software will give you a web frontend for your monitoring solution, and
+ can run additional modules, extending monitoring data, or even supplying
+ something new to the webinterface.
+ .
+ This package contains common files for the web interface, and the CLI tool.
+
+Package: icingaweb2-module-monitoring
+Architecture: all
+Depends: icingaweb2 (= ${source:Version}),
+ ${misc:Depends}
+Description: simple and responsive web interface for Icinga - monitoring module
+ Icinga Web 2 is a very modular, fast and simple web interface for your Icinga
+ monitoring environment.
+ .
+ This module adds the Icinga monitoring frontend to the web interface.
+
+Package: icingaweb2-module-doc
+Architecture: all
+Section: doc
+Depends: icingaweb2 (= ${source:Version}),
+ ${misc:Depends}
+Description: simple and responsive web interface for Icinga - documentation module
+ Icinga Web 2 is a very modular, fast and simple web interface for your Icinga
+ monitoring environment.
+ .
+ This module adds the documentation viewer of Icinga Web 2, which can also
+ display the documentation of other modules.
+
+Package: php-icinga
+Architecture: all
+Section: php
+Depends: php,
+ ${misc:Depends}
+Recommends: php-mysql | php-pgsql,
+ php-json
+Description: PHP library to communicate with and use Icinga
+ Icinga Web 2 is a very modular, fast and simple web interface for your Icinga
+ monitoring environment.
+ .
+ Icinga is a PHP library providing a PHP API to interact with Icinga's data
+ and other core parts of Icinga web 2 that may be used by modules.
+ .
+ This library is mainly used by Icinga Web 2 to get its data.
+
+Package: icingacli
+Architecture: all
+Depends: adduser,
+ icingaweb2-common (= ${source:Version}),
+ ${misc:Depends}
+Recommends: php-cli
+Suggests: icingaweb2-module-monitoring
+Pre-Depends: ${misc:Pre-Depends}
+Description: simple CLI tool for Icingaweb2 and its modules
+ Icinga Web 2 is a very modular, fast and simple web interface for your Icinga
+ monitoring environment.
+ .
+ `icingacli` is a command line utility, allowing the admin to configure Icinga
+ Web 2 and provides the possibility to query Icinga data from your shell.
+ All modules of Icingaweb2 can add additional commands to the icingacli.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..301b6df
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,261 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Icingaweb2
+Source: https://github.com/Icinga/icingaweb2
+
+Files: *
+Copyright: 2013-2020, Icinga Development Team
+ 2019-2022, Icinga GmbH
+License: GPL-2+
+
+Files: application/fonts/fontello-ifont/*
+ public/font/ifont.*
+Copyright: 2012, Dave Gandy for Font Awesome
+ 2012, P.J. Onori for Iconic
+ 2012, Daniel Bruce for MFG Labs and Entypo
+License: SIL
+ This Font Software is licensed under the SIL Open Font License.
+ .
+ You can find the full license at: `/usr/share/doc/icingaweb2/OFL.txt'
+
+Files: library/vendor/dompdf/*
+Copyright: Benj Carson <benjcarson@digitaljunkies.ca>
+License: LGPL-2.1+
+
+Files: library/vendor/dompdf/vendor/composer/*
+Copyright: Nils Adermann <naderman@naderman.de>
+ Jordi Boggiano <j.boggiano@seld.be>
+License: MIT
+
+Files: library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVu*
+Copyright: 2003, Bitstream, Inc. All Rights Reserved.
+ Bitstream Vera is a trademark of Bitstream, Inc.
+ DejaVu changes are in public domain.
+License: DejaVu-Bitstream
+
+Files: library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/*.afm
+ library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/mustRead.html
+Copyright: 1985, 1987, 1989, 1990, 1997, Adobe Systems Incorporated
+License: Adobe-AFM
+
+Files: library/vendor/dompdf/vendor/sabberworm/php-css-parser/*
+Copyright: 2011, Raphael Schweikert
+License: MIT
+
+Files: library/vendor/dompdf/vendor/phenx/php-font-lib/*
+Copyright: Fabien Ménager <fabien.menager@gmail.com>
+License: LGPL-2.1+
+
+Files: library/vendor/dompdf/vendor/phenx/php-svg-lib/*
+Copyright: Fabien Ménager <fabien.menager@gmail.com>
+License: LGPL-3+
+
+Files: library/vendor/dompdf/vendor/masterminds/html5/*
+Copyright: 2013, The Authors of HTML5-PHP
+License: MIT
+
+Files: library/vendor/HTMLPurifier/*
+Copyright: 2006-2008, Edward Z. Yang
+License: LGPL-2.1+
+
+Files: library/vendor/JShrink/*
+Copyright: 2009, Robert Hafner
+License: BSD-3-Clause
+
+Files: library/vendor/lessphp/*
+Copyright: Josh Schmidt
+ Matt Agar
+ Martin Jantošovič
+License: Apache-2.0
+
+Files: library/vendor/Parsedown/*
+Copyright: 2013-2018, Emanuil Rusev, erusev.com
+License: MIT
+
+Files: library/vendor/Zend/*
+Copyright: 2005-2014, Zend Technologies USA Inc. (http://www.zend.com)
+ 2016, Icinga Development Team <info@icinga.com>
+License: New-BSD
+
+License: Adobe-AFM
+ This file and the 14 PostScript(R) AFM files it accompanies may be
+ used, copied, and distributed for any purpose and without charge, with or
+ without modification, provided that all copyright notices are retained; that
+ the AFM files are not distributed without this file; that all modifications to
+ this file or any of the AFM files are prominently noted in the modified
+ file(s); and that this paragraph is not modified. Adobe Systems has no
+ responsibility or obligation to support the use of the AFM files. Col
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License can be found
+ in `/usr/share/common-licenses/Apache-2.0'.
+
+License: DejaVu-Bitstream
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of the fonts accompanying this license ("Fonts") and associated
+ documentation files (the "Font Software"), to reproduce and distribute the
+ Font Software, including without limitation the rights to use, copy, merge,
+ publish, distribute, and/or sell copies of the Font Software, and to permit
+ persons to whom the Font Software is furnished to do so, subject to the
+ following conditions:
+ .
+ The above copyright and trademark notices and this permission notice shall
+ be included in all copies of one or more of the Font Software typefaces.
+ .
+ The Font Software may be modified, altered, or added to, and in particular
+ the designs of glyphs or characters in the Fonts may be modified and
+ additional glyphs or characters may be added to the Fonts, only if the fonts
+ are renamed to names not containing either the words "Bitstream" or the word
+ "Vera".
+ .
+ This License becomes null and void to the extent applicable to Fonts or Font
+ Software that has been modified and is distributed under the "Bitstream
+ Vera" names.
+ .
+ The Font Software may be sold as part of a larger software package but no
+ copy of one or more of the Font Software typefaces may be sold by itself.
+ .
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
+ TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
+ FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
+ ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
+ FONT SOFTWARE.
+ .
+ Except as contained in this notice, the names of Gnome, the Gnome
+ Foundation, and Bitstream Inc., shall not be used in advertising or
+ otherwise to promote the sale, use or other dealings in this Font Software
+ without prior written authorization from the Gnome Foundation or Bitstream
+ Inc., respectively. For further information, contact: fonts at gnome dot
+ org.
+
+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.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library 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
+ Lesser General Public License for more details.
+ .
+ On Debian systems, the full text of the GNU Lesser General Public License
+ version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'.
+
+License: LGPL-3+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package 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 Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public License
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+License: New-BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ * Neither the name of Zend Technologies USA, Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ Also see http://framework.zend.com/license/new-bsd
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..b82b31a
--- /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 = bookworm
+
+# 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/icingacli.bash-completion b/debian/icingacli.bash-completion
new file mode 100644
index 0000000..1949fee
--- /dev/null
+++ b/debian/icingacli.bash-completion
@@ -0,0 +1 @@
+etc/bash_completion.d/icingacli
diff --git a/debian/icingacli.install b/debian/icingacli.install
new file mode 100644
index 0000000..70eba95
--- /dev/null
+++ b/debian/icingacli.install
@@ -0,0 +1,3 @@
+debian/sources/icingacli usr/bin
+
+application/clicommands usr/share/icingaweb2/application
diff --git a/debian/icingacli.lintian-overrides b/debian/icingacli.lintian-overrides
new file mode 100644
index 0000000..7c3e4fc
--- /dev/null
+++ b/debian/icingacli.lintian-overrides
@@ -0,0 +1,3 @@
+# Upstream doesn't provide manpages
+no-manual-page *
+
diff --git a/debian/icingaweb2-common.dirs b/debian/icingaweb2-common.dirs
new file mode 100644
index 0000000..2a840b4
--- /dev/null
+++ b/debian/icingaweb2-common.dirs
@@ -0,0 +1,3 @@
+etc/icingaweb2
+usr/share/icingaweb2/modules
+var/lib/icingaweb2
diff --git a/debian/icingaweb2-common.install b/debian/icingaweb2-common.install
new file mode 100644
index 0000000..f0d0203
--- /dev/null
+++ b/debian/icingaweb2-common.install
@@ -0,0 +1,3 @@
+modules/migrate usr/share/icingaweb2/modules
+modules/setup usr/share/icingaweb2/modules
+modules/translation usr/share/icingaweb2/modules
diff --git a/debian/icingaweb2-common.lintian-overrides b/debian/icingaweb2-common.lintian-overrides
new file mode 100644
index 0000000..68cc396
--- /dev/null
+++ b/debian/icingaweb2-common.lintian-overrides
@@ -0,0 +1,6 @@
+# Embedded module documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/modules/translation/doc/*]
+
+# Not documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/modules/*/module.info]
+
diff --git a/debian/icingaweb2-common.postinst b/debian/icingaweb2-common.postinst
new file mode 100644
index 0000000..45cd51d
--- /dev/null
+++ b/debian/icingaweb2-common.postinst
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+set -e
+
+setperm() {
+ user="$1"
+ group="$2"
+ mode="$3"
+ file="$4"
+ shift 4
+ # only do something when no setting exists
+ if ! dpkg-statoverride --list "$file" >/dev/null 2>&1; then
+ chown "$user":"$group" "$file"
+ chmod "$mode" "$file"
+ fi
+}
+
+case "$1" in
+ configure)
+ if ! getent group icingaweb2 > /dev/null ; then
+ echo 'Adding system-group for icingaweb2' 1>&2
+ addgroup --system icingaweb2 >/dev/null
+ fi
+ # allow www-data to write icingaweb2 config
+ if ! getent group icingaweb2 | grep -q www-data; then
+ adduser www-data icingaweb2
+ fi
+ # secure configuration directory and allow config access
+ setperm root icingaweb2 2770 /etc/icingaweb2
+ setperm root icingaweb2 2770 /var/lib/icingaweb2
+ ;;
+
+ 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-common.postrm b/debian/icingaweb2-common.postrm
new file mode 100644
index 0000000..b41342f
--- /dev/null
+++ b/debian/icingaweb2-common.postrm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+# cleanup on purge
+if [ "$1" = "purge" ]; then
+ rm -rf /etc/icingaweb2
+ rm -rf /var/lib/icingaweb2
+ rm -rf /var/log/icingaweb2
+fi
+
+#DEBHELPER#
diff --git a/debian/icingaweb2-module-doc.install b/debian/icingaweb2-module-doc.install
new file mode 100644
index 0000000..fb76431
--- /dev/null
+++ b/debian/icingaweb2-module-doc.install
@@ -0,0 +1 @@
+modules/doc usr/share/icingaweb2/modules
diff --git a/debian/icingaweb2-module-doc.lintian-overrides b/debian/icingaweb2-module-doc.lintian-overrides
new file mode 100644
index 0000000..6d3ca26
--- /dev/null
+++ b/debian/icingaweb2-module-doc.lintian-overrides
@@ -0,0 +1,6 @@
+# Embedded module documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/modules/doc/doc/*]
+
+# Not documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/modules/*/module.info]
+
diff --git a/debian/icingaweb2-module-monitoring.install b/debian/icingaweb2-module-monitoring.install
new file mode 100644
index 0000000..b66e7b1
--- /dev/null
+++ b/debian/icingaweb2-module-monitoring.install
@@ -0,0 +1 @@
+modules/monitoring usr/share/icingaweb2/modules
diff --git a/debian/icingaweb2-module-monitoring.lintian-overrides b/debian/icingaweb2-module-monitoring.lintian-overrides
new file mode 100644
index 0000000..10eea9c
--- /dev/null
+++ b/debian/icingaweb2-module-monitoring.lintian-overrides
@@ -0,0 +1,6 @@
+# Embedded module documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/modules/monitoring/doc/*]
+
+# Not documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/modules/*/module.info]
+
diff --git a/debian/icingaweb2.conf b/debian/icingaweb2.conf
new file mode 100644
index 0000000..3188180
--- /dev/null
+++ b/debian/icingaweb2.conf
@@ -0,0 +1,25 @@
+Alias /icingaweb2 "/usr/share/icingaweb2/public"
+
+<Directory "/usr/share/icingaweb2/public">
+ Options SymLinksIfOwnerMatch
+ AllowOverride None
+
+ SetEnv ICINGAWEB_CONFIGDIR "/etc/icingaweb2"
+
+ EnableSendfile Off
+
+ <IfModule mod_rewrite.c>
+ RewriteEngine on
+ RewriteBase /icingaweb2/
+ RewriteCond %{REQUEST_FILENAME} -s [OR]
+ RewriteCond %{REQUEST_FILENAME} -l [OR]
+ RewriteCond %{REQUEST_FILENAME} -d
+ RewriteRule ^.*$ - [NC,L]
+ RewriteRule ^.*$ index.php [NC,L]
+ </IfModule>
+
+ <IfModule !mod_rewrite.c>
+ DirectoryIndex error_norewrite.html
+ ErrorDocument 404 /error_norewrite.html
+ </IfModule>
+</Directory>
diff --git a/debian/icingaweb2.docs b/debian/icingaweb2.docs
new file mode 100644
index 0000000..d09e54c
--- /dev/null
+++ b/debian/icingaweb2.docs
@@ -0,0 +1,2 @@
+debian/OFL.txt
+README.md
diff --git a/debian/icingaweb2.install b/debian/icingaweb2.install
new file mode 100644
index 0000000..be7037e
--- /dev/null
+++ b/debian/icingaweb2.install
@@ -0,0 +1,19 @@
+public doc usr/share/icingaweb2
+
+application/controllers usr/share/icingaweb2/application
+application/fonts/fontello-ifont/config.json usr/share/icingaweb2/application/fonts/fontello-ifont
+application/fonts/fontello-ifont/css usr/share/icingaweb2/application/fonts/fontello-ifont
+application/forms usr/share/icingaweb2/application
+application/layouts usr/share/icingaweb2/application
+application/views usr/share/icingaweb2/application
+
+schema usr/share/icingaweb2
+
+debian/sources/index.php usr/share/icingaweb2/public
+debian/icingaweb2.conf etc/apache2/conf-available
+
+library/vendor/dompdf usr/share/icingaweb2/library/vendor
+library/vendor/HTMLPurifier* usr/share/icingaweb2/library/vendor
+library/vendor/JShrink usr/share/icingaweb2/library/vendor
+library/vendor/lessphp usr/share/icingaweb2/library/vendor
+library/vendor/Parsedown usr/share/icingaweb2/library/vendor
diff --git a/debian/icingaweb2.links b/debian/icingaweb2.links
new file mode 100644
index 0000000..49b1bf4
--- /dev/null
+++ b/debian/icingaweb2.links
@@ -0,0 +1,14 @@
+usr/share/fonts/truetype/dejavu/DejaVuSans.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Bold.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-BoldOblique.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Oblique.ttf
+
+usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Bold.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-BoldOblique.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Oblique.ttf
+
+usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Bold.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-BoldItalic.ttf
+usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Italic.ttf
diff --git a/debian/icingaweb2.lintian-overrides b/debian/icingaweb2.lintian-overrides
new file mode 100644
index 0000000..8ed0540
--- /dev/null
+++ b/debian/icingaweb2.lintian-overrides
@@ -0,0 +1,28 @@
+# ignoring apache2 warning
+# this is actually not a problem, because the handling is backwards compatible
+apache2-reverse-dependency-calls-invoke-rc.d [postrm*]
+apache2-reverse-dependency-calls-wrapper-script a2enmod [postinst*]
+apache2-reverse-dependency-calls-invoke-rc.d [postinst*]
+
+# special icon font
+font-in-non-font-package [usr/share/icingaweb2/public/font/ifont.*]
+font-outside-font-dir [usr/share/icingaweb2/public/font/ifont.*]
+
+# Not guarateerd compatible
+embedded-javascript-library please use libjs-normalize *
+embedded-php-library please use php-htmlpurifier *
+
+# Embedded module documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/doc/*]
+
+# Placeholder to have directory exist
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/library/vendor/HTMLPurifier/DefinitionCache/Serializer/*]
+
+# Not documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/*.html]
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/library/vendor/HTMLPurifier/ConfigSchema/schema/*]
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/public/*html]
+
+# Not a problem
+national-encoding *
+
diff --git a/debian/icingaweb2.postinst b/debian/icingaweb2.postinst
new file mode 100644
index 0000000..6ed6e06
--- /dev/null
+++ b/debian/icingaweb2.postinst
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
+
+ # NEW method for Apache >= 2.4
+ if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
+ . /usr/share/apache2/apache2-maintscript-helper
+
+ apache2_invoke enmod rewrite
+ apache2_invoke enconf icingaweb2
+
+ # remove OLD Apache 2.2 link
+ [ -L /etc/apache2/conf.d/icingaweb2.conf ] && rm /etc/apache2/conf.d/icingaweb2.conf
+
+ # OLD methods for Apache < 2.4
+ elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then
+ # enable mod rewrite
+ [ -e /etc/apache2/mods-enabled/rewrite.load ] || a2enmod rewrite
+
+ # create symlink if not existing
+ [ -e /etc/apache2/conf.d/icingaweb2.conf ] || ln -vs ../conf-available/icingaweb2.conf /etc/apache2/conf.d/icingaweb2.conf
+
+ # reload webserver
+ [ -x $(which invoke-rc.d) ] && invoke-rc.d apache2 reload
+ 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.postrm b/debian/icingaweb2.postrm
new file mode 100644
index 0000000..6ced15e
--- /dev/null
+++ b/debian/icingaweb2.postrm
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+# Apache2
+if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+ echo "disabling Apache2 configuration ..."
+ . /usr/share/apache2/apache2-maintscript-helper
+ apache2_invoke disconf icingaweb2
+fi
+if [ -L /etc/apache2/conf.d/icingaweb2.conf ]; then
+ echo "removing link /etc/apache2/conf.d/icingaweb2.conf ..."
+ # remove link to config
+ rm -f /etc/apache2/conf.d/icingaweb2.conf
+ # reload webserver
+ [ -x $(which invoke-rc.d) ] && invoke-rc.d apache2 reload || true
+fi
+
+#DEBHELPER#
diff --git a/debian/patches/error_reporting.patch b/debian/patches/error_reporting.patch
new file mode 100644
index 0000000..f37b719
--- /dev/null
+++ b/debian/patches/error_reporting.patch
@@ -0,0 +1,27 @@
+Description: Suppress Deprecated notices, upstream doesn't support PHP 8.2 yet.
+Author: Bas Couwenberg <sebastic@debian.org>
+Bug: https://github.com/Icinga/icingaweb2/issues/4918
+Bug-Debian: https://bugs.debian.org/1037925
+
+--- a/library/Icinga/Application/ApplicationBootstrap.php
++++ b/library/Icinga/Application/ApplicationBootstrap.php
+@@ -591,7 +591,7 @@ abstract class ApplicationBootstrap
+ */
+ protected function setupErrorHandling()
+ {
+- error_reporting(E_ALL | E_STRICT);
++ error_reporting(E_ALL & ~E_DEPRECATED | E_STRICT);
+ ini_set('display_startup_errors', 1);
+ ini_set('display_errors', 1);
+ set_error_handler(function ($errno, $errstr, $errfile, $errline) {
+--- a/library/Icinga/Application/webrouter.php
++++ b/library/Icinga/Application/webrouter.php
+@@ -8,7 +8,7 @@ use Icinga\Web\Controller\StaticControll
+ use Icinga\Web\JavaScript;
+ use Icinga\Web\StyleSheet;
+
+-error_reporting(E_ALL | E_STRICT);
++error_reporting(E_ALL & ~E_DEPRECATED | E_STRICT);
+
+ if (isset($_SERVER['REQUEST_URI'])) {
+ $ruri = $_SERVER['REQUEST_URI'];
diff --git a/debian/patches/php8.2.patch b/debian/patches/php8.2.patch
new file mode 100644
index 0000000..3747076
--- /dev/null
+++ b/debian/patches/php8.2.patch
@@ -0,0 +1,124 @@
+Description: Fix issues with php8.2.
+Author: Bas Couwenberg <sebastic@debian.org>
+Bug: https://github.com/Icinga/icingaweb2/issues/4918
+Bug-Debian: https://bugs.debian.org/1023354
+
+--- a/library/Icinga/Application/Modules/Module.php
++++ b/library/Icinga/Application/Modules/Module.php
+@@ -77,6 +77,13 @@ class Module
+ private $libdir;
+
+ /**
++ * Configuration directory
++ *
++ * @var string
++ */
++ private $configdir;
++
++ /**
+ * Directory containing translations
+ *
+ * @var string
+--- a/library/Icinga/Less/ColorProp.php
++++ b/library/Icinga/Less/ColorProp.php
+@@ -21,7 +21,7 @@ class ColorProp extends Less_Tree_Color
+ protected $index;
+
+ /** @var string Color variable name */
+- protected $name;
++ public $name;
+
+ public function __construct()
+ {
+--- a/library/Icinga/Util/LessParser.php
++++ b/library/Icinga/Util/LessParser.php
+@@ -10,6 +10,8 @@ require_once 'lessphp/lessc.inc.php';
+
+ class LessParser extends lessc
+ {
++ public $importDisabled;
++
+ public function __construct()
+ {
+ $this->setOption('plugins', [new Visitor()]);
+--- a/library/Icinga/Web/Navigation/ConfigMenu.php
++++ b/library/Icinga/Web/Navigation/ConfigMenu.php
+@@ -33,6 +33,8 @@ class ConfigMenu extends BaseHtmlElement
+
+ protected $state;
+
++ protected $title;
++
+ public function __construct()
+ {
+ $this->children = [
+--- a/library/vendor/lessphp/lib/Less/Tree/Color.php
++++ b/library/vendor/lessphp/lib/Less/Tree/Color.php
+@@ -11,6 +11,7 @@ class Less_Tree_Color extends Less_Tree
+ public $alpha;
+ public $isTransparentKeyword;
+ public $type = 'Color';
++ public $name = 'n/a';
+
+ public function __construct( $rgb, $a = 1, $isTransparentKeyword = null ) {
+ if ( $isTransparentKeyword ) {
+--- a/library/vendor/lessphp/lib/Less/Tree/Dimension.php
++++ b/library/vendor/lessphp/lib/Less/Tree/Dimension.php
+@@ -11,6 +11,7 @@ class Less_Tree_Dimension extends Less_T
+ public $value;
+ public $unit;
+ public $type = 'Dimension';
++ public $parensInOp;
+
+ public function __construct( $value, $unit = null ) {
+ $this->value = floatval( $value );
+--- a/library/vendor/lessphp/lib/Less/Tree/Operation.php
++++ b/library/vendor/lessphp/lib/Less/Tree/Operation.php
+@@ -12,6 +12,7 @@ class Less_Tree_Operation extends Less_T
+ public $operands;
+ public $isSpaced;
+ public $type = 'Operation';
++ public $parensInOp;
+
+ /**
+ * @param string $op
+--- a/library/vendor/lessphp/lib/Less/Tree/Variable.php
++++ b/library/vendor/lessphp/lib/Less/Tree/Variable.php
+@@ -13,6 +13,7 @@ class Less_Tree_Variable extends Less_Tr
+ public $currentFileInfo;
+ public $evaluating = false;
+ public $type = 'Variable';
++ public $parensInOp;
+
+ /**
+ * @param string $name
+--- a/library/vendor/Zend/Form/Decorator/Label.php
++++ b/library/vendor/Zend/Form/Decorator/Label.php
+@@ -43,6 +43,7 @@
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
++#[AllowDynamicProperties]
+ class Zend_Form_Decorator_Label extends Zend_Form_Decorator_Abstract
+ {
+ /**
+--- a/library/vendor/Zend/Form/Element.php
++++ b/library/vendor/Zend/Form/Element.php
+@@ -36,6 +36,7 @@
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id$
+ */
++#[AllowDynamicProperties]
+ class Zend_Form_Element implements Zend_Validate_Interface
+ {
+ /**
+--- a/library/vendor/Zend/View/Abstract.php
++++ b/library/vendor/Zend/View/Abstract.php
+@@ -33,6 +33,7 @@
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
++#[AllowDynamicProperties]
+ abstract class Zend_View_Abstract implements Zend_View_Interface
+ {
+ /**
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..54fb168
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+php8.2.patch
+error_reporting.patch
diff --git a/debian/php-icinga.install b/debian/php-icinga.install
new file mode 100644
index 0000000..eb29afd
--- /dev/null
+++ b/debian/php-icinga.install
@@ -0,0 +1,7 @@
+library/Icinga usr/share/php
+
+# embedded fork of ZendFramework 1
+# see library/vendor/Zend/README.md
+# Maintained as part of Icingaweb2 upstream!
+library/vendor/Zend/*.php usr/share/icingaweb2/library/vendor/Zend
+library/vendor/Zend/*/ usr/share/icingaweb2/library/vendor/Zend
diff --git a/debian/php-icinga.lintian-overrides b/debian/php-icinga.lintian-overrides
new file mode 100644
index 0000000..f2ff255
--- /dev/null
+++ b/debian/php-icinga.lintian-overrides
@@ -0,0 +1,4 @@
+# Not guarateerd compatible
+embedded-php-library please use php-markdown *
+embedded-php-library please use php-htmlpurifier *
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b73f540
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,51 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with bash_completion
+
+override_dh_install:
+ dh_install -XSOURCE
+
+ mkdir -p debian/php-icinga/usr/share/doc/php-icinga
+ cp library/vendor/Zend/README.md debian/php-icinga/usr/share/doc/php-icinga/README-ZF1.md
+
+ # Remove extra license files
+ find debian/*/usr/share/icingaweb2 -name LICENSE -delete
+ find debian/*/usr/share/icingaweb2 -name LICENSE.LGPL -delete
+ find debian/*/usr/share/icingaweb2 -name LICENSE.txt -delete
+
+ # Remove documentation
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/AUTHORS.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/README.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/AUTHORS.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/CHANGELOG.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/README.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/RELEASE.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/UPGRADING.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/*/*/*/*/*/README.md
+
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/CHANGES.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/README.md
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/lessphp/SECURITY.md
+
+ # Remove duplicate font files
+ $(RM) debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Bold.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-BoldOblique.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Oblique.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Bold.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-BoldOblique.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Oblique.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Bold.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-BoldItalic.ttf \
+ debian/*/usr/share/icingaweb2/library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Italic.ttf
+
+ # Remove executable bit
+ chmod -x debian/*/usr/share/icingaweb2/application/fonts/fontello-ifont/config.json \
+ debian/*/usr/share/icingaweb2/library/vendor/HTMLPurifier/DefinitionCache/Serializer/README \
+ debian/*/usr/share/icingaweb2/public/font/ifont.*
+
+# vi: ts=4 sw=4 noexpandtab :
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..126d5fb
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,4 @@
+# False positive
+source-is-missing [doc/accessibility/skip-content.html]
+source-is-missing [library/vendor/dompdf/vendor/dompdf/dompdf/lib/fonts/mustRead.html]
+
diff --git a/debian/sources/icingacli b/debian/sources/icingacli
new file mode 100755
index 0000000..4b51e33
--- /dev/null
+++ b/debian/sources/icingacli
@@ -0,0 +1,7 @@
+#!/usr/bin/php
+<?php
+/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
+
+require_once '/usr/share/php/Icinga/Application/Cli.php';
+
+Icinga\Application\Cli::start('/usr/share/icingaweb2')->dispatch();
diff --git a/debian/sources/index.php b/debian/sources/index.php
new file mode 100644
index 0000000..8ea9e80
--- /dev/null
+++ b/debian/sources/index.php
@@ -0,0 +1,4 @@
+<?php
+/*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */
+
+require_once '/usr/share/php/Icinga/Application/webrouter.php';
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7a08802
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/Icinga/icingaweb2/issues
+Bug-Submit: https://github.com/Icinga/icingaweb2/issues/new
+Repository: https://github.com/Icinga/icingaweb2.git
+Repository-Browse: https://github.com/Icinga/icingaweb2
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bfd7982
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=4
+# filenamemangle -> prepending icingaweb2 if only tag name
+# versionmangle -> convert version addition to ~ version
+opts=filenamemangle=s/.+\/(?:icingaweb2-|v)([\d.]+(?:-.+)?).tar.gz/icingaweb2-$1.tar.gz/,versionmangle=s/^([\d.]+)-(.+)?/$1~$2/ \
+https://github.com/Icinga/icingaweb2/tags \
+.*/(?:icingaweb2-|v)([\d.]+(?:-.+)?).tar.gz