summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog38
-rw-r--r--debian/control31
-rw-r--r--debian/copyright52
-rw-r--r--debian/icingaweb2-module-x509.docs2
-rwxr-xr-xdebian/rules26
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
7 files changed, 153 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6b46b26
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,38 @@
+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 <david.kunz@dknet.ch> 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 <david.kunz@dknet.ch> 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 <david.kunz@dknet.ch> Mon, 22 Jun 2020 08:08:03 +0200
+
+icingaweb2-module-x509 (20190125-1) unstable; urgency=medium
+
+ * Initial release (Closes: #921612).
+
+ -- David Kunz <david.kunz@dknet.ch> Mon, 12 Aug 2019 16:00:13 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..78ae7ab
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: icingaweb2-module-x509
+Section: admin
+Priority: optional
+Maintainer: David Kunz <david.kunz@dknet.ch>
+Build-Depends:
+ debhelper-compat (= 13),
+ pkg-php-tools,
+Rules-Requires-Root: no
+Standards-Version: 4.6.2
+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,
+ php-dragonmantank-cron-expression,
+ ${misc:Depends},
+Enhances:
+ icingaweb2,
+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..809c531
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,52 @@
+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-2020 Icinga Development Team <icinga-devel@lists.icinga.org>
+License: GPL-2
+
+Files: vendor/composer/*
+Copyright: Nils Adermann
+ Jordi Boggiano
+License: MIT
+
+Files: debian/*
+Copyright: 2019-2021 David Kunz <david.kunz@dknet.ch>
+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 <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: 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-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/rules b/debian/rules
new file mode 100755
index 0000000..37d7860
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/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*" -exec cp -a {} $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE) \;
+
+ # remove useless files
+ rm -rf $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/vendor/dragonmantank
+ find $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/vendor -name *.md -exec rm -f {} \;
+
+execute_after_dh_installdocs:
+ rm -f $(DEBDIR)/usr/share/doc/icingaweb2-module-$(MODULE)/02-Installation.md
+ rm -rf $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/doc
+ rm -f $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/README.md
+ rm -f $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/LICENSE
+ rm -f $(DEBDIR)/usr/share/icingaweb2/modules/$(MODULE)/vendor/composer/LICENSE
+
+ # 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..9a57649
--- /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/ \
+ https://github.com/icinga/icingaweb2-module-x509/tags .*/v?(\d\S+)\.tar\.gz