Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2021 16:39:50 GMT
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bb1a9d70e5cb - main - net-mgmt/icingaweb2-module-x509: New port: Automates certificate monitoring
Message-ID:  <202107141639.16EGdo43039992@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb1a9d70e5cb520feb2e4b969efa82044e150d4b

commit bb1a9d70e5cb520feb2e4b969efa82044e150d4b
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-07-14 16:36:54 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2021-07-14 16:39:47 +0000

    net-mgmt/icingaweb2-module-x509: New port: Automates certificate monitoring
    
    The certificate monitoring 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.
    PR:             257163
    Reported by:    gettoknowmi <gettoknowmi@yahoo.com>
---
 net-mgmt/Makefile                         |   1 +
 net-mgmt/icingaweb2-module-x509/Makefile  |  36 +++++++++
 net-mgmt/icingaweb2-module-x509/distinfo  |   3 +
 net-mgmt/icingaweb2-module-x509/pkg-descr |   7 ++
 net-mgmt/icingaweb2-module-x509/pkg-plist | 118 ++++++++++++++++++++++++++++++
 5 files changed, 165 insertions(+)

diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index b0465722bbcf..2e182b0f9913 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -97,6 +97,7 @@
     SUBDIR += icingaweb2-module-reactbundle
     SUBDIR += icingaweb2-module-reporting
     SUBDIR += icingaweb2-module-vsphere
+    SUBDIR += icingaweb2-module-x509
     SUBDIR += icmpmonitor
     SUBDIR += icmpquery
     SUBDIR += iftop
diff --git a/net-mgmt/icingaweb2-module-x509/Makefile b/net-mgmt/icingaweb2-module-x509/Makefile
new file mode 100644
index 000000000000..e428bca1c72a
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-x509/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	icingaweb2-module-x509
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.0-8
+DISTVERSIONSUFFIX=	-g39fd7e1
+CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
+
+MAINTAINER=	gettoknowmi@yahoo.com
+COMMENT=	Automates certificate monitoring with Icinga
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS+=	icingaweb2${PHP_PKGNAMESUFFIX}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \
+		php74-gmp>0:math/php74-gmp \
+		openssl>0:security/openssl \
+		icingaweb2-module-reactbundle${PHP_PKGNAMESUFFIX}>0:net-mgmt/icingaweb2-module-reactbundle@${PHP_FLAVOR} \
+		icingaweb2-module-ipl${PHP_PKGNAMESUFFIX}>0:net-mgmt/icingaweb2-module-ipl@${PHP_FLAVOR}
+
+USES=		php:web,flavors mysql:server
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Icinga
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+WWWDIR?=	${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
+
+do-install:
+	@${RM} -r ${WRKSRC}/.github
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	(cd ${WRKSRC} && \
+		${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/icingaweb2-module-x509/distinfo b/net-mgmt/icingaweb2-module-x509/distinfo
new file mode 100644
index 000000000000..c0b69acc3350
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-x509/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626278386
+SHA256 (Icinga-icingaweb2-module-x509-v1.0.0-8-g39fd7e1_GH0.tar.gz) = 43f339e95c9aaa955cc3b89acc462dd73123bcbfec8fc6275dcacc18bd066fff
+SIZE (Icinga-icingaweb2-module-x509-v1.0.0-8-g39fd7e1_GH0.tar.gz) = 657448
diff --git a/net-mgmt/icingaweb2-module-x509/pkg-descr b/net-mgmt/icingaweb2-module-x509/pkg-descr
new file mode 100644
index 000000000000..c43c48ca2c6f
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-x509/pkg-descr
@@ -0,0 +1,7 @@
+The certificate monitoring 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.
+
+WWW: https://github.com/Icinga/icingaweb2-module-x509
diff --git a/net-mgmt/icingaweb2-module-x509/pkg-plist b/net-mgmt/icingaweb2-module-x509/pkg-plist
new file mode 100644
index 000000000000..44301c610f20
--- /dev/null
+++ b/net-mgmt/icingaweb2-module-x509/pkg-plist
@@ -0,0 +1,118 @@
+%%WWWDIR%%/.phpcs.xml
+%%WWWDIR%%/LICENSE
+%%WWWDIR%%/README.md
+%%WWWDIR%%/application/clicommands/CheckCommand.php
+%%WWWDIR%%/application/clicommands/ImportCommand.php
+%%WWWDIR%%/application/clicommands/JobsCommand.php
+%%WWWDIR%%/application/clicommands/ScanCommand.php
+%%WWWDIR%%/application/clicommands/VerifyCommand.php
+%%WWWDIR%%/application/controllers/CertificateController.php
+%%WWWDIR%%/application/controllers/CertificatesController.php
+%%WWWDIR%%/application/controllers/ChainController.php
+%%WWWDIR%%/application/controllers/ConfigController.php
+%%WWWDIR%%/application/controllers/DashboardController.php
+%%WWWDIR%%/application/controllers/IconsController.php
+%%WWWDIR%%/application/controllers/JobsController.php
+%%WWWDIR%%/application/controllers/SniController.php
+%%WWWDIR%%/application/controllers/UsageController.php
+%%WWWDIR%%/application/forms/Config/BackendConfigForm.php
+%%WWWDIR%%/application/forms/Config/JobConfigForm.php
+%%WWWDIR%%/application/forms/Config/SniConfigForm.php
+%%WWWDIR%%/application/locale/de_DE/LC_MESSAGES/x509.mo
+%%WWWDIR%%/application/locale/de_DE/LC_MESSAGES/x509.po
+%%WWWDIR%%/application/views/scripts/certificate/index.phtml
+%%WWWDIR%%/application/views/scripts/certificates/index.phtml
+%%WWWDIR%%/application/views/scripts/chain/index.phtml
+%%WWWDIR%%/application/views/scripts/config/backend.phtml
+%%WWWDIR%%/application/views/scripts/dashboard/index.phtml
+%%WWWDIR%%/application/views/scripts/jobs/index.phtml
+%%WWWDIR%%/application/views/scripts/missing-resource.phtml
+%%WWWDIR%%/application/views/scripts/simple-form.phtml
+%%WWWDIR%%/application/views/scripts/sni/index.phtml
+%%WWWDIR%%/application/views/scripts/usage/index.phtml
+%%WWWDIR%%/composer.json
+%%WWWDIR%%/composer.lock
+%%WWWDIR%%/config/systemd/icinga-x509.service
+%%WWWDIR%%/configuration.php
+%%WWWDIR%%/doc/01-About.md
+%%WWWDIR%%/doc/02-Installation.md
+%%WWWDIR%%/doc/03-Configuration.md
+%%WWWDIR%%/doc/10-Monitoring.md
+%%WWWDIR%%/doc/80-Upgrading.md
+%%WWWDIR%%/doc/res/check-host-perf-data.png
+%%WWWDIR%%/doc/res/host-check-multiple-services.png
+%%WWWDIR%%/doc/res/host-check-single-service.png
+%%WWWDIR%%/doc/res/host-template-fields.png
+%%WWWDIR%%/doc/res/hosts-import-result.png
+%%WWWDIR%%/doc/res/hosts-import-source.png
+%%WWWDIR%%/doc/res/multiple-services-result.png
+%%WWWDIR%%/doc/res/new-host-template.png
+%%WWWDIR%%/doc/res/new-service-template.png
+%%WWWDIR%%/doc/res/ports-property-modifier.png
+%%WWWDIR%%/doc/res/service-template-fields.png
+%%WWWDIR%%/doc/res/single-service-result.png
+%%WWWDIR%%/doc/res/sync-rule-properties.png
+%%WWWDIR%%/doc/res/x509-certificates.png
+%%WWWDIR%%/doc/res/x509-dashboard.png
+%%WWWDIR%%/doc/res/x509-usage.png
+%%WWWDIR%%/etc/schema/mysql-upgrade/v1.0.0.sql
+%%WWWDIR%%/etc/schema/mysql.schema.sql
+%%WWWDIR%%/library/X509/CertificateDetails.php
+%%WWWDIR%%/library/X509/CertificateUtils.php
+%%WWWDIR%%/library/X509/CertificatesTable.php
+%%WWWDIR%%/library/X509/ChainDetails.php
+%%WWWDIR%%/library/X509/ColorScheme.php
+%%WWWDIR%%/library/X509/Command.php
+%%WWWDIR%%/library/X509/Controller.php
+%%WWWDIR%%/library/X509/DataTable.php
+%%WWWDIR%%/library/X509/Donut.php
+%%WWWDIR%%/library/X509/ExpirationWidget.php
+%%WWWDIR%%/library/X509/FilterAdapter.php
+%%WWWDIR%%/library/X509/Hook/SniHook.php
+%%WWWDIR%%/library/X509/Job.php
+%%WWWDIR%%/library/X509/JobsIniRepository.php
+%%WWWDIR%%/library/X509/Paginator.php
+%%WWWDIR%%/library/X509/ProvidedHook/HostsImportSource.php
+%%WWWDIR%%/library/X509/ProvidedHook/ServicesImportSource.php
+%%WWWDIR%%/library/X509/ProvidedHook/x509ImportSource.php
+%%WWWDIR%%/library/X509/Scheduler.php
+%%WWWDIR%%/library/X509/SniIniRepository.php
+%%WWWDIR%%/library/X509/SortAdapter.php
+%%WWWDIR%%/library/X509/SqlFilter.php
+%%WWWDIR%%/library/X509/Table.php
+%%WWWDIR%%/library/X509/UsageTable.php
+%%WWWDIR%%/module.info
+%%WWWDIR%%/public/css/icons.css
+%%WWWDIR%%/public/css/module.less
+%%WWWDIR%%/public/font/icons.eot
+%%WWWDIR%%/public/font/icons.svg
+%%WWWDIR%%/public/font/icons.ttf
+%%WWWDIR%%/public/font/icons.woff
+%%WWWDIR%%/run.php
+%%WWWDIR%%/vendor/autoload.php
+%%WWWDIR%%/vendor/composer/ClassLoader.php
+%%WWWDIR%%/vendor/composer/LICENSE
+%%WWWDIR%%/vendor/composer/autoload_classmap.php
+%%WWWDIR%%/vendor/composer/autoload_namespaces.php
+%%WWWDIR%%/vendor/composer/autoload_psr4.php
+%%WWWDIR%%/vendor/composer/autoload_real.php
+%%WWWDIR%%/vendor/composer/autoload_static.php
+%%WWWDIR%%/vendor/composer/installed.json
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/CHANGELOG.md
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/LICENSE
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/README.md
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/composer.json
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/AbstractField.php
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/DayOfMonthField.php
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/DayOfWeekField.php
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/FieldFactory.php
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/FieldInterface.php
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/HoursField.php
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/MinutesField.php
+%%WWWDIR%%/vendor/dragonmantank/cron-expression/src/Cron/MonthField.php
+%%WWWDIR%%/vendor/ipl/pagination/README.md
+%%WWWDIR%%/vendor/ipl/pagination/composer.json
+%%WWWDIR%%/vendor/ipl/pagination/src/Adapter/AdapterInterface.php
+%%WWWDIR%%/vendor/ipl/pagination/src/Adapter/SqlAdapter.php
+%%WWWDIR%%/vendor/ipl/pagination/src/Paginator.php



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107141639.16EGdo43039992>