git: b52c33ab7ccc - main - textproc/redisearch26: Update version 2.6.2=>2.6.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jun 2026 12:39:03 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b52c33ab7ccc197493acff7ef6cb8eddb8e88097
commit b52c33ab7ccc197493acff7ef6cb8eddb8e88097
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-06-20 23:19:42 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-06-21 12:38:41 +0000
textproc/redisearch26: Update version 2.6.2=>2.6.3
- Unbundle cpu_features [1]
Changelog: https://github.com/RediSearch/RediSearch/releases/tag/v2.6.3
Reported by: fuz [1]
---
textproc/redisearch26/Makefile | 23 ++++++++++++-----------
textproc/redisearch26/distinfo | 8 +++-----
2 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/textproc/redisearch26/Makefile b/textproc/redisearch26/Makefile
index 1e535c82810c..f3bcbe19b48a 100644
--- a/textproc/redisearch26/Makefile
+++ b/textproc/redisearch26/Makefile
@@ -1,6 +1,6 @@
PORTNAME= redisearch
DISTVERSIONPREFIX= v
-DISTVERSION= 2.6.2
+DISTVERSION= 2.6.3
CATEGORIES= textproc
PKGNAMESUFFIX= ${DISTVERSION:R:S/.//}
@@ -12,32 +12,33 @@ LICENSE= RSALv2 SSPLv1
LICENSE_COMB= dual
LICENSE_NAME_RSALv2= Redis Source Available License v2
LICENSE_NAME_SSPLv1= Server Side Public License v1
-LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_FILE_RSALv2= ${WRKSRC}/licenses/RSALv2.txt
LICENSE_FILE_SSPLv1= ${WRKSRC}/licenses/SSPLv1.txt
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS_RSALv2= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_SSPLv1= dist-mirror dist-sell pkg-mirror pkg-sell 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:4e065d8:vectorsimilarity/deps/VectorSimilarity \
- google:cpu_features:438a66e:cpu_features/deps/cpu_features
+GH_TUPLE= RedisAI:VectorSimilarity:4e065d8:vectorsimilarity/deps/VectorSimilarity
CMAKE_ARGS= -DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION} \
-DOS=freebsd
+CFLAGS+= -DCLOCK_MONOTONIC_RAW=CLOCK_MONOTONIC
+CXXFLAGS+= -Wno-vla-cxx-extension -I${LOCALBASE}/include/cpu_features
+LDFLAGS+= -lcpu_features
+
CONFLICTS_INSTALL= redisearch*
PLIST_FILES= lib/${PORTNAME}${PKGNAMESUFFIX}.so
-CFLAGS+= -DCLOCK_MONOTONIC_RAW=CLOCK_MONOTONIC
-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/redisearch26/distinfo b/textproc/redisearch26/distinfo
index 71552f616cd2..10fdc35f62fe 100644
--- a/textproc/redisearch26/distinfo
+++ b/textproc/redisearch26/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1781357877
-SHA256 (RediSearch-RediSearch-v2.6.2_GH0.tar.gz) = 5f01f28cc8037070133828199d24ea4a11f9662bcaf2e026634ca99dfee924ad
-SIZE (RediSearch-RediSearch-v2.6.2_GH0.tar.gz) = 4444652
+TIMESTAMP = 1781985918
+SHA256 (RediSearch-RediSearch-v2.6.3_GH0.tar.gz) = 6c2c8fb284f7ca4c348aae6def6d6cab2c4bb7a9d9229eae10e87e2b26cab079
+SIZE (RediSearch-RediSearch-v2.6.3_GH0.tar.gz) = 4449906
SHA256 (RedisAI-VectorSimilarity-4e065d8_GH0.tar.gz) = 9d5ef51491032c22f6cf9f13ac429e3c6cf25af0d7fbce82c85d4ff621e12d84
SIZE (RedisAI-VectorSimilarity-4e065d8_GH0.tar.gz) = 240019
-SHA256 (google-cpu_features-438a66e_GH0.tar.gz) = 7e99e30d5e3e572c8e4fe103c0caa937bf69fb6fe6a0bdf127511bdaab9db4e7
-SIZE (google-cpu_features-438a66e_GH0.tar.gz) = 92085