From: George Sapkin Date: Fri, 11 Apr 2025 15:18:25 +0000 (+0300) Subject: adguardhome: use committime instead of buildtime X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=3d5ea7f92b197325c3f974bdba03026a59352ad0;p=feed%2Fpackages.git adguardhome: use committime instead of buildtime buildtime has been replaced with committime upstream for better reproducible builds. Link: https://github.com/AdguardTeam/AdGuardHome/commit/d17c6c6bb3ae5b7c775c53ebb04b9b089dcf0490#diff-82ef468ec5547f1ed424776755a7f87dfec4eba9838d2c2ac02c9881bb67d737L68-R70 Signed-off-by: George Sapkin --- diff --git a/net/adguardhome/Makefile b/net/adguardhome/Makefile index bd1c0b43c5..a238e85a7e 100644 --- a/net/adguardhome/Makefile +++ b/net/adguardhome/Makefile @@ -30,11 +30,10 @@ PKG_BUILD_FLAGS:=no-mips16 GO_PKG:=github.com/AdguardTeam/AdGuardHome GO_PKG_BUILD_PKG:=github.com/AdguardTeam/AdGuardHome -AGH_BUILD_TIME:=$(shell date -d @$(SOURCE_DATE_EPOCH) +%FT%TZ%z) AGH_VERSION_PKG:=github.com/AdguardTeam/AdGuardHome/internal/version GO_PKG_LDFLAGS_X:=$(AGH_VERSION_PKG).channel=release \ $(AGH_VERSION_PKG).version=$(PKG_VERSION) \ - $(AGH_VERSION_PKG).buildtime=$(AGH_BUILD_TIME) \ + $(AGH_VERSION_PKG).committime=$(SOURCE_DATE_EPOCH) \ $(AGH_VERSION_PKG).goarm=$(GO_ARM) \ $(AGH_VERSION_PKG).gomips=$(GO_MIPS)