summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:38:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:38:05 +0000
commitbe82ad2629ddc8e0a7e4798470d6bd7af28a1ba3 (patch)
treea35dc4147d8f9d8cee337e6bf86073e09219c507
parentAdding upstream version 0.10.1. (diff)
downloadicinga-php-library-debian.tar.xz
icinga-php-library-debian.zip
Adding debian version 0.10.1-1.debian/0.10.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog86
-rw-r--r--debian/control28
-rw-r--r--debian/copyright159
-rw-r--r--debian/docs1
-rw-r--r--debian/gbp.conf19
-rw-r--r--debian/install6
-rw-r--r--debian/lintian-overrides4
-rw-r--r--debian/patches/php8.2.patch44
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules11
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides6
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch7
14 files changed, 378 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8ba21ef
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,86 @@
+icinga-php-library (0.10.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 14 Dec 2022 17:09:50 +0100
+
+icinga-php-library (0.10.0-2) unstable; urgency=medium
+
+ * Add Rules-Requires-Root to control file.
+ * Add patch to fix issues with php8.2.
+
+ -- Bas Couwenberg <sebastic@debian.org> Mon, 05 Dec 2022 13:14:22 +0100
+
+icinga-php-library (0.10.0-1) unstable; urgency=medium
+
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 06 Sep 2022 10:45:34 +0200
+
+icinga-php-library (0.10.0-1~exp1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Mon, 05 Sep 2022 17:17:59 +0200
+
+icinga-php-library (0.9.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Drop patches, included upstream.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 06 Jul 2022 16:32:50 +0200
+
+icinga-php-library (0.9.0-2) unstable; urgency=medium
+
+ * Bump Standards-Version to 4.6.1, no changes.
+ * Add upstream patch to fix exceptions with Icinga DB.
+ * Update lintian overrides.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sun, 03 Jul 2022 17:06:58 +0200
+
+icinga-php-library (0.9.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Update copyright file.
+ * Add icinga-php-thirdparty to dependencies.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 15 Jun 2022 17:17:34 +0200
+
+icinga-php-library (0.8.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 26 Apr 2022 19:12:20 +0200
+
+icinga-php-library (0.8.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 23 Mar 2022 17:17:30 +0100
+
+icinga-php-library (0.7.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 10 Nov 2021 16:09:07 +0100
+
+icinga-php-library (0.6.1-1) unstable; urgency=medium
+
+ * Add php extension dependencies.
+ * Bump Standards-Version to 4.6.0, no changes.
+ * Move from experimental to unstable.
+
+ -- Bas Couwenberg <sebastic@debian.org> Tue, 14 Sep 2021 09:13:27 +0200
+
+icinga-php-library (0.6.1-1~exp1) experimental; urgency=medium
+
+ * New upstream release.
+ * Fix Vcs-* URLs.
+
+ -- Bas Couwenberg <sebastic@debian.org> Sat, 31 Jul 2021 06:45:24 +0200
+
+icinga-php-library (0.6.0-1~exp1) experimental; urgency=medium
+
+ * Initial Release. (Closes: #991148).
+
+ -- Bas Couwenberg <sebastic@debian.org> Thu, 15 Jul 2021 21:21:31 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..cd9ff04
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: icinga-php-library
+Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic@debian.org>
+Section: admin
+Priority: optional
+Build-Depends: debhelper-compat (= 12)
+Standards-Version: 4.6.1
+Vcs-Browser: https://salsa.debian.org/nagios-team/icinga-php-library
+Vcs-Git: https://salsa.debian.org/nagios-team/icinga-php-library.git
+Homepage: https://icinga.com
+Rules-Requires-Root: no
+
+Package: icinga-php-library
+Architecture: all
+Depends: icinga-php-thirdparty,
+ php-json,
+ php-intl,
+ php-pdo,
+ ${misc:Depends}
+Description: Icinga PHP Library for Icinga Web 2
+ 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 provides the Icinga PHP libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..976a967
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,159 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Icinga PHP Library
+Source: https://github.com/Icinga/icinga-php-library
+
+Files: *
+Copyright: 2017-2020, Icinga GmbH <info@icinga.com>
+License: MIT
+
+Files: asset/css/fontawesome.css
+ asset/css/awesome-icons.less
+Copyright: Font Awesome (https://fontawesome.com/)
+ 2022, Fonticons, Inc.
+Comment: In the Font Awesome Free download, the MIT license applies
+ to all non-font and non-icon files.
+License: MIT
+
+Files: asset/static/font/awesome/*
+Copyright: Font Awesome (https://fontawesome.com/)
+Comment: In the Font Awesome Free download, the SIL OFL license applies
+ to all icons packaged as web and desktop font files.
+License: OFL-1.1
+
+Files: asset/js/vendor/flatpickr.js
+Copyright: Microsoft Corporation.
+License: flatpickr
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+
+Files: vendor/composer/*
+Copyright: Nils Adermann <naderman@naderman.de>
+ Jordi Boggiano <j.boggiano@seld.be>
+License: MIT
+
+Files: vendor/evenement/evenement/*
+Copyright: 2011, Igor Wiedler <igor@wiedler.ch>
+License: MIT
+
+Files: vendor/psr/http-message/*
+Copyright: 2014, PHP Framework Interoperability Group
+License: MIT
+
+Files: debian/*
+Copyright: 2018, Icinga GmbH <info@icinga.com>
+License: MIT
+
+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: OFL-1.1
+ -----------------------------------------------------------
+ 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/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..e3daba6
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,19 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
+
+[buildpackage]
+pbuilder-options = --source-only-changes
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..52d6f4f
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,6 @@
+asset/* /usr/share/icinga-php/ipl/asset/
+vendor/* /usr/share/icinga-php/ipl/vendor/
+
+composer.* /usr/share/icinga-php/ipl/
+
+VERSION /usr/share/icinga-php/ipl/
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..ddc08ba
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,4 @@
+# Not a problem
+font-in-non-font-package *
+font-outside-font-dir *
+
diff --git a/debian/patches/php8.2.patch b/debian/patches/php8.2.patch
new file mode 100644
index 0000000..948fc4e
--- /dev/null
+++ b/debian/patches/php8.2.patch
@@ -0,0 +1,44 @@
+Description: Fix issues with php8.2.
+Author: Bas Couwenberg <sebastic@debian.org>
+Bug: https://github.com/Icinga/icingaweb2/issues/4918
+
+--- a/vendor/ipl/sql/src/Config.php
++++ b/vendor/ipl/sql/src/Config.php
+@@ -33,6 +33,9 @@ class Config
+ }
+ }
+
++ /** @var string Database type */
++ public $type;
++
+ /** @var string Type of the DBMS */
+ public $db;
+
+@@ -51,6 +54,27 @@ class Config
+ /** @var string Password to use for authentication */
+ public $password;
+
++ /** @var bool Use SSL for connection */
++ public $use_ssl;
++
++ /** @var bool Don't verify SSL cerificate */
++ public $ssl_do_not_verify_server_cert;
++
++ /** @var string Path to SSL certificate */
++ public $ssl_cert;
++
++ /** @var string Path to SSL key */
++ public $ssl_key;
++
++ /** @var string Path to SSL CA file */
++ public $ssl_ca;
++
++ /** @var string Path to SSL CA directory */
++ public $ssl_capath;
++
++ /** @var string SSL ciphers */
++ public $ssl_cipher;
++
+ /**
+ * Character set for the connection
+ *
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9c42587
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+php8.2.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5e833fe
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_install:
+ dh_install
+
+ $(RM) debian/*/usr/share/icinga-php/ipl/vendor/*/LICENSE
+ $(RM) debian/*/usr/share/icinga-php/ipl/vendor/*/*/LICENSE
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..abb1c4e
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,6 @@
+# composer is not used to build the package
+composer-package-without-pkg-php-tools-builddep
+
+# False positive
+source-is-missing [asset/js/vendor/flatpickr.js]
+
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5269834
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/Icinga/icinga-php-library/issues
+Bug-Submit: https://github.com/Icinga/icinga-php-library/issues/new
+Repository: https://github.com/Icinga/icinga-php-library.git
+Repository-Browse: https://github.com/Icinga/icinga-php-library
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..19d5fdb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=4
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|icinga-php-library)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/icinga-php-library-$1.$2/ \
+https://github.com/Icinga/icinga-php-library/tags \
+(?:.*?/archive/(?:.*?/)?)?(?:rel|v|icinga-php-library)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))