sysutils/uhubctl: utility to control usb hub port power

Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>

Pull Request:	https://github.com/freebsd/freebsd-ports/pull/456
This commit is contained in:
Tomasz 'CeDeROM' CEDRO
2025-11-08 17:06:12 +03:00
committed by Gleb Popov
parent 60fd4c79ec
commit b2fc0ba743
4 changed files with 37 additions and 0 deletions
+1
View File
@@ -1521,6 +1521,7 @@
SUBDIR += udfclient
SUBDIR += ufetch
SUBDIR += uhidd
SUBDIR += uhubctl
SUBDIR += uif2iso
SUBDIR += unetbootin
SUBDIR += uniutils
+24
View File
@@ -0,0 +1,24 @@
PORTNAME= uhubctl
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.0
CATEGORIES= sysutils
MAINTAINER= tomek@cedro.info
COMMENT= Utility to control USB power per-port on smart USB hubs
WWW= https://github.com/mvp/uhubctl
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= mvp
ALL_TARGET= uhubctl
PLIST_FILES= sbin/uhubctl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uhubctl ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1761918400
SHA256 (mvp-uhubctl-v2.6.0_GH0.tar.gz) = 56ca15ddf96d39ab0bf8ee12d3daca13cea45af01bcd5a9732ffcc01664fdfa2
SIZE (mvp-uhubctl-v2.6.0_GH0.tar.gz) = 29255
+9
View File
@@ -0,0 +1,9 @@
Uhubctl is utility to control USB power per-port on smart USB hubs.
Smart hub is defined as one that implements per-port power switching.
Note that quite a few modern motherboards have built-in root hubs
that do support this feature - you may not even need to buy any external hub.
This utility was tested to compile and work on Linux (Ubuntu/Debian/Raspbian,
Redhat/EPEL/Fedora/CentOS, Arch Linux, Gentoo, openSUSE, Buildroot), FreeBSD,
NetBSD, SunOS and MacOS.