diff --git a/doc/CHANGES-2023 b/doc/CHANGES-2023 index 9a1efea08985..8f64a6bf07a2 100644 --- a/doc/CHANGES-2023 +++ b/doc/CHANGES-2023 @@ -1,4 +1,4 @@ -$NetBSD: CHANGES-2023,v 1.2344 2023/04/21 00:49:56 manu Exp $ +$NetBSD: CHANGES-2023,v 1.2345 2023/04/21 00:59:41 manu Exp $ Changes to the packages collection and infrastructure in 2023: @@ -3380,3 +3380,4 @@ Changes to the packages collection and infrastructure in 2023: Added misc/chatgpt-shell-cli version 0.0.20230420 [schmonz 2023-04-20] Added databases/openldap-autogroup 2.6.4 [manu 2023-04-21] Added mail/openarc 20180921 [manu 2023-04-21] + Added net/nagios-plugin-mqueue [manu 2023-04-21] diff --git a/net/Makefile b/net/Makefile index 4379bb55d466..a23138617d2f 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1509 2023/04/09 10:03:18 nros Exp $ +# $NetBSD: Makefile,v 1.1510 2023/04/21 00:59:41 manu Exp $ # COMMENT= Networking tools @@ -418,6 +418,7 @@ SUBDIR+= nagios-plugin-ipf SUBDIR+= nagios-plugin-ldap SUBDIR+= nagios-plugin-lpd SUBDIR+= nagios-plugin-milter +SUBDIR+= nagios-plugin-mqueue SUBDIR+= nagios-plugin-mysql SUBDIR+= nagios-plugin-mysqlslave SUBDIR+= nagios-plugin-pgsql diff --git a/net/nagios-plugin-mqueue/DESCR b/net/nagios-plugin-mqueue/DESCR new file mode 100644 index 000000000000..a6a81c0ae1e4 --- /dev/null +++ b/net/nagios-plugin-mqueue/DESCR @@ -0,0 +1,3 @@ +$NetBSD: DESCR,v 1.1 2023/04/21 00:59:41 manu Exp $ + +This Nagios plugin checks Sendmail queues status diff --git a/net/nagios-plugin-mqueue/Makefile b/net/nagios-plugin-mqueue/Makefile new file mode 100644 index 000000000000..0f2f6fae2b86 --- /dev/null +++ b/net/nagios-plugin-mqueue/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2023/04/21 00:59:41 manu Exp $ +# + +DISTNAME= check_mqueue-0.1 +PKGNAME= nagios-plugin-mqueue-${DISTNAME:C/.*-//} +CATEGORIES= net +MASTER_SITES= http://ftp.espci.fr/pub/nagios-local/ +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://ftp.espci.fr/pub/nagios-local/ +COMMENT= Sendmail queue monitoring plugin for Nagios +LICENSE= modified-bsd + +PKG_DESTDIR_SUPPORT= user-destdir + +INSTALLATION_DIRS+= libexec/nagios + + +BUILD_DEFS+= NAGIOS_GROUP +PKG_GROUPS_VARS+= NAGIOS_GROUP +PKG_GROUPS= ${NAGIOS_GROUP} + +SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_mqueue \ + ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4554 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/check_mqueue \ + ${DESTDIR}${PREFIX}/libexec/nagios/ + +.include "../../mk/bsd.pkg.mk" diff --git a/net/nagios-plugin-mqueue/PLIST b/net/nagios-plugin-mqueue/PLIST new file mode 100644 index 000000000000..9f3154c39adf --- /dev/null +++ b/net/nagios-plugin-mqueue/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2023/04/21 00:59:41 manu Exp $ +libexec/nagios/check_mqueue diff --git a/net/nagios-plugin-mqueue/distinfo b/net/nagios-plugin-mqueue/distinfo new file mode 100644 index 000000000000..037214fad293 --- /dev/null +++ b/net/nagios-plugin-mqueue/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2023/04/21 00:59:41 manu Exp $ + +BLAKE2s (check_mqueue-0.1.tgz) = 6c87c6b19e1fa9c6ab49b81ded3ad3607b1bb2eaec8432c6c23c49a78b675282 +SHA512 (check_mqueue-0.1.tgz) = 984a0a7c10510ac2e70e5873b081317eb57e01254624042089a2347033bdeb3513ba13850456ecc7dc9d24b5b56c9fae386563062d142b88648b93525f491065 +Size (check_mqueue-0.1.tgz) = 1889 bytes