pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nagios-plugin-snmp_environment: pkglint fixes



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Wed Feb 10 10:36:24 2021 +0100
Changeset:	c67d207c2df5bdc8eaee2f33ba35ff687dafd010

Modified Files:
	nagios-plugin-snmp_environment/Makefile
	nagios-plugin-snmp_environment/distinfo
	nagios-plugin-snmp_environment/patches/patch-aa

Log Message:
nagios-plugin-snmp_environment: pkglint fixes

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c67d207c2df5bdc8eaee2f33ba35ff687dafd010

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nagios-plugin-snmp_environment/Makefile         | 6 +++---
 nagios-plugin-snmp_environment/distinfo         | 2 +-
 nagios-plugin-snmp_environment/patches/patch-aa | 2 ++
 3 files changed, 6 insertions(+), 4 deletions(-)

diffs:
diff --git a/nagios-plugin-snmp_environment/Makefile b/nagios-plugin-snmp_environment/Makefile
index b78d83f67e..e045fb75ac 100644
--- a/nagios-plugin-snmp_environment/Makefile
+++ b/nagios-plugin-snmp_environment/Makefile
@@ -21,19 +21,19 @@ DEPENDS+=	net-snmp-[0-9]*:../../net/net-snmp
 WRKSRC=		${WRKDIR}
 
 do-extract:
-		${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
+	${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
 
 PLUGINDIR=		libexec/nagios
 PLIST_SUBST+=		PLUGINDIR=${PLUGINDIR}
 
 INSTALLATION_DIRS+=	${PLUGINDIR}
 
-REPLACE_PERL+=		${WRKSRC}/check_snmp_environment.pl
+REPLACE_PERL+=		check_snmp_environment.pl
 
 NO_BUILD=	YES
 
 do-install:
-		${INSTALL_SCRIPT} ${WRKSRC}/check_snmp_environment.pl ${DESTDIR}${PREFIX}/${PLUGINDIR}/check_snmp_environment
+	${INSTALL_SCRIPT} ${WRKSRC}/check_snmp_environment.pl ${DESTDIR}${PREFIX}/${PLUGINDIR}/check_snmp_environment
 
 .include "../../mk/bsd.prefs.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/nagios-plugin-snmp_environment/distinfo b/nagios-plugin-snmp_environment/distinfo
index 7768f9df7c..bf62f3d9b0 100644
--- a/nagios-plugin-snmp_environment/distinfo
+++ b/nagios-plugin-snmp_environment/distinfo
@@ -4,4 +4,4 @@ SHA1 (check_snmp_environment-0.7/check_snmp_environment.pl) = b73ce7ea9b4170aa3a
 RMD160 (check_snmp_environment-0.7/check_snmp_environment.pl) = 256eedb5c6241cdfe1d579a24665815a58f5081d
 SHA512 (check_snmp_environment-0.7/check_snmp_environment.pl) = dbb128a5820c15d27076094d39c04ca52ec527beb44289a8261833d7cbe7ee2079f70cbff9210e3043f3e0df05c7b142c9fc0be2b46eee468bfc327953b0079a
 Size (check_snmp_environment-0.7/check_snmp_environment.pl) = 97676 bytes
-SHA1 (patch-aa) = 6981376d02d65c4b18d8f62aa2de65c6f7ceab38
+SHA1 (patch-aa) = 880a70b25a6b3c6e9b39c108d8261d4f4de7d1c5
diff --git a/nagios-plugin-snmp_environment/patches/patch-aa b/nagios-plugin-snmp_environment/patches/patch-aa
index 69e112f353..040307a536 100644
--- a/nagios-plugin-snmp_environment/patches/patch-aa
+++ b/nagios-plugin-snmp_environment/patches/patch-aa
@@ -1,5 +1,7 @@
 $NetBSD: patch-aa $
+
 Don't warn for non-present power supplies
+
 --- check_snmp_environment.pl.orig	2016-11-08 11:39:49.000000000 +0100
 +++ check_snmp_environment.pl	2016-11-08 11:42:56.000000000 +0100
 @@ -273,7 +273,7 @@


Home | Main Index | Thread Index | Old Index