diff --git a/misc/grok-build/Makefile b/misc/grok-build/Makefile index 4af886904753..eb4b08781933 100644 --- a/misc/grok-build/Makefile +++ b/misc/grok-build/Makefile @@ -1,54 +1,54 @@ PORTNAME= grok-build -DISTVERSION= 0.2.101 +DISTVERSION= 0.2.103 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 7793db2bbb60..0dc09e790ada 100644 --- a/misc/grok-build/distinfo +++ b/misc/grok-build/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1784004378 -SHA256 (grok-build-0.2.101/grok-0.2.101-linux-x86_64) = 2556299cded37f81e54c02420cfa7f1a2df9feab72a445869a0f5596e143b333 -SIZE (grok-build-0.2.101/grok-0.2.101-linux-x86_64) = 161789992 -SHA256 (grok-build-0.2.101/grok-0.2.101-linux-aarch64) = 4c2d6e7b310d50dda9f1bb0143f069950dbab68021c38e9022aefb732abd3319 -SIZE (grok-build-0.2.101/grok-0.2.101-linux-aarch64) = 132137584 +TIMESTAMP = 1784317541 +SHA256 (grok-build-0.2.103/grok-0.2.103-linux-x86_64) = 9a597598dd798333f75d2b577960eaa80a479dea6ae891045fe2b03e10b179b2 +SIZE (grok-build-0.2.103/grok-0.2.103-linux-x86_64) = 153733536 +SHA256 (grok-build-0.2.103/grok-0.2.103-linux-aarch64) = 3e5e6f7f90cb8c3f3338bb2abbf638838af0e42620f0f88d3b36a38e09189aba +SIZE (grok-build-0.2.103/grok-0.2.103-linux-aarch64) = 125264888