From 9222f840e2ffc6253d8290160f29ec9d176ad37d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:31:28 +0200 Subject: Adding debian version 1:1.3.2-1. Signed-off-by: Daniel Baumann --- debian/changelog | 83 +++++++++++++++++++++++++++++++++ debian/control | 31 ++++++++++++ debian/copyright | 28 +++++++++++ debian/icingaweb2-module-x509.config | 13 ++++++ debian/icingaweb2-module-x509.docs | 2 + debian/icingaweb2-module-x509.postinst | 48 +++++++++++++++++++ debian/icingaweb2-module-x509.postrm | 23 +++++++++ debian/icingaweb2-module-x509.templates | 9 ++++ debian/po/POTFILES.in | 1 + debian/po/es.po | 37 +++++++++++++++ debian/po/fr.po | 37 +++++++++++++++ debian/po/ge.po | 36 ++++++++++++++ debian/po/nl.po | 38 +++++++++++++++ debian/po/sv.po | 35 ++++++++++++++ debian/po/templates.pot | 36 ++++++++++++++ debian/rules | 20 ++++++++ debian/source/format | 1 + debian/upstream/metadata | 5 ++ debian/watch | 3 ++ 19 files changed, 486 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/icingaweb2-module-x509.config create mode 100644 debian/icingaweb2-module-x509.docs create mode 100755 debian/icingaweb2-module-x509.postinst create mode 100755 debian/icingaweb2-module-x509.postrm create mode 100644 debian/icingaweb2-module-x509.templates create mode 100644 debian/po/POTFILES.in create mode 100644 debian/po/es.po create mode 100644 debian/po/fr.po create mode 100644 debian/po/ge.po create mode 100644 debian/po/nl.po create mode 100644 debian/po/sv.po create mode 100644 debian/po/templates.pot create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..bda46e2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,83 @@ +icingaweb2-module-x509 (1:1.3.2-1) unstable; urgency=medium + + * Adding Swedish debconf translations from Martin Bagge (Closes: #1059131). + * Adding French debconf translations from Jean-Pierre Giraud + (Closes: #1060646). + * Correcting debconf question (Closes: #1052272). + * Unfuzzy d/*.po files because the change is small. + * Merging upstream version 1.3.2 (Closes: #1057906). + * Updating copyright for 2024. + * Remove File-Excluded in d/copyright public/font was removed from source. + * Correcting typo in changelog for 1:1.2.1+dfsg-1. + + -- David Kunz Mon, 18 Mar 2024 11:30:01 +0100 + +icingaweb2-module-x509 (1:1.2.1+dfsg-3) unstable; urgency=medium + + * Standardization of the rules for icingaweb2 modules. + * Standardization of the control for icingaweb2 modules. + * Configure debconf. + * Adding Spanish debconf translations from Camaleón. + * Adding Dutch debconf translations from Francs Spiesschaert. + * Adding German debconf translations from Christoph Brinkhaus. + * Updating watch file for dfsg. + + -- David Kunz Mon, 28 Aug 2023 09:58:52 +0200 + +icingaweb2-module-x509 (1:1.2.1+dfsg-2) unstable; urgency=medium + + * Remove empty line in metadata. + * Move from experimental to unstable. + + -- David Kunz Wed, 28 Jun 2023 14:48:31 +0200 + +icingaweb2-module-x509 (1:1.2.1+dfsg-1) experimental; urgency=medium + + * Merging upstream version 1.2.1+dfsg. + * Update copyright for dfsg. + * Updating Enhances in control. + * Updating copyrights. + * Updating rules. + * Updating Depends. + * Adding metadata file. + + -- David Kunz Thu, 11 May 2023 14:50:31 +0200 + +icingaweb2-module-x509 (1:1.1.2-1) unstable; urgency=medium + + * Adding watch file. + * Merging upstream version 1.1.2. + * Updating depends. + * Updating copyright for Icinga GmbH. + * Remove unused section in control. + * Updating Standards-Version to 4.6.2. + * Adding Rules-Requires-Root in control. + * Updating dh_installdocs. + * Adding php-dragonmantank-cron-expression to depends. + * Adding pkg-php-tools. + + -- David Kunz Fri, 24 Feb 2023 14:12:44 +0100 + +icingaweb2-module-x509 (20190125-3) unstable; urgency=medium + + * Updating copyright for David Kunz. + * Updating Standards-Version to 4.6.0. + * Updating vcs. + + -- David Kunz Fri, 24 Dec 2021 08:14:31 +0100 + +icingaweb2-module-x509 (20190125-2) unstable; urgency=medium + + * Updating debhelper. + * Updating standard version. + * Fixing typo in path (Closes: #952988). + * Package icingaweb2-module-reactbundle created (Closes: #953093). + * Fixing typo in previous changelog entry. + + -- David Kunz Mon, 22 Jun 2020 08:08:03 +0200 + +icingaweb2-module-x509 (20190125-1) unstable; urgency=medium + + * Initial release (Closes: #921612). + + -- David Kunz Mon, 12 Aug 2019 16:00:13 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f669513 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: icingaweb2-module-x509 +Section: admin +Priority: optional +Maintainer: David Kunz +Build-Depends: + debhelper-compat (= 13), + pkg-php-tools, +Standards-Version: 4.6.2 +Rules-Requires-Root: no +Homepage: https://github.com/Icinga/icingaweb2-module-x509 +Vcs-Browser: https://salsa.debian.org/david.kunz/icingaweb2-module-x509 +Vcs-Git: https://salsa.debian.org/david.kunz/icingaweb2-module-x509.git + +Package: icingaweb2-module-x509 +Architecture: all +Depends: + icingaweb2, + icinga-php-library, + icinga-php-thirdparty, + ${misc:Depends}, +Enhances: + icingaweb2, + icingadb, +Description: simple and responsive web interface for Icinga - x509 module + Icinga Web 2 is a very modular, fast and simple web interface for your Icinga + monitoring environment. + . + The X.509 module for Icinga keeps track of certificates as they are deployed + in a network environment. It does this by scanning networks for TLS services + and collects whatever certificates it finds along the way. The certificates + are verified using its own trust store. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..701d647 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: icingaweb2-module-x509 +Source: https://github.com/Icinga/icingaweb2-module-x509 + +Files: * +Copyright: 2018-2023 Icinga Development Team +License: GPL-2 + +Files: debian/* +Copyright: 2019-2024 David Kunz +License: GPL-2 + +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 . + . + The complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + diff --git a/debian/icingaweb2-module-x509.config b/debian/icingaweb2-module-x509.config new file mode 100755 index 0000000..47e17ff --- /dev/null +++ b/debian/icingaweb2-module-x509.config @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +MODULE=icingaweb2-module-x509 + +. /usr/share/debconf/confmodule + +db_settitle ${MODULE}/title +db_input low ${MODULE}/enable || true +db_go + +db_stop diff --git a/debian/icingaweb2-module-x509.docs b/debian/icingaweb2-module-x509.docs new file mode 100644 index 0000000..968f11e --- /dev/null +++ b/debian/icingaweb2-module-x509.docs @@ -0,0 +1,2 @@ +README.md +doc/* diff --git a/debian/icingaweb2-module-x509.postinst b/debian/icingaweb2-module-x509.postinst new file mode 100755 index 0000000..f4e1ba2 --- /dev/null +++ b/debian/icingaweb2-module-x509.postinst @@ -0,0 +1,48 @@ +#!/bin/sh + +set -e + +MODULE="x509" + +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-x509.postrm b/debian/icingaweb2-module-x509.postrm new file mode 100755 index 0000000..ddfa0bb --- /dev/null +++ b/debian/icingaweb2-module-x509.postrm @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +MODULE="x509" + +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-x509.templates b/debian/icingaweb2-module-x509.templates new file mode 100644 index 0000000..c05294b --- /dev/null +++ b/debian/icingaweb2-module-x509.templates @@ -0,0 +1,9 @@ +Template: icingaweb2-module-x509/title +Type: title +_Description: icingaweb2-module-x509: Setup + +Template: icingaweb2-module-x509/enable +Type: boolean +Default: true +_Description: Should this module be enabled? + This module can be enabled or disabled. diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..9bc2d42 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] icingaweb2-module-x509.templates diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 0000000..b64165c --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,37 @@ +# Translation of icingaweb2-module-x509 debconf templates to Spanish. +# Copyright (C) 2023 Camaleón +# This file is distributed under the same license as the icingaweb2-module-x509 package. +# Camaleón , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-x509\n" +"Report-Msgid-Bugs-To: icingaweb2-module-x509@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 \n" +"Language-Team: Debian Spanish \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-x509.templates:1001 +msgid "icingaweb2-module-x509: Setup" +msgstr "icingaweb2-module-x509: Configuración" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "Should this module be enabled?" +msgstr "¿Desea activar este módulo?" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "This module can be enabled or disabled." +msgstr "Puede activar o desactivar este módulo." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..f9b7014 --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,37 @@ +# Translation of icingaweb2-module-x509 debconf template to French +# Copyright (C) 2023, French l10n team +# This file is distributed under the same license as the icingaweb2-module-x509 package. +# +# Jean-Pierre Giraud , 2024. +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-x509\n" +"Report-Msgid-Bugs-To: icingaweb2-module-x509@packages.debian.org\n" +"POT-Creation-Date: 2023-06-14 11:35+0200\n" +"PO-Revision-Date: 2024-01-12 00:58+0100\n" +"Last-Translator: Jean-Pierre Giraud \n" +"Language-Team: French \n" +"Language: fr_FR\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" +"X-Generator: Lokalize 22.12.3\n" + +#. Type: title +#. Description +#: ../icingaweb2-module-x509.templates:1001 +msgid "icingaweb2-module-x509: Setup" +msgstr "icingaweb2-module-x509 : configuration" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "Should this module be enabled?" +msgstr "Faut-il activer ce module ?" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "This module can be enabled or disabled." +msgstr "Ce module peut être activé ou désactivé." diff --git a/debian/po/ge.po b/debian/po/ge.po new file mode 100644 index 0000000..e6ee909 --- /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-x509 package. +# Copyright © of this file: +# Christoph Brinkhaus , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-x509\n" +"Report-Msgid-Bugs-To: icingaweb2-module-x509@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 \n" +"Language-Team: German \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-x509.templates:1001 +msgid "icingaweb2-module-x509: Setup" +msgstr "icingaweb2-module-x509: Einrichtung" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "Should this module be enabled?" +msgstr "Soll dieses Modul aktiviert werden?" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "This module can 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..ff5f2e8 --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,38 @@ +# Dutch translation of icingaweb2-module-x509 debconf templates. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the icingaweb2-module-x509 package. +# # Frans Spiesschaert , 2023. +# Frans Spiesschaert , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-x509_1.2.2-2\n" +"Report-Msgid-Bugs-To: icingaweb2-module-x509@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 \n" +"Language-Team: Debian Dutch l10n Team \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-x509.templates:1001 +msgid "icingaweb2-module-x509: Setup" +msgstr "icingaweb2-module-x509: Instellen" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "Should this module be enabled?" +msgstr "Moet deze module ingeschakeld worden?" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "This module can be enabled or disabled." +msgstr "Deze module kan in- of uitgeschakeld worden." diff --git a/debian/po/sv.po b/debian/po/sv.po new file mode 100644 index 0000000..30bada3 --- /dev/null +++ b/debian/po/sv.po @@ -0,0 +1,35 @@ +# Translation of icingaweb2-module-x509 debconf template to Swedish +# Copyright (C) 2023 Martin Bagge +# This file is distributed under the same license as the icingaweb2-module-x509 package. +# +# Martin Bagge , 2023 +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-x509\n" +"Report-Msgid-Bugs-To: icingaweb2-module-x509@packages.debian.org\n" +"POT-Creation-Date: 2023-06-14 11:35+0200\n" +"PO-Revision-Date: 2023-12-20 11:38+0100\n" +"Last-Translator: Martin Bagge \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../icingaweb2-module-x509.templates:1001 +msgid "icingaweb2-module-x509: Setup" +msgstr "icingaweb2-module-x509: Inställningar" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "Should this module be enabled?" +msgstr "Ska denna modul aktiveras?" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "This module can be enabled or disabled." +msgstr "Denna modul kan aktiveras eller avaktiveras." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..10158da --- /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-x509 package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: icingaweb2-module-x509\n" +"Report-Msgid-Bugs-To: icingaweb2-module-x509@packages.debian.org\n" +"POT-Creation-Date: 2024-02-23 08:17+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \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-x509.templates:1001 +msgid "icingaweb2-module-x509: Setup" +msgstr "" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "Should this module be enabled?" +msgstr "" + +#. Type: boolean +#. Description +#: ../icingaweb2-module-x509.templates:2001 +msgid "This module can be enabled or disabled." +msgstr "" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..33cd111 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +MODULE := x509 +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..35ab281 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Archive: "https://github.com/Icinga/" +Bug-Database: "https://github.com/Icinga/icingaweb2-module-x509/labels/bug" +Documentation: "https://github.com/Icinga/icingaweb2-module-x509/tree/main/doc" +Repository: "https://github.com/Icinga/icingaweb2-module-x509" +Repository-Browse: "https://github.com/orgs/Icinga/repositories" diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..09badab --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/icingaweb2-module-x509-$1\.tar\.gz/, dversionmangle=s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//" \ + https://github.com/icinga/icingaweb2-module-x509/tags .*/v?(\d\S+)\.tar\.gz -- cgit v1.2.3