Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysutils/sispmctl: New port to manage EnerGenie and Gembird USB contr…
…olled 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
- Loading branch information
Showing
10 changed files
with
143 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1690650388 | ||
SHA256 (sispmctl-4.11.tar.gz) = 74b94a3710046b15070c7311f0cacb81554c86b4227719cc2733cb96c7052578 | ||
SIZE (sispmctl-4.11.tar.gz) = 461804 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- src/main.c.orig 2023-07-29 17:18:10 UTC | ||
+++ src/main.c | ||
@@ -36,6 +36,7 @@ | ||
#include <syslog.h> | ||
#include <time.h> | ||
#include <usb.h> | ||
+#include <unistd.h> | ||
#include <sys/stat.h> | ||
#include <sys/types.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/web1/index.html.orig 2022-04-02 11:21:46 UTC | ||
+++ src/web1/index.html | ||
@@ -17,7 +17,7 @@ | ||
<DIV STYLE="height: 70px;"> </DIV> | ||
<DIV ALIGN="center"> | ||
<TABLE WIDTH="60%" CELLSPACING=0> | ||
- <TR><TH COLSPAN=3><H1>SiS PM Control for Linux $$version()$$</H1></TH><TH WIDTH="100"> | ||
+ <TR><TH COLSPAN=3><H1>SiS PM Control for FreeBSD $$version()$$</H1></TH><TH WIDTH="100"> | ||
<IMG SRC="logo.png" ALT="sispm_http logo"></TH></TR> | ||
<TR><TD COLSPAN=4> </TD></TR> | ||
<TR><TD> </TD> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/web2/index.html.orig 2022-04-02 11:21:46 UTC | ||
+++ src/web2/index.html | ||
@@ -8,7 +8,7 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
-<title>SiS PM Control for Linux $$version()$$</title> | ||
+<title>SiS PM Control for FreeBSD $$version()$$</title> | ||
<link rel="stylesheet" type="text/css" href="style.css"> | ||
<meta charset="UTF-8"> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/web3/index.html.orig 2022-04-02 11:21:46 UTC | ||
+++ src/web3/index.html | ||
@@ -8,7 +8,7 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
-<title>SiS PM Control for Linux $$version()$$</title> | ||
+<title>SiS PM Control for FreeBSD $$version()$$</title> | ||
<link rel="stylesheet" type="text/css" href="style.css"> | ||
<meta charset="UTF-8"> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |