diff options
Diffstat (limited to '')
-rw-r--r-- | debian/.gitlab-ci.yml | 6 | ||||
-rw-r--r-- | debian/changelog | 62 | ||||
-rw-r--r-- | debian/control | 30 | ||||
-rw-r--r-- | debian/copyright | 416 | ||||
-rw-r--r-- | debian/docs | 2 | ||||
-rw-r--r-- | debian/gbp.conf | 19 | ||||
-rw-r--r-- | debian/install | 7 | ||||
-rw-r--r-- | debian/links | 14 | ||||
-rw-r--r-- | debian/lintian-overrides | 19 | ||||
-rwxr-xr-x | debian/rules | 66 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/lintian-overrides | 6 | ||||
-rw-r--r-- | debian/upstream/metadata | 5 | ||||
-rw-r--r-- | debian/watch | 8 |
14 files changed, 661 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/changelog b/debian/changelog new file mode 100644 index 0000000..a4cc1a0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,62 @@ +icinga-php-thirdparty (0.12.1+ds-1) unstable; urgency=medium + + * New upstream release. + * Update copyright file. + * Update lintian overrides. + + -- Bas Couwenberg <sebastic@debian.org> Sat, 02 Dec 2023 08:55:03 +0100 + +icinga-php-thirdparty (0.12.0+ds-1) unstable; urgency=medium + + * Move from experimental to unstable. + + -- Bas Couwenberg <sebastic@debian.org> Fri, 29 Sep 2023 16:53:57 +0200 + +icinga-php-thirdparty (0.12.0+ds-1~exp1) experimental; urgency=medium + + * New upstream release. + * Bump Standards-Version to 4.6.2, no changes. + * Bump debhelper compat to 13. + * Enable Salsa CI. + * Update copyright file. + * Drop php8.2.patch, should be fixed upstream. + * Update lintian overrides. + * Remove duplicate DejaVu fonts, symlink to packaged files. + * Remove executable bit from php & xml files. + * Remove extra license files. + * Remove documentation outside of usr/share/doc. + * Repack upstream tarball to exclude Windows binaries. + + -- Bas Couwenberg <sebastic@debian.org> Thu, 21 Sep 2023 16:41:37 +0200 + +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..2a30672 --- /dev/null +++ b/debian/control @@ -0,0 +1,30 @@ +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 (= 13) +Standards-Version: 4.6.2 +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: fonts-dejavu-core, + fonts-dejavu-extra, + 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..fc30568 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,416 @@ +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 +Comment: The upstream tarball is repacked to exclude Windows binaries. +Files-Excluded: vendor/shardj/zf1-future/library/Zend/Service/WindowsAzure/CommandLine/Scaffolders/DefaultScaffolder/resources/PhpOnAzure.Web/resources/WebPICmdLine/*.dll + vendor/shardj/zf1-future/library/Zend/Service/WindowsAzure/CommandLine/Scaffolders/DefaultScaffolder/resources/PhpOnAzure.Web/resources/WebPICmdLine/*.exe + +Files: * +Copyright: 2018, Icinga GmbH <info@icinga.com> +License: MIT + +Files: asset/js/jquery/* +Copyright: OpenJS Foundation and other contributors +License: MIT + +Files: vendor/brick/math/* +Copyright: 2013-present, Benjamin Morel +License: MIT + +Files: vendor/clue/block-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/clue/redis-protocol/* +Copyright: 2009-2012, Justin Poliey <justin@getglue.com> +License: ISC and MIT + +Files: vendor/components/jquery/* +Copyright: OpenJS Foundation and other contributors +License: MIT + +Files: vendor/composer/* +Copyright: Nils Adermann <naderman@naderman.de> + Jordi Boggiano <j.boggiano@seld.be> +License: MIT + +Files: vendor/cweagans/composer-patches/* +Copyright: 2013, Cameron Eagans +License: BSD-3-Clause + +Files: vendor/doctrine/collections/* + vendor/doctrine/deprecations/* +Copyright: 2006-2021, Doctrine Project +License: MIT + +Files: vendor/dompdf/dompdf/* +Copyright: Benj Carson +License: LGPL-2.1+ + +Files: vendor/dompdf/dompdf/lib/Cpdf.php +Copyright: Wayne Munro +License: public-domain + http://creativecommons.org/licenses/publicdomain/ + +Files: vendor/dompdf/dompdf/lib/fonts/DejaVu* +Copyright: 2003, Bitstream, Inc. All Rights Reserved. + Bitstream Vera is a trademark of Bitstream, Inc. + DejaVu changes are in public domain. +License: DejaVu-Bitstream + +Files: vendor/dompdf/dompdf/lib/fonts/*.afm + vendor/dompdf/dompdf/lib/fonts/mustRead.html +Copyright: 1985-1997, Adobe Systems Incorporated +License: Adobe-AFM + This file and the 14 PostScript(R) AFM files it accompanies may be + used, copied, and distributed for any purpose and without charge, with or + without modification, provided that all copyright notices are retained; that + the AFM files are not distributed without this file; that all modifications to + this file or any of the AFM files are prominently noted in the modified + file(s); and that this paragraph is not modified. Adobe Systems has no + responsibility or obligation to support the use of the AFM files. Col + +Files: vendor/dragonmantank/cron-expression/* +Copyright: 2011, Michael Dowling <mtdowling@gmail.com> + 2016, Chris Tankersley <chris@ctankersley.com> +License: MIT + +Files: vendor/erusev/parsedown/* +Copyright: 2013-2018, Emanuil Rusev, erusev.com +License: MIT + +Files: vendor/evenement/evenement/* +Copyright: 2011, Igor Wiedler <igor@wiedler.ch> +License: MIT + +Files: vendor/ezyang/htmlpurifier/* +Copyright: 2006-2008, Edward Z. Yang +License: LGPL-2.1+ + +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-2023, Jack Cherng (jfcherng) +License: MIT + +Files: vendor/jfcherng/php-diff/* + vendor/jfcherng/php-sequence-matcher/* +Copyright: 2009, Chris Boulton <chris.boulton@interspire.com> + 2018-2023, Jack Cherng <jfcherng@gmail.com> +License: BSD-3-Clause + +Files: vendor/masterminds/html5/* +Copyright: 2013, The Authors of HTML5-PHP + 2009, Geoffrey Sneddon <http://gsnedders.com/> +License: MIT + +Files: vendor/phenx/php-font-lib/* +Copyright: Fabien Ménager <fabien.menager@gmail.com> +License: LGPL-2.1+ + +Files: vendor/phenx/php-svg-lib/* +Copyright: Fabien Ménager <fabien.menager@gmail.com> +License: LGPL-3+ + +Files: vendor/predis/predis/* +Copyright: 2009-2020, Daniele Alessandri + 2021-2023, Till Krüss +License: MIT + +Files: vendor/psr/http-client/* + vendor/psr/http-factory/* + vendor/psr/http-message/* + vendor/psr/log/* +Copyright: 2012, 2014, 2017-2018, PHP Framework Interoperability Group +License: MIT + +Files: vendor/ralouphie/getallheaders/* +Copyright: 2014, Ralph Khattar +License: MIT + +Files: vendor/ramsey/collection/* + vendor/ramsey/uuid/* +Copyright: 2012-2021, Ben Ramsey <ben@benramsey.com> + 2013-present, Benjamin Morel +License: MIT + +Files: vendor/react/cache/* + vendor/react/child-process/* + vendor/react/datagram/* + vendor/react/dns/* + vendor/react/event-loop/* + vendor/react/http/* + 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/sabberworm/php-css-parser/* +Copyright: 2011, Raphael Schweikert +License: MIT + +Files: vendor/shardj/zf1-future/* +Copyright: 2005-2015, Zend Technologies USA, Inc. +License: BSD-3-Clause + +Files: vendor/shardj/zf1-future/library/Zend/Locale/Data/* +Copyright: 1991-2013, Unicode, Inc +License: Unicode + Distributed under the Terms of Use in http://www.unicode.org/copyright.html. + . + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Unicode data files and any associated documentation + (the "Data Files") or Unicode software and any associated documentation + (the "Software") to deal in the Data Files or Software + without restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, and/or sell copies of + the Data Files or Software, and to permit persons to whom the Data Files + or Software are furnished to do so, provided that either + (a) this copyright and permission notice appear with all copies + of the Data Files or Software, or + (b) this copyright and permission notice appear in associated + Documentation. + . + THE DATA FILES AND SOFTWARE ARE 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 OF THIRD PARTY RIGHTS. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS + NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 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 THE DATA FILES OR SOFTWARE. + . + Except as contained in this notice, the name of a copyright holder + shall not be used in advertising or otherwise to promote the sale, + use or other dealings in these Data Files or Software without prior + written authorization of the copyright holder. + +Files: vendor/simshaun/recurr/* +Copyright: 2013-2015, Shaun Simmons +License: MIT + +Files: vendor/simshaun/recurr/src/Recurr/DateInfo.php + vendor/simshaun/recurr/src/Recurr/DateUtil.php + vendor/simshaun/recurr/src/Recurr/DaySet.php + vendor/simshaun/recurr/src/Recurr/Frequency.php + vendor/simshaun/recurr/src/Recurr/Rule.php + vendor/simshaun/recurr/src/Recurr/Time.php + vendor/simshaun/recurr/src/Recurr/Transformer/ArrayTransformer.php + vendor/simshaun/recurr/src/Recurr/Weekday.php +Copyright: 2013, Shaun Simmons + 2003-2011, Gustavo Niemeyer <gustavo@niemeyer.net> + 2012, Tomi Pieviläinen <tomi.pievilainen@iki.fi> + 2010, Jakub Roztocil + 2010, Lars Schoning +License: MIT and BSD-3-Clause + +Files: vendor/symfony/deprecation-contracts/* + vendor/symfony/polyfill-ctype/* + vendor/symfony/polyfill-mbstring/* + vendor/symfony/polyfill-php80/* + vendor/symfony/polyfill-php81/* +Copyright: 2015-present, Fabien Potencier <fabien@symfony.com> + 2018-2019, Trevor Rowbotham <trevor.rowbotham@pm.me> +License: MIT + +Files: vendor/tedivm/jshrink/* +Copyright: 2009, Robert Hafne +License: BSD-3-Clause + +Files: vendor/webmozart/assert/* +Copyright: 2014, Bernhard Schussek +License: MIT + +Files: vendor/wikimedia/less.php/* +Copyright: Matt Agar <https://github.com/agar> + Martin Jantošovič <https://github.com/Mordred> + Josh Schmidt <https://github.com/oyejorge> + Timo Tijhof <https://timotijhof.net> +License: Apache-2.0 + +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: LGPL-3+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU Lesser General Public License + version 3 can be found in "/usr/share/common-licenses/LGPL-3". + +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + On Debian systems, the full text of the GNU Lesser General Public + License version 2.1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + +License: ISC + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + 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. + +License: DejaVu-Bitstream + Permission is hereby granted, free of charge, to any person obtaining a copy + of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute the + Font Software, including without limitation the rights to use, copy, merge, + publish, distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to the + following conditions: + . + The above copyright and trademark notices and this permission notice shall + be included in all copies of one or more of the Font Software typefaces. + . + The Font Software may be modified, altered, or added to, and in particular + the designs of glyphs or characters in the Fonts may be modified and + additional glyphs or characters may be added to the Fonts, only if the fonts + are renamed to names not containing either the words "Bitstream" or the word + "Vera". + . + This License becomes null and void to the extent applicable to Fonts or Font + Software that has been modified and is distributed under the "Bitstream + Vera" names. + . + The Font Software may be sold as part of a larger software package but no + copy of one or more of the Font Software typefaces may be sold by itself. + . + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, + TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME + FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING + ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF + THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE + FONT SOFTWARE. + . + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font Software + without prior written authorization from the Gnome Foundation or Bitstream + Inc., respectively. For further information, contact: fonts at gnome dot + org. + +License: 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'. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..2e471b3 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.md +vendor/wikimedia/less.php/NOTICE.txt 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/links b/debian/links new file mode 100644 index 0000000..312e405 --- /dev/null +++ b/debian/links @@ -0,0 +1,14 @@ +usr/share/fonts/truetype/dejavu/DejaVuSans.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSans.ttf +usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Bold.ttf +usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-BoldOblique.ttf +usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Oblique.ttf + +usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono.ttf +usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Bold.ttf +usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-BoldOblique.ttf +usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Oblique.ttf + +usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif.ttf +usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Bold.ttf +usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-BoldItalic.ttf +usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Italic.ttf diff --git a/debian/lintian-overrides b/debian/lintian-overrides new file mode 100644 index 0000000..02c8135 --- /dev/null +++ b/debian/lintian-overrides @@ -0,0 +1,19 @@ +# Not guarateerd compatible +embedded-javascript-library please use libjs-jquery* * + +# Not guarateerd compatible +icinga-php-thirdparty: embedded-php-library please use php-htmlpurifier * + +# Placeholder to have directory exist +package-contains-documentation-outside-usr-share-doc [usr/share/icinga-php/vendor/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/*] + +# Not documentation +package-contains-documentation-outside-usr-share-doc [usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/*.html] +package-contains-documentation-outside-usr-share-doc [usr/share/icinga-php/vendor/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/*] +package-contains-documentation-outside-usr-share-doc [usr/share/icinga-php/vendor/vendor/jfcherng/php-diff/example/new_file.txt] +package-contains-documentation-outside-usr-share-doc [usr/share/icinga-php/vendor/vendor/jfcherng/php-diff/example/old_file.txt] + +# Not a problem +national-encoding [usr/share/icinga-php/vendor/vendor/phenx/php-font-lib/src/FontLib/Autoloader.php] +national-encoding [usr/share/icinga-php/vendor/vendor/simshaun/recurr/translations/no.php] + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0c60bcd --- /dev/null +++ b/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 + +%: + dh $@ + +execute_after_dh_install: + # Remove extra license files + find debian/*/usr/share/icinga-php -name LICENSE -delete + find debian/*/usr/share/icinga-php -name LICENSE.LGPL -delete + find debian/*/usr/share/icinga-php -name LICENSE.md -delete + find debian/*/usr/share/icinga-php -name LICENSE.txt -delete + find debian/*/usr/share/icinga-php -name license.rtf -delete + + # Remove documentation + find debian/*/usr/share/icinga-php/vendor/vendor -name API.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name AUTHORS.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name CHANGELOG*.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name CHANGES.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name CODE_OF_CONDUCT.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name CONTRIBUTING.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name DEVELOPMENT_README.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name INSTALL.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name NOTICE.txt -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name PATCHES.txt -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name README.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name README-GIT.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name readme.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name SECURITY.md -delete + find debian/*/usr/share/icinga-php/vendor/vendor -name UPGRADING*.md -delete + + $(RM) -r debian/*/usr/share/icinga-php/vendor/vendor/doctrine/collections/docs/ + $(RM) -r debian/*/usr/share/icinga-php/vendor/vendor/psr/http-message/docs/ + + # Remove useless files + $(RM) -r debian/*/usr/share/icinga-php/vendor/vendor/predis/predis/docker/ + + $(RM) debian/*/usr/share/icinga-php/vendor/vendor/simshaun/recurr/test.sh + $(RM) debian/*/usr/share/icinga-php/vendor/vendor/simshaun/recurr/test.ps1 + + # Remove empty directories + $(RM) -r debian/*/usr/share/icinga-php/vendor/vendor/jfcherng/php-diff/CHANGELOG/ \ + debian/*/usr/share/icinga-php/vendor/vendor/jfcherng/php-diff/UPGRADING/ \ + debian/*/usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Service/WindowsAzure/CommandLine/Scaffolders/DefaultScaffolder/resources/PhpOnAzure.Web/resources/ + + # Remove duplicate font files + $(RM) debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSans.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Bold.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-BoldOblique.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSans-Oblique.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Bold.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-BoldOblique.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSansMono-Oblique.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Bold.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-BoldItalic.ttf \ + debian/*/usr/share/icinga-php/vendor/vendor/dompdf/dompdf/lib/fonts/DejaVuSerif-Italic.ttf + + # Remove executable bit + chmod -x debian/*/usr/share/icinga-php/vendor/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/README \ + debian/*/usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/*/*.php \ + debian/*/usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/*/*/*.php \ + debian/*/usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/*/*/*.xml \ + debian/*/usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/*/*/*/*.php \ + debian/*/usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/*/*/*/*/*.php 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..62775c0 --- /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: source-is-missing [vendor/dompdf/dompdf/lib/fonts/mustRead.html] + 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..ba1bd4d --- /dev/null +++ b/debian/watch @@ -0,0 +1,8 @@ +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/,\ +repacksuffix=+ds \ +https://github.com/Icinga/icinga-php-thirdparty/tags \ +(?:.*?/archive/(?:.*?/)?)?(?:rel|v|icinga-php-thirdparty)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |