git: 7f64097a7829 - main - textproc/redisearch16: remove expired port

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Tue, 10 May 2022 02:28:20 UTC
The branch main has been updated by osa:

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

commit 7f64097a78297d42da52f128bce9f97581407a22
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2022-05-10 02:26:50 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2022-05-10 02:28:12 +0000

    textproc/redisearch16: remove expired port
    
    Please upgrade to textproc/redisearch or textproc/redisearch20.
---
 MOVED                                              |  1 +
 textproc/Makefile                                  |  1 -
 textproc/redisearch16/Makefile                     | 30 ----------------------
 textproc/redisearch16/distinfo                     |  3 ---
 textproc/redisearch16/files/patch-src_fork__gc.c   | 21 ---------------
 .../redisearch16/files/patch-src_numeric__index.c  | 11 --------
 .../redisearch16/files/patch-src_redis__index.c    | 11 --------
 textproc/redisearch16/pkg-descr                    | 12 ---------
 8 files changed, 1 insertion(+), 89 deletions(-)

diff --git a/MOVED b/MOVED
index 3f9333e2ab19..ffb5536e5e84 100644
--- a/MOVED
+++ b/MOVED
@@ -17147,3 +17147,4 @@ graphics/drm-current-kmod||2022-05-01|Switched to a Linux version based naming s
 graphics/drm-devel-kmod||2022-05-01|Switched to a Linux version based naming scheme. Use graphics/drm-510-kmod
 math/rkward-kde|math/rkward|2022-05-06|Switched to the name used by upstream
 graphics/photoflow||2022-05-06|Unmaintainer upstream, has been broken for months, particularly this issue isn't answered: https://github.com/aferrero2707/PhotoFlow/issues/220
+textproc/redisearch16||2022-05-09|Has expired. Use textproc/redisearch or textproc/redisearch20
diff --git a/textproc/Makefile b/textproc/Makefile
index ed0a588f3bd9..35af9aa9a71e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1573,7 +1573,6 @@
     SUBDIR += re_graph
     SUBDIR += redet
     SUBDIR += redisearch
-    SUBDIR += redisearch16
     SUBDIR += redisearch20
     SUBDIR += redland
     SUBDIR += redland-bindings
diff --git a/textproc/redisearch16/Makefile b/textproc/redisearch16/Makefile
deleted file mode 100644
index 08bd7d0f18b4..000000000000
--- a/textproc/redisearch16/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# Created by: Sergey A. Osokin <osa@FreeBSD.org>
-
-PORTNAME=	redisearch16
-DISTVERSIONPREFIX=	v
-DISTVERSION=	1.6.16
-CATEGORIES=	textproc
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Full-text search over Redis
-
-LICENSE=	UNKNOWN
-LICENSE_NAME=	Redis Source Available License Agreement
-LICENSE_FILE=	${WRKSRC}/LICENSE
-LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
-
-USES=		cmake compiler
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	RediSearch
-GH_PROJECT=	RediSearch
-
-CMAKE_ARGS=	-DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION}
-
-PLIST_FILES=	lib/redisearch16.so
-
-do-install:
-	${INSTALL_LIB} ${INSTALL_WRKSRC}/redisearch.so \
-		${STAGEDIR}${PREFIX}/lib/redisearch16.so
-
-.include <bsd.port.mk>
diff --git a/textproc/redisearch16/distinfo b/textproc/redisearch16/distinfo
deleted file mode 100644
index e4c88c449ed6..000000000000
--- a/textproc/redisearch16/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1624361253
-SHA256 (RediSearch-RediSearch-v1.6.16_GH0.tar.gz) = a5f3f023f6b55bd693b484697f223d5c175b0a619a9bf5a5f3ef04bc24e579d4
-SIZE (RediSearch-RediSearch-v1.6.16_GH0.tar.gz) = 3674000
diff --git a/textproc/redisearch16/files/patch-src_fork__gc.c b/textproc/redisearch16/files/patch-src_fork__gc.c
deleted file mode 100644
index 9b067f73f84d..000000000000
--- a/textproc/redisearch16/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/redisearch16/files/patch-src_numeric__index.c b/textproc/redisearch16/files/patch-src_numeric__index.c
deleted file mode 100644
index 4129442c1498..000000000000
--- a/textproc/redisearch16/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/redisearch16/files/patch-src_redis__index.c b/textproc/redisearch16/files/patch-src_redis__index.c
deleted file mode 100644
index 36e1bc262208..000000000000
--- a/textproc/redisearch16/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/redisearch16/pkg-descr b/textproc/redisearch16/pkg-descr
deleted file mode 100644
index ac2a0a714490..000000000000
--- a/textproc/redisearch16/pkg-descr
+++ /dev/null
@@ -1,12 +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.
-
-WWW: https://oss.redislabs.com/redisearch/