pkgsrc-WIP-changes archive

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

ups-nut: Enable actual shutdown



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Mon Jan 16 18:32:12 2023 -0500
Changeset:	8be65a89d9559088c47424de10e471073c69263f

Modified Files:
	ups-nut/DESCR
	ups-nut/Makefile
	ups-nut/Makefile.common
	ups-nut/distinfo
	ups-nut/files/upskillpower.sh

Log Message:
ups-nut: Enable actual shutdown

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

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

diffstat:
 ups-nut/DESCR                 | 9 ++++++---
 ups-nut/Makefile              | 1 +
 ups-nut/Makefile.common       | 2 +-
 ups-nut/distinfo              | 6 +++---
 ups-nut/files/upskillpower.sh | 2 +-
 5 files changed, 12 insertions(+), 8 deletions(-)

diffs:
diff --git a/ups-nut/DESCR b/ups-nut/DESCR
index a83a7e2eaa..939b32130e 100644
--- a/ups-nut/DESCR
+++ b/ups-nut/DESCR
@@ -1,5 +1,8 @@
-This is a developing project to monitor a large assortment of UPS hardware.
+Network UPS Tools can monitor a large assortment of UPS hardware.
 Network communications are used so that multiple systems can monitor a
 single physical UPS and shut down together if necessary without any
-special "sharing hardware" on the UPS itself. CGI scripts are in the
-ups-nut-cgi package.
+special "sharing hardware" on the UPS itself.
+
+This package tracks the NUT git repository, and sometimes includes
+proposed changes or experimental changes.  It is not suitable for
+production systems.
diff --git a/ups-nut/Makefile b/ups-nut/Makefile
index be4dcefc30..b9f567d5e0 100644
--- a/ups-nut/Makefile
+++ b/ups-nut/Makefile
@@ -3,6 +3,7 @@
 .include "Makefile.common"
 
 PKGNAME=		ups-${DISTNAME}
+PKGREVISION=		1
 COMMENT=		Network UPS Tools
 
 SUBST_CLASSES+=		man-so
diff --git a/ups-nut/Makefile.common b/ups-nut/Makefile.common
index 13265ac30b..f29e975fe0 100644
--- a/ups-nut/Makefile.common
+++ b/ups-nut/Makefile.common
@@ -5,7 +5,7 @@
 # used by wip/ups-nut-usb/Makefile
 # used by wip/p5-UPS-Nut/Makefile
 
-DISTNAME=		nut-2.8.0.1.20230114.0
+DISTNAME=		nut-2.8.0.1.20230115.0
 CATEGORIES=		sysutils
 #MASTER_SITES=		http://www.networkupstools.org/source/${PKGVERSION_NOREV:R}/
 MASTER_SITES=		https://www.netbsd.org/~gdt/
diff --git a/ups-nut/distinfo b/ups-nut/distinfo
index c342b64d20..67cec607cd 100644
--- a/ups-nut/distinfo
+++ b/ups-nut/distinfo
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.40 2022/11/26 14:45:47 gdt Exp $
 
-BLAKE2s (nut-2.8.0.1.20230114.0.tar.gz) = f6c0c26901794b3f0138bd6cb7f8c7887d4f2a418e377ce158502d4bf4c16b12
-SHA512 (nut-2.8.0.1.20230114.0.tar.gz) = be2f454317948392bdc1a9897700f92dcf3ed0c4def18c942fefd1de838e416006e6298b6103d926268eff0ca60ef4a6f5984177632b470b4f448f1824574138
-Size (nut-2.8.0.1.20230114.0.tar.gz) = 3701509 bytes
+BLAKE2s (nut-2.8.0.1.20230115.0.tar.gz) = 7050a2a277a228a744fc6cfe4c4bceb455d167cc9e5f375158574dccb5bc0c81
+SHA512 (nut-2.8.0.1.20230115.0.tar.gz) = c1c538fa9886de308f2ceca675eeba3d34c8ff045d748bb77af8abde28a9323e20d0abd9be939f5615bece24c92b94a8faf7b821463c59737014e0597fe2c451
+Size (nut-2.8.0.1.20230115.0.tar.gz) = 3707098 bytes
 SHA1 (patch-aa) = a471517e5e05f92b1eb904b227dbf1b0decec848
 SHA1 (patch-clients_upsclient.c) = 50633e97a747b61dfed155b96414992040e6386f
 SHA1 (patch-drivers_libhid.c) = 8b4f773d9b32e4c43f7045a4a83854382b08cb5b
diff --git a/ups-nut/files/upskillpower.sh b/ups-nut/files/upskillpower.sh
index 7860e47672..9bf1047b3b 100644
--- a/ups-nut/files/upskillpower.sh
+++ b/ups-nut/files/upskillpower.sh
@@ -26,7 +26,7 @@ killpower()
 {
     if @PREFIX@/sbin/upsmon -K; then
 	echo "upskillpower: POWER OFF commanded"
-	echo TEST ONLY @PREFIX@/sbin/upsdrvctl shutdown
+	@PREFIX@/sbin/upsdrvctl shutdown
     fi
 }
 


Home | Main Index | Thread Index | Old Index