diff options
-rw-r--r-- | debian/changelog | 48 | ||||
-rw-r--r-- | debian/control | 30 | ||||
-rw-r--r-- | debian/copyright | 121 | ||||
-rw-r--r-- | debian/icingaweb2-module-pdfexport.docs | 1 | ||||
-rw-r--r-- | debian/local/config.ini | 2 | ||||
-rwxr-xr-x | debian/rules | 27 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
8 files changed, 233 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..130bd64 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,48 @@ +icingaweb2-module-pdfexport (0.10.2+dfsg1-2) unstable; urgency=medium + + * Releasing debian version 0.10.2+dfsg1-1. + * Move chromium to recommends. + Thank to Shengjing Zhu (Closes: #1031388). + + -- David Kunz <david.kunz@dknet.ch> Mon, 20 Feb 2023 11:02:13 +0100 + +icingaweb2-module-pdfexport (0.10.2+dfsg1-1) unstable; urgency=medium + + * Merging upstream version 0.10.2+dfsg1. + * Updating Standards-Version to 4.6.1. + * Updating depends in control. + * Updating rules. + * Updating watch file. + * Updating copyright. + * Adding config file. + + -- David Kunz <david.kunz@dknet.ch> Tue, 19 Jul 2022 08:26:08 +0200 + +icingaweb2-module-pdfexport (0.9.1-2) unstable; urgency=medium + + * Updating vcs in control. + * Updating Standards-Version to 4.6.0. + + -- David Kunz <david.kunz@dknet.ch> Tue, 04 Jan 2022 07:08:58 +0100 + +icingaweb2-module-pdfexport (0.9.1-1) unstable; urgency=medium + + * Adding watch file. + * Merging upstream version 0.9.1. + * Changing copyright for David Kunz. + * Removing .pc files from binary package. + + -- David Kunz <david.kunz@dknet.ch> Tue, 10 Aug 2021 16:09:10 +0200 + +icingaweb2-module-pdfexport (0.9.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Source-only upload. + + -- Adrian Bunk <bunk@debian.org> Sun, 07 Feb 2021 12:45:54 +0200 + +icingaweb2-module-pdfexport (0.9.0-1) unstable; urgency=medium + + * Initial release (Closes: #921104) + + -- David Kunz <david.kunz@dknet.ch> Tue, 05 Jan 2021 13:07:10 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7dfb719 --- /dev/null +++ b/debian/control @@ -0,0 +1,30 @@ +Source: icingaweb2-module-pdfexport +Section: admin +Priority: optional +Maintainer: David Kunz <david.kunz@dknet.ch> +Build-Depends: + debhelper-compat (= 13), +Standards-Version: 4.6.1 +Homepage: https://github.com/Icinga/icingaweb2-module-pdfexport +Vcs-Browser: https://salsa.debian.org/david.kunz/icingaweb2-module-pdfexport +Vcs-Git: https://salsa.debian.org/david.kunz/icingaweb2-module-pdfexport.git + +Package: icingaweb2-module-pdfexport +Section: admin +Architecture: all +Depends: + icingaweb2, + icinga-php-thirdparty, + icinga-php-library, + php-cgi, + php-tcpdf, + ${misc:Depends}, +Recommends: + chromium, +Enhances: + icingaweb2, +Description: Future place for the PDF export functionality for Icinga Web 2 + Icinga Web 2 is a very modular, fast and simple web interface for your Icinga + monitoring environment. + . + Integrate PDF export functionality for Icinga Web 2. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0f204de --- /dev/null +++ b/debian/copyright @@ -0,0 +1,121 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: icingaweb2-module-pdfexport +Upstream-Contact: Icinga Development Team <icinga-devel@lists.icinga.org> +Source: https://github.com/Icinga/icingaweb2-module-pdfexport +Files-Excluded: vendor/tecnickcom + +Files: * +Copyright: 2017-2021 Icinga Development Team <icinga-devel@lists.icinga.org> +License: GPL-2 + +Files: vendor/composer/* +Copyright: Nils Adermann + Jordi Boggiano +License: MIT + +Files: vendor/iio/libmergepdf/tcpdi/fpdf_tpl.php +Copyright: 2004-2013 Setasign - Jan Slabon +License: Apache-2.0 + +Files: vendor/iio/libmergepdf/tcpdi/tcpdi.php +Copyright: 2004-2013 Setasign - Jan Slabon +License: Apache-2.0 + +Files: vendor/textalk/websocket/lib/* +Copyright: 2014-2020 Textalk/Abicart and contributors +License: ISC + +Files: vendor/iio/libmergepdf/tcpdi/tcpdi_parser.php +Copyright: 2011-2013 Nicola Asuni - Tecnick.com LTD <info@tecnick.com> +License: LGPL-3 + +Files: vendor/psr/log/* +Copyright: 2012 PHP Framework Interoperability Group +License: MIT + +Files: vendor/setasign/fpdi/* +Copyright: 2020 Setasign GmbH & Co. KG, https://www.setasign.com +License: MIT + +Files: debian/* +Copyright: 2019-2022 David Kunz <david.kunz@dknet.ch> +License: GPL-2 + +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 unider the License. + +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. + . + 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. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + The complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +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: 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-3 file. + +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. diff --git a/debian/icingaweb2-module-pdfexport.docs b/debian/icingaweb2-module-pdfexport.docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/icingaweb2-module-pdfexport.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/local/config.ini b/debian/local/config.ini new file mode 100644 index 0000000..becc92e --- /dev/null +++ b/debian/local/config.ini @@ -0,0 +1,2 @@ +[chrome] +binary = "/usr/bin/chromium" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cb15ad1 --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +MODULE := pdfexport +DEBDIR := debian/icingaweb2-module-$(MODULE) + +%: + dh ${@} + +override_dh_auto_install: + mkdir -p $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) + find . -maxdepth 1 -mindepth 1 -and -not -name debian -and -not -name ".git*" -and -not -name ".pc" -exec cp -a {} $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) \; + + # remove useless file + find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name LICENSE* -exec rm -f {} +; + find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name \.gitignore -exec rm -f {} \; + + # move config file + mkdir -p $(DEBDIR)/etc/icingaweb2/modules/$(MODULE) + cp debian/local/config.ini $(DEBDIR)/etc/icingaweb2/modules/$(MODULE) + + # symlink tcpdf to debian package + mkdir -p $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/vendor/tecnickcom + ln -s /usr/share/php/tcpdf $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/vendor/tecnickcom/tcpdf + + # enable module + mkdir -p $(DEBDIR)/etc/icingaweb2/enabledModules + ln -s /usr/share/icingaweb2/modules/$(MODULE) $(DEBDIR)/etc/icingaweb2/enabledModules/$(MODULE) 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/watch b/debian/watch new file mode 100644 index 0000000..d8dd5a2 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/icingaweb2-module-pdfexport-$1\.tar\.gz/, dversionmangle=s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//" \ + https://github.com/icinga/icingaweb2-module-pdfexport/tags .*/v?(\d\S+)\.tar\.gz |