mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user