From nobody Sat Jul 29 19:47:33 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RCw5K6XSDz4pg8y; Sat, 29 Jul 2023 19:47:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RCw5K4S2Qz3wgQ; Sat, 29 Jul 2023 19:47:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690660053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=60ZRX4NKr7LEKZ+/iA39C4D6llb5WJGY+xtWIdd2LrY=; b=HVKNVUuX7R6qTwm1DOL6SHnJxx3l8WY8uZcNLTBft/JdGvhCpsz9GJR9pbrzJ5B3XbiAtB LunqnibEKewteVuCo9JMnWbNMGI3eByq19zIavHav0obDXOB1CrNPK+4tn4k90kL4A4Xzj xH8XZfLezXTAIpLKPE02DoRA9s0uZrgpTnFsOybOvA+MYgLIVD6CtUqP6isUa790bQh1ku Lrgb0ZFD/PEOfMxp6IKGWGOjcj9b/LfSuFDSHSs+kt6zTro/OG0SNWDBoTiAz6kvoIIUqi QaoYr0tqlp0bYNajM6fv0wwK36MaK2epAVjzgimYKEZdo4AChJey3d8NrFu3VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690660053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=60ZRX4NKr7LEKZ+/iA39C4D6llb5WJGY+xtWIdd2LrY=; b=lL2cRQpM9Ul4AdsmnzUA5goxMIYlVVvMXxJbTjSyC/zEh8Er3xcVt22zynE/0YJKrXkUtu 8MZ1aZ4iy7LY7eUbgquOkPTIznUwz1Lma02mi9iQDytHmXdA9U8fksiAdUQ4CzSjtdYPi1 vivtphmE3+9QaGsDs0IAnjzGUiXr7+jIPN0yXEs48YgVPnNclkiVGR/Cd72Th4Fl1prINw 9bxHpXV0WUWdw2vIG1zGJfDr8bg25ym8weJ3ciXWtJ0lvyzpY+viytrlW1tl7KQb86Co0l AQE4uhoNZ3Izrr33cxMU47atLuX0XpMjX+ztXmmDlbYLe+0M30JdW9lf9CfBwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690660053; a=rsa-sha256; cv=none; b=hJPUPLVKyBKcw3eyCEz15BbI9+KQPggTtQ/88Yf2EV47BKXHqpOgYNxhbGPgduME02eGNn VhMPmfw9h8M5/bFJ3SLA9UmxNevLE9IFK51VVF7wW7VAIXORFheOkUxP1Z//L/Bp03TtyQ UpMmOyyhdsGylxwtQ686KaTnbSTye26wHDQp/f9kLwWr80q2/Oz4G/rEiBJ8JK6Jhktnm5 MeA+1B2/+TxownQjhXFi3x1RM9+Bu+c7EQLNOuBCfV61YKMUCCPl9X7oTmJDrMdwSHgHVa crZLa+qZi7GCWZP9alGyI/GWfPip1c3Fq4P9UVTEj+CCAHGLfayguURMGcw1KQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RCw5K3Fx7zlFR; Sat, 29 Jul 2023 19:47:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36TJlXop006965; Sat, 29 Jul 2023 19:47:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36TJlX9a006964; Sat, 29 Jul 2023 19:47:33 GMT (envelope-from git) Date: Sat, 29 Jul 2023 19:47:33 GMT Message-Id: <202307291947.36TJlX9a006964@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: 9c24afe97b74 - main - sysutils/sispmctl: New port to manage EnerGenie and Gembird USB controlled power strips List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c24afe97b74ec69d38e29e6c3685bbfaa85faf7 Auto-Submitted: auto-generated The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=9c24afe97b74ec69d38e29e6c3685bbfaa85faf7 commit 9c24afe97b74ec69d38e29e6c3685bbfaa85faf7 Author: Rodrigo Osorio AuthorDate: 2023-07-29 19:12:31 +0000 Commit: Rodrigo Osorio CommitDate: 2023-07-29 19:34:28 +0000 sysutils/sispmctl: New port to manage EnerGenie and Gembird USB controlled power strips SIS-PM Control is an application for managing USB controlled powerstrips produced by GEMBIRD LTD. Newer devices are sold under the Energenie brand. The following devices are supported: * Gembird MSIS-PM * Gembird Silver Shield SIS-PM (aka Revolt Intelliplug) * Gembird Silver Shield SIS-PMS * Energenie EG-PM * Energenie EG-PMS * Energenie EG-PM2 * Energenie EG-PMS2 --- sysutils/Makefile | 1 + sysutils/sispmctl/Makefile | 24 +++++++++++ sysutils/sispmctl/distinfo | 3 ++ sysutils/sispmctl/files/patch-man_sispmctl.1 | 11 +++++ sysutils/sispmctl/files/patch-src_main.c | 10 +++++ sysutils/sispmctl/files/patch-src_web1_index.html | 11 +++++ sysutils/sispmctl/files/patch-src_web2_index.html | 11 +++++ sysutils/sispmctl/files/patch-src_web3_index.html | 11 +++++ sysutils/sispmctl/pkg-descr | 12 ++++++ sysutils/sispmctl/pkg-plist | 49 +++++++++++++++++++++++ 10 files changed, 143 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index bf089415afaf..69ae6de4b425 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1349,6 +1349,7 @@ SUBDIR += signon-plugin-oauth2 SUBDIR += signon-qt5 SUBDIR += signon-ui + SUBDIR += sispmctl SUBDIR += skopeo SUBDIR += slack SUBDIR += sleuthkit diff --git a/sysutils/sispmctl/Makefile b/sysutils/sispmctl/Makefile new file mode 100644 index 000000000000..1106b548fbc5 --- /dev/null +++ b/sysutils/sispmctl/Makefile @@ -0,0 +1,24 @@ +PORTNAME= sispmctl +PORTVERSION= 4.11 +CATEGORIES= sysutils +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} + +MAINTAINER= rodrigo@FreeBSD.org +COMMENT= SIS-PM Control for Linux +WWW= https://sispmctl.sourceforge.net/ + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= autoreconf dos2unix libtool pkgconfig +DOS2UNIX_FILES= src/web2/index.html src/web3/index.html +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_ENV= LIBUSB_CFLAGS="-I/usr/include" \ + LIBUSB_LIBS="-L/usr/lib -lusb" + +post-install: + ${LN} -s httpd/skin2 ${STAGEDIR}${PREFIX}/share/doc/sispmctl/skin + +.include diff --git a/sysutils/sispmctl/distinfo b/sysutils/sispmctl/distinfo new file mode 100644 index 000000000000..13fd8476cce2 --- /dev/null +++ b/sysutils/sispmctl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1690650388 +SHA256 (sispmctl-4.11.tar.gz) = 74b94a3710046b15070c7311f0cacb81554c86b4227719cc2733cb96c7052578 +SIZE (sispmctl-4.11.tar.gz) = 461804 diff --git a/sysutils/sispmctl/files/patch-man_sispmctl.1 b/sysutils/sispmctl/files/patch-man_sispmctl.1 new file mode 100644 index 000000000000..79fba28d9099 --- /dev/null +++ b/sysutils/sispmctl/files/patch-man_sispmctl.1 @@ -0,0 +1,11 @@ +--- man/sispmctl.1.orig 2023-07-06 20:13:43 UTC ++++ man/sispmctl.1 +@@ -1,7 +1,7 @@ + .\" Process this file with + .\" groff -man -Tascii foo.1 + .\" +-.TH sispmctl 1 "Jul 2023" Linux "User Manuals" ++.TH sispmctl 1 "Jul 2023" FreeBSD "User Manuals" + + .SH NAME + sispmctl \- manage EnerGenie and Gembird USB controlled power strips diff --git a/sysutils/sispmctl/files/patch-src_main.c b/sysutils/sispmctl/files/patch-src_main.c new file mode 100644 index 000000000000..60163cf86293 --- /dev/null +++ b/sysutils/sispmctl/files/patch-src_main.c @@ -0,0 +1,10 @@ +--- src/main.c.orig 2023-07-29 17:18:10 UTC ++++ src/main.c +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + #include + #include + diff --git a/sysutils/sispmctl/files/patch-src_web1_index.html b/sysutils/sispmctl/files/patch-src_web1_index.html new file mode 100644 index 000000000000..5384d39495eb --- /dev/null +++ b/sysutils/sispmctl/files/patch-src_web1_index.html @@ -0,0 +1,11 @@ +--- src/web1/index.html.orig 2022-04-02 11:21:46 UTC ++++ src/web1/index.html +@@ -17,7 +17,7 @@ +
 
+
+ +- + + diff --git a/sysutils/sispmctl/files/patch-src_web2_index.html b/sysutils/sispmctl/files/patch-src_web2_index.html new file mode 100644 index 000000000000..d7a13f7e048a --- /dev/null +++ b/sysutils/sispmctl/files/patch-src_web2_index.html @@ -0,0 +1,11 @@ +--- src/web2/index.html.orig 2022-04-02 11:21:46 UTC ++++ src/web2/index.html +@@ -8,7 +8,7 @@ + + + +-SiS PM Control for Linux $$version()$$ ++SiS PM Control for FreeBSD $$version()$$ + + + diff --git a/sysutils/sispmctl/files/patch-src_web3_index.html b/sysutils/sispmctl/files/patch-src_web3_index.html new file mode 100644 index 000000000000..bed574347a5e --- /dev/null +++ b/sysutils/sispmctl/files/patch-src_web3_index.html @@ -0,0 +1,11 @@ +--- src/web3/index.html.orig 2022-04-02 11:21:46 UTC ++++ src/web3/index.html +@@ -8,7 +8,7 @@ + + + +-SiS PM Control for Linux $$version()$$ ++SiS PM Control for FreeBSD $$version()$$ + + + diff --git a/sysutils/sispmctl/pkg-descr b/sysutils/sispmctl/pkg-descr new file mode 100644 index 000000000000..ec53e45e84a0 --- /dev/null +++ b/sysutils/sispmctl/pkg-descr @@ -0,0 +1,12 @@ +sispmctl is an application for managing USB controlled +powerstrips produced by GEMBIRD LTD. +Newer devices are sold under the Energenie brand. + +The following devices are supported: + * Gembird MSIS-PM + * Gembird Silver Shield SIS-PM (aka Revolt Intelliplug) + * Gembird Silver Shield SIS-PMS + * Energenie EG-PM + * Energenie EG-PMS + * Energenie EG-PM2 + * Energenie EG-PMS2 diff --git a/sysutils/sispmctl/pkg-plist b/sysutils/sispmctl/pkg-plist new file mode 100644 index 000000000000..a6cd0bf49b68 --- /dev/null +++ b/sysutils/sispmctl/pkg-plist @@ -0,0 +1,49 @@ +bin/sispmctl +lib/libsispmctl.a +lib/libsispmctl.so +lib/libsispmctl.so.0 +lib/libsispmctl.so.0.2.2 +man/man1/sispmctl.1.gz +share/doc/sispmctl/COPYING +share/doc/sispmctl/README.md +share/doc/sispmctl/artwork/sispmctl.png +share/doc/sispmctl/artwork/sispmctl.svg +share/doc/sispmctl/examples/60-sispmctl.rules +share/doc/sispmctl/examples/passwordsetup.sh +share/doc/sispmctl/examples/sispmctl.service +share/doc/sispmctl/httpd/skin1/index.html +share/doc/sispmctl/httpd/skin1/logo.png +share/doc/sispmctl/httpd/skin1/off1.html +share/doc/sispmctl/httpd/skin1/off2.html +share/doc/sispmctl/httpd/skin1/off3.html +share/doc/sispmctl/httpd/skin1/off4.html +share/doc/sispmctl/httpd/skin1/on1.html +share/doc/sispmctl/httpd/skin1/on2.html +share/doc/sispmctl/httpd/skin1/on3.html +share/doc/sispmctl/httpd/skin1/on4.html +share/doc/sispmctl/httpd/skin1/status0.png +share/doc/sispmctl/httpd/skin1/status1.png +share/doc/sispmctl/httpd/skin1/style.css +share/doc/sispmctl/httpd/skin2/index.html +share/doc/sispmctl/httpd/skin2/logo.svg +share/doc/sispmctl/httpd/skin2/off1.html +share/doc/sispmctl/httpd/skin2/off2.html +share/doc/sispmctl/httpd/skin2/off3.html +share/doc/sispmctl/httpd/skin2/off4.html +share/doc/sispmctl/httpd/skin2/on1.html +share/doc/sispmctl/httpd/skin2/on2.html +share/doc/sispmctl/httpd/skin2/on3.html +share/doc/sispmctl/httpd/skin2/on4.html +share/doc/sispmctl/httpd/skin2/style.css +share/doc/sispmctl/httpd/skin3/index.html +share/doc/sispmctl/httpd/skin3/logo.svg +share/doc/sispmctl/httpd/skin3/off1.html +share/doc/sispmctl/httpd/skin3/off2.html +share/doc/sispmctl/httpd/skin3/off3.html +share/doc/sispmctl/httpd/skin3/off4.html +share/doc/sispmctl/httpd/skin3/on1.html +share/doc/sispmctl/httpd/skin3/on2.html +share/doc/sispmctl/httpd/skin3/on3.html +share/doc/sispmctl/httpd/skin3/on4.html +share/doc/sispmctl/httpd/skin3/style.css +share/doc/sispmctl/skin

SiS PM Control for Linux $$version()$$

++

SiS PM Control for FreeBSD $$version()$$

+ sispm_http logo