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>
This commit is contained in:
Dan Langille 2021-07-14 16:36:54 +00:00
parent e43f383e1f
commit bb1a9d70e5
5 changed files with 165 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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