diff --git a/misc/grok-build/Makefile b/misc/grok-build/Makefile index 0bd398e7da6e..7b4b00f49e8a 100644 --- a/misc/grok-build/Makefile +++ b/misc/grok-build/Makefile @@ -1,54 +1,54 @@ PORTNAME= grok-build -DISTVERSION= 0.2.87 +DISTVERSION= 0.2.91 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 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 cbf707d491c6..8534cd6f68fc 100644 --- a/misc/grok-build/distinfo +++ b/misc/grok-build/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1783347002 -SHA256 (grok-build-0.2.87/grok-0.2.87-linux-x86_64) = 44a8ed1673c842a45fd6a110fd7f5f92f78c08b2921b71b41941a48f153c9de3 -SIZE (grok-build-0.2.87/grok-0.2.87-linux-x86_64) = 156792584 -SHA256 (grok-build-0.2.87/grok-0.2.87-linux-aarch64) = 01b5d5da008fb151962fde362ddf3564471e64d2adc3c83b558972b73fd1d593 -SIZE (grok-build-0.2.87/grok-0.2.87-linux-aarch64) = 128336496 +TIMESTAMP = 1783490082 +SHA256 (grok-build-0.2.91/grok-0.2.91-linux-x86_64) = e2b02e3aa5e2f9e3e606c83d7d96ef86c857832cb5457a01825c760885b64a91 +SIZE (grok-build-0.2.91/grok-0.2.91-linux-x86_64) = 159313768 +SHA256 (grok-build-0.2.91/grok-0.2.91-linux-aarch64) = 7b95c33e5deca65ee39a584472d7cdb8c65fa92285f882390d1e933857227683 +SIZE (grok-build-0.2.91/grok-0.2.91-linux-aarch64) = 130075328