git: aa67578cde03 - main - textproc/redisearch20: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 30 Jun 2026 21:53:36 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa67578cde0365684d1d9b2225ef1a5c710e5a29

commit aa67578cde0365684d1d9b2225ef1a5c710e5a29
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2026-06-30 21:53:29 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2026-06-30 21:53:29 +0000

    textproc/redisearch20: Remove expired port
    
    2026-06-30 textproc/redisearch20: Redisearch 2.0 is no longer maintained use textproc/redisearch22 instead.
---
 MOVED                                              |  1 +
 textproc/Makefile                                  |  1 -
 textproc/redisearch20/Makefile                     | 36 ----------------------
 textproc/redisearch20/distinfo                     |  3 --
 textproc/redisearch20/files/patch-src_fork__gc.c   | 21 -------------
 .../redisearch20/files/patch-src_numeric__index.c  | 11 -------
 .../redisearch20/files/patch-src_redis__index.c    | 11 -------
 textproc/redisearch20/pkg-descr                    | 10 ------
 8 files changed, 1 insertion(+), 93 deletions(-)

diff --git a/MOVED b/MOVED
index a0211c2195ae..cac689709a37 100644
--- a/MOVED
+++ b/MOVED
@@ -5472,3 +5472,4 @@ archivers/zipmix|archivers/archmerge|2026-06-30|Has expired: No longer supported
 net/frr8-pythontools||2026-06-30|Has expired: No longer maintained
 net/frr8||2026-06-30|Has expired: No longer maintained
 net-mgmt/arts++||2026-06-30|Has expired: deprecated by upstream, broken
+textproc/redisearch20|textproc/redisearch22|2026-06-30|Has expired: Redisearch 2.0 is no longer maintained use textproc/redisearch22 instead
diff --git a/textproc/Makefile b/textproc/Makefile
index 9748b05634d9..ed970adb57e7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1804,7 +1804,6 @@
     SUBDIR += redet
     SUBDIR += redisearch
     SUBDIR += redisearch2
-    SUBDIR += redisearch20
     SUBDIR += redisearch22
     SUBDIR += redisearch24
     SUBDIR += redisearch26
diff --git a/textproc/redisearch20/Makefile b/textproc/redisearch20/Makefile
deleted file mode 100644
index 042babaed37b..000000000000
--- a/textproc/redisearch20/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-PORTNAME=	redisearch
-DISTVERSIONPREFIX=	v
-DISTVERSION=	2.0.15
-PORTREVISION=	1
-CATEGORIES=	textproc
-PKGNAMESUFFIX=	${DISTVERSION:R:S/.//}
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	Full-text search over Redis (2.0.X)
-WWW=		https://github.com/RediSearch/RediSearch/
-
-LICENSE=	RSAL
-LICENSE_NAME=	Redis Source Available License Agreement
-LICENSE_FILE=	${WRKSRC}/LICENSE
-LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
-
-DEPRECATED=	Redisearch 2.0 is no longer maintained use textproc/redisearch22 instead.
-EXPIRATION_DATE=2026-06-30
-
-USES=		cmake compiler
-USE_GITHUB=	yes
-GH_ACCOUNT=	RediSearch
-GH_PROJECT=	RediSearch
-
-CMAKE_ARGS=	-DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION} \
-		-DOS=freebsd
-
-CONFLICTS_INSTALL=	redisearch*
-
-PLIST_FILES=	lib/${PORTNAME}${PKGNAMESUFFIX}.so
-
-do-install:
-	${INSTALL} -m 0755 ${INSTALL_WRKSRC}/redisearch.so \
-		${STAGEDIR}${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX}.so
-
-.include <bsd.port.mk>
diff --git a/textproc/redisearch20/distinfo b/textproc/redisearch20/distinfo
deleted file mode 100644
index 815021b9d3ae..000000000000
--- a/textproc/redisearch20/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1639609425
-SHA256 (RediSearch-RediSearch-v2.0.15_GH0.tar.gz) = b9d66de84fe127a84b4428358099149636b676d5ec66c87ad6e394523acef4e3
-SIZE (RediSearch-RediSearch-v2.0.15_GH0.tar.gz) = 3997848
diff --git a/textproc/redisearch20/files/patch-src_fork__gc.c b/textproc/redisearch20/files/patch-src_fork__gc.c
deleted file mode 100644
index 9b067f73f84d..000000000000
--- a/textproc/redisearch20/files/patch-src_fork__gc.c
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/fork_gc.c.orig	2020-04-12 11:18:47 UTC
-+++ src/fork_gc.c
-@@ -282,6 +282,7 @@ done:
- }
- 
- static void sendHeaderString(ForkGC *gc, void *arg) {
-+  struct iovec { void *iov_base; size_t iov_len; };
-   struct iovec *iov = arg;
-   FGC_sendBuffer(gc, iov->iov_base, iov->iov_len);
- }
-@@ -298,7 +299,9 @@ static void FGC_childCollectTerms(ForkGC *gc, RedisSea
-     RedisModuleKey *idxKey = NULL;
-     InvertedIndex *idx = Redis_OpenInvertedIndexEx(sctx, term, strlen(term), 1, &idxKey);
-     if (idx) {
--      struct iovec iov = {.iov_base = (void *)term, termLen};
-+      struct iovec { void *iov_base; size_t iov_len; } iov;
-+      iov.iov_base = term;
-+      iov.iov_len = termLen;
-       FGC_childRepairInvidx(gc, sctx, idx, sendHeaderString, &iov, NULL);
-     }
-     if (idxKey) {
diff --git a/textproc/redisearch20/files/patch-src_numeric__index.c b/textproc/redisearch20/files/patch-src_numeric__index.c
deleted file mode 100644
index 4129442c1498..000000000000
--- a/textproc/redisearch20/files/patch-src_numeric__index.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/numeric_index.c.orig	2020-02-29 20:43:50 UTC
-+++ src/numeric_index.c
-@@ -474,7 +474,7 @@ int NumericIndexType_Register(RedisModuleCtx *ctx) {
-                                .rdb_save = NumericIndexType_RdbSave,
-                                .aof_rewrite = GenericAofRewrite_DisabledHandler,
-                                .free = NumericIndexType_Free,
--                               .mem_usage = NumericIndexType_MemUsage};
-+                               .mem_usage = (const void *)NumericIndexType_MemUsage};
- 
-   NumericIndexType = RedisModule_CreateDataType(ctx, "numericdx", NUMERIC_INDEX_ENCVER, &tm);
-   if (NumericIndexType == NULL) {
diff --git a/textproc/redisearch20/files/patch-src_redis__index.c b/textproc/redisearch20/files/patch-src_redis__index.c
deleted file mode 100644
index 36e1bc262208..000000000000
--- a/textproc/redisearch20/files/patch-src_redis__index.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/redis_index.c.orig	2020-02-29 20:35:56 UTC
-+++ src/redis_index.c
-@@ -108,7 +108,7 @@ int InvertedIndex_RegisterType(RedisModuleCtx *ctx) {
-                                .rdb_load = InvertedIndex_RdbLoad,
-                                .rdb_save = InvertedIndex_RdbSave,
-                                .aof_rewrite = GenericAofRewrite_DisabledHandler,
--                               .mem_usage = InvertedIndex_MemUsage,
-+                               .mem_usage = (const void *)InvertedIndex_MemUsage,
-                                .free = InvertedIndex_Free};
- 
-   InvertedIndexType = RedisModule_CreateDataType(ctx, "ft_invidx", INVERTED_INDEX_ENCVER, &tm);
diff --git a/textproc/redisearch20/pkg-descr b/textproc/redisearch20/pkg-descr
deleted file mode 100644
index 41d10f88f3e7..000000000000
--- a/textproc/redisearch20/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-RediSearch is a source available Full-Text and Secondary Index
-engine over Redis, developed by Redis Labs.
-
-Redisearch implements a search engine on top of Redis, but
-unlike other Redis search libraries, it does not use internal
-data structures like sorted sets.
-
-This also enables more advanced features, like exact phrase
-matching and numeric filtering for text queries, that are not
-possible or efficient with traditional Redis search approaches.