From 4d5e0ccd8fe141c9cbda7137f84c93a834496e0b Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 28 Dec 2025 12:34:55 +0100 Subject: [PATCH] package/odhcp6c: bump version to git f19dd37fb4 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) Signed-off-by: Bernd Kuhls [Julien: add git commit id in commit title] Signed-off-by: Julien Olivain --- package/odhcp6c/Config.in | 8 ++++++++ package/odhcp6c/odhcp6c.hash | 2 +- package/odhcp6c/odhcp6c.mk | 10 ++-------- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/package/odhcp6c/Config.in b/package/odhcp6c/Config.in index ca3a2f6424..83b38755c3 100644 --- a/package/odhcp6c/Config.in +++ b/package/odhcp6c/Config.in @@ -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 diff --git a/package/odhcp6c/odhcp6c.hash b/package/odhcp6c/odhcp6c.hash index f1641d7101..86c9c659c4 100644 --- a/package/odhcp6c/odhcp6c.hash +++ b/package/odhcp6c/odhcp6c.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 c5cadd71a72e94df6b664d3e9f0b1eeffa779ba9624ab35b6a93c7172fe378a0 odhcp6c-53f07e90b7f1da6977143a488dd5cb73a33b233b-git4.tar.gz +sha256 e9cfddfcc12c4ca0bf8d8211bb72c7018c0e0f8da6903d680da122b4ce551c56 odhcp6c-f19dd37fb467c9cf10cad57aefa0d048312d7dfd-git4.tar.gz sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/package/odhcp6c/odhcp6c.mk b/package/odhcp6c/odhcp6c.mk index dd3a9d3e28..92688b7237 100644 --- a/package/odhcp6c/odhcp6c.mk +++ b/package/odhcp6c/odhcp6c.mk @@ -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))