From fc3999288aeded41c2f4b2e4f1eb00cbe15fe8b8 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 22 Apr 2026 12:17:01 +0300 Subject: [PATCH] sispmctl: update to 4.12 Command-line tool for controlling GEMBIRD SiS-PM USB-controlled power strips. Changelog: https://sourceforge.net/p/sispmctl/news/ Signed-off-by: Alexandru Ardelean --- utils/sispmctl/Makefile | 4 ++-- utils/sispmctl/test.sh | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 utils/sispmctl/test.sh diff --git a/utils/sispmctl/Makefile b/utils/sispmctl/Makefile index 7948241cfe..c5f10085a8 100644 --- a/utils/sispmctl/Makefile +++ b/utils/sispmctl/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sispmctl -PKG_VERSION:=4.8 +PKG_VERSION:=4.12 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) -PKG_HASH:=0f8391f7e95cbf1fb96a68686a1dcf1e16747b050ae1b8ff90653c99976068db +PKG_HASH:=e757863a4838da6e1ca72a57adc5aca6fc47ffbddc72a69052d8abd743d57082 PKG_MAINTAINER:=Alexandru Ardelean PKG_LICENSE:=GPL-2.0-or-later diff --git a/utils/sispmctl/test.sh b/utils/sispmctl/test.sh new file mode 100644 index 0000000000..5fe732e49c --- /dev/null +++ b/utils/sispmctl/test.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +case "$1" in + sispmctl) + # Help output works without a USB device connected + sispmctl -? 2>&1 | grep -qiF "sispmctl" + ;; + libsispmctl) + ls /usr/lib/libsispmctl.so.* > /dev/null + ;; +esac