mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
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:
committed by
Gleb Popov
parent
60fd4c79ec
commit
b2fc0ba743
@@ -1521,6 +1521,7 @@
|
||||
SUBDIR += udfclient
|
||||
SUBDIR += ufetch
|
||||
SUBDIR += uhidd
|
||||
SUBDIR += uhubctl
|
||||
SUBDIR += uif2iso
|
||||
SUBDIR += unetbootin
|
||||
SUBDIR += uniutils
|
||||
|
||||
@@ -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>
|
||||
@@ -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
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user