pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

serial-monitor: Add arduino-serial-monitor-0.13.0 Arduino pluggable monitor for serial ports



Module Name:	pkgsrc-wip
Committed By:	Rui-Xiang Guo <rxg%lavabit.com@localhost>
Pushed By:	rxg
Date:		Tue Feb 13 21:15:03 2024 +0800
Changeset:	6cb5ba000ab3376b4552a3add828d9a289bf318e

Added Files:
	arduino-serial-monitor/DESCR
	arduino-serial-monitor/Makefile
	arduino-serial-monitor/PLIST
	arduino-serial-monitor/distinfo
	arduino-serial-monitor/go-modules.mk
	arduino-serial-monitor/patches/patch-go.mod
	arduino-serial-monitor/patches/patch-go.sum

Log Message:
serial-monitor: Add arduino-serial-monitor-0.13.0
Arduino pluggable monitor for serial ports

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6cb5ba000ab3376b4552a3add828d9a289bf318e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 arduino-serial-monitor/DESCR                |  3 ++
 arduino-serial-monitor/Makefile             | 22 +++++++++++
 arduino-serial-monitor/PLIST                |  2 +
 arduino-serial-monitor/distinfo             | 58 +++++++++++++++++++++++++++++
 arduino-serial-monitor/go-modules.mk        | 19 ++++++++++
 arduino-serial-monitor/patches/patch-go.mod | 20 ++++++++++
 arduino-serial-monitor/patches/patch-go.sum | 22 +++++++++++
 7 files changed, 146 insertions(+)

diffs:
diff --git a/arduino-serial-monitor/DESCR b/arduino-serial-monitor/DESCR
new file mode 100644
index 0000000000..ea75e49dcc
--- /dev/null
+++ b/arduino-serial-monitor/DESCR
@@ -0,0 +1,3 @@
+The serial-monitor tool is a command line program that interacts via stdio.
+It accepts commands as plain ASCII strings terminated with LF \n and sends
+response as JSON.
diff --git a/arduino-serial-monitor/Makefile b/arduino-serial-monitor/Makefile
new file mode 100644
index 0000000000..4873801b07
--- /dev/null
+++ b/arduino-serial-monitor/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	arduino-serial-monitor-0.13.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=arduino/}
+GITHUB_PROJECT=	serial-monitor
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	rxg%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/arduino/serial-monitor
+COMMENT=	Arduino pluggable monitor for serial ports
+LICENSE=	gnu-gpl-v3
+
+INSTALLATION_DIRS=	arduino15/packages/builtin/tools/serial-monitor/${PKGVERSION_NOREV}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/serial-monitor \
+		${DESTDIR}${PREFIX}/arduino15/packages/builtin/tools/serial-monitor/${PKGVERSION_NOREV}
+
+.include "go-modules.mk"
+.include "../../lang/go/go-module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/arduino-serial-monitor/PLIST b/arduino-serial-monitor/PLIST
new file mode 100644
index 0000000000..3bbef6d909
--- /dev/null
+++ b/arduino-serial-monitor/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+arduino15/packages/builtin/tools/serial-monitor/0.13.0/serial-monitor
diff --git a/arduino-serial-monitor/distinfo b/arduino-serial-monitor/distinfo
new file mode 100644
index 0000000000..e6633da791
--- /dev/null
+++ b/arduino-serial-monitor/distinfo
@@ -0,0 +1,58 @@
+$NetBSD$
+
+BLAKE2s (arduino-serial-monitor-0.13.0.tar.gz) = dbd83fbb234191da277448486109cdeaa271b18ee96f76ff8eec45b5011c759a
+SHA512 (arduino-serial-monitor-0.13.0.tar.gz) = 1d1da1ab279c4d1244fe60da63febb0cb0ec96345ad24bf13b68c23baf4de610effe24b5e87ee3e97f537d1436fd27640f9bde4b603ec6c98e1cfb3b66762f12
+Size (arduino-serial-monitor-0.13.0.tar.gz) = 94654 bytes
+BLAKE2s (github.com_arduino_pluggable-monitor-protocol-handler_@v_v0.9.2.mod) = 0e867c85d5e83bae0fd7efea97c482648070e8df33299d0afcc264f775a2871c
+SHA512 (github.com_arduino_pluggable-monitor-protocol-handler_@v_v0.9.2.mod) = 0593e5982038ed4bc29bbb6c6cfaefd15dd008b9d94533f9ffcfddcdf41b7bf5c00418fb8f835a73d211a9fa50ad624f04f227cd8f95bc4059b728a5528c6ae5
+Size (github.com_arduino_pluggable-monitor-protocol-handler_@v_v0.9.2.mod) = 121 bytes
+BLAKE2s (github.com_arduino_pluggable-monitor-protocol-handler_@v_v0.9.2.zip) = 7fb4831face0f0aa5b868adc12289bd2d67b97fdac446068ae384d124bd5342c
+SHA512 (github.com_arduino_pluggable-monitor-protocol-handler_@v_v0.9.2.zip) = 3448ffda7843ea78f7589d496f75ebf84d458bc4463c439d6c3247f21347f9890a817cb99f53deba2078d0162802f4b7b8002b3023ad0439d7d0cbb694015895
+Size (github.com_arduino_pluggable-monitor-protocol-handler_@v_v0.9.2.zip) = 55119 bytes
+BLAKE2s (github.com_creack_goselect_@v_v0.1.2.mod) = 21b97be7b685ca9269e6a49f7d11ede68f5fa52ed75a9f0b330a066a0f890a6d
+SHA512 (github.com_creack_goselect_@v_v0.1.2.mod) = a40fb6805750c553d69c15a577d87b56df2c8583ff8035fb6604bbc49105efe4cecb8675ea8159ecca9986e5b7993648386e7501cd0d034ba3e506f9f3d87921
+Size (github.com_creack_goselect_@v_v0.1.2.mod) = 43 bytes
+BLAKE2s (github.com_creack_goselect_@v_v0.1.2.zip) = fe12494511d7ad228e1a85457529b9724dd295a731bb03ce43d880c062d51c4d
+SHA512 (github.com_creack_goselect_@v_v0.1.2.zip) = 8b8b76cd6ef81ea72f8657c95492caa24639fcdc60f86673996a1034a6006a2d319b10a1d4ad235bad160738d07fa882d9262b37f9c06b5b364e297700e50f8f
+Size (github.com_creack_goselect_@v_v0.1.2.zip) = 12768 bytes
+BLAKE2s (github.com_davecgh_go-spew_@v_v1.1.1.mod) = eee11d0ec5d2260dc11d9bfe8f9d523e54530b71cc8357f43c0214b3b74bef5c
+SHA512 (github.com_davecgh_go-spew_@v_v1.1.1.mod) = 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
+Size (github.com_davecgh_go-spew_@v_v1.1.1.mod) = 34 bytes
+BLAKE2s (github.com_davecgh_go-spew_@v_v1.1.1.zip) = 5281c0e301579c764ebf96f97056ba8fc1a8142d98f2fe44aabb07d7e8ae4f3e
+SHA512 (github.com_davecgh_go-spew_@v_v1.1.1.zip) = 7b4e4df2fea731e23e05437f26f24e32b2e99028d685b72e3a726c1cb616ada4a77ca4fb9db4a6fae48178cc5172e724b74499bc776d63a9110cb97377d5edeb
+Size (github.com_davecgh_go-spew_@v_v1.1.1.zip) = 60320 bytes
+BLAKE2s (github.com_hashicorp_errwrap_@v_v1.0.0.mod) = aac7866eaeb8d08b64ccae78acde4e8b396328036b16550b714e31c418bf6309
+SHA512 (github.com_hashicorp_errwrap_@v_v1.0.0.mod) = 2b68ca06311d8602f04eb738a68a24951a9187aa70018d938e549cf7b555bf54dadbda5825501436c52f6103bcd220ed170c99e4cf777187e2b997c87f05fb0d
+Size (github.com_hashicorp_errwrap_@v_v1.0.0.mod) = 36 bytes
+BLAKE2s (github.com_hashicorp_errwrap_@v_v1.1.0.mod) = aac7866eaeb8d08b64ccae78acde4e8b396328036b16550b714e31c418bf6309
+SHA512 (github.com_hashicorp_errwrap_@v_v1.1.0.mod) = 2b68ca06311d8602f04eb738a68a24951a9187aa70018d938e549cf7b555bf54dadbda5825501436c52f6103bcd220ed170c99e4cf777187e2b997c87f05fb0d
+Size (github.com_hashicorp_errwrap_@v_v1.1.0.mod) = 36 bytes
+BLAKE2s (github.com_hashicorp_errwrap_@v_v1.1.0.zip) = 9c102ada7d0bb7b837d6fabc8a2662d2612fceb65c314f63916375691d4eae88
+SHA512 (github.com_hashicorp_errwrap_@v_v1.1.0.zip) = 8065dc99eacbda55ab187ddcc5ff4792246c8b623b2c978df0bfbb2149c07966ca701dd6f36e7660074f47d082e1654eee0de01347fecd65bbd90f386346e110
+Size (github.com_hashicorp_errwrap_@v_v1.1.0.zip) = 9497 bytes
+BLAKE2s (github.com_hashicorp_go-multierror_@v_v1.1.1.mod) = c6507daef4281dd9103d6a409a10346adbf62ee929369d9ec194f6c835cbb843
+SHA512 (github.com_hashicorp_go-multierror_@v_v1.1.1.mod) = d44bb68b322c8512c135ca9689bbc603643a4a924dd59c168519761878fff14a394f365fe5d88114f5552a9ed1791f6f9e3f7cc44be08b412f0b3a5eb3efd67c
+Size (github.com_hashicorp_go-multierror_@v_v1.1.1.mod) = 96 bytes
+BLAKE2s (github.com_hashicorp_go-multierror_@v_v1.1.1.zip) = 8ec8a139d3b5a9b2699d5eb8854b13661639cff6bd3d40c2781e6292a72577ec
+SHA512 (github.com_hashicorp_go-multierror_@v_v1.1.1.zip) = 054679ee890bfb4f268a614870a100525b996f53bd48dc914200f2f18a4dec30cda59e26c16478259d1e80c35864df6090901595b59fb80a209f30d909e9e9d7
+Size (github.com_hashicorp_go-multierror_@v_v1.1.1.zip) = 19419 bytes
+BLAKE2s (github.com_picohive_go-serial_@v_v1.6.1.mod) = c430c3b6be4d3fe5478c960ed9e0bb6dbf8af29f401d0f75241e0a334f385fb3
+SHA512 (github.com_picohive_go-serial_@v_v1.6.1.mod) = aa9e3245e4401a32061f12b2c34d07d59829977d1f7cdc2a089ad2a1cc3b35168730d61a8560ffba7610f3b5d912acd54857333c2847474eaa6384e4427cab1e
+Size (github.com_picohive_go-serial_@v_v1.6.1.mod) = 345 bytes
+BLAKE2s (github.com_picohive_go-serial_@v_v1.6.1.zip) = e36ad72fe728dc6506951e345b90baf118b46755d3c8a3f2996ae2cbca9a1303
+SHA512 (github.com_picohive_go-serial_@v_v1.6.1.zip) = 347eedd0251b0452be96cbe31e8e3fd0961cfa90b7a05179a2748187287e4c07b9e188075dd41bebae4f34b2c4b0882683b34238c753375b6d8fceb56ce10ff0
+Size (github.com_picohive_go-serial_@v_v1.6.1.zip) = 46672 bytes
+BLAKE2s (golang.org_x_exp_@v_v0.0.0-20220722155223-a9213eeb770e.mod) = c3e3cde54a261dfb68a6f0199cb17db883d0f3e4c5c8cdb3df75db724e359e51
+SHA512 (golang.org_x_exp_@v_v0.0.0-20220722155223-a9213eeb770e.mod) = 542aeaf9c9269077f56f31281ebba0f20cea13a9816d5bb969ea4247ceb5439efd91a4a4b63ba3c05313c51f3a2148b2344ea47683d7a40a16af69cb11a74098
+Size (golang.org_x_exp_@v_v0.0.0-20220722155223-a9213eeb770e.mod) = 325 bytes
+BLAKE2s (golang.org_x_exp_@v_v0.0.0-20220722155223-a9213eeb770e.zip) = d70cd1e2f688454b10a0d47bab6d993e04004865702e6227b827ccc5a9c02a54
+SHA512 (golang.org_x_exp_@v_v0.0.0-20220722155223-a9213eeb770e.zip) = 5b1b3da59acc0b621c35b45577c2f00a19a3ee46714f8216a608683043e717b78a1838ce63805edcddf41586f102d17cdba0a9da0e74614bbc686612a0667f4c
+Size (golang.org_x_exp_@v_v0.0.0-20220722155223-a9213eeb770e.zip) = 365042 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20220829200755-d48e67d00261.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
+SHA512 (golang.org_x_sys_@v_v0.0.0-20220829200755-d48e67d00261.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
+Size (golang.org_x_sys_@v_v0.0.0-20220829200755-d48e67d00261.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20220829200755-d48e67d00261.zip) = cd2d5488e4dd53f10095607df821efac23b1bec7173f0f46240d8a7a3ec0d32c
+SHA512 (golang.org_x_sys_@v_v0.0.0-20220829200755-d48e67d00261.zip) = c6ea3736d205593d60dfaf13ac2eb66ea7f64b2de60356b6b3472c3cbb77a0fe240a7ad2eb15cdea84707d300af4abdff6d903245ce305e46c8a81920b243e2d
+Size (golang.org_x_sys_@v_v0.0.0-20220829200755-d48e67d00261.zip) = 1817893 bytes
+SHA1 (patch-go.mod) = 81be0a6e03cec4a1f0046c020cdc8f495990ffd5
+SHA1 (patch-go.sum) = 70cfa90f2ddebcecb1234e6dae52ee39f56533ec
diff --git a/arduino-serial-monitor/go-modules.mk b/arduino-serial-monitor/go-modules.mk
new file mode 100644
index 0000000000..3009362727
--- /dev/null
+++ b/arduino-serial-monitor/go-modules.mk
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+GO_MODULE_FILES+=	github.com/arduino/pluggable-monitor-protocol-handler/@v/v0.9.2.mod
+GO_MODULE_FILES+=	github.com/arduino/pluggable-monitor-protocol-handler/@v/v0.9.2.zip
+GO_MODULE_FILES+=	github.com/creack/goselect/@v/v0.1.2.mod
+GO_MODULE_FILES+=	github.com/creack/goselect/@v/v0.1.2.zip
+GO_MODULE_FILES+=	github.com/davecgh/go-spew/@v/v1.1.1.mod
+GO_MODULE_FILES+=	github.com/davecgh/go-spew/@v/v1.1.1.zip
+GO_MODULE_FILES+=	github.com/hashicorp/errwrap/@v/v1.0.0.mod
+GO_MODULE_FILES+=	github.com/hashicorp/errwrap/@v/v1.1.0.mod
+GO_MODULE_FILES+=	github.com/hashicorp/errwrap/@v/v1.1.0.zip
+GO_MODULE_FILES+=	github.com/hashicorp/go-multierror/@v/v1.1.1.mod
+GO_MODULE_FILES+=	github.com/hashicorp/go-multierror/@v/v1.1.1.zip
+GO_MODULE_FILES+=	github.com/picohive/go-serial/@v/v1.6.1.mod
+GO_MODULE_FILES+=	github.com/picohive/go-serial/@v/v1.6.1.zip
+GO_MODULE_FILES+=	golang.org/x/exp/@v/v0.0.0-20220722155223-a9213eeb770e.mod
+GO_MODULE_FILES+=	golang.org/x/exp/@v/v0.0.0-20220722155223-a9213eeb770e.zip
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20220829200755-d48e67d00261.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20220829200755-d48e67d00261.zip
diff --git a/arduino-serial-monitor/patches/patch-go.mod b/arduino-serial-monitor/patches/patch-go.mod
new file mode 100644
index 0000000000..dacd685c5f
--- /dev/null
+++ b/arduino-serial-monitor/patches/patch-go.mod
@@ -0,0 +1,20 @@
+$NetBSD$
+
+--- go.mod.orig	2023-02-09 08:37:09.000000000 +0000
++++ go.mod
+@@ -2,6 +2,8 @@ module github.com/arduino/serial-monitor
+ 
+ go 1.18
+ 
++replace go.bug.st/serial v1.4.1 => github.com/picohive/go-serial v1.6.1
++
+ require (
+ 	github.com/arduino/pluggable-monitor-protocol-handler v0.9.2
+ 	go.bug.st/serial v1.4.1
+@@ -13,5 +15,5 @@ require (
+ 	github.com/davecgh/go-spew v1.1.1 // indirect
+ 	github.com/hashicorp/errwrap v1.1.0 // indirect
+ 	github.com/hashicorp/go-multierror v1.1.1 // indirect
+-	golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
++	golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 // indirect
+ )
diff --git a/arduino-serial-monitor/patches/patch-go.sum b/arduino-serial-monitor/patches/patch-go.sum
new file mode 100644
index 0000000000..3f8bc0287b
--- /dev/null
+++ b/arduino-serial-monitor/patches/patch-go.sum
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- go.sum.orig	2023-02-09 08:37:09.000000000 +0000
++++ go.sum
+@@ -9,6 +9,10 @@ github.com/hashicorp/errwrap v1.1.0 h1:O
+ github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
+ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
+ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
++github.com/picohive/go-serial v1.6.0 h1:l+gSqJA5sK0LO3Tm6LPQso7C1hKBtvVbW1scNN3MrQI=
++github.com/picohive/go-serial v1.6.0/go.mod h1:UABfsluHAiaNI+La2iESysd9Vetq7VRdpxvjx7CmmOE=
++github.com/picohive/go-serial v1.6.1 h1:xS0kGjdOSHt+MVzU37fFGCnrcVrhVdjtN7twhCjrTuA=
++github.com/picohive/go-serial v1.6.1/go.mod h1:UABfsluHAiaNI+La2iESysd9Vetq7VRdpxvjx7CmmOE=
+ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
+ go.bug.st/serial v1.4.1 h1:AwYUNixVf90XymNeJaUkMrPp+GZQe3RMFQmpVdHIUK8=
+@@ -17,4 +21,6 @@ golang.org/x/exp v0.0.0-20220722155223-a
+ golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA=
+ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k=
+ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
++golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 h1:v6hYoSR9T5oet+pMXwUWkbiVqx/63mlHjefrHmxwfeY=
++golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=


Home | Main Index | Thread Index | Old Index