Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1C44C71141 for ; Sat, 14 Jun 2025 10:20:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 9331740528; Sat, 14 Jun 2025 10:20:08 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id lktT3xHFT1V9; Sat, 14 Jun 2025 10:20:07 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org B6C65404B0 Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id B6C65404B0; Sat, 14 Jun 2025 10:20:07 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists1.osuosl.org (Postfix) with ESMTP id 4EF561A4 for ; Sat, 14 Jun 2025 10:20:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 349958108D for ; Sat, 14 Jun 2025 10:20:06 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 3Xmsydx4RvdJ for ; Sat, 14 Jun 2025 10:20:03 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org BD36D81086 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org BD36D81086 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp1.osuosl.org (Postfix) with ESMTPS id BD36D81086 for ; Sat, 14 Jun 2025 10:20:02 +0000 (UTC) Received: from fli4l.lan.fli4l (p4fd6cb5b.dip0.t-ipconnect.de [79.214.203.91]) by dd20012.kasserver.com (Postfix) with ESMTPSA id 532C5A4C0815 for ; Sat, 14 Jun 2025 12:20:00 +0200 (CEST) Received: from bruckner.lan.fli4l ([192.168.1.1]:59896) by fli4l.lan.fli4l with esmtp (Exim 4.98.2) (envelope-from ) id 1uQNzU-000000007wz-1Yx8 for buildroot@buildroot.org; Sat, 14 Jun 2025 10:20:00 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 14 Jun 2025 12:19:59 +0200 Message-Id: <20250614101959.61812-1-bernd@kuhls.net> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-Spamd-Bar: + X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202506031021; t=1749896400; bh=mXV1KJKsp9D6O+uRT/AX0HJaDTu6BiNTalvgmiJeqPw=; h=From:To:Subject:Date:From; b=CvPkHwHsAVG+3THELaw5CueEsJbtXoEvSJ1QPT4YpfNdmBG3HH9Vz3MydGE+KQ52W OaXvAGx8MsUUW+0bL/trJ3QYKz61T97VSPNqNXV2e39SjPVzUGq+8qD9he7orpQJLx F/iLjOglD5xGPtIXPh1PujLuVOnHvjVmJuoRGNDvpZ26D0TSLI+XAXy5qiQP9JFHFx WjBi4j1UqelTHXtayWd8LCRd9z9eVZZe/QX9efu96m8GxoUylNKFsSRkwb0h3Ld/zY 02T4trx787a8OvDtZJeWlEvDqlV2U9vWEEp2ZeIZU6gaARoCfSAvkfvXbeChIT7Avu +xkDWQLvA7r4Q== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202506031021 header.b=CvPkHwHs Subject: [Buildroot] [PATCH 1/1] package/dht: fix cmake4 compatibility X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The only dependee of dht, transmission, forked dht due to upstream rejection of cmake support: https://github.com/jech/dht/pull/50 https://github.com/jech/dht/pull/19 A fix was added to this fork for building with cmake 4.x: https://github.com/transmission/dht/commits/post-0.27-transmission/ Instead of adding yet another patch to buildroot we switch to the repo maintained by transmission. Fixes: https://autobuild.buildroot.org/results/30339a4fdb9c0b608ca3c5ae0692596b21b2fc3f/ Signed-off-by: Bernd Kuhls --- .checkpackageignore | 1 - package/dht/0001-cmake.patch | 67 ------------------------------------ package/dht/dht.hash | 2 +- package/dht/dht.mk | 4 +-- 4 files changed, 3 insertions(+), 71 deletions(-) delete mode 100644 package/dht/0001-cmake.patch diff --git a/.checkpackageignore b/.checkpackageignore index 8e24c73525..c767d29ca9 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -386,7 +386,6 @@ package/dhcp/S80dhcp-relay Shellcheck lib_sysv.Variables package/dhcp/S80dhcp-server Shellcheck lib_sysv.Variables package/dhcp/dhclient-script Shellcheck lib_shellscript.TrailingSpace package/dhcpcd/S41dhcpcd lib_sysv.Indent lib_sysv.Variables -package/dht/0001-cmake.patch lib_patch.Upstream package/dillo/0001-usr-local-include.patch lib_patch.Upstream package/dillo/0002-Fix-openssl-detection.patch lib_patch.Upstream package/dillo/0004-fix-build-with-gcc-10.patch lib_patch.Upstream diff --git a/package/dht/0001-cmake.patch b/package/dht/0001-cmake.patch deleted file mode 100644 index bbac639044..0000000000 --- a/package/dht/0001-cmake.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 25e12bb39eea3d433602de6390796fec8a8f3620 Mon Sep 17 00:00:00 2001 -From: Mike Gelfand -Date: Sun, 1 Jan 2017 16:23:21 +0300 -Subject: [PATCH] Remove Makefile, add Makefile.am and CMakeLists.txt - -Downloaded from transmission repo: -https://github.com/transmission/dht/commit/25e12bb39eea3d433602de6390796fec8a8f3620 - -Upstream status: rejected (https://github.com/jech/dht/pull/19) - -Signed-off-by: Bernd Kuhls ---- - CMakeLists.txt | 9 +++++++++ - Makefile | 9 --------- - Makefile.am | 11 +++++++++++ - 3 files changed, 20 insertions(+), 9 deletions(-) - create mode 100644 CMakeLists.txt - delete mode 100644 Makefile - create mode 100644 Makefile.am - -diff --git a/CMakeLists.txt b/CMakeLists.txt -new file mode 100644 -index 0000000..6d4aa99 ---- /dev/null -+++ b/CMakeLists.txt -@@ -0,0 +1,9 @@ -+cmake_minimum_required(VERSION 2.8) -+project(dht C) -+ -+add_library(${PROJECT_NAME} STATIC -+ dht.c -+) -+ -+install(TARGETS ${PROJECT_NAME} DESTINATION lib) -+install(FILES dht.h DESTINATION include/dht) -diff --git a/Makefile b/Makefile -deleted file mode 100644 -index e012945..0000000 ---- a/Makefile -+++ /dev/null -@@ -1,9 +0,0 @@ --CFLAGS = -g -Wall --LDLIBS = -lcrypt -- --dht-example: dht-example.o dht.o -- --all: dht-example -- --clean: -- -rm -f dht-example dht-example.o dht-example.id dht.o *~ core -diff --git a/Makefile.am b/Makefile.am -new file mode 100644 -index 0000000..2dba648 ---- /dev/null -+++ b/Makefile.am -@@ -0,0 +1,11 @@ -+AM_CFLAGS = @PTHREAD_CFLAGS@ -+ -+noinst_LIBRARIES = libdht.a -+libdht_a_SOURCES = dht.c -+libdht_a_DEPENDENCIES = $(builddir)/include/dht -+noinst_HEADERS = dht.h -+EXTRA_DIST = CHANGES CMakeLists.txt dht-example.c LICENCE README -+ -+$(builddir)/include/dht: -+ $(MKDIR_P) $(builddir)/include -+ (cd $(builddir)/include && $(LN_S) $(abs_srcdir) dht) diff --git a/package/dht/dht.hash b/package/dht/dht.hash index 2b641b9dcb..d5a2f9d842 100644 --- a/package/dht/dht.hash +++ b/package/dht/dht.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 caba469a784a5c359c084099fdc025cfe09b1faec2ba9ba257b7384351c43c0a dht-0.27.tar.gz +sha256 c61493be7f036b59df0c921829f15e5c57b1e29d99bca737923e83d028fd736c dht-38c9f261d9b58b76b9eaf85f84ec1b35151a1eac.tar.gz sha256 06ce07293caf8c8ddfaf47797ad1fb18d1c040a8375231d8f8a6105cef51a8e6 LICENCE diff --git a/package/dht/dht.mk b/package/dht/dht.mk index 4f78f027c7..2c8383266c 100644 --- a/package/dht/dht.mk +++ b/package/dht/dht.mk @@ -4,8 +4,8 @@ # ################################################################################ -DHT_VERSION = 0.27 -DHT_SITE = $(call github,jech,dht,dht-$(DHT_VERSION)) +DHT_VERSION = 38c9f261d9b58b76b9eaf85f84ec1b35151a1eac +DHT_SITE = $(call github,transmission,dht,$(DHT_VERSION)) DHT_LICENSE = MIT DHT_LICENSE_FILES = LICENCE DHT_INSTALL_STAGING = YES -- 2.39.5 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot