From nobody Mon Sep 19 15:45:46 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MWTXp2zg9z4dCrY; Mon, 19 Sep 2022 15:45:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MWTXp2TcFz3WDj; Mon, 19 Sep 2022 15:45:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663602346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tvOK5G9Cy/1ejhFxH0aBBztlTOQnUxq4S85+AS2bzGQ=; b=HkARIB1wMQI5MRUzwpCd8dIDDby69Fv8PJr+hN5wPhL4CPC8a++ESKPx5JNlFkVEYaTujh XEMhv8JezsEiRNBHYI6rgBnofjr33Orqt5IEEYc3igbArUEXVQaR1JsII6KDDu9/9dTmls 5osMnBp3a/WaHE0UaIkNKx434ED/3pQvoy0t74BnwhDj6kwon/1PUv9aIcXh3bTBjaDOXQ pTpa6bXE3nVgGeIwSFgdc0KUATbZ+mv1MIi9lCcgwjbq9HhTFdBkXEkKlhc7fEzL6oBRpL L5VpD82xqjIvL9tMY/RuPg+DW1LwVhlTJ+AVV10TXqGIpGR6S7UUUN2uw5A2fA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MWTXp1VrLzQpm; Mon, 19 Sep 2022 15:45:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28JFjk5e049506; Mon, 19 Sep 2022 15:45:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28JFjkIl049505; Mon, 19 Sep 2022 15:45:46 GMT (envelope-from git) Date: Mon, 19 Sep 2022 15:45:46 GMT Message-Id: <202209191545.28JFjkIl049505@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: b2cdf04b29bb - main - net-mgmt/icingaweb2-module-jira: New port: Jira integration for Icinga2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b2cdf04b29bb36ccad67f807f557cea28767620e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663602346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tvOK5G9Cy/1ejhFxH0aBBztlTOQnUxq4S85+AS2bzGQ=; b=fibCmPfamNxKjGoGzNVAVQ7kKJwaJX3fM4gD+WLPp+t4k+Mmq5a5tWasi0IYrYjJYR7dsX Xsr7N5dEAv4JZnAGRELRocWdlwssY0qcdw6/Nc7l7e3As/+9PGNPYkdxg5Zuz0jwWGgBlx uZGb34XVB3omsCqe/HL/IZcv2O6RnT0okLbwuiH9pzWDZw4w1yY70BVEFypxhGgXwwp5sl ZELN2vb09hTGIwzt0UmoDwZzaJpqHTUPFaZCziEtYF23GzNNtz9klsJgAmF+3gB1TFLBNT Y3vMoaf/yEMtlEkLDW5hHmPFAkEQcluvJHyjjtvWpAdhHkKbyffnOqfEP7b2SQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663602346; a=rsa-sha256; cv=none; b=XtB6FYsQBhBLpw8MO1gXqV7eQY9+K/F+fMeb9ni2XkftokSRrIRsSMNGNW6/ILf+aH3v2I LM4gyzBTmkdN0lm5CaK1ozxpIi/Cy/Ix+Gx9iulOWslNHjb9IdbnNS4U6Rs5KSjMZePKy8 wlfC3u47zNClI15xc9Ud7lnmXjtFMjVjuWu0LVbL9wiFp5UG2fhDS1KEGAFHWcAx9N19yh BHdnBa59Y4JVZG1izxp1R5GYL3Ddvd6KSlm1eAsThK/wLgIj2H9222up7nauhmX3AfBTMQ W6wg7Y6H7i/xmvoX3hQiYrHNxBrvCeY+LG8XoIhC8doUomI6BGpy5RCfQHpg7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=b2cdf04b29bb36ccad67f807f557cea28767620e commit b2cdf04b29bb36ccad67f807f557cea28767620e Author: Dan Langille AuthorDate: 2022-09-19 15:03:45 +0000 Commit: Dan Langille CommitDate: 2022-09-19 15:45:42 +0000 net-mgmt/icingaweb2-module-jira: New port: Jira integration for Icinga2 PR: 266412 --- net-mgmt/Makefile | 1 + net-mgmt/icingaweb2-module-jira/Makefile | 31 +++++++++++++++++ net-mgmt/icingaweb2-module-jira/distinfo | 3 ++ net-mgmt/icingaweb2-module-jira/pkg-descr | 17 +++++++++ net-mgmt/icingaweb2-module-jira/pkg-plist | 58 +++++++++++++++++++++++++++++++ 5 files changed, 110 insertions(+) diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 490078a21ce6..09117b6856de 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -94,6 +94,7 @@ SUBDIR += icingaweb2-module-graphite SUBDIR += icingaweb2-module-idoreports SUBDIR += icingaweb2-module-ipl + SUBDIR += icingaweb2-module-jira SUBDIR += icingaweb2-module-map SUBDIR += icingaweb2-module-pdfexport SUBDIR += icingaweb2-module-reactbundle diff --git a/net-mgmt/icingaweb2-module-jira/Makefile b/net-mgmt/icingaweb2-module-jira/Makefile new file mode 100644 index 000000000000..e9b44822af55 --- /dev/null +++ b/net-mgmt/icingaweb2-module-jira/Makefile @@ -0,0 +1,31 @@ +PORTNAME= icingaweb2-module-jira +DISTVERSIONPREFIX= v +DISTVERSION= 1.2.2 +CATEGORIES= net-mgmt www +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} + +MAINTAINER= gettoknowmi@yahoo.com +COMMENT= Jira integration into Icinga Web 2 +WWW= https://github.com/Icinga/icingaweb2-module-jira + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.5.0:net-mgmt/icingaweb2@${PHP_FLAVOR} + +USES= php:web,flavors + +USE_GITHUB= yes +GH_ACCOUNT= icinga + +NO_BUILD= yes +NO_ARCH= yes + +WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} + +do-install: + @${MKDIR} ${STAGEDIR}${WWWDIR} + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) + +.include diff --git a/net-mgmt/icingaweb2-module-jira/distinfo b/net-mgmt/icingaweb2-module-jira/distinfo new file mode 100644 index 000000000000..75a7f037f7df --- /dev/null +++ b/net-mgmt/icingaweb2-module-jira/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1663158592 +SHA256 (icinga-icingaweb2-module-jira-v1.2.2_GH0.tar.gz) = 7503af61a5e81bcdb4aaa51fa3f37161ba2e49f9763738b098d62704c5b779a0 +SIZE (icinga-icingaweb2-module-jira-v1.2.2_GH0.tar.gz) = 670834 diff --git a/net-mgmt/icingaweb2-module-jira/pkg-descr b/net-mgmt/icingaweb2-module-jira/pkg-descr new file mode 100644 index 000000000000..dcd7c88a3aab --- /dev/null +++ b/net-mgmt/icingaweb2-module-jira/pkg-descr @@ -0,0 +1,17 @@ +This module integrates an existing Jira installation in your Icinga Web 2 +frontend. + +Hassle-free deep integration with Atlassian Jira. Depending on your needs, this +module is able to: + +* create JIRA Issues for Problems detected by Icinga +* create only one issue per problem +* acknowledge Icinga Problems once a JIRA issue has been created +* manually create Host- or Service-related JIRA issues +* shows a Host/Service-related JIRA Issue History + +And there is more. Use custom templates to trigger JIRA Workflows according +your very own needs. This way you can automatically fill JIRA custom fields +based on monitored system properties. This feature is mostly being used to +assign monitored objects to their related CIs or to trigger dedicated +customer-related workflows. diff --git a/net-mgmt/icingaweb2-module-jira/pkg-plist b/net-mgmt/icingaweb2-module-jira/pkg-plist new file mode 100644 index 000000000000..0d879e9462dc --- /dev/null +++ b/net-mgmt/icingaweb2-module-jira/pkg-plist @@ -0,0 +1,58 @@ +%%WWWDIR%%/.github/workflows/L10n-update.yml +%%WWWDIR%%/.github/workflows/php.yml +%%WWWDIR%%/LICENSE +%%WWWDIR%%/README.md +%%WWWDIR%%/application/clicommands/SendCommand.php +%%WWWDIR%%/application/controllers/ConfigurationController.php +%%WWWDIR%%/application/controllers/IndexController.php +%%WWWDIR%%/application/controllers/IssueController.php +%%WWWDIR%%/application/controllers/IssuesController.php +%%WWWDIR%%/configuration.php +%%WWWDIR%%/doc/01-Introduction.md +%%WWWDIR%%/doc/03-Configuration.md +%%WWWDIR%%/doc/10-Notifications.md +%%WWWDIR%%/doc/12-Director-Integration.md +%%WWWDIR%%/doc/20-Issue-History.md +%%WWWDIR%%/doc/screenshot/director_command_created.png +%%WWWDIR%%/doc/screenshot/director_command_missing.png +%%WWWDIR%%/doc/screenshot/director_preview.png +%%WWWDIR%%/doc/screenshot/issue_details.png +%%WWWDIR%%/doc/screenshot/issue_list.png +%%WWWDIR%%/doc/screenshot/issue_list_and_details-new.png +%%WWWDIR%%/doc/screenshot/issue_list_and_details.png +%%WWWDIR%%/doc/screenshot/issue_list_and_details_small.png +%%WWWDIR%%/doc/screenshot/monitoring_action_hook.png +%%WWWDIR%%/doc/screenshot/nure_menu.png +%%WWWDIR%%/library/Jira/Cli/Command.php +%%WWWDIR%%/library/Jira/DirectorConfig.php +%%WWWDIR%%/library/Jira/IcingaCommandPipe.php +%%WWWDIR%%/library/Jira/IcingadbBackend.php +%%WWWDIR%%/library/Jira/IdoBackend.php +%%WWWDIR%%/library/Jira/IssueTemplate.php +%%WWWDIR%%/library/Jira/IssueUpdate.php +%%WWWDIR%%/library/Jira/LegacyCommandPipe.php +%%WWWDIR%%/library/Jira/LinkHelper.php +%%WWWDIR%%/library/Jira/MonitoringInfo.php +%%WWWDIR%%/library/Jira/ProvidedHook/Icingadb/HostActions.php +%%WWWDIR%%/library/Jira/ProvidedHook/Icingadb/IcingadbSupport.php +%%WWWDIR%%/library/Jira/ProvidedHook/Icingadb/ServiceActions.php +%%WWWDIR%%/library/Jira/ProvidedHook/Monitoring/HostActions.php +%%WWWDIR%%/library/Jira/ProvidedHook/Monitoring/ServiceActions.php +%%WWWDIR%%/library/Jira/RestApi.php +%%WWWDIR%%/library/Jira/RestApiResponse.php +%%WWWDIR%%/library/Jira/Validator/PhpSessionBasedCsrfTokenValidator.php +%%WWWDIR%%/library/Jira/Validator/SimpleValidator.php +%%WWWDIR%%/library/Jira/Web/Controller.php +%%WWWDIR%%/library/Jira/Web/Form.php +%%WWWDIR%%/library/Jira/Web/Form/LegacyDecorator.php +%%WWWDIR%%/library/Jira/Web/Form/NewIssueForm.php +%%WWWDIR%%/library/Jira/Web/Form/TemplateForm.php +%%WWWDIR%%/library/Jira/Web/RenderingHelper.php +%%WWWDIR%%/library/Jira/Web/Table/IssueDetails.php +%%WWWDIR%%/library/Jira/Web/Table/IssuesTable.php +%%WWWDIR%%/module.info +%%WWWDIR%%/phpcs.xml +%%WWWDIR%%/public/css/module.less +%%WWWDIR%%/public/js/module.js +%%WWWDIR%%/run.php +%%WWWDIR%%/schema/mysql.sql