summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/.gitlab-ci.yml6
-rw-r--r--debian/OFL.txt97
-rw-r--r--debian/TODO6
-rw-r--r--debian/changelog632
-rw-r--r--debian/control120
-rw-r--r--debian/copyright33
-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.install13
-rw-r--r--debian/icingaweb2.lintian-overrides19
-rw-r--r--debian/icingaweb2.postinst43
-rw-r--r--debian/icingaweb2.postrm19
-rw-r--r--debian/php-icinga.install1
-rw-r--r--debian/php-icinga.lintian-overrides4
-rwxr-xr-xdebian/rules10
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides3
-rwxr-xr-xdebian/sources/icingacli7
-rw-r--r--debian/sources/index.php4
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch6
34 files changed, 1164 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/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..80bda28
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,632 @@
+icingaweb2 (2.12.1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Thu, 16 Nov 2023 05:47:42 +0100
+
+icingaweb2 (2.12.0-1) unstable; urgency=medium
+
+ * Team upload.
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 29 Sep 2023 16:57:59 +0200
+
+icingaweb2 (2.12.0-1~exp1) experimental; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Enable Salsa CI.
+ * Use dh-sequence-bash-completion.
+ * Update copyright file.
+ * Require at least icinga-php-library 0.13.0 & icinga-php-thirdparty 0.12.0.
+ * Drop patches, PHP 8.2 support should be fixed upstream.
+ * Drop obsolete rules.
+
+ -- Bas Couwenberg <sebastic@debian.org> Fri, 22 Sep 2023 15:21:33 +0200
+
+icingaweb2 (2.11.4-3) unstable; urgency=medium
+
+ * Team upload.
+ * Bump debhelper compat to 13.
+ * Add patch to suppress Deprecated notices.
+ (closes: #1037925)
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 09 Aug 2023 19:38:42 +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..fa1480b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,120 @@
+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 (= 13),
+ dh-sequence-bash-completion,
+ 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
+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.13.0),
+ icinga-php-thirdparty (>= 0.12.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..2cc7480
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+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'
+
+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'.
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/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..73ea5f9
--- /dev/null
+++ b/debian/icingaweb2.install
@@ -0,0 +1,13 @@
+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
diff --git a/debian/icingaweb2.lintian-overrides b/debian/icingaweb2.lintian-overrides
new file mode 100644
index 0000000..ab2ebe0
--- /dev/null
+++ b/debian/icingaweb2.lintian-overrides
@@ -0,0 +1,19 @@
+# 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 module documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/doc/*]
+
+# Not documentation
+package-contains-documentation-outside-usr-share-doc [usr/share/icingaweb2/public/*html]
+
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/php-icinga.install b/debian/php-icinga.install
new file mode 100644
index 0000000..6cbd03f
--- /dev/null
+++ b/debian/php-icinga.install
@@ -0,0 +1 @@
+library/Icinga usr/share/php
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..33d7071
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+execute_after_dh_install:
+ # Remove extra license files
+ find debian/*/usr/share/icingaweb2 -name LICENSE -delete
+ find debian/*/usr/share/icingaweb2 -name LICENSE.txt -delete
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..ecf714e
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# False positive
+source-is-missing [doc/accessibility/skip-content.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