From nobody Sat Nov 06 04:42:52 2021 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 E63BA183DB30; Sat, 6 Nov 2021 04:42:52 +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 4HmPrD5RBDz3Jbl; Sat, 6 Nov 2021 04:42:52 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9391825094; Sat, 6 Nov 2021 04:42:52 +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 1A64gqV6064836; Sat, 6 Nov 2021 04:42:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A64gqvD064835; Sat, 6 Nov 2021 04:42:52 GMT (envelope-from git) Date: Sat, 6 Nov 2021 04:42:52 GMT Message-Id: <202111060442.1A64gqvD064835@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 864ebacac35c - main - sysutils/p5-Device-RAID-Poller: 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: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 864ebacac35c379f0cc3e15faadf0b63b5f93397 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=864ebacac35c379f0cc3e15faadf0b63b5f93397 commit 864ebacac35c379f0cc3e15faadf0b63b5f93397 Author: Zane C. Bowers-Hadley AuthorDate: 2021-11-06 04:29:44 +0000 Commit: Yasuhiro Kimura CommitDate: 2021-11-06 04:42:03 +0000 sysutils/p5-Device-RAID-Poller: Add new port The included check_raid provides LibreNMS JSON app or Nagios style check output. The RAID checking is supported for the following. - Adaptec arcconf - Avago tw_cli - GEOM -- mirror -- graid3 -- graid - ZFS PR: 259188 --- sysutils/Makefile | 1 + sysutils/p5-Device-RAID-Poller/Makefile | 21 +++++++++++++++++++++ sysutils/p5-Device-RAID-Poller/distinfo | 3 +++ sysutils/p5-Device-RAID-Poller/pkg-descr | 14 ++++++++++++++ sysutils/p5-Device-RAID-Poller/pkg-plist | 17 +++++++++++++++++ 5 files changed, 56 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 8b580a382385..5f0229df19b0 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -827,6 +827,7 @@ SUBDIR += p5-BSD-getloadavg SUBDIR += p5-BackupPC-XS SUBDIR += p5-Brackup + SUBDIR += p5-Device-RAID-Poller SUBDIR += p5-Dir-Purge SUBDIR += p5-File-BackupCopy SUBDIR += p5-File-Cmp diff --git a/sysutils/p5-Device-RAID-Poller/Makefile b/sysutils/p5-Device-RAID-Poller/Makefile new file mode 100644 index 000000000000..c4d36b4f0a78 --- /dev/null +++ b/sysutils/p5-Device-RAID-Poller/Makefile @@ -0,0 +1,21 @@ +PORTNAME= Device-RAID-Poller +PORTVERSION= 0.2.0 +CATEGORIES= sysutils perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= vvelox@vvelox.net +COMMENT= RAID poller providing LibreNMS JSON app and Nagios style checks + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Error-Helper>=1.0.0:devel/p5-Error-Helper \ + p5-JSON>=2.97.001:converters/p5-JSON \ + p5-Module-List>=0.004:devel/p5-Module-List +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +.include diff --git a/sysutils/p5-Device-RAID-Poller/distinfo b/sysutils/p5-Device-RAID-Poller/distinfo new file mode 100644 index 000000000000..88b34ffee48d --- /dev/null +++ b/sysutils/p5-Device-RAID-Poller/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634307568 +SHA256 (Device-RAID-Poller-0.2.0.tar.gz) = 29ff75836cc3936a38b62b575200b8a40c7887bb0cf7b8e024717a70ecb6d243 +SIZE (Device-RAID-Poller-0.2.0.tar.gz) = 14341 diff --git a/sysutils/p5-Device-RAID-Poller/pkg-descr b/sysutils/p5-Device-RAID-Poller/pkg-descr new file mode 100644 index 000000000000..87dc0d6da775 --- /dev/null +++ b/sysutils/p5-Device-RAID-Poller/pkg-descr @@ -0,0 +1,14 @@ +The included check_raid provides LibreNMS JSON app or +Nagios style check output. + +The RAID checking is supported for the following. + +- Adaptec arcconf +- Avago tw_cli +- GEOM +-- mirror +-- graid3 +-- graid +- ZFS + +WWW: https://metacpan.org/dist/Device-RAID-Poller diff --git a/sysutils/p5-Device-RAID-Poller/pkg-plist b/sysutils/p5-Device-RAID-Poller/pkg-plist new file mode 100644 index 000000000000..012f22081ba1 --- /dev/null +++ b/sysutils/p5-Device-RAID-Poller/pkg-plist @@ -0,0 +1,17 @@ +bin/check_raid +%%SITE_PERL%%/Device/RAID/Poller.pm +%%SITE_PERL%%/Device/RAID/Poller/Backends/FBSD_gmirror.pm +%%SITE_PERL%%/Device/RAID/Poller/Backends/FBSD_graid.pm +%%SITE_PERL%%/Device/RAID/Poller/Backends/FBSD_graid3.pm +%%SITE_PERL%%/Device/RAID/Poller/Backends/ZFS.pm +%%SITE_PERL%%/Device/RAID/Poller/Backends/Linux_mdadm.pm +%%SITE_PERL%%/Device/RAID/Poller/Backends/Avago_tw_cli.pm +%%SITE_PERL%%/Device/RAID/Poller/Backends/Adaptec_arcconf.pm +%%PERL5_MAN3%%/Device::RAID::Poller.3.gz +%%PERL5_MAN3%%/Device::RAID::Poller::Backends::FBSD_gmirror.3.gz +%%PERL5_MAN3%%/Device::RAID::Poller::Backends::FBSD_graid.3.gz +%%PERL5_MAN3%%/Device::RAID::Poller::Backends::FBSD_graid3.3.gz +%%PERL5_MAN3%%/Device::RAID::Poller::Backends::ZFS.3.gz +%%PERL5_MAN3%%/Device::RAID::Poller::Backends::Linux_mdadm.3.gz +%%PERL5_MAN3%%/Device::RAID::Poller::Backends::Avago_tw_cli.3.gz +%%PERL5_MAN3%%/Device::RAID::Poller::Backends::Adaptec_arcconf.3.gz