From 065f7968245bc9b2e024d814b8f55dcad1d8b12f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 13:30:09 +0200 Subject: Adding debian version 0.13.1-1. Signed-off-by: Daniel Baumann --- debian/.gitlab-ci.yml | 6 + debian/changelog | 142 +++++++++++++++++++ debian/control | 28 ++++ debian/copyright | 295 ++++++++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/gbp.conf | 19 +++ debian/install | 6 + debian/lintian-overrides | 5 + debian/rules | 11 ++ debian/source/format | 1 + debian/source/lintian-overrides | 6 + debian/upstream/metadata | 5 + debian/watch | 7 + 13 files changed, 532 insertions(+) create mode 100644 debian/.gitlab-ci.yml create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/gbp.conf create mode 100644 debian/install create mode 100644 debian/lintian-overrides create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides create mode 100644 debian/upstream/metadata create mode 100644 debian/watch (limited to 'debian') diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml new file mode 100644 index 0000000..831136f --- /dev/null +++ b/debian/.gitlab-ci.yml @@ -0,0 +1,6 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml + +variables: + SALSA_CI_ENABLE_BUILD_PACKAGE_TWICE: 1 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f1df8c1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,142 @@ +icinga-php-library (0.13.1-1) unstable; urgency=medium + + * New upstream release. + * Update copyright file. + + -- Bas Couwenberg Thu, 16 Nov 2023 05:41:17 +0100 + +icinga-php-library (0.13.0-1) unstable; urgency=medium + + * Move from experimental to unstable. + + -- Bas Couwenberg Fri, 29 Sep 2023 16:48:46 +0200 + +icinga-php-library (0.13.0-1~exp1) experimental; urgency=medium + + * New upstream release. + * Update copyright file. + * Drop php8.2.patch, should be fixed upstream. + + -- Bas Couwenberg Thu, 21 Sep 2023 14:52:32 +0200 + +icinga-php-library (0.12.0-1) unstable; urgency=medium + + * Bump debhelper compat to 13. + * Enable Salsa CI. + * Move from experimental to unstable. + + -- Bas Couwenberg Sun, 03 Sep 2023 18:04:19 +0200 + +icinga-php-library (0.12.0-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Bas Couwenberg Mon, 15 May 2023 15:06:14 +0200 + +icinga-php-library (0.11.1-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Bas Couwenberg Wed, 12 Apr 2023 15:25:01 +0200 + +icinga-php-library (0.11.0-1~exp2) experimental; urgency=medium + + * Update php8.2 patch to fix deprecation warning in guzzlehttp/psr7. + + -- Bas Couwenberg Thu, 23 Mar 2023 08:22:53 +0100 + +icinga-php-library (0.11.0-1~exp1) experimental; urgency=medium + + * New upstream release. + * Bump Standards-Version to 4.6.2, no changes. + * Update copyright file. + * Update lintian overrides. + + -- Bas Couwenberg Wed, 22 Mar 2023 14:33:52 +0100 + +icinga-php-library (0.10.1-1) unstable; urgency=medium + + * New upstream release. + + -- Bas Couwenberg 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 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 Tue, 06 Sep 2022 10:45:34 +0200 + +icinga-php-library (0.10.0-1~exp1) experimental; urgency=medium + + * New upstream release. + + -- Bas Couwenberg 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 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 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 Wed, 15 Jun 2022 17:17:34 +0200 + +icinga-php-library (0.8.1-1) unstable; urgency=medium + + * New upstream release. + + -- Bas Couwenberg Tue, 26 Apr 2022 19:12:20 +0200 + +icinga-php-library (0.8.0-1) unstable; urgency=medium + + * New upstream release. + + -- Bas Couwenberg Wed, 23 Mar 2022 17:17:30 +0100 + +icinga-php-library (0.7.0-1) unstable; urgency=medium + + * New upstream release. + + -- Bas Couwenberg 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 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 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 Thu, 15 Jul 2021 21:21:31 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..32eb7c1 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: icinga-php-library +Maintainer: Debian Nagios Maintainer Group +Uploaders: Bas Couwenberg +Section: admin +Priority: optional +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.6.2 +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..cc75176 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,295 @@ +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 +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/brick/* +Copyright: 2013-present, Benjamin Morel +License: MIT + +Files: vendor/composer/* +Copyright: Nils Adermann + Jordi Boggiano +License: MIT + +Files: vendor/cweagans/composer-patches/* +Copyright: Cameron Eagans +License: BSD-3-clause + +Files: vendor/doctrine/collections/* +Copyright: 2006-2013, Doctrine Project +License: MIT + +Files: vendor/doctrine/deprecations/* +Copyright: 2020-2021, Doctrine Project +License: MIT + +Files: vendor/dragonmantank/cron-expression/* +Copyright: 2011, Michael Dowling + 2016, Chris Tankersley +License: MIT + +Files: vendor/evenement/evenement/* +Copyright: 2011, Igor Wiedler +License: MIT + +Files: vendor/guzzlehttp/psr7/* +Copyright: 2015, Michael Dowling + 2015, Márk Sági-Kazár + 2015, Graham Campbell + 2016, Tobias Schultze + 2016, George Mponos + 2018, Tobias Nyholm +License: MIT + +Files: vendor/psr/http-factory/* +Copyright: 2018, PHP-FIG +License: MIT + +Files: vendor/psr/http-message/* +Copyright: 2014, PHP Framework Interoperability Group +License: MIT + +Files: vendor/psr/log/* +Copyright: 2012, PHP Framework Interoperability Group +License: MIT + +Files: vendor/ralouphie/getallheaders/* +Copyright: 2014, Ralph Khattar +License: MIT + +Files: vendor/ramsey/collection/* +Copyright: 2012-2021, Ben Ramsey +License: MIT + +Files: vendor/ramsey/uuid/* +Copyright: 2012-2021, Ben Ramsey +License: MIT + +Files: vendor/ramsey/uuid/src/Math/RoundingMode.php +Copyright: 2013-present, Benjamin Morel +License: MIT + +Files: vendor/react/event-loop/* +Copyright: 2012, Christian Lück + 2012, Cees-Jan Kiewiet + 2012, Jan Sorgalla + 2012, Chris Boden + 2012, Igor Wiedle +License: MIT + +Files: vendor/react/promise/* +Copyright: 2012, Jan Sorgalla + 2012, Christian Lück + 2012, Cees-Jan Kiewiet + 2012, Chris Boden +License: MIT + +Files: vendor/simshaun/recurr/* +Copyright: 2013-2015, Shaun Simmons + 2012, Tomi Pieviläinen + 2003-2011, Gustavo Niemeyer + 2010, Jakub Roztocil + 2010, Lars Schöning +Comment: Recurr is heavily based on rrule.js (BSD-3-clause licensed) +License: MIT and BSD-3-clause + +Files: vendor/symfony/polyfill-ctype/* +Copyright: 2018-2019, Fabien Potencier +License: MIT + +Files: vendor/symfony/polyfill-php80/* +Copyright: 2020-present, Fabien Potencier +License: MIT + +Files: vendor/webmozart/assert/* +Copyright: 2014, Bernhard Schussek +License: MIT + +Files: vendor/wikimedia/less.php/* +Copyright: Wikimedia +License: Apache-2.0 + +Files: debian/* +Copyright: 2018, Icinga GmbH +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: 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 product 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 AUTHOR ``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 AUTHOR 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. + +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: 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..0effc2b --- /dev/null +++ b/debian/lintian-overrides @@ -0,0 +1,5 @@ +# Not a problem +font-in-non-font-package * +font-outside-font-dir * +national-encoding * + 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))) -- cgit v1.2.3