From nobody Fri Jul 26 14:33:06 2024 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 4WVqwz136Yz5SD2M; Fri, 26 Jul 2024 14:33:07 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVqwz0Pnlz4sdB; Fri, 26 Jul 2024 14:33:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722004387; 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=katMOccRtcFAIMLxAfSplzc1qgwq1Uy8mQlld6cDdTE=; b=wgZxv07WGAJ+3cmNs1oke2Dp7edH/h1euVvkALis7nAvyJNN7HMwgpZqxCA/2F1U7TpHtK 26Cz0jBZv9iPAFXUppBmNMwdMrva8+ZvOCmVIPCSG3Najr0XtLT/FqBCtPrhyPCG7xjkk6 glrDWJgsi19wps+LcsJnGpKBjJWfsHsyRDdqLOth1ktlxo+S01hnPgWSzL0NVtcZUaxgtp H9k6UBEsftqKzPeAwoK2b/l7ZOIb+y/O7FF1VXbavHZezwGzj+sojD6EXTWXS3Yt6cIeZI Z0BJRpsbMGCvvfL9cY7nZMa4sdpeJqDBUtJ5gAcHu6R0wcRpc7hLPEEbtNymnw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722004387; a=rsa-sha256; cv=none; b=t8xVvDh4nH8MFl8ZuN6SdbSlAML5ZecYg1sgD2mUUwKlDqJDf+yQ6zjfuF7V3I2gXT836i 38eKwt7ODkvRAU7lm66s09BmBtZY5yi8GpbzmJaIUVJX6HxxoGXW395GatCCA4AwnI9iZG gQBcNoR9OOmc1ip50C/tVXWGBzkLOLMEkT8lxv1x0Vgahx7Lu2iWLvYUHszr9RLMFBxzAd 9KSGSNRM3Q7tSwOG7NPFlRjhLPUQAXkFjv6Zflc3h+fjlVcb3LRGnHwuOqyqRViTo1Xh/z ycfsdBQWupb4nQAWzw/52X/OcUHgL8h4poNAzbGtKbORSNk9/OMiYqn9xWwiuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722004387; 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=katMOccRtcFAIMLxAfSplzc1qgwq1Uy8mQlld6cDdTE=; b=G3rjjqJf1Vic6OPiUjG0ssE1yBmMugYFi+mnydgBb0zfHUW6MFPj6JMdF6f32A/zYIUcb5 LYM4JjpBdawRPQy/WOEZGD7WjMf/chlzIT8TBRyNiyQ0IJmjmLLIrd6ngwu45PnL68pxla F6Ua+RUcnp9grsSJEZAbYVUWbTeyLkT3wA/Ao+mX0oR2sLRSMkc132tl3ZA6Ly2k5XvC25 zPOfEQY8+ROMm9L5bco/s5pRgrbSW+s1MKWe/VYoaWBfXHxgC29Sx8l/r77JUpgfGFDuyS GWsUFL2gZ6PVFXHRpMG8ev3SOAQN6PJj8zSwostR5CkCUzOsQbF6pDTg0SZFzA== 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 4WVqwy74YVzQnw; Fri, 26 Jul 2024 14:33:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46QEX6kG073733; Fri, 26 Jul 2024 14:33:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46QEX6cJ073730; Fri, 26 Jul 2024 14:33:06 GMT (envelope-from git) Date: Fri, 26 Jul 2024 14:33:06 GMT Message-Id: <202407261433.46QEX6cJ073730@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: c40d3451f8c0 - main - net-mgmt/nagios-check_clamav: add NAGPLUGINS option 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c40d3451f8c0d8800455ac2702ce10d1ca949863 Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=c40d3451f8c0d8800455ac2702ce10d1ca949863 commit c40d3451f8c0d8800455ac2702ce10d1ca949863 Author: Krzysztof AuthorDate: 2024-07-26 14:29:48 +0000 Commit: Zsolt Udvari CommitDate: 2024-07-26 14:32:31 +0000 net-mgmt/nagios-check_clamav: add NAGPLUGINS option Add NAGPLUGINS option to choose between monitoring-plugins and nagios-plugins. Update MASTER_SITES and WWW. Add LICENSE and LICENSE_FILE. The file is extracted from source. Add NO_ARCH=yes. Switch to DISTVERSION. Pet portfmt. PR: 255031 Approved by: maintainer timeout (2+ weeks) --- net-mgmt/nagios-check_clamav/Makefile | 31 +++++++++++++++++++++++-------- net-mgmt/nagios-check_clamav/files/MIT | 14 ++++++++++++++ 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/net-mgmt/nagios-check_clamav/Makefile b/net-mgmt/nagios-check_clamav/Makefile index a2759f9b9569..d1213fd28b1e 100644 --- a/net-mgmt/nagios-check_clamav/Makefile +++ b/net-mgmt/nagios-check_clamav/Makefile @@ -1,25 +1,40 @@ PORTNAME= check_clamav -PORTVERSION= 1.2 -PORTREVISION= 3 +DISTVERSION= 1.2 +PORTREVISION= 4 CATEGORIES= net-mgmt -MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ +MASTER_SITES= https://ftp.bsdserwis.com/pub/FreeBSD/ports/distfiles/ PKGNAMEPREFIX= nagios- MAINTAINER= joneum@FreeBSD.org COMMENT= Nagios plugin that verifies ClamAV local signature database revision -WWW= http://bsd.phoenix.az.us/projects/check_clamav +WWW= https://exchange.nagios.org/directory/Plugins/Anti-2DVirus/ClamAV/ClamAV-check-plugin/details + +LICENSE= MIT +LICENSE_FILE= ${FILESDIR}/MIT + +RUN_DEPENDS+= clamav>=0:security/clamav \ + p5-Net-DNS>=0:dns/p5-Net-DNS -NO_BUILD= yes USES= perl5 shebangfix + USE_PERL5= run SHEBANG_FILES= check_clamav -RUN_DEPENDS+= ${LOCALBASE}/libexec/nagios/utils.pm:net-mgmt/nagios-plugins \ - clamav>=0:security/clamav \ - p5-Net-DNS>=0:dns/p5-Net-DNS +NO_ARCH= yes +NO_BUILD= yes PLIST_FILES= libexec/nagios/check_clamav +OPTIONS_DEFAULT= NAGPLUGINS +OPTIONS_RADIO= PLUGINS +OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS + +MONPLUGINS_DESC= Use net-mgmt/monitoring-plugins +NAGPLUGINS_DESC= Use net-mgmt/nagios-plugins + +MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins +NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios ${INSTALL_SCRIPT} ${WRKSRC}/check_clamav \ diff --git a/net-mgmt/nagios-check_clamav/files/MIT b/net-mgmt/nagios-check_clamav/files/MIT new file mode 100644 index 000000000000..dcd354d73a6b --- /dev/null +++ b/net-mgmt/nagios-check_clamav/files/MIT @@ -0,0 +1,14 @@ +Copyright (c) 2005-2008 Darren Spruell + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +