From owner-svn-ports-all@freebsd.org Tue Feb 16 15:44:29 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 023B053CA35; Tue, 16 Feb 2021 15:44:29 +0000 (UTC) (envelope-from pi@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 4Dg4z06js7z4bPf; Tue, 16 Feb 2021 15:44:28 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D973B13964; Tue, 16 Feb 2021 15:44:28 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11GFiSKb018915; Tue, 16 Feb 2021 15:44:28 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11GFiS47018911; Tue, 16 Feb 2021 15:44:28 GMT (envelope-from pi@FreeBSD.org) Message-Id: <202102161544.11GFiS47018911@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Tue, 16 Feb 2021 15:44:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r565410 - in head/net-mgmt: . check_ups_health X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/net-mgmt: . check_ups_health X-SVN-Commit-Revision: 565410 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 15:44:29 -0000 Author: pi Date: Tue Feb 16 15:44:27 2021 New Revision: 565410 URL: https://svnweb.freebsd.org/changeset/ports/565410 Log: New port: net-mgmt/check_ups_health Nagios plugin to check various UPS systems Instead of one plugin per UPS manufacturer, this plugin should cover many at once. WWW: https://labs.consol.de/nagios/check_ups_health/ Added: head/net-mgmt/check_ups_health/ head/net-mgmt/check_ups_health/Makefile (contents, props changed) head/net-mgmt/check_ups_health/distinfo (contents, props changed) head/net-mgmt/check_ups_health/pkg-descr (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Tue Feb 16 15:37:31 2021 (r565409) +++ head/net-mgmt/Makefile Tue Feb 16 15:44:27 2021 (r565410) @@ -43,6 +43,7 @@ SUBDIR += check_mysql_health SUBDIR += check_nwc_health SUBDIR += check_ssl_cert + SUBDIR += check_ups_health SUBDIR += chillispot SUBDIR += choparp SUBDIR += cidr Added: head/net-mgmt/check_ups_health/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/check_ups_health/Makefile Tue Feb 16 15:44:27 2021 (r565410) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= check_ups_health +PORTVERSION= 2.9.2.2 +CATEGORIES= net-mgmt +MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/ + +MAINTAINER= pi@FreeBSD.org +COMMENT= Nagios plugin to check various UPS systems + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= perl5 +NO_ARCH= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \ + --with-nagios-user=${NAGIOSUSER} \ + --with-nagios-group=${NAGIOSGROUP} \ + --with-mymodules-dir=${PREFIX}/libexec/nagios \ + --with-mymodules-dyn-dir=${PREFIX}/libexec/nagios \ + --libexecdir=${PREFIX}/libexec/nagios \ + --with-perl=${PERL} + +NAGIOSUSER?= nagios +NAGIOSGROUP?= nagios +NAGIOSDIR?= /var/spool/nagios + +PLIST_FILES= libexec/nagios/check_ups_health + +post-patch: + ${REINPLACE_CMD} -e "s| /bin/sed| ${SED}|" -e "s| /bin/grep| ${GREP}|" \ + ${WRKSRC}/plugins-scripts/Makefile.in + +.include Added: head/net-mgmt/check_ups_health/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/check_ups_health/distinfo Tue Feb 16 15:44:27 2021 (r565410) @@ -0,0 +1,3 @@ +TIMESTAMP = 1613487970 +SHA256 (check_ups_health-2.9.2.2.tar.gz) = 1fee21f8e60a00dab8f7e21a1b5347096d4b2dcf14c12b5365893f5cb4257272 +SIZE (check_ups_health-2.9.2.2.tar.gz) = 283511 Added: head/net-mgmt/check_ups_health/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/check_ups_health/pkg-descr Tue Feb 16 15:44:27 2021 (r565410) @@ -0,0 +1,6 @@ +Nagios plugin to check various UPS systems + +Instead of one plugin per UPS manufacturer, this plugin should +cover many at once. + +WWW: https://labs.consol.de/nagios/check_ups_health/