Thu Jun 22 05:31:07 2023 UTC ()
ups-nut: fix typo in rc.d script

Reported by Brandon Applegate in PR 57479.

Bump PKGREVISION.


(wiz)
diff -r1.70 -r1.71 pkgsrc/sysutils/ups-nut/Makefile
diff -r1.1 -r1.2 pkgsrc/sysutils/ups-nut/files/upskillpower.sh

cvs diff -r1.70 -r1.71 pkgsrc/sysutils/ups-nut/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/ups-nut/Makefile 2023/01/08 01:32:54 1.70
+++ pkgsrc/sysutils/ups-nut/Makefile 2023/06/22 05:31:07 1.71
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.70 2023/01/08 01:32:54 gdt Exp $ 1# $NetBSD: Makefile,v 1.71 2023/06/22 05:31:07 wiz Exp $
2 2
3PKGREVISION= 5 3PKGREVISION= 6
4.include "Makefile.common" 4.include "Makefile.common"
5 5
6PKGNAME= ups-${DISTNAME} 6PKGNAME= ups-${DISTNAME}
7COMMENT= Network UPS Tools 7COMMENT= Network UPS Tools
8 8
9SUBST_CLASSES+= man-so 9SUBST_CLASSES+= man-so
10SUBST_MESSAGE.man-so= Fixing manpage .so references. 10SUBST_MESSAGE.man-so= Fixing manpage .so references.
11SUBST_STAGE.man-so= pre-build 11SUBST_STAGE.man-so= pre-build
12SUBST_FILES.man-so= docs/man/*.[0-9] 12SUBST_FILES.man-so= docs/man/*.[0-9]
13SUBST_SED.man-so= -e 's,^\.so \([^/]*\)\.\([0-9]\)$$,.so man\2/\1.\2,' 13SUBST_SED.man-so= -e 's,^\.so \([^/]*\)\.\([0-9]\)$$,.so man\2/\1.\2,'
14SUBST_NOOP_OK.man-so= yes 14SUBST_NOOP_OK.man-so= yes
15 15
16# Don't regenerate any files in tools/. 16# Don't regenerate any files in tools/.

cvs diff -r1.1 -r1.2 pkgsrc/sysutils/ups-nut/files/upskillpower.sh (expand / switch to unified diff)

--- pkgsrc/sysutils/ups-nut/files/upskillpower.sh 2023/01/08 01:14:23 1.1
+++ pkgsrc/sysutils/ups-nut/files/upskillpower.sh 2023/06/22 05:31:07 1.2
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1#!@RCD_SCRIPTS_SHELL@ 1#!@RCD_SCRIPTS_SHELL@
2# 2#
3# $NetBSD: upskillpower.sh,v 1.1 2023/01/08 01:14:23 gdt Exp $ 3# $NetBSD: upskillpower.sh,v 1.2 2023/06/22 05:31:07 wiz Exp $
4# 4#
5# PROVIDE: upskillpower 5# PROVIDE: upskillpower
6# REQUIRE: mountcritremote 6# REQUIRE: mountcritremote
7# BEFORE: upsdriver altq downinterfaces  7# BEFORE: upsdriver altqd downinterfaces
8# KEYWORD: shutdown 8# KEYWORD: shutdown
9 9
10# This script shuts off power, if upsmon has decided to shutdown 10# This script shuts off power, if upsmon has decided to shutdown
11# because of low battery/runtime. This is logically part of upsmon 11# because of low battery/runtime. This is logically part of upsmon
12# but should run later in shutdown. 12# but should run later in shutdown.
13 13
14. /etc/rc.subr 14. /etc/rc.subr
15 15
16name="upskillpower" 16name="upskillpower"
17rcvar=upsmon 17rcvar=upsmon
18 18
19start_empty() 19start_empty()
20{ 20{