From nobody Wed Dec 14 13:30:09 2022 X-Original-To: dev-commits-ports-main@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 4NXGSd74bXz4kd1V; Wed, 14 Dec 2022 13:30:09 +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 4NXGSd6Zcrz4Sr7; Wed, 14 Dec 2022 13:30:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671024609; 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=3gJWWPJTJ4UU0BFOuk/czPBZH4sa03d8CSHb6qgEAGQ=; b=beimmC1IuYjP0RdnzMcHL14ZndxcwoPla5dafoJlIVJiyII7ArOlL41Wv3U3piu48tc7MB Bag/E4Er8HY1+pLjM0KdaUZiQxhqnn8FOU7HST9Hq0u2RRRvaqfgfeqUe5bTy8wc3nRyUd TbhIwwmJZcFo35BDUfg+n6NPUNnKoAde+ZrGvgfBUqnoNdjhveLbK7c5N4KS5acdygZBm6 FLtU0qEpncCJzTeFsOB7/d+RufZpAAT0es/VYYXAhTvKzRy6OmFu/5EIBIO6ph9FHIXNxp cd9sP/quCbj+ykHRw14Pjb+JdMjX3HQ5klayw8dEZTuz0qcuYMKsbnDT+Q4xMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671024609; 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=3gJWWPJTJ4UU0BFOuk/czPBZH4sa03d8CSHb6qgEAGQ=; b=iuaBatN86pYyPUnY2fIhHzoZzMnzCOC+ss/1IQiDYcs+hb6enoZo57dHza/wbPlHOjodtQ mRGIt/zQlsfep8VkDbyQkJz80u1jbveov0MkaZ52yVLdL9SECIVCpC+t15CAa/BmB9RGlC HImktTC1f0HiGd/JobZHkuGMyMHUl6lXrDWVWnlG0MvQ195f9/0NTfFXOoA/1W+UpKidpI dyqKNnZwwSC0f6ScxkQKPCL7cVucpCxgjnQNH9J/MSeicXGO+DGpXJ7N0ZvynLYbkH5xJ3 /YWLntSW8kWtjsSugIy2suoCYA9aoRakPnwYcc3OTNy6xwFugwTxL9ZWJb5M/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671024609; a=rsa-sha256; cv=none; b=XYY80UHVyt7C3VoXLfOuZgXLR8dKjIksryY40KmDKthkKr8oix8tQEs0NC7sjB2A2p2d4j fQ6aoMxAyhV7dE2jmdfZLaIBRJ5eCXk4tG+KBxHlHh/AQcPoU4stPH6IJLytwag8fsuqIL ypbtx76zWK1y2nqVkLgo/YiliOFLCojqRyM4HJVl4Fh/xcW+HG7zKX8+eNfRlXFeyvkBJL HSeitKecrDmMPAGyPuPiZRR9nUfBKEEzun3AwWLq5cf41lLGUuK8MX/UaALLoxJIX/t12z n5p8NFGCceFty/gQSMl+vRyUCNm1jgbKuciiUia58pvi1CGEwjd24SnV3zkn6Q== 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 4NXGSd5cz2zvQP; Wed, 14 Dec 2022 13:30:09 +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 2BEDU9nb095257; Wed, 14 Dec 2022 13:30:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BEDU9LF095251; Wed, 14 Dec 2022 13:30:09 GMT (envelope-from git) Date: Wed, 14 Dec 2022 13:30:09 GMT Message-Id: <202212141330.2BEDU9LF095251@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jochen Neumeister Subject: git: b152692c897f - main - net-mgmt/icinga-ipl-i18n: add new Port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: joneum X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b152692c897ff8ef9b54fa0e4b16ea749b74be44 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by joneum: URL: https://cgit.FreeBSD.org/ports/commit/?id=b152692c897ff8ef9b54fa0e4b16ea749b74be44 commit b152692c897ff8ef9b54fa0e4b16ea749b74be44 Author: Jochen Neumeister AuthorDate: 2022-12-14 13:28:28 +0000 Commit: Jochen Neumeister CommitDate: 2022-12-14 13:30:04 +0000 net-mgmt/icinga-ipl-i18n: add new Port ipl-i18n provides a translation suite using PHP's native gettext extension for Icinga. Sponsored by: Netzkommune GmbH --- net-mgmt/Makefile | 1 + net-mgmt/icinga-ipl-i18n/Makefile | 30 ++++++++++++++++++++++++++++++ net-mgmt/icinga-ipl-i18n/distinfo | 3 +++ net-mgmt/icinga-ipl-i18n/pkg-descr | 1 + net-mgmt/icinga-ipl-i18n/pkg-plist | 25 +++++++++++++++++++++++++ 5 files changed, 60 insertions(+) diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index d3549d5b4e2f..47c8e25ad5db 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -82,6 +82,7 @@ SUBDIR += gsnmp SUBDIR += guifi-snpservices SUBDIR += hastmon + SUBDIR += icinga-ipl-i18n SUBDIR += icinga-php-library SUBDIR += icinga-php-thirdparty SUBDIR += icinga2 diff --git a/net-mgmt/icinga-ipl-i18n/Makefile b/net-mgmt/icinga-ipl-i18n/Makefile new file mode 100644 index 000000000000..10e99a383eab --- /dev/null +++ b/net-mgmt/icinga-ipl-i18n/Makefile @@ -0,0 +1,30 @@ +PORTNAME= icinga-ipl-i18n +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.0 +CATEGORIES= net-mgmt www +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} + +MAINTAINER= joneum@FreeBSD.org +COMMENT= Icinga PHP library +WWW= https://github.com/Icinga/ipl-i18n + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= php:web,flavors + +USE_GITHUB= yes +GH_ACCOUNT= icinga +GH_PROJECT= ipl-i18n + +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/icinga-ipl-i18n/distinfo b/net-mgmt/icinga-ipl-i18n/distinfo new file mode 100644 index 000000000000..092b258daa47 --- /dev/null +++ b/net-mgmt/icinga-ipl-i18n/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1671020944 +SHA256 (icinga-ipl-i18n-v0.2.0_GH0.tar.gz) = 810570c7a044ca1868cbd920169b1ed93f2705b1ff2d8444c51f0210622a3977 +SIZE (icinga-ipl-i18n-v0.2.0_GH0.tar.gz) = 9163 diff --git a/net-mgmt/icinga-ipl-i18n/pkg-descr b/net-mgmt/icinga-ipl-i18n/pkg-descr new file mode 100644 index 000000000000..4e3beac04932 --- /dev/null +++ b/net-mgmt/icinga-ipl-i18n/pkg-descr @@ -0,0 +1 @@ +ipl-i18n provides a translation suite using PHP's native gettext extension for Icinga. diff --git a/net-mgmt/icinga-ipl-i18n/pkg-plist b/net-mgmt/icinga-ipl-i18n/pkg-plist new file mode 100644 index 000000000000..488a0cc301f9 --- /dev/null +++ b/net-mgmt/icinga-ipl-i18n/pkg-plist @@ -0,0 +1,25 @@ +%%WWWDIR%%/.github/workflows/php.yml +%%WWWDIR%%/.gitignore +%%WWWDIR%%/LICENSE +%%WWWDIR%%/README.md +%%WWWDIR%%/composer.json +%%WWWDIR%%/phpcs.xml +%%WWWDIR%%/phpunit.xml +%%WWWDIR%%/src/GettextTranslator.php +%%WWWDIR%%/src/Locale.php +%%WWWDIR%%/src/NoopTranslator.php +%%WWWDIR%%/src/StaticTranslator.php +%%WWWDIR%%/src/Translation.php +%%WWWDIR%%/src/functions.php +%%WWWDIR%%/src/functions_include.php +%%WWWDIR%%/tests/FunctionsTest.php +%%WWWDIR%%/tests/GettextTranslatorTest.php +%%WWWDIR%%/tests/LocaleTest.php +%%WWWDIR%%/tests/locale/de_DE/LC_MESSAGES/default.mo +%%WWWDIR%%/tests/locale/de_DE/LC_MESSAGES/default.po +%%WWWDIR%%/tests/locale/de_DE/LC_MESSAGES/special.mo +%%WWWDIR%%/tests/locale/de_DE/LC_MESSAGES/special.po +%%WWWDIR%%/tests/locale/it_IT/LC_MESSAGES/default.mo +%%WWWDIR%%/tests/locale/it_IT/LC_MESSAGES/default.po +%%WWWDIR%%/tests/locale/it_IT/LC_MESSAGES/special.mo +%%WWWDIR%%/tests/locale/it_IT/LC_MESSAGES/special.po