* [PR PATCH] New package: ser2net & libgensio
@ 2025-05-01 8:40 vincele
2025-05-01 8:49 ` [PR PATCH] [Updated] " vincele
` (26 more replies)
0 siblings, 27 replies; 28+ messages in thread
From: vincele @ 2025-05-01 8:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 957 bytes --]
There is a new pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
New package: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3903 bytes --]
From 0ba2a31eac24ee175b0676c5a9871b249a66ab43 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 29 +++++++++++++++++++++++++++++
3 files changed, 33 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..d85d545013dd81
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,29 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+#makedepends="openssl-devel"
+hostmakedepends="swig pkg-config automake libtool"
+build_style=gnu-configure
+short_desc="A library to abstract stream I/O like serial port, TCP, telnet, UDP, SSL, IPMI SOL, etc."
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0, LGPL-2.1"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From edca3f632e1c9051af37915afdb52dadedb667bd Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/libgensio/template | 1 -
srcpkgs/ser2net/template | 13 +++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
index d85d545013dd81..ab3e1ebd219965 100644
--- a/srcpkgs/libgensio/template
+++ b/srcpkgs/libgensio/template
@@ -2,7 +2,6 @@
pkgname=libgensio
version=2.8.14
revision=1
-#makedepends="openssl-devel"
hostmakedepends="swig pkg-config automake libtool"
build_style=gnu-configure
short_desc="A library to abstract stream I/O like serial port, TCP, telnet, UDP, SSL, IPMI SOL, etc."
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..f41d2df0dbe103
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,13 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+makedepends="libgensio-devel libyaml-devel"
+hostmakedepends="pkg-config"
+build_style=gnu-configure
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] New package: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
@ 2025-05-01 8:49 ` vincele
2025-05-01 9:07 ` vincele
` (25 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-01 8:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
New package: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 4363 bytes --]
From 0ba2a31eac24ee175b0676c5a9871b249a66ab43 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 29 +++++++++++++++++++++++++++++
3 files changed, 33 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..d85d545013dd81
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,29 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+#makedepends="openssl-devel"
+hostmakedepends="swig pkg-config automake libtool"
+build_style=gnu-configure
+short_desc="A library to abstract stream I/O like serial port, TCP, telnet, UDP, SSL, IPMI SOL, etc."
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0, LGPL-2.1"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 2a79c2d4435a3fcd47995b9e6404aa26d2d64cd2 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/libgensio/template | 7 +++----
srcpkgs/ser2net/template | 13 +++++++++++++
2 files changed, 16 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
index d85d545013dd81..6dcc9185973a31 100644
--- a/srcpkgs/libgensio/template
+++ b/srcpkgs/libgensio/template
@@ -2,12 +2,11 @@
pkgname=libgensio
version=2.8.14
revision=1
-#makedepends="openssl-devel"
-hostmakedepends="swig pkg-config automake libtool"
build_style=gnu-configure
-short_desc="A library to abstract stream I/O like serial port, TCP, telnet, UDP, SSL, IPMI SOL, etc."
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="A library to abstract stream I/O"
maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
-license="GPL-2.0, LGPL-2.1"
+license="GPL-2.0-only AND LGPL-2.1-only"
homepage="https://github.com/cminyard/gensio"
distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..cdfba8f09c6bd9
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,13 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+makedepends="libgensio-devel libyaml-devel"
+hostmakedepends="pkg-config"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] New package: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
2025-05-01 8:49 ` [PR PATCH] [Updated] " vincele
@ 2025-05-01 9:07 ` vincele
2025-05-01 9:15 ` [PR PATCH] [Updated] [DRAFT] " vincele
` (24 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-01 9:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 962 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
New package: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3344 bytes --]
From 9c2cc364cc7ead1568b8df7f79454f364e317164 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 29 +++++++++++++++++++++++++++++
3 files changed, 33 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..2c8192403e3f7d
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,29 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+checkdepends="python"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From e0a9329a35032af45fa09ffccb64574ab0783ab4 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..1374b3006b55c8
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,13 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [DRAFT] New package: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
2025-05-01 8:49 ` [PR PATCH] [Updated] " vincele
2025-05-01 9:07 ` vincele
@ 2025-05-01 9:15 ` vincele
2025-05-01 9:47 ` vincele
` (23 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-01 9:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 970 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[DRAFT] New package: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3390 bytes --]
From 8dbfa1422cd62aeeade70688b56c0d25cd4170b9 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..a8ecad7e4a30a9
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,32 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+do_check() {
+ : #requires python-gensio which is not built
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 94a7488631ef56f2421e15350308db1bd83382ea Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..1374b3006b55c8
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,13 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [DRAFT] New package: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (2 preceding siblings ...)
2025-05-01 9:15 ` [PR PATCH] [Updated] [DRAFT] " vincele
@ 2025-05-01 9:47 ` vincele
2025-05-04 8:57 ` [PR REVIEW] [RFC] New packages: " Bnyro
` (22 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-01 9:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 970 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[DRAFT] New package: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3435 bytes --]
From 15835b783c4f9672906b32d9d2eff98616e5f638 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..76d7648fc6344f
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,32 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+do_check() {
+ : # requires python-gensio which is not built
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 30ee40b5428c9fe986c794810271372b904f0f4e Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..89161c30aa8249
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,17 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+
+do_check() {
+ : # tests disabled
+}
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR REVIEW] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (3 preceding siblings ...)
2025-05-01 9:47 ` vincele
@ 2025-05-04 8:57 ` Bnyro
2025-05-04 8:58 ` Bnyro
` (21 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: Bnyro @ 2025-05-04 8:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
New review comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#discussion_r2072560795
Comment:
```suggestion
make_check=no # <comment about why they are disabled>
```
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR REVIEW] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (4 preceding siblings ...)
2025-05-04 8:57 ` [PR REVIEW] [RFC] New packages: " Bnyro
@ 2025-05-04 8:58 ` Bnyro
2025-05-04 9:00 ` Bnyro
` (20 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: Bnyro @ 2025-05-04 8:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 284 bytes --]
New review comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#discussion_r2072561066
Comment:
Use
```
make_check=no # requires python-gensio which is not built
```
to disable checks instead of just skipping them manually please.
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR REVIEW] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (5 preceding siblings ...)
2025-05-04 8:58 ` Bnyro
@ 2025-05-04 9:00 ` Bnyro
2025-05-04 9:01 ` Bnyro
` (19 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: Bnyro @ 2025-05-04 9:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
New review comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#discussion_r2072561315
Comment:
```suggestion
homepage="https://github.com/cminyard/ser2net"
changelog="https://github.com/cminyard/ser2net/releases"
```
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR REVIEW] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (6 preceding siblings ...)
2025-05-04 9:00 ` Bnyro
@ 2025-05-04 9:01 ` Bnyro
2025-05-04 9:26 ` [PR PATCH] [Updated] " vincele
` (18 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: Bnyro @ 2025-05-04 9:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 268 bytes --]
New review comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#discussion_r2072561573
Comment:
```suggestion
homepage="https://github.com/cminyard/gensio"
changelog="https://github.com/cminyard/gensio/releases"
```
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (7 preceding siblings ...)
2025-05-04 9:01 ` Bnyro
@ 2025-05-04 9:26 ` vincele
2025-05-04 9:27 ` vincele
` (17 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-04 9:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 4415 bytes --]
From 15835b783c4f9672906b32d9d2eff98616e5f638 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/3] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..76d7648fc6344f
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,32 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+do_check() {
+ : # requires python-gensio which is not built
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 30ee40b5428c9fe986c794810271372b904f0f4e Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/3] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..89161c30aa8249
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,17 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+
+do_check() {
+ : # tests disabled
+}
From e117d6223d132dc1f848a27cb33d2f05e2ffbdb9 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:26:36 +0200
Subject: [PATCH 3/3] Update srcpkgs/ser2net/template (@Bnyro suggestions)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/ser2net/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
index 89161c30aa8249..3582ef9c04a047 100644
--- a/srcpkgs/ser2net/template
+++ b/srcpkgs/ser2net/template
@@ -9,6 +9,7 @@ short_desc="Serial to network interface, allows TCP/UDP to serial port connectio
maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (8 preceding siblings ...)
2025-05-04 9:26 ` [PR PATCH] [Updated] " vincele
@ 2025-05-04 9:27 ` vincele
2025-05-04 9:27 ` vincele
` (16 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-04 9:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 5348 bytes --]
From 15835b783c4f9672906b32d9d2eff98616e5f638 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/4] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..76d7648fc6344f
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,32 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+do_check() {
+ : # requires python-gensio which is not built
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 30ee40b5428c9fe986c794810271372b904f0f4e Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/4] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..89161c30aa8249
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,17 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+
+do_check() {
+ : # tests disabled
+}
From e117d6223d132dc1f848a27cb33d2f05e2ffbdb9 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:26:36 +0200
Subject: [PATCH 3/4] Update srcpkgs/ser2net/template (@Bnyro suggestions)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/ser2net/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
index 89161c30aa8249..3582ef9c04a047 100644
--- a/srcpkgs/ser2net/template
+++ b/srcpkgs/ser2net/template
@@ -9,6 +9,7 @@ short_desc="Serial to network interface, allows TCP/UDP to serial port connectio
maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
From acba9a5a27c7fafc232fec1548ebc61dd7448121 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:26:57 +0200
Subject: [PATCH 4/4] Update srcpkgs/ser2net/template (@Bnyro suggestions)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/ser2net/template | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
index 3582ef9c04a047..72c405faf88806 100644
--- a/srcpkgs/ser2net/template
+++ b/srcpkgs/ser2net/template
@@ -12,7 +12,4 @@ homepage="https://github.com/cminyard/ser2net"
changelog="https://github.com/cminyard/ser2net/releases"
distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
-
-do_check() {
- : # tests disabled
-}
+make_check=no # <comment about why they are disabled>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (9 preceding siblings ...)
2025-05-04 9:27 ` vincele
@ 2025-05-04 9:27 ` vincele
2025-05-04 9:29 ` vincele
` (15 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-04 9:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 6316 bytes --]
From 15835b783c4f9672906b32d9d2eff98616e5f638 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/5] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..76d7648fc6344f
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,32 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+do_check() {
+ : # requires python-gensio which is not built
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 30ee40b5428c9fe986c794810271372b904f0f4e Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/5] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..89161c30aa8249
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,17 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+
+do_check() {
+ : # tests disabled
+}
From e117d6223d132dc1f848a27cb33d2f05e2ffbdb9 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:26:36 +0200
Subject: [PATCH 3/5] Update srcpkgs/ser2net/template (@Bnyro suggestions)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/ser2net/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
index 89161c30aa8249..3582ef9c04a047 100644
--- a/srcpkgs/ser2net/template
+++ b/srcpkgs/ser2net/template
@@ -9,6 +9,7 @@ short_desc="Serial to network interface, allows TCP/UDP to serial port connectio
maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
From acba9a5a27c7fafc232fec1548ebc61dd7448121 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:26:57 +0200
Subject: [PATCH 4/5] Update srcpkgs/ser2net/template (@Bnyro suggestions)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/ser2net/template | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
index 3582ef9c04a047..72c405faf88806 100644
--- a/srcpkgs/ser2net/template
+++ b/srcpkgs/ser2net/template
@@ -12,7 +12,4 @@ homepage="https://github.com/cminyard/ser2net"
changelog="https://github.com/cminyard/ser2net/releases"
distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
-
-do_check() {
- : # tests disabled
-}
+make_check=no # <comment about why they are disabled>
From f86d662c344e1bf532d96b016dca4c5c22e2ba3f Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:27:37 +0200
Subject: [PATCH 5/5] Update srcpkgs/libgensio/template (@Bnyro suggestion)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/libgensio/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
index 76d7648fc6344f..e50f7517255d5f 100644
--- a/srcpkgs/libgensio/template
+++ b/srcpkgs/libgensio/template
@@ -8,6 +8,7 @@ short_desc="Library to abstract stream I/O"
maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
license="GPL-2.0-only AND LGPL-2.1-only"
homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (10 preceding siblings ...)
2025-05-04 9:27 ` vincele
@ 2025-05-04 9:29 ` vincele
2025-05-04 9:31 ` vincele
` (14 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-04 9:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 6316 bytes --]
From 15835b783c4f9672906b32d9d2eff98616e5f638 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/5] New package: libgensio-2.8.14
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..76d7648fc6344f
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,32 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+
+pre_configure() {
+ autoreconf -fi
+}
+
+do_check() {
+ : # requires python-gensio which is not built
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 30ee40b5428c9fe986c794810271372b904f0f4e Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/5] New package: ser2net-4.6.4
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..89161c30aa8249
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,17 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+
+do_check() {
+ : # tests disabled
+}
From e117d6223d132dc1f848a27cb33d2f05e2ffbdb9 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:26:36 +0200
Subject: [PATCH 3/5] Update srcpkgs/ser2net/template (@Bnyro suggestions)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/ser2net/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
index 89161c30aa8249..3582ef9c04a047 100644
--- a/srcpkgs/ser2net/template
+++ b/srcpkgs/ser2net/template
@@ -9,6 +9,7 @@ short_desc="Serial to network interface, allows TCP/UDP to serial port connectio
maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
From acba9a5a27c7fafc232fec1548ebc61dd7448121 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:26:57 +0200
Subject: [PATCH 4/5] Update srcpkgs/ser2net/template (@Bnyro suggestions)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/ser2net/template | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
index 3582ef9c04a047..72c405faf88806 100644
--- a/srcpkgs/ser2net/template
+++ b/srcpkgs/ser2net/template
@@ -12,7 +12,4 @@ homepage="https://github.com/cminyard/ser2net"
changelog="https://github.com/cminyard/ser2net/releases"
distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
-
-do_check() {
- : # tests disabled
-}
+make_check=no # <comment about why they are disabled>
From f86d662c344e1bf532d96b016dca4c5c22e2ba3f Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sun, 4 May 2025 11:27:37 +0200
Subject: [PATCH 5/5] Update srcpkgs/libgensio/template (@Bnyro suggestion)
Co-authored-by: Bnyro <bnyro@tutanota.com>
---
srcpkgs/libgensio/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
index 76d7648fc6344f..e50f7517255d5f 100644
--- a/srcpkgs/libgensio/template
+++ b/srcpkgs/libgensio/template
@@ -8,6 +8,7 @@ short_desc="Library to abstract stream I/O"
maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
license="GPL-2.0-only AND LGPL-2.1-only"
homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (11 preceding siblings ...)
2025-05-04 9:29 ` vincele
@ 2025-05-04 9:31 ` vincele
2025-05-04 9:56 ` [PR PATCH] [Updated] " vincele
` (13 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-04 9:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
New comment by vincele on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#issuecomment-2849108353
Comment:
I'll rebase this and add a `Co-authored-by: @Bnyro`
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (12 preceding siblings ...)
2025-05-04 9:31 ` vincele
@ 2025-05-04 9:56 ` vincele
2025-05-04 9:56 ` vincele
` (12 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-04 9:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3567 bytes --]
From b1e78d42b085622bd5236ad0490920b331881b32 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index a22a13c9dbd121..6e4bb3e9ee2901 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4543,3 +4543,6 @@ libSDL3.so.0 SDL3-3.2.2_1
libiconv.so.2 libiconv-1.18_1
libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..f34ee657f9d667
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,30 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+make_check=no # requires python-gensio which is not built
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 5469b82020fbec69b8aef8181035437c1fa311f4 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..c630edf157e7d1
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,15 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+#make_check=no # TODO
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (13 preceding siblings ...)
2025-05-04 9:56 ` [PR PATCH] [Updated] " vincele
@ 2025-05-04 9:56 ` vincele
2025-05-04 10:02 ` vincele
` (11 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-04 9:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3597 bytes --]
From d0a6ee48c39588575991d7db9d6a0143c8675c78 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index 625e88546008ac..adcbf916033e37 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4545,3 +4545,6 @@ libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
libclapper-gtk-0.0.so.0 clapper-libs-0.8.0_1
libclapper-0.0.so.0 clapper-libs-0.8.0_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..f34ee657f9d667
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,30 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+make_check=no # requires python-gensio which is not built
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From e18c959bbc5ddb746994aa30ad51d3f9df5f5b0b Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..c630edf157e7d1
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,15 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+#make_check=no # TODO
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (14 preceding siblings ...)
2025-05-04 9:56 ` vincele
@ 2025-05-04 10:02 ` vincele
2025-05-04 10:14 ` Bnyro
` (10 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-04 10:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3657 bytes --]
From d0a6ee48c39588575991d7db9d6a0143c8675c78 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index 625e88546008ac..adcbf916033e37 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4545,3 +4545,6 @@ libcharset.so.1 libiconv-1.18_1
libomemo-c.so.0 libomemo-c-0.5.1_1
libclapper-gtk-0.0.so.0 clapper-libs-0.8.0_1
libclapper-0.0.so.0 clapper-libs-0.8.0_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..f34ee657f9d667
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,30 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+make_check=no # requires python-gensio which is not built
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 0147d7829230a4d7daa02ebb85fc7eee2771de92 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..31e9866522c737
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,16 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+checkdepends="python"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+make_check=no # requires python-gensio which is not built
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (15 preceding siblings ...)
2025-05-04 10:02 ` vincele
@ 2025-05-04 10:14 ` Bnyro
2025-05-05 9:57 ` vincele
` (9 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: Bnyro @ 2025-05-04 10:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
New comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#issuecomment-2849126617
Comment:
> I'll rebase this and add a `Co-authored-by: @Bnyro`
>
You don't have to add me as co-author, it's fine to just apply the suggestions :)
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (16 preceding siblings ...)
2025-05-04 10:14 ` Bnyro
@ 2025-05-05 9:57 ` vincele
2025-05-05 10:46 ` Bnyro
` (8 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-05 9:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by vincele on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#issuecomment-2850498349
Comment:
Too late, but if that is a problem for you @Bnyro, I can rework that.
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (17 preceding siblings ...)
2025-05-05 9:57 ` vincele
@ 2025-05-05 10:46 ` Bnyro
2025-05-18 9:12 ` [PR PATCH] [Updated] " vincele
` (7 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: Bnyro @ 2025-05-05 10:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#issuecomment-2850604431
Comment:
> Too late, but if that is a problem for you @Bnyro, I can rework that.
>
All good :)
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (18 preceding siblings ...)
2025-05-05 10:46 ` Bnyro
@ 2025-05-18 9:12 ` vincele
2025-05-24 9:54 ` vincele
` (6 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-18 9:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3663 bytes --]
From f1f3294f532f3e1f5d0c5b7ef107e5b59cc74b28 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index 940f6d7be6b0b9..3dd1275442c815 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4547,3 +4547,6 @@ libomemo-c.so.0 libomemo-c-0.5.1_1
libclapper-gtk-0.0.so.0 clapper-libs-0.8.0_1
libclapper-0.0.so.0 clapper-libs-0.8.0_1
libopenxr_loader.so.1 openxr-1.1.47_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..f34ee657f9d667
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,30 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+make_check=no # requires python-gensio which is not built
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 16b954a8289d621a17edb348499d22227c53f7f0 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..31e9866522c737
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,16 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+checkdepends="python"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+make_check=no # requires python-gensio which is not built
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] [RFC] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (19 preceding siblings ...)
2025-05-18 9:12 ` [PR PATCH] [Updated] " vincele
@ 2025-05-24 9:54 ` vincele
2025-06-07 17:52 ` [PR PATCH] [Updated] " vincele
` (5 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-05-24 9:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
[RFC] New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3658 bytes --]
From 03d30c068fdf566684e8722561f672a35ac22ec1 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index ab12d8228f6fe1..d8bfe36bb199cf 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4549,3 +4549,6 @@ libopenxr_loader.so.1 openxr-1.1.47_1
libppsdocument-4.0.so.5 libpapers-48.3_1
libppsshell-4.0.so.4 libpapers-48.3_1
libppsview-4.0.so.4 libpapers-48.3_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..f34ee657f9d667
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,30 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+make_check=no # requires python-gensio which is not built
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From ead50a7ce8b90fa7ea5709c9a1e41fed0d22fffd Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..31e9866522c737
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,16 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+checkdepends="python"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+make_check=no # requires python-gensio which is not built
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (20 preceding siblings ...)
2025-05-24 9:54 ` vincele
@ 2025-06-07 17:52 ` vincele
2025-06-07 19:41 ` vincele
` (4 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-06-07 17:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3656 bytes --]
From 92bad03cb881d2af2b95851b8943790db59aebaf Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.14
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index cc0d473608b529..7c35fa76fd8efb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4557,3 +4557,6 @@ libngtcp2.so.16 ngtcp2-1.13.0_1
libngtcp2_crypto_ossl.so.0 ngtcp2-1.13.0_1
libprom.so prometheus-client-c-0.1.3_1
libqlementine.so.1 qlementine-1.2.2_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..f34ee657f9d667
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,30 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.14
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=a3492c9e5c1e4ee8b5e5410eaf3a07b6bfc523069252f4a0a0a39e6d255f0db7
+make_check=no # requires python-gensio which is not built
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 3d1b31aef63329d75b37b4f460a83a0429a8a96a Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.4
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..31e9866522c737
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,16 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+checkdepends="python"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=75864434c4f002fa3570daaffeb6f794354fca6d8b5814b8386977a3b1416be9
+make_check=no # requires python-gensio which is not built
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (21 preceding siblings ...)
2025-06-07 17:52 ` [PR PATCH] [Updated] " vincele
@ 2025-06-07 19:41 ` vincele
2025-06-07 19:43 ` vincele
` (3 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-06-07 19:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3656 bytes --]
From d3e4de07b2ba9380089f166ac9b343958d5ed01f Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.15
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index cc0d473608b529..7c35fa76fd8efb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4557,3 +4557,6 @@ libngtcp2.so.16 ngtcp2-1.13.0_1
libngtcp2_crypto_ossl.so.0 ngtcp2-1.13.0_1
libprom.so prometheus-client-c-0.1.3_1
libqlementine.so.1 qlementine-1.2.2_1
+libgensiomdns.so.10 libgensio-2.8.14_1
+libgensioosh.so.10 libgensio-2.8.14_1
+libgensio.so.10 libgensio-2.8.14_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..c6bc181bf25dfc
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,30 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.15
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=1cfa7d6ef19b8d98808b1f4bce225454781299f885815c22ab59d85585f54ee3
+make_check=no # requires python-gensio which is not built
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From c9ca8561038eadfd3c53ad00376ca2eeee6df621 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.5
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..d9e4fb96e8a58d
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,16 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.5
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+checkdepends="python"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=96dfc3fd06b1bf4d7c1f46d7e8cc1eff555de64f419d76f57bd0346e000f9781
+make_check=no # requires python-gensio which is not built
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (22 preceding siblings ...)
2025-06-07 19:41 ` vincele
@ 2025-06-07 19:43 ` vincele
2025-06-07 19:43 ` vincele
` (2 subsequent siblings)
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-06-07 19:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
New comment by vincele on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#issuecomment-2952932216
Comment:
DONE, rebased on upstream/master, upgraded to latest versions of both packages
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (23 preceding siblings ...)
2025-06-07 19:43 ` vincele
@ 2025-06-07 19:43 ` vincele
2025-06-08 9:36 ` [PR PATCH] [Updated] " vincele
2025-06-08 14:00 ` [PR PATCH] [Merged]: " Duncaen
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-06-07 19:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
New comment by vincele on void-packages repository
https://github.com/void-linux/void-packages/pull/55220#issuecomment-2952932216
Comment:
DONE, rebased on upstream/master, upgraded to latest versions of both packages. I'll keep in mind to randomize additions in shlibs.
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Updated] New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (24 preceding siblings ...)
2025-06-07 19:43 ` vincele
@ 2025-06-08 9:36 ` vincele
2025-06-08 14:00 ` [PR PATCH] [Merged]: " Duncaen
26 siblings, 0 replies; 28+ messages in thread
From: vincele @ 2025-06-08 9:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
There is an updated pull request by vincele against master on the void-packages repository
https://github.com/vincele/void-packages ser2net
https://github.com/void-linux/void-packages/pull/55220
New packages: ser2net & libgensio
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
A patch file from https://github.com/void-linux/void-packages/pull/55220.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ser2net-55220.patch --]
[-- Type: text/x-diff, Size: 3777 bytes --]
From d40e0bb954e0358790f58b77f178ceafb47bbbb2 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:14 +0200
Subject: [PATCH 1/2] New package: libgensio-2.8.15
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
common/shlibs | 3 +++
srcpkgs/libgensio-devel | 1 +
srcpkgs/libgensio/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+)
create mode 120000 srcpkgs/libgensio-devel
create mode 100644 srcpkgs/libgensio/template
diff --git a/common/shlibs b/common/shlibs
index 692e6bf13b89bb..a4ef1416b1a447 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4536,6 +4536,9 @@ libsfdo-desktop-file.so.0 libsfdo-0.1.3_1
libsfdo-icon.so.0 libsfdo-0.1.3_1
libKMahjongg6.so.6 libkmahjongg-24.08.2_1
libflashrom.so.1 flashrom-1.4.0_1
+libgensiomdns.so.10 libgensio-2.8.15_1
+libgensioosh.so.10 libgensio-2.8.15_1
+libgensio.so.10 libgensio-2.8.15_1
libpyside6.so.6.8 libpyside6-6.8.3_1
libpyside6qml.so.6.8 libpyside6-6.8.3_1
libshiboken6.so.6.8 libshiboken6-6.8.3_1
diff --git a/srcpkgs/libgensio-devel b/srcpkgs/libgensio-devel
new file mode 120000
index 00000000000000..31255e0ac21c9a
--- /dev/null
+++ b/srcpkgs/libgensio-devel
@@ -0,0 +1 @@
+libgensio
\ No newline at end of file
diff --git a/srcpkgs/libgensio/template b/srcpkgs/libgensio/template
new file mode 100644
index 00000000000000..c6bc181bf25dfc
--- /dev/null
+++ b/srcpkgs/libgensio/template
@@ -0,0 +1,30 @@
+# Template file for 'libgensio'
+pkgname=libgensio
+version=2.8.15
+revision=1
+build_style=gnu-configure
+hostmakedepends="swig pkg-config automake libtool"
+short_desc="Library to abstract stream I/O"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only AND LGPL-2.1-only"
+homepage="https://github.com/cminyard/gensio"
+changelog="https://github.com/cminyard/gensio/releases"
+distfiles="https://github.com/cminyard/gensio/releases/download/v${version}/gensio-${version}.tar.gz"
+checksum=1cfa7d6ef19b8d98808b1f4bce225454781299f885815c22ab59d85585f54ee3
+make_check=no # requires python-gensio which is not built
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libgensio-devel_package() {
+ depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/lib/pkgconfig
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/share/man
+ }
+}
From 426d31cc6efdddf035be27649878c365017c1933 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Tue, 29 Apr 2025 23:16:54 +0200
Subject: [PATCH 2/2] New package: ser2net-4.6.5
Co-authored-by: @Bnyro
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
srcpkgs/ser2net/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/ser2net/template
diff --git a/srcpkgs/ser2net/template b/srcpkgs/ser2net/template
new file mode 100644
index 00000000000000..d9e4fb96e8a58d
--- /dev/null
+++ b/srcpkgs/ser2net/template
@@ -0,0 +1,16 @@
+# Template file for 'ser2net'
+pkgname=ser2net
+version=4.6.5
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="libgensio-devel libyaml-devel"
+checkdepends="python"
+short_desc="Serial to network interface, allows TCP/UDP to serial port connections"
+maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/cminyard/ser2net"
+changelog="https://github.com/cminyard/ser2net/releases"
+distfiles="https://github.com/cminyard/ser2net/releases/download/v${version}/ser2net-${version}.tar.gz"
+checksum=96dfc3fd06b1bf4d7c1f46d7e8cc1eff555de64f419d76f57bd0346e000f9781
+make_check=no # requires python-gensio which is not built
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [PR PATCH] [Merged]: New packages: ser2net & libgensio
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
` (25 preceding siblings ...)
2025-06-08 9:36 ` [PR PATCH] [Updated] " vincele
@ 2025-06-08 14:00 ` Duncaen
26 siblings, 0 replies; 28+ messages in thread
From: Duncaen @ 2025-06-08 14:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]
There's a merged pull request on the void-packages repository
New packages: ser2net & libgensio
https://github.com/void-linux/void-packages/pull/55220
Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
Redirected a USB-serial adapter, connected to a HW serial console, to a
local tcp port, and used nc to interact with it successfully.
This is serial-over-LAN with any hardware capable of serial & network (i.e.: without expensive "real" BMC HW).
This should also make possible to redirect a serial port from a zigbee USB adapter, but I've not tested that yet.
Test suites are disabled globally, because they depend on parts not built, without checks for feature availabilty (or that's how I interpreted the results I saw)
Not completely sure about the licenses, I put a `AND` in libgensio to appease pkg linting...
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl): **YES**
- I built this PR locally for these architectures (all crossbuilds):
- aarch64-musl
- aarch64
- x86_64
- ppc64
- ppc64-musl
^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~2025-06-08 14:00 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-01 8:40 [PR PATCH] New package: ser2net & libgensio vincele
2025-05-01 8:49 ` [PR PATCH] [Updated] " vincele
2025-05-01 9:07 ` vincele
2025-05-01 9:15 ` [PR PATCH] [Updated] [DRAFT] " vincele
2025-05-01 9:47 ` vincele
2025-05-04 8:57 ` [PR REVIEW] [RFC] New packages: " Bnyro
2025-05-04 8:58 ` Bnyro
2025-05-04 9:00 ` Bnyro
2025-05-04 9:01 ` Bnyro
2025-05-04 9:26 ` [PR PATCH] [Updated] " vincele
2025-05-04 9:27 ` vincele
2025-05-04 9:27 ` vincele
2025-05-04 9:29 ` vincele
2025-05-04 9:31 ` vincele
2025-05-04 9:56 ` [PR PATCH] [Updated] " vincele
2025-05-04 9:56 ` vincele
2025-05-04 10:02 ` vincele
2025-05-04 10:14 ` Bnyro
2025-05-05 9:57 ` vincele
2025-05-05 10:46 ` Bnyro
2025-05-18 9:12 ` [PR PATCH] [Updated] " vincele
2025-05-24 9:54 ` vincele
2025-06-07 17:52 ` [PR PATCH] [Updated] " vincele
2025-06-07 19:41 ` vincele
2025-06-07 19:43 ` vincele
2025-06-07 19:43 ` vincele
2025-06-08 9:36 ` [PR PATCH] [Updated] " vincele
2025-06-08 14:00 ` [PR PATCH] [Merged]: " Duncaen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).