Skip to contentSkip to conversation

package/gensio: bump to version 3.0.1

PATCH New Mattia Narducci 1 participant 4 messages Jan 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 package/gensio: bump to version 3.0.1

Changelog: https://sourceforge.net/p/ser2net/news

Static builds are no longer supported starting with version 2.6.0 [1] even when compiling all modules (gensios) in the library.

Updated licenses hashes due to upstream commit:
https://github.com/cminyard/gensio/commit/859e4465cf5788cb99da1002a4c38cd8841c1bb7

Removed patch 0001 which is now upstream.

Added a upstream patch to fix build against libressl.

[1] https://github.com/cminyard/gensio/commit/7b3786f5fb733cd593e631a7b75d4b47f5a4b95f

---
 .checkpackageignore                           |   1 -
 ...PKEY_ED25519-build-error-on-libressl.patch | 105 ------------------
 ...tool-allow-building-against-libressl.patch |  73 ++++++++++++
 package/gensio/Config.in                      |   1 +
 package/gensio/gensio.hash                    |  10 +-
 package/gensio/gensio.mk                      |   3 +-
 6 files changed, 81 insertions(+), 112 deletions(-)
 delete mode 100644 package/gensio/0001-Fix-missing-EVP_PKEY_ED25519-build-error-on-libressl.patch
 create mode 100644 package/gensio/0001-gensiotool-allow-building-against-libressl.patch
.checkpackageignore +0 -1
index 40d6c595c8..e7bb840b14 100644
@@ -415,7 +415,6 @@ package/gdb/16.3/0007-fix-musl-build-on-riscv.patch lib_patch.Upstream
 package/gdb/16.3/0008-gdbserver-Makefile.in-fix-NLS-build.patch lib_patch.Upstream
 package/gdb/16.3/0009-gdb-Fix-native-build-on-xtensa.patch lib_patch.Upstream
 package/genpart/0001-fix-return-code.patch lib_patch.Upstream
-package/gensio/0001-Fix-missing-EVP_PKEY_ED25519-build-error-on-libressl.patch lib_patch.Upstream
 package/gerbera/S99gerbera lib_sysv.Indent
 package/git-crypt/0001-fix-build-with-libressl-3.5.0.patch lib_patch.Upstream
 package/glorytun/0001-Add-support-for-Apple-silicon.patch lib_patch.Upstream
package/gensio/0001-Fix-missing-EVP_PKEY_ED25519-build-error-on-libressl.patch deleted +0 -105

105 lines not on this page · raw message

package/gensio/0001-gensiotool-allow-building-against-libressl.patch new file +73 -0

73 lines not on this page · raw message

package/gensio/Config.in +1 -0
index fd0e476970..d51ea99109 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_GENSIO
 	bool "gensio"
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_STATIC_LIBS # dlfcn.h
 	depends on BR2_TOOLCHAIN_HAS_ATOMIC
 	help
 	  A library to abstract stream I/O like serial port, TCP,
package/gensio/gensio.hash +5 -5
index 84af3fdab1..7d5a168013 100644
@@ -1,7 +1,7 @@
 # From https://sourceforge.net/projects/ser2net/files/ser2net/
-md5  c8d65e1809ed5cd1138fa309e3ab0e94  gensio-2.5.5.tar.gz
-sha1  076fc8324dedb658972a88c738131a409968e2ba  gensio-2.5.5.tar.gz
+md5  c55f9d5d9fd8a4038cb63658cee79cf5  gensio-3.0.1.tar.gz
+sha1  4d6c08be6abc830e64e1a29cbf1783ac3b96ded1  gensio-3.0.1.tar.gz
 # Locally computed:
-sha256  63c5fff536efd080fb7bc7fa084331c19fc64abd42b7f2bec86bd77b4fd10840  gensio-2.5.5.tar.gz
-sha256  501f3108e6c03e5a0a5585ebaaa369171aead5319cd0a7a4dc1f66211c1f09f1  COPYING
-sha256  dcac7d447dd81ab96d28dce00a07a6486e623f7ded94e2a2a8e83312405cdf89  COPYING.LIB
+sha256  06e02f45003d163ca2d94137ba920ea9b683b75f63321ab7dc21f742246a123a  gensio-3.0.1.tar.gz
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
package/gensio/gensio.mk +2 -1
index 2ba1b950d7..ac8fd61eff 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GENSIO_VERSION = 2.5.5
+GENSIO_VERSION = 3.0.1
 GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
 GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
 GENSIO_LICENSE_FILES = COPYING.LIB COPYING
@@ -12,6 +12,7 @@ GENSIO_INSTALL_STAGING = YES
 GENSIO_CONF_OPTS = \
 	--without-swig \
 	--without-python
+GENSIO_AUTORECONF = YES
 
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GENSIO_CONF_OPTS += --with-cplusplus
Signature · 6 lines
2.51.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/4 package/gensio: add udev optional dependency

Udev is an optional dependency used to directly control cm108 sound device gpios. It is enabled by default since version 2.6.3:
https://github.com/cminyard/gensio/commit/c1b5c0a214b85026f1d8c97bd79aae038fef733b

---
 package/gensio/gensio.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/gensio/gensio.mk +7 -0
index ac8fd61eff..e928a4dde9 100644
@@ -34,6 +34,13 @@ else
 GENSIO_CONF_OPTS += --without-mdns
 endif
 
+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
+GENSIO_DEPENDENCIES += udev
+GENSIO_CONF_OPTS += --with-udev
+else
+GENSIO_CONF_OPTS += --without-udev
+endif
+
 ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
 GENSIO_DEPENDENCIES += host-pkgconf libglib2
 GENSIO_CONF_OPTS += --with-glib
Signature · 6 lines
2.51.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 3/4 package/gensio: add portaudio optional dependency

In reply to Mattia Narducci

Portaudio is an optional dependency which is enabled by default since version 2.7.3 when alsa-lib is not available:
https://github.com/cminyard/gensio/commit/71eef5e3cef2232eed85c5cb604bdf5fe3ebf580

---
 package/gensio/gensio.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/gensio/gensio.mk +7 -0
index e928a4dde9..1246749051 100644
@@ -62,6 +62,13 @@ else
 GENSIO_CONF_OPTS += --without-openssl
 endif
 
+ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
+GENSIO_DEPENDENCIES += portaudio
+GENSIO_CONF_OPTS += --with-portaudio
+else
+GENSIO_CONF_OPTS += --without-portaudio
+endif
+
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 GENSIO_CONF_ENV += LIBS=-latomic
 endif
Signature · 6 lines
2.51.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 4/4 package/ser2net: bump to version 4.6.6

In reply to Mattia Narducci

Changelog: https://sourceforge.net/p/ser2net/news

Static builds are no longer supported after bumping gensio to 3.0.1.

Updated licenses hashes due to upstream commit:
https://github.com/cminyard/ser2net/commit/2bc83f09548dec25b0bec48e11a3ee1942fb3c3e

---
 package/ser2net/Config.in    | 1 +
 package/ser2net/ser2net.hash | 8 ++++----
 package/ser2net/ser2net.mk   | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)
package/ser2net/Config.in +1 -0
index 1859d42c8f..a14d0b8a49 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SER2NET
 	bool "ser2net"
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_STATIC_LIBS # gensio
 	depends on BR2_TOOLCHAIN_HAS_ATOMIC # gensio
 	select BR2_PACKAGE_GENSIO
 	select BR2_PACKAGE_LIBYAML
package/ser2net/ser2net.hash +4 -4
index 50a2efdee8..e625be70f5 100644
@@ -1,6 +1,6 @@
 # From https://sourceforge.net/projects/ser2net/files/ser2net/
-md5  73b4ccc7e9d89034f1a1a20a780b9da9  ser2net-4.3.8.tar.gz
-sha1  d1597d88d154489cb08bac69bb1772712d30cbcd  ser2net-4.3.8.tar.gz
+md5  d1b18cbac5e9caa0c259a8003b1e8c4e  ser2net-4.6.6.tar.gz
+sha1  306205fb87622b4b488621d94bc36436ab2d4134  ser2net-4.6.6.tar.gz
 # Locally computed:
-sha256  e5620975523059a38709bb53c0567600adbbcb8011066a2d2fe1b4db9efe0ba3  ser2net-4.3.8.tar.gz
-sha256  501f3108e6c03e5a0a5585ebaaa369171aead5319cd0a7a4dc1f66211c1f09f1  COPYING
+sha256  a468073c7bf8166c78c61d30bba487916dc4088e98f96e190b37ea8100a94fd4  ser2net-4.6.6.tar.gz
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
package/ser2net/ser2net.mk +1 -1
index 679aaec29a..97f3478d6e 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SER2NET_VERSION = 4.3.8
+SER2NET_VERSION = 4.6.6
 SER2NET_SITE = https://downloads.sourceforge.net/project/ser2net/ser2net
 SER2NET_LICENSE = GPL-2.0+
 SER2NET_LICENSE_FILES = COPYING
Signature · 6 lines
2.51.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot