git: efaef76c4e59 - main - textproc/redisearch24: Update version 2.4.3=>2.4.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jun 2026 12:39:02 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=efaef76c4e595c35ecc47026c2ab88567571c6db
commit efaef76c4e595c35ecc47026c2ab88567571c6db
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-06-20 23:17:29 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-06-21 12:38:41 +0000
textproc/redisearch24: Update version 2.4.3=>2.4.4
- Unnbundle cpu_features [1]
Changelog: https://github.com/RediSearch/RediSearch/releases/tag/v2.4.4
Reported by: fux [1]
---
textproc/redisearch24/Makefile | 19 ++++++++++---------
textproc/redisearch24/distinfo | 8 +++-----
2 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/textproc/redisearch24/Makefile b/textproc/redisearch24/Makefile
index 5c3d87416606..58abd40fbac3 100644
--- a/textproc/redisearch24/Makefile
+++ b/textproc/redisearch24/Makefile
@@ -1,6 +1,6 @@
PORTNAME= redisearch
DISTVERSIONPREFIX= v
-DISTVERSION= 2.4.3
+DISTVERSION= 2.4.4
CATEGORIES= textproc
PKGNAMESUFFIX= ${DISTVERSION:R:S/.//}
@@ -13,25 +13,26 @@ LICENSE_NAME= Redis Source Available License Agreement
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
-USES= cmake compiler
+LIB_DEPENDS= libcpu_features.so:devel/cpu_features
+
+USES= cmake compiler localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= RediSearch
GH_PROJECT= RediSearch
-GH_TUPLE= RedisAI:VectorSimilarity:adfea2c:vectorsimilarity/deps/VectorSimilarity \
- google:cpu_features:v0.7.0:cpu_features/deps/cpu_features
+GH_TUPLE= RedisAI:VectorSimilarity:adfea2c:vectorsimilarity/deps/VectorSimilarity
CMAKE_ARGS= -DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION} \
-DOS=freebsd
+CXXFLAGS+= -Wno-vla-cxx-extension -I${LOCALBASE}/include/cpu_features
+LDFLAGS+= -lcpu_features
+
CONFLICTS_INSTALL= redisearch*
PLIST_FILES= lib/${PORTNAME}${PKGNAMESUFFIX}.so
-CXXFLAGS=-Wno-vla-cxx-extension
-
-pre-configure:
- @${MKDIR} ${WRKDIR}/.build/_deps
- @${MV} ${WRKSRC}/deps/cpu_features ${WRKDIR}/.build/_deps/cpu_features-src
+post-patch:
+ ${ECHO_CMD} "find_package(CpuFeatures REQUIRED)" > ${WRKSRC}/deps/VectorSimilarity/cmake/cpu_features.cmake
do-install:
${INSTALL} -m 0755 ${INSTALL_WRKSRC}/redisearch.so \
diff --git a/textproc/redisearch24/distinfo b/textproc/redisearch24/distinfo
index f17bf48b91a8..70cd5f0cdad3 100644
--- a/textproc/redisearch24/distinfo
+++ b/textproc/redisearch24/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1781356922
-SHA256 (RediSearch-RediSearch-v2.4.3_GH0.tar.gz) = 368196a67a128ca04eb8e50b57d8ea7677f33226c99a1bf44b4c1a7f115dbb08
-SIZE (RediSearch-RediSearch-v2.4.3_GH0.tar.gz) = 4332629
+TIMESTAMP = 1781985302
+SHA256 (RediSearch-RediSearch-v2.4.4_GH0.tar.gz) = bec4cfa9d16de9c022fa3ed48d0681d3b9e5a0fa20f81f7199f19c48cb3fc75f
+SIZE (RediSearch-RediSearch-v2.4.4_GH0.tar.gz) = 4334092
SHA256 (RedisAI-VectorSimilarity-adfea2c_GH0.tar.gz) = d7053387dd0db53da8080c3d84c0a4b17ff59888797c823e4022e91239ed4621
SIZE (RedisAI-VectorSimilarity-adfea2c_GH0.tar.gz) = 119773
-SHA256 (google-cpu_features-v0.7.0_GH0.tar.gz) = df80d9439abf741c7d2fdcdfd2d26528b136e6c52976be8bd0cd5e45a27262c0
-SIZE (google-cpu_features-v0.7.0_GH0.tar.gz) = 85986