summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog31
-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/install7
-rw-r--r--debian/lintian-overrides3
-rw-r--r--debian/patches/php8.2.patch15
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules11
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides3
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch7
14 files changed, 291 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..39064e8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,31 @@
+icinga-php-thirdparty (0.11.0-2) unstable; urgency=medium
+
+ * Bump Standards-Version to 4.6.1, no changes.
+ * Add Rules-Requires-Root to control file.
+ * Update lintian overrides.
+ * Add patch to fix issues with php8.2.
+
+ -- Bas Couwenberg <sebastic@debian.org> Mon, 05 Dec 2022 13:05:58 +0100
+
+icinga-php-thirdparty (0.11.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Update copyright file.
+ * Also install asset subdirectory.
+ * Update lintian overrides.
+
+ -- Bas Couwenberg <sebastic@debian.org> Wed, 15 Jun 2022 17:44:37 +0200
+
+icinga-php-thirdparty (0.10.0-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:20:38 +0200
+
+icinga-php-thirdparty (0.10.0-1~exp1) experimental; urgency=medium
+
+ * Initial Release. (Closes: #991149).
+
+ -- Bas Couwenberg <sebastic@debian.org> Thu, 15 Jul 2021 22:04:28 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3849977
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: icinga-php-thirdparty
+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-thirdparty
+Vcs-Git: https://salsa.debian.org/nagios-team/icinga-php-thirdparty.git
+Homepage: https://icinga.com
+Rules-Requires-Root: no
+
+Package: icinga-php-thirdparty
+Architecture: all
+Depends: php-curl,
+ php-json,
+ php-soap,
+ php-sockets,
+ ${misc:Depends}
+Description: Icinga PHP Thirdparty libraries 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 thirdparty libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5a21de6
--- /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 Thirdparty
+Source: https://github.com/Icinga/icinga-php-thirdparty
+
+Files: *
+Copyright: 2018, Icinga GmbH <info@icinga.com>
+License: MIT
+
+Files: asset/js/jquery/*
+Copyright: OpenJS Foundation and other contributors
+License: MIT
+
+Files: vendor/clue/block-react/*
+ vendor/clue/buzz-react/*
+ vendor/clue/connection-manager-extra/*
+ vendor/clue/http-proxy-react/*
+ vendor/clue/mq-react/*
+ vendor/clue/redis-react/*
+ vendor/clue/soap-react/*
+ vendor/clue/socket-raw/*
+ vendor/clue/socks-react/*
+ vendor/clue/stdio-react/*
+ vendor/clue/term-react/*
+ vendor/clue/utf8-react/*
+Copyright: 2011-2018, Christian Lück
+License: MIT
+
+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/fig/http-message-util/*
+Copyright: 2016, PHP Framework Interoperability Group
+License: MIT
+
+Files: vendor/guzzlehttp/guzzle/*
+ vendor/guzzlehttp/promises/*
+ vendor/guzzlehttp/psr7/*
+ vendor/ringcentral/psr7/*
+Copyright: 2011, 2015, Michael Dowling <mtdowling@gmail.com>
+ 2012, Jeremy Lindblom <jeremeamia@gmail.com>
+ 2014-2015, Graham Campbell <hello@gjcampbell.co.uk>
+ 2015, Márk Sági-Kazár <mark.sagikazar@gmail.com>
+ 2015-2017, Tobias Schultze <webmaster@tubo-world.de>
+ 2016, George Mponos <gmponos@gmail.com>
+ 2016, 2018, 2020, Tobias Nyholm <tobias.nyholm@gmail.com>
+License: MIT
+
+Files: vendor/jfcherng/php-color-output/*
+ vendor/jfcherng/php-mb-string/*
+Copyright: 2018-2022, Jack Cherng (jfcherng)
+License: MIT
+
+Files: vendor/jfcherng/php-diff/*
+ vendor/jfcherng/php-sequence-matcher/*
+Copyright: 2009, Chris Boulton <chris.boulton@interspire.com>
+ 2018-2022, Jack Cherng <jfcherng@gmail.com>
+License: BSD-3-Clause
+
+Files: vendor/paragonie/random_compat/*
+Copyright: 2015-2018, Paragon Initiative Enterprises
+License: MIT
+
+Files: vendor/predis/predis/*
+Copyright: 2009-2016, Daniele Alessandri <suppakilla@gmail.com>
+License: MIT
+
+Files: vendor/psr/http-message/*
+Copyright: 2014, PHP Framework Interoperability Group
+License: MIT
+
+Files: vendor/ralouphie/getallheaders/*
+Copyright: 2014, Ralph Khattar
+License: MIT
+
+Files: vendor/ramsey/uuid/*
+Copyright: 2012-2021, Ben Ramsey <ben@benramsey.com>
+License: MIT
+
+Files: vendor/react/cache/*
+ vendor/react/child-process/*
+ vendor/react/event-loop/*
+ vendor/react/datagram/*
+ vendor/react/dns/*
+ vendor/react/http/*
+ vendor/react/http-client/*
+ vendor/react/promise/*
+ vendor/react/promise-stream/*
+ vendor/react/promise-timer/*
+ vendor/react/socket/*
+ vendor/react/stream/*
+Copyright: 2012, Christian Lück
+ 2012, Cees-Jan Kiewiet
+ 2012-2016, Jan Sorgalla
+ 2012, Chris Boden
+ 2012, Igor Wiedler
+License: MIT
+
+Files: vendor/symfony/polyfill-ctype/*
+ vendor/symfony/polyfill-intl-idn/*
+ vendor/symfony/polyfill-intl-normalizer/*
+ vendor/symfony/polyfill-php72/*
+Copyright: 2015-2019, Fabien Potencier <fabien@symfony.com>
+ 2018-2019, Trevor Rowbotham <trevor.rowbotham@pm.me>
+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: 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.
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..2373073
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,7 @@
+asset/* /usr/share/icinga-php/vendor/asset/
+vendor/* /usr/share/icinga-php/vendor/vendor/
+
+composer.* /usr/share/icinga-php/vendor/
+
+VERSION /usr/share/icinga-php/vendor/
+
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..4dc8110
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,3 @@
+# Not guarateerd compatible
+embedded-javascript-library please use libjs-jquery* *
+
diff --git a/debian/patches/php8.2.patch b/debian/patches/php8.2.patch
new file mode 100644
index 0000000..6e272a8
--- /dev/null
+++ b/debian/patches/php8.2.patch
@@ -0,0 +1,15 @@
+Description: Fix issues with php8.2.
+Author: Bas Couwenberg <sebastic@debian.org>
+Bug: https://github.com/Icinga/icingaweb2/issues/4918
+
+--- a/vendor/guzzlehttp/psr7/src/CachingStream.php
++++ b/vendor/guzzlehttp/psr7/src/CachingStream.php
+@@ -20,6 +20,8 @@ class CachingStream implements StreamInt
+ /** @var int Number of bytes to skip reading due to a write on the buffer */
+ private $skipReadBytes = 0;
+
++ private $stream;
++
+ /**
+ * We will treat the buffer object as the body of the stream
+ *
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..56a50a5
--- /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/vendor/vendor/*/LICENSE
+ $(RM) debian/*/usr/share/icinga-php/vendor/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..890ba04
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# composer is not used to build the package
+composer-package-without-pkg-php-tools-builddep
+
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..259a907
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/Icinga/icinga-php-thirdparty/issues
+Bug-Submit: https://github.com/Icinga/icinga-php-thirdparty/issues/new
+Repository: https://github.com/Icinga/icinga-php-thirdparty.git
+Repository-Browse: https://github.com/Icinga/icinga-php-thirdparty
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7af7450
--- /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-thirdparty)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/icinga-php-thirdparty-$1.$2/ \
+https://github.com/Icinga/icinga-php-thirdparty/tags \
+(?:.*?/archive/(?:.*?/)?)?(?:rel|v|icinga-php-thirdparty)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))