diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:23:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:23:16 +0000 |
commit | 36384679c9008d960d1ff7e17116603e6ed19a5a (patch) | |
tree | 12b43fcceeeafb5bf71b5614cea51cd52b1dd17a | |
parent | Adding upstream version 0.20.0. (diff) | |
download | icingaweb2-module-incubator-36384679c9008d960d1ff7e17116603e6ed19a5a.tar.xz icingaweb2-module-incubator-36384679c9008d960d1ff7e17116603e6ed19a5a.zip |
Adding debian version 0.20.0-2.debian/0.20.0-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/changelog | 62 | ||||
-rw-r--r-- | debian/control | 25 | ||||
-rw-r--r-- | debian/copyright | 85 | ||||
-rwxr-xr-x | debian/icingaweb2-module-incubator.config | 13 | ||||
-rw-r--r-- | debian/icingaweb2-module-incubator.docs | 1 | ||||
-rwxr-xr-x | debian/icingaweb2-module-incubator.postinst | 48 | ||||
-rwxr-xr-x | debian/icingaweb2-module-incubator.postrm | 23 | ||||
-rw-r--r-- | debian/icingaweb2-module-incubator.templates | 9 | ||||
-rw-r--r-- | debian/po/POTFILES.in | 1 | ||||
-rw-r--r-- | debian/po/es.po | 37 | ||||
-rw-r--r-- | debian/po/ge.po | 36 | ||||
-rw-r--r-- | debian/po/nl.po | 38 | ||||
-rw-r--r-- | debian/po/templates.pot | 36 | ||||
-rwxr-xr-x | debian/rules | 20 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 5 | ||||
-rw-r--r-- | debian/watch | 3 |
17 files changed, 443 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ec2bf4e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,62 @@ +icingaweb2-module-incubator (0.20.0-2) unstable; urgency=medium + + * Configure debconf. + * Adding upstream metadatas. + * Adding Rules-Requires-Root to control. + * Remove useless doc files. + * Standardization of the rules for icingaweb2 modules. + * Standardization of the control for icingaweb2 modules. + * Adding Spanish debconf translations from Camaleón. + * Adding Dutch debconf translations from Francs Spiesschaert. + * Adding German debconf translations from Christoph Brinkhaus. + * Adding php composer. + + -- David Kunz <david.kunz@dknet.ch> Sat, 26 Aug 2023 11:16:24 +0200 + +icingaweb2-module-incubator (0.20.0-1) unstable; urgency=medium + + * Merging upstream version 0.20.0. + * Change Standards-Version to 4.6.2. + * Update Copyright for debian/ to 2023. + + -- David Kunz <david.kunz@dknet.ch> Tue, 17 Jan 2023 10:56:36 +0100 + +icingaweb2-module-incubator (0.19.0-1) unstable; urgency=medium + + * Merging upstream version 0.19.0. + * Remove usless files. + * Replace ipl with php-library. + + -- David Kunz <david.kunz@dknet.ch> Wed, 04 Jan 2023 11:50:36 +0100 + +icingaweb2-module-incubator (0.17.0-1) unstable; urgency=medium + + * Meging upstream version 0.17.0. + * Updating Standards-Version to 4.6.1. + * Updating copyright for debian. + * Updating copyright for upstream. + * Updating BSD-3-Clause. + + -- David Kunz <david.kunz@dknet.ch> Tue, 26 Jul 2022 13:37:18 +0200 + +icingaweb2-module-incubator (0.6.0-2) unstable; urgency=medium + + * Updating copyright for David Kunz. + * Updating Standards-Version to 4.6.0. + * Updating vcs in control. + * Adding watch file. + + -- David Kunz <david.kunz@dknet.ch> Mon, 03 Jan 2022 07:37:30 +0100 + +icingaweb2-module-incubator (0.6.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Source-only upload. + + -- Adrian Bunk <bunk@debian.org> Mon, 08 Nov 2021 16:03:21 +0200 + +icingaweb2-module-incubator (0.6.0-1) unstable; urgency=medium + + * Initial release (Closes: #970538) + + -- David Kunz <david.kunz@dknet.ch> Wed, 06 Jan 2021 11:34:26 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..cfcd05f --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: icingaweb2-module-incubator +Section: admin +Priority: optional +Maintainer: David Kunz <david.kunz@dknet.ch> +Build-Depends: + pkg-php-tools, + debhelper-compat (= 13) +Standards-Version: 4.6.2 +Rules-Requires-Root: no +Homepage: https://github.com/Icinga/icingaweb2-module-incubator +Vcs-Browser: https://salsa.debian.org/david.kunz/icingaweb2-module-incubator +Vcs-Git: https://salsa.debian.org/david.kunz/icingaweb2-module-incubator.git + +Package: icingaweb2-module-incubator +Architecture: all +Depends: + icingaweb2, + icinga-php-library, + icingaweb2-module-reactbundle, + ${misc:Depends}, +Description: This Module offers to deploy config files through the Director + Icinga Web 2 is a very modular, fast and simple web interface for your Icinga + monitoring environment. + . + This module ships bleeding edge libraries useful for Icinga Web 2 modules. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5266cb2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,85 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: icingaweb2-module-incubator +Source: https://github.com/Icinga/icingaweb2-module-incubator + +Files: * +Copyright: 2018 Icinga GmbH https://www.icinga.com +License: MIT + +Files: vendor/gipfl/translation/* +Copyright: 2018 Thomas Gelf +License: MIT + +Files: vendor/gipfl/protocol-jsonrpc/* +Copyright: 2018 Thomas Gelf +License: MIT + +Files: vendor/gipfl/protocol/* +Copyright: 2018 Thomas Gelf +License: MIT + +Files: vendor/gipfl/systemd/* +Copyright: 2018 Thomas Gelf +License: MIT + +Files: vendor/gipfl/web/src/vendor/php-diff/lib/* +Copyright: 2009 Chris Boulton <chris.boulton@interspire.com> +License: BSD-3-Clause + +Files: vendor/gipfl/protocol-netstring/* +Copyright: 2018 Thomas Gelf +License: MIT + +Files: vendor/composer/* +Copyright: Nils Adermann + Jordi Boggiano +License: MIT + +Files: debian/* +Copyright: 2020-2023 David Kunz <david.kunz@dknet.ch> +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 copyright holder 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 COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT HOLDER OR CONTRIBUTORS 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/icingaweb2-module-incubator.config b/debian/icingaweb2-module-incubator.config new file mode 100755 index 0000000..0eb83fb --- /dev/null +++ b/debian/icingaweb2-module-incubator.config @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +MODULE=icingaweb2-module-incubator + +. /usr/share/debconf/confmodule + +db_settitle ${MODULE}/title +db_input low ${MODULE}/enable || true +db_go + +db_stop diff --git a/debian/icingaweb2-module-incubator.docs b/debian/icingaweb2-module-incubator.docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/icingaweb2-module-incubator.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/icingaweb2-module-incubator.postinst b/debian/icingaweb2-module-incubator.postinst new file mode 100755 index 0000000..767f345 --- /dev/null +++ b/debian/icingaweb2-module-incubator.postinst @@ -0,0 +1,48 @@ +#!/bin/sh + +set -e + +MODULE="incubator" + +case "${1}" in + configure) + . /usr/share/debconf/confmodule + + db_get icingaweb2-module-${MODULE}/enable + MODULE_ENABLE="${RET:-true}" + + db_stop + + if ! getent group icingaweb2 > /dev/null + then + groupadd --system icingaweb2 > /dev/null + fi + + if [ "${MODULE_ENABLE}" = "true" ] + then + if [ ! -e "/etc/icingaweb2/enabledModules" ] + then + mkdir -p "/etc/icingaweb2/enabledModules" + chown root:icingaweb2 "/etc/icingaweb2/enabledModules" > /dev/null 2>&1 || true + fi + + ln -sf "/usr/share/icingaweb2/modules/${MODULE}" "/etc/icingaweb2/enabledModules/${MODULE}" + chown root:icingaweb2 "/etc/icingaweb2/enabledModules/${MODULE}" > /dev/null 2>&1 || true + else + rm -f "/etc/icingaweb2/enabledModules/${MODULE}" + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument: \`${1}'." >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/icingaweb2-module-incubator.postrm b/debian/icingaweb2-module-incubator.postrm new file mode 100755 index 0000000..d7e8c60 --- /dev/null +++ b/debian/icingaweb2-module-incubator.postrm @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +MODULE="incubator" + +case ${1} in + remove) + rm -f "/etc/icingaweb2/enabledModules/${MODULE}" + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument: \`${1}'." >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/icingaweb2-module-incubator.templates b/debian/icingaweb2-module-incubator.templates new file mode 100644 index 0000000..30fc774 --- /dev/null +++ b/debian/icingaweb2-module-incubator.templates @@ -0,0 +1,9 @@ +Template: icingaweb2-module-incubator/title +Type: title +_Description: icingaweb2-module-incubator: Setup + +Template: icingaweb2-module-incubator/enable +Type: boolean +Default: true +_Description: Should this module be enabled? + This module is possible to be enabled or disabled. diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..8537c76 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] icingaweb2-module-incubator.templates diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 0000000..bd24702 --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,37 @@ +# Translation of icingaweb2-module-incubater debconf templates to Spanish. +# Copyright (C) 2023 Camaleón <noelamac@gmail.com> +# This file is distributed under the same license as the icingaweb2-module-incubater package. +# Camaleón <noelamac@gmail.com>, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-incubater\n" +"Report-Msgid-Bugs-To: icingaweb2-module-incubater@packages.debian.org\n" +"POT-Creation-Date: 2023-06-14 11:35+0200\n" +"PO-Revision-Date: 2023-06-19 19:14+0200\n" +"Last-Translator: Camaleón <noelamac@gmail.com>\n" +"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.4.2\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: title +#. Description +#: ../icingaweb2-module-incubater.templates:1001 +msgid "icingaweb2-module-incubater: Setup" +msgstr "icingaweb2-module-incubater: Configuración" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-incubater.templates:2001 +msgid "Should this module be enabled?" +msgstr "¿Desea activar este módulo?" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-incubater.templates:2001 +msgid "This module is possible to be enabled or disabled." +msgstr "Puede activar o desactivar este módulo." diff --git a/debian/po/ge.po b/debian/po/ge.po new file mode 100644 index 0000000..58e8441 --- /dev/null +++ b/debian/po/ge.po @@ -0,0 +1,36 @@ +# German translation of manpages +# This file is distributed under the same license as the icingaweb2-module-incubator package. +# Copyright © of this file: +# Christoph Brinkhaus <c.brinkhaus@t-online.de>, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-incubator\n" +"Report-Msgid-Bugs-To: icingaweb2-module-incubator@packages.debian.org\n" +"POT-Creation-Date: 2023-06-14 11:35+0200\n" +"PO-Revision-Date: 2023-06-17 10:30+0200\n" +"Last-Translator: Christoph Brinkhaus <c.brinkhaus@t-online.de>\n" +"Language-Team: German <debian-l10n-german@lists.debian.org>\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: title +#. Description +#: ../icingaweb2-module-incubator.templates:1001 +msgid "icingaweb2-module-incubator: Setup" +msgstr "icingaweb2-module-incubator: Einrichtung" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-incubator.templates:2001 +msgid "Should this module be enabled?" +msgstr "Soll dieses Modul aktiviert werden?" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-incubator.templates:2001 +msgid "This module is possible to be enabled or disabled." +msgstr "Dieses Modul kann aktiviert oder deaktiviert werden." diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..77419e7 --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,38 @@ +# Dutch translation of icingaweb2-module-incubator debconf templates. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the icingaweb2-module-incubator package. +# # Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2023. +# Frans Spiesschaert <Frans.Spiesschaert@yucom.be>, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-incubator_1.2.2-2\n" +"Report-Msgid-Bugs-To: icingaweb2-module-incubator@packages.debian.org\n" +"POT-Creation-Date: 2023-06-14 11:35+0200\n" +"PO-Revision-Date: 2023-07-05 22:55+0200\n" +"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n" +"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian.org>\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Gtranslator 3.30.1\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#. Type: title +#. Description +#: ../icingaweb2-module-incubator.templates:1001 +msgid "icingaweb2-module-incubator: Setup" +msgstr "icingaweb2-module-incubator: Instellen" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-incubator.templates:2001 +msgid "Should this module be enabled?" +msgstr "Moet deze module ingeschakeld worden?" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-incubator.templates:2001 +msgid "This module is possible to be enabled or disabled." +msgstr "Deze module kan in- of uitgeschakeld worden." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..980e061 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,36 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the icingaweb2-module-incubator package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-incubator\n" +"Report-Msgid-Bugs-To: icingaweb2-module-incubator@packages.debian.org\n" +"POT-Creation-Date: 2023-06-14 16:33+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../icingaweb2-module-incubator.templates:1001 +msgid "icingaweb2-module-incubator: Setup" +msgstr "" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-incubator.templates:2001 +msgid "Should this module be enabled?" +msgstr "" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-incubator.templates:2001 +msgid "This module is possible to be enabled or disabled." +msgstr "" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c1cc149 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +MODULE := incubator +DEBDIR := debian/icingaweb2-module-$(MODULE) + +%: + dh ${@} --with phpcomposer + +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) \; + +execute_after_dh_installdocs: + find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name AUTHORS -exec rm -f {} \; + find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name COPYING -exec rm -f {} \; + find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name LICENSE -exec rm -f {} \; + find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name README -exec rm -f {} \; + find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -name "*.md" -exec rm -f {} \; + find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) -type d -empty -delete + rm -rf $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/doc 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..5027894 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Archive: "https://github.com/Icinga/" +Bug-Database: "https://github.com/Icinga/icingaweb2-module-incubator/labels/bug" +Documentation: "https://github.com/Icinga/icingaweb2-module-incubator#readme" +Repository: "https://github.com/Icinga/icingaweb2-module-incubator" +Repository-Browse: "https://github.com/orgs/Icinga/repositories" diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..5d52b60 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/icingaweb2-module-incubator-$1\.tar\.gz/ \ + https://github.com/icinga/icingaweb2-module-incubator/tags .*/v?(\d\S+)\.tar\.gz |