git: 9534403d8c78 - main - sysutils/u-boot-tools: update to 2025.10 and fix SOURCE_DATE_EPOCH build

From: Siva Mahadevan <siva_at_FreeBSD.org>
Date: Thu, 12 Feb 2026 21:16:20 UTC
The branch main has been updated by siva:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9534403d8c78f3e98b73df57a123c716a0ee9f9f

commit 9534403d8c78f3e98b73df57a123c716a0ee9f9f
Author:     Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2025-06-14 18:50:20 +0000
Commit:     Siva Mahadevan <siva@FreeBSD.org>
CommitDate: 2026-02-12 21:14:31 +0000

    sysutils/u-boot-tools: update to 2025.10 and fix SOURCE_DATE_EPOCH build
    
    This fixes the reproducible build when SOURCE_DATE_EPOCH is specified.
    
    * moved to upstream-default gnutls since it doesn't correctly build with the USES=ssl and openssl flags
    * added BUILD_DEPENDS on gdate from coreutils to handle SOURCE_DATE_EPOCH correctly
    * cleaned up and simplified make target a bit
    * removed CONFLICTS since it is nonexistent
    
    Tested by building all dependent sysutils/u-boot* ports.
    
    PR:             292260
    Approved by:    maintainer timeout (1+ month), lwhsu (mentor, implicitly)
    Sponsored by:   The FreeBSD Foundation
---
 sysutils/u-boot-tools/Makefile | 20 +++++++-------------
 sysutils/u-boot-tools/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/sysutils/u-boot-tools/Makefile b/sysutils/u-boot-tools/Makefile
index 0bca20f9d0d7..71758e17c100 100644
--- a/sysutils/u-boot-tools/Makefile
+++ b/sysutils/u-boot-tools/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	u-boot-tools
-DISTVERSION=	2020.07
+DISTVERSION=	2025.10 # Keep in sync with sysutils/u-boot-master
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://ftp.denx.de/pub/u-boot/
 DISTNAME=	u-boot-${PORTVERSION}
@@ -10,25 +10,19 @@ WWW=		https://www.denx.de/wiki/U-Boot
 
 LICENSE=	GPLv2
 
-BROKEN_SSL=	libressl
-BROKEN_SSL_REASON_libressl=	not supported by the upstream
+ALL_TARGET=	tools-only_defconfig tools-only
+USES=		bison compiler:c11 gmake pkgconfig python:build tar:bzip2
 
-USES=		bison compiler:c11 gmake python:build ssl tar:bzip2
+BUILD_DEPENDS=	gdate:sysutils/coreutils
+LIB_DEPENDS=	libgnutls.so:security/gnutls
 
-CONFLICTS=	uboot-mkimage
-ALL_TARGET=	tools-only
 MAKE_ARGS=	ARCH=sandbox \
 		CC="${CC}" \
 		HOSTCC="${CC}" \
-		KBUILD_VERBOSE=1 \
-		NOSTDINC_FLAGS="" \
-		HOSTCFLAGS="${CFLAGS} -I${OPENSSLINC}" \
-		HOSTLDFLAGS="${LDFLAGS} -L${OPENSSLLIB}"
+		KBUILD_VERBOSE=1
 
 PLIST_FILES=	bin/mkimage bin/mkenvimage bin/dumpimage bin/fit_info
-
-do-configure:
-	(cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} tools-only_defconfig)
+BINARY_ALIAS=	python3=${PYTHON_CMD}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/tools/dumpimage ${STAGEDIR}${PREFIX}/bin
diff --git a/sysutils/u-boot-tools/distinfo b/sysutils/u-boot-tools/distinfo
index 7556c3f85224..433ad937ade4 100644
--- a/sysutils/u-boot-tools/distinfo
+++ b/sysutils/u-boot-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1594115686
-SHA256 (u-boot-2020.07.tar.bz2) = c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
-SIZE (u-boot-2020.07.tar.bz2) = 15338841
+TIMESTAMP = 1767817522
+SHA256 (u-boot-2025.10.tar.bz2) = b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a
+SIZE (u-boot-2025.10.tar.bz2) = 33803092