diff --git a/misc/grok-build/Makefile b/misc/grok-build/Makefile index b373dcd52509..f3a824c96d70 100644 --- a/misc/grok-build/Makefile +++ b/misc/grok-build/Makefile @@ -1,55 +1,55 @@ PORTNAME= grok-build -DISTVERSION= 1.0.25 +DISTVERSION= 1.0.30 CATEGORIES= misc # machine-learning MASTER_SITES= ${GROK_URL_BASE:S|$|:amd64|} \ ${GROK_URL_BASE:S|$|:aarch64|} DISTFILES= grok-${DISTVERSION}-linux-x86_64:amd64 \ grok-${DISTVERSION}-linux-aarch64:aarch64 DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} EXTRACT_ONLY= MAINTAINER= yuri@FreeBSD.org COMMENT= CLI for xAI Grok AI platform WWW= https://x.ai/ ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= is a Linux binary with a limited platform support BROKEN_FreeBSD_14= fails with os error 22, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296863 USES= linux:rl9 USE_LINUX= base GROK_URL_BASE= https://x.ai/cli/ \ https://storage.googleapis.com/grok-build-public-artifacts/cli/ NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= bin/agent \ bin/grok find-new-version: @TAB=$$(printf '\t'); \ new_ver=$$(fetch -q -o - https://x.ai/cli/stable 2>/dev/null || \ fetch -q -o - https://storage.googleapis.com/grok-build-public-artifacts/cli/stable); \ current_ver=$$(make -V DISTVERSION); \ if [ "$$new_ver" != "$$current_ver" ] && [ -n "$$new_ver" ]; then \ ${SED} -i '' "s/^DISTVERSION=.*/DISTVERSION=$${TAB}$$new_ver/" ${.CURDIR}/Makefile; \ echo "=> New version available: $$current_ver -> $$new_ver"; \ else \ echo "=> No new version available (current: $$current_ver)"; \ fi .include .if ${ARCH} == aarch64 GROK_DISTFILE= grok-${DISTVERSION}-linux-aarch64 .else GROK_DISTFILE= grok-${DISTVERSION}-linux-x86_64 .endif do-install: ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/${GROK_DISTFILE} ${STAGEDIR}${PREFIX}/bin/grok ${LN} -s grok ${STAGEDIR}${PREFIX}/bin/agent .include diff --git a/misc/grok-build/distinfo b/misc/grok-build/distinfo index 5cb0a53dc856..1c83c4b0da84 100644 --- a/misc/grok-build/distinfo +++ b/misc/grok-build/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1789057604 -SHA256 (grok-build-1.0.25/grok-1.0.25-linux-x86_64) = a46d17bcd602c46135b5be2da69a081447f8c514c5ea733c5be1265bcfb62b80 -SIZE (grok-build-1.0.25/grok-1.0.25-linux-x86_64) = 157695840 -SHA256 (grok-build-1.0.25/grok-1.0.25-linux-aarch64) = ec047ab8a52f297b2959c4a747f80d42f611b1e3608352b784acd54f6d1bee66 -SIZE (grok-build-1.0.25/grok-1.0.25-linux-aarch64) = 131656024 +TIMESTAMP = 1789442056 +SHA256 (grok-build-1.0.30/grok-1.0.30-linux-x86_64) = 504dd6546ab991b75d36698242875ce461489cd1f8cd84285873cb55bd5c7d54 +SIZE (grok-build-1.0.30/grok-1.0.30-linux-x86_64) = 161725088 +SHA256 (grok-build-1.0.30/grok-1.0.30-linux-aarch64) = aad8c3c8a8b294c21377df60d368507f4bcd3530c6c30af10ee02a54cec188cc +SIZE (grok-build-1.0.30/grok-1.0.30-linux-aarch64) = 134981816