From nobody Sat Aug 17 20:44:54 2024 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 4WmW7q02Tmz5TgJy; Sat, 17 Aug 2024 20:44:55 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WmW7p5Wq4z4Lv5; Sat, 17 Aug 2024 20:44:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723927494; 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=yyEUf7umWeuUsYp5wMVuvqJCL6+lGLTSWiq/8Ts48XA=; b=ADjQ/YdWCFd1Rxwt8uJtNPl21dh1ELtNvyhwqgl5o373oOJWnrLdN8lNtmlS1slMR2Shvu 4G6tq2b8IbSNxL7jQkB7ZWWV8IhmjyBmt1AbqqcjDDcTSQUVkzGY4UBAL5cgZj6A4+S4g9 tAxLkTheDcnLOFy1MZulaaFFkPWkmDEG8jCwfTRIJUTgIThVgOrCQfakkJ54LBo1Bl6DCI ejS2pgC8i7Vr3t9vaF2DJkjtEifCL5sM9PU9SdjdXZUN/GpScrbptBqIsSjSkJ1G/vJmw9 uNdYG+etVymn6CuRN77fmhfzDtxrn8nJlvJ6wGrKWVer7nxJ/jne7GD9Gji48Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723927494; a=rsa-sha256; cv=none; b=pee6v0Fqc4ach1pHPPYaiCCIbi1uwNmtHnjWW6Fv0ZT807D7/FSD5GY+0in4yv0X64HziZ wRsuWjWqKZzoS0jX5zlJFlb5FfPPx95xE1ic3Um1CpXFDVpcibeGLIhG6HFpvRzwV2wWuS hgoS4eGmvD+BxYzB3Rj1HTT1vBJ4Spr8E3R/+x6a2qSi15No1h64ZY0qJxhralYT29rJol HtweigxrrK+hECDy6uArtHVo1xlm9xn7eyW/dTNx9k+L7zcZfZQdJfsmLCDbQFTvJOcILb dZCeYJKEIGxtADMuI7HxX957f+ieSJWb827Pzl4EPmj0TRqi/IY69lDAgQ5ozg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723927494; 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=yyEUf7umWeuUsYp5wMVuvqJCL6+lGLTSWiq/8Ts48XA=; b=wL5TdKDjTxmLfqo+SEahyeWycHHpg1Ud2MKdOyyhdMf7Wljn4TfXP660XKtnVSzMJ4sY+Z PzAUaLin/RF2RmXZlTYYrm2R4S8k9MyvpGYwGJjtsj8EjYt+hXOmutiZZA5I+33bpeeOqE 3ijp1Rq/XDdV9eZn+27eOpCYloJ9lzFOATJnojkzoNarRWBRx/qg9gWwXxuduAFkS76A1N 5npvC4IDG4TI+l+iE4i2t1C20flFZnZl6D2d19q0pe1k8VwLj+lOv61H6LeouPEiO83SaQ iV1SzbnlPjiQj1tIMUlpTNY5ozSjU/xp3qfxV52tbSv4RlgmYNf+C20vexbSTA== 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 4WmW7p4j5Lz14P1; Sat, 17 Aug 2024 20:44:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47HKisa2043111; Sat, 17 Aug 2024 20:44:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47HKisvU043108; Sat, 17 Aug 2024 20:44:54 GMT (envelope-from git) Date: Sat, 17 Aug 2024 20:44:54 GMT Message-Id: <202408172044.47HKisvU043108@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: e0696501810c - main - comms/libusbsio: native C port for NXP libusbsio library 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e0696501810cc8fad412daced584134c1aaec90e Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0696501810cc8fad412daced584134c1aaec90e commit e0696501810cc8fad412daced584134c1aaec90e Author: Dima Panov AuthorDate: 2024-07-03 07:50:51 +0000 Commit: Gleb Popov CommitDate: 2024-08-17 20:44:39 +0000 comms/libusbsio: native C port for NXP libusbsio library Sponsored by: Serenity Cybersecurity, LLC --- comms/Makefile | 1 + comms/libusbsio/Makefile | 28 ++++++++++++++++++++++++++++ comms/libusbsio/distinfo | 3 +++ comms/libusbsio/pkg-descr | 5 +++++ 4 files changed, 37 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index 223b459de247..77a058606f96 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -84,6 +84,7 @@ SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd + SUBDIR += libusbsio SUBDIR += limesuite SUBDIR += linrad SUBDIR += liquid-dsp diff --git a/comms/libusbsio/Makefile b/comms/libusbsio/Makefile new file mode 100644 index 000000000000..a4b0d240b2e5 --- /dev/null +++ b/comms/libusbsio/Makefile @@ -0,0 +1,28 @@ +PORTNAME= libusbsio +PORTVERSION= 2.1.11 +CATEGORIES= comms + +MAINTAINER= fluffy@FreeBSD.org +COMMENT= Native C port for NXP libusbsio library +WWW= https://www.nxp.com/design/software/development-software/library-for-windows-macos-and-ubuntu-linux:LIBUSBSIO + +LICENSE= BSD3CLAUSE + +LIB_DEPENDS= libhidapi.so:comms/hidapi \ + libudev.so:devel/libudev-devd + +USES= gmake localbase:ldflags pkgconfig + +MAKEFILE= makefile + +USE_GITHUB= yes +GH_ACCOUNT= monwarez +GH_TAGNAME= 8577280966ee91cab606df5b0c64889be71ce7b9 + +PLIST_FILES= lib/${PORTNAME}.a lib/${PORTNAME}.so + +do-install: + ${INSTALL_DATA} ${WRKSRC}/bin/${OPSYS:tl}_${ARCH}/${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/bin/${OPSYS:tl}_${ARCH}/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib + +.include diff --git a/comms/libusbsio/distinfo b/comms/libusbsio/distinfo new file mode 100644 index 000000000000..28eab2c589f2 --- /dev/null +++ b/comms/libusbsio/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1706633732 +SHA256 (monwarez-libusbsio-2.1.11-8577280966ee91cab606df5b0c64889be71ce7b9_GH0.tar.gz) = 0c1ea11ccde44595edc3d19928edcf31bd715cffc4de149be3e45c182ca450f3 +SIZE (monwarez-libusbsio-2.1.11-8577280966ee91cab606df5b0c64889be71ce7b9_GH0.tar.gz) = 836942 diff --git a/comms/libusbsio/pkg-descr b/comms/libusbsio/pkg-descr new file mode 100644 index 000000000000..b244eda5f182 --- /dev/null +++ b/comms/libusbsio/pkg-descr @@ -0,0 +1,5 @@ +The aim of this project is to deliver a dynamic library which enables USB-HID +communication between PC Host and a target MCU over SPI, I2C or GPIO using a +USB-connected bridge device. + +This port contains the C Libraries for the libusbsio/hidapi framework.