pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nagios-plugin-printer: pkglint fixes
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Wed Feb 10 10:35:57 2021 +0100
Changeset: fbd8a255fc547242ec2da8554bb7cdf3c7f15671
Modified Files:
nagios-plugin-printer/Makefile
nagios-plugin-printer/distinfo
nagios-plugin-printer/patches/patch-aa
Log Message:
nagios-plugin-printer: pkglint fixes
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fbd8a255fc547242ec2da8554bb7cdf3c7f15671
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
nagios-plugin-printer/Makefile | 10 +++++-----
nagios-plugin-printer/distinfo | 2 +-
nagios-plugin-printer/patches/patch-aa | 1 +
3 files changed, 7 insertions(+), 6 deletions(-)
diffs:
diff --git a/nagios-plugin-printer/Makefile b/nagios-plugin-printer/Makefile
index 225897185b..529521ca38 100644
--- a/nagios-plugin-printer/Makefile
+++ b/nagios-plugin-printer/Makefile
@@ -19,26 +19,26 @@ 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_printer
+REPLACE_PERL+= check_printer
SUBST_CLASSES+= paths
-SUBST_STAGE.paths= post-patch
+SUBST_STAGE.paths= pre-configure
SUBST_MESSAGE.paths= Fixing paths
SUBST_FILES.paths= check_printer
SUBST_SED.paths= -e 's;@LIBDIR@;${PREFIX}/${PLUGINDIR};'
-SUBST_SED.paths+= -e 's;@PREFIX@;${PREFIX};'
+SUBST_VARS.paths= PREFIX
NO_BUILD= YES
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/check_printer ${DESTDIR}${PREFIX}/${PLUGINDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/check_printer ${DESTDIR}${PREFIX}/${PLUGINDIR}
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/nagios-plugin-printer/distinfo b/nagios-plugin-printer/distinfo
index 056b25474f..f3141dfeb1 100644
--- a/nagios-plugin-printer/distinfo
+++ b/nagios-plugin-printer/distinfo
@@ -4,4 +4,4 @@ SHA1 (check_printer-363/check_printer) = d2b7d0f7ca09d2813aca9d0904f069337bb6fe5
RMD160 (check_printer-363/check_printer) = 203afd4e7dab9dc76075ee8d75dcd3b50c21637e
SHA512 (check_printer-363/check_printer) = 6f041eb8fdc24eb37fdeed731faa5f65d12abb6e420fb32eb428249eb40462a1ac31d72523315af4e16f1381d7fce647c2c973f737631aed9afd6de0cbd02ee3
Size (check_printer-363/check_printer) = 10325 bytes
-SHA1 (patch-aa) = bea311f0c23785b02efde5733b8924829728125d
+SHA1 (patch-aa) = 53e44cdc5f4ad8b7815a7ca6188c0b0b34b237f4
diff --git a/nagios-plugin-printer/patches/patch-aa b/nagios-plugin-printer/patches/patch-aa
index 124271b094..e648eff4d4 100644
--- a/nagios-plugin-printer/patches/patch-aa
+++ b/nagios-plugin-printer/patches/patch-aa
@@ -1,4 +1,5 @@
$NetBSD: patch-aa$
+
Replace 'use lib' logic by something that can be SUBST'd
Make snmpwalk paths absolute
Home |
Main Index |
Thread Index |
Old Index