Skip to contentSkip to conversation

package/odhcp6c: bump version

PATCH Superseded Bernd Kuhls 2 participants 2 messages Dec 28, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/odhcp6c: bump version

Due to upstream commit
https://git.openwrt.org/?p=project/odhcp6c.git;a=commitdiff;h=adc651ffed55d4b538317e50da1a7ec143dbfd1d
libubox is a mandatory dependency.

Fixes:
https://autobuild.buildroot.net/results/22d/22da3760982b80d5ccba1bef1ca9c90e9b2292d8/
(cmake 4 build error which does not exist in a maintained stable branch)

---
v2: switched libubox to a mandatory dependency (Julien)

 package/odhcp6c/Config.in    |  8 ++++++++
 package/odhcp6c/odhcp6c.hash |  2 +-
 package/odhcp6c/odhcp6c.mk   | 10 ++--------
 3 files changed, 11 insertions(+), 9 deletions(-)
package/odhcp6c/Config.in +8 -0
index ca3a2f6424..83b38755c3 100644
@@ -1,8 +1,16 @@
 config BR2_PACKAGE_ODHCP6C
 	bool "odhcp6c"
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_STATIC_LIBS # libubox
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libubox -> json-c
+	select BR2_PACKAGE_LIBUBOX
 	help
 	  odhcp6c is a minimal DHCPv6 and RA-client for use in
 	  embedded Linux systems, especially routers.
 
 	  https://git.openwrt.org/project/odhcp6c.git
+
+comment "odhcp6c needs a toolchain w/ dynamic library"
+	depends on BR2_USE_MMU
+	depends on BR2_STATIC_LIBS
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
package/odhcp6c/odhcp6c.hash +1 -1
index f1641d7101..86c9c659c4 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  c5cadd71a72e94df6b664d3e9f0b1eeffa779ba9624ab35b6a93c7172fe378a0  odhcp6c-53f07e90b7f1da6977143a488dd5cb73a33b233b-git4.tar.gz
+sha256  e9cfddfcc12c4ca0bf8d8211bb72c7018c0e0f8da6903d680da122b4ce551c56  odhcp6c-f19dd37fb467c9cf10cad57aefa0d048312d7dfd-git4.tar.gz
 sha256  e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4  COPYING
package/odhcp6c/odhcp6c.mk +2 -8
index dd3a9d3e28..92688b7237 100644
@@ -4,11 +4,12 @@
 #
 ################################################################################
 
-ODHCP6C_VERSION = 53f07e90b7f1da6977143a488dd5cb73a33b233b
+ODHCP6C_VERSION = f19dd37fb467c9cf10cad57aefa0d048312d7dfd
 ODHCP6C_SITE = https://git.openwrt.org/project/odhcp6c.git
 ODHCP6C_SITE_METHOD = git
 ODHCP6C_LICENSE = GPL-2.0
 ODHCP6C_LICENSE_FILES = COPYING
+ODHCP6C_DEPENDENCIES = libubox
 
 define ODHCP6C_INSTALL_SCRIPT
 	$(INSTALL) -m 0755 -D $(@D)/odhcp6c-example-script.sh \
@@ -17,11 +18,4 @@ endef
 
 ODHCP6C_POST_INSTALL_TARGET_HOOKS += ODHCP6C_INSTALL_SCRIPT
 
-ifeq ($(BR2_PACKAGE_LIBUBOX),y)
-ODHCP6C_CONF_OPTS += -DUSE_LIBUBOX=1
-ODHCP6C_DEPENDENCIES += libubox
-else
-ODHCP6C_CONF_OPTS += -DUSE_LIBUBOX=0
-endif
-
 $(eval $(cmake-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · Bernd Kuhls

Due to upstream commit
https://git.openwrt.org/?p=project/odhcp6c.git;a=commitdiff;h=adc651ffed55d4b538317e50da1a7ec143dbfd1d
libubox is a mandatory dependency.

Fixes:
https://autobuild.buildroot.net/results/22d/22da3760982b80d5ccba1bef1ca9c90e9b2292d8/
(cmake 4 build error which does not exist in a maintained stable branch)

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot