Skip to contentSkip to conversation

package/socketcand: bump to version 0.4.2-122-g6dd5d33d4645ab221e8cd265c08607366e21ddf1

PATCH Applied yegorslists--- via buildroot 1 participant 2 messages Jul 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/socketcand: bump to version 0.4.2-122-g6dd5d33d4645ab221e8cd265c08607366e21ddf1

From: Yegor Yefremov <[email protected]>

Switch to meson build system.

Remove an upstreamed patch.

The license files are now gathered in the LICENSES folder.

Add support for the libsocketcan library.

---
 .checkpackageignore                           |   1 -
 .../0001-Fix-GCC10-build-failure.patch        | 113 ------------------
 package/socketcand/socketcand.hash            |   5 +-
 package/socketcand/socketcand.mk              |  17 ++-
 4 files changed, 15 insertions(+), 121 deletions(-)
 delete mode 100644 package/socketcand/0001-Fix-GCC10-build-failure.patch
.checkpackageignore +0 -1
index 06fca7f364..687814076e 100644
@@ -1083,7 +1083,6 @@ package/snort/0005-fix-sparc.patch lib_patch.Upstream
 package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch lib_patch.Upstream
 package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch lib_patch.Upstream
 package/snort/0008-Fix-NO-OPTIMIZE.patch lib_patch.Upstream
-package/socketcand/0001-Fix-GCC10-build-failure.patch lib_patch.Upstream
 package/softether/0001-Create-autotools-plumbing-for-SoftEther.patch lib_patch.Upstream
 package/softether/0002-Create-libsoftether.so-and-dynamically-link.patch lib_patch.Upstream
 package/softether/0003-use-fhs-install-directories.patch lib_patch.Upstream
package/socketcand/0001-Fix-GCC10-build-failure.patch deleted +0 -113

113 lines not on this page · raw message

package/socketcand/socketcand.hash +3 -2
index 713939897d..5879fcbce5 100644
@@ -1,3 +1,4 @@
 # Locally computed
-sha256  3c5cc7af4ff707ac344e62d2e37a74b59aeccd14b88e837cc142c52b69d64a39  socketcand-69e2201222f015a1abe7a58ecf61325012cd91b1.tar.gz
-sha256  18bda0db4e3c56cefdb1b9b01b7eada7764c0746f6321378c30d78f5ee81cfee  socketcand.c
+sha256  f19e600e99e13202a4039158c1d7dce55645271f14028d60e231266337627ecd  socketcand-6dd5d33d4645ab221e8cd265c08607366e21ddf1.tar.gz
+sha256  c3dc748f5e725cf5ed89784fe78e4ff1b05d309bf1e7ade4c572e8fde1b8406c  LICENSES/BSD-3-Clause
+sha256  995a31f60a9ddb4c609214cc7d17ca94cc3cbc7f37e1e64dba81e7f8ea9d4f91  LICENSES/GPL-2.0-only.txt
package/socketcand/socketcand.mk +12 -5
index 1755d3ae56..50d3c83ab5 100644
@@ -4,16 +4,23 @@
 #
 ################################################################################
 
-SOCKETCAND_VERSION = 69e2201222f015a1abe7a58ecf61325012cd91b1
+SOCKETCAND_VERSION = 6dd5d33d4645ab221e8cd265c08607366e21ddf1
 SOCKETCAND_SITE = $(call github,linux-can,socketcand,$(SOCKETCAND_VERSION))
-SOCKETCAND_AUTORECONF = YES
 SOCKETCAND_LICENSE = BSD-3-Clause or GPL-2.0
-SOCKETCAND_LICENSE_FILES = socketcand.c
+SOCKETCAND_LICENSE_FILES = LICENSES/BSD-3-Clause LICENSES/GPL-2.0-only.txt
 
 ifeq ($(BR2_PACKAGE_LIBCONFIG),y)
 SOCKETCAND_DEPENDENCIES += libconfig
+SOCKETCAND_CONF_OPTS += -Dlibconfig=true
 else
-SOCKETCAND_CONF_OPTS += --without-config
+SOCKETCAND_CONF_OPTS += -Dlibconfig=false
 endif
 
-$(eval $(autotools-package))
+ifeq ($(BR2_PACKAGE_LIBSOCKETCAN),y)
+SOCKETCAND_DEPENDENCIES += libsocketcan
+SOCKETCAND_CONF_OPTS += -Dlibsocketcan=true
+else
+SOCKETCAND_CONF_OPTS += -Dlibsocketcan=false
+endif
+
+$(eval $(meson-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · yegorslists--- via buildroot

From: Yegor Yefremov <[email protected]>

Switch to meson build system.

Remove an upstreamed patch.

The license files are now gathered in the LICENSES folder.

Add support for the libsocketcan library.

Applied to master, thanks.

For info, I changed _VERSION to use a
"git describe --tags --abbrev=40" format. This align better with the non annotated tags published at:
https://github.com/linux-can/socketcand/tags

See:
https://gitlab.com/buildroot.org/buildroot/-/commit/6d23852980d2ce92804de2c4fced38317fba6952

Best regards,

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