Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2026 16:02:47 +0000
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7d047d7263d2 - main - databases/redisbloom: New port
Message-ID:  <6a1b0a27.3f29d.d02b4d5@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

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

commit 7d047d7263d28ce238ae0129ba00e23f59a03550
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-05-29 23:19:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-05-30 16:02:32 +0000

    databases/redisbloom: New port
    
    RedisBloom adds a set of probabilistic data structures to Redis,
    including Bloom filter, Cuckoo filter, Count-min sketch, Top-K, and
    t-digest. Using this capability, you can query streaming data without
    needing to store all the elements of the stream.
    
    WWW: https://github.com/RedisBloom/RedisBloom
---
 databases/Makefile             |  1 +
 databases/redisbloom/Makefile  | 49 ++++++++++++++++++++++++++++++++++++++++++
 databases/redisbloom/distinfo  | 11 ++++++++++
 databases/redisbloom/pkg-descr |  4 ++++
 4 files changed, 65 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 660169c56134..af088be588c8 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -909,6 +909,7 @@
     SUBDIR += redis84
     SUBDIR += redis86
     SUBDIR += redis_exporter
+    SUBDIR += redisbloom
     SUBDIR += redisjson
     SUBDIR += redisjson86
     SUBDIR += retcl
diff --git a/databases/redisbloom/Makefile b/databases/redisbloom/Makefile
new file mode 100644
index 000000000000..58193eb92dea
--- /dev/null
+++ b/databases/redisbloom/Makefile
@@ -0,0 +1,49 @@
+PORTNAME=	redisbloom
+DISTVERSIONPREFIX=	v
+DISTVERSION=	8.8.0
+CATEGORIES=	databases
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Probabilistic Data Structures for Redis
+WWW=		https://github.com/RedisBloom/RedisBloom
+
+LICENSE=	AGPLv3 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_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
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	RedisBloom
+GH_PROJECT=	RedisBloom
+GH_TUPLE=	RedisBloom:t-digest-c:5b89d70:t_digest_c/deps/t-digest-c \
+		RedisLabsModules:readies:f31347b:readies/deps/readies \
+		RedisLabsModules:RedisModulesSDK:3b2f684:RedisModulesSDK/deps/RedisModulesSDK \
+		google:benchmark:8982e1e:benchmark/deps/t-digest-c/tests/vendor/google/benchmark
+
+CFLAGS+=	-fPIC -fblocks \
+		-D_GNU_SOURCE -DREDIS_MODULE_TARGET -DREDISMODULE_SDK_RLEC \
+		-I${WRKSRC}/src -I${WRKSRC}/deps/RedisModulesSDK -I${WRKSRC}/deps \
+		-I${WRKSRC}/deps/murmur2 -I${WRKSRC}/deps/t-digest-c/src
+
+PLIST_FILES=	lib/redisbloom.so
+
+MODULE_SRCS=	deps/bloom/bloom.c deps/murmur2/MurmurHash2.c deps/rmutil/util.c \
+		src/cmd_info/cf_info.c src/cmd_info/bf_info.c src/cmd_info/cms_info.c \
+		src/cmd_info/tdigest_info.c src/cmd_info/topk_info.c \
+		src/rebloom.c src/sb.c src/cf.c src/rm_topk.c src/rm_tdigest.c \
+		src/topk.c src/rm_cms.c src/cms.c src/config.c \
+		deps/t-digest-c/src/tdigest.c
+
+do-build:
+	@cd ${WRKSRC} && for s in ${MODULE_SRCS}; do \
+		echo "  CC $$s"; ${CC} ${CFLAGS} -c $$s -o $${s%.c}.o || exit 1; \
+	done
+	@cd ${WRKSRC} && ${CC} -shared ${LDFLAGS} -o redisbloom.so ${MODULE_SRCS:.c=.o}
+
+do-install:
+	${INSTALL_LIB} ${WRKSRC}/redisbloom.so ${STAGEDIR}${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/databases/redisbloom/distinfo b/databases/redisbloom/distinfo
new file mode 100644
index 000000000000..848da5e0f203
--- /dev/null
+++ b/databases/redisbloom/distinfo
@@ -0,0 +1,11 @@
+TIMESTAMP = 1780076316
+SHA256 (RedisBloom-RedisBloom-v8.8.0_GH0.tar.gz) = 357d38a918e49f9241b64818d3efc23b9f7b0b8b82df5d67a4e70b1a9567bc8f
+SIZE (RedisBloom-RedisBloom-v8.8.0_GH0.tar.gz) = 231467
+SHA256 (RedisBloom-t-digest-c-5b89d70_GH0.tar.gz) = b8666a9e7172c05d7cbdff05e2740bb6e2543e4738a2ceb4ae2e8f7a71ec1191
+SIZE (RedisBloom-t-digest-c-5b89d70_GH0.tar.gz) = 24896
+SHA256 (RedisLabsModules-readies-f31347b_GH0.tar.gz) = cd942b28da637981297c69b81304f0022da9ac4f13649690baeed15d0d10fc08
+SIZE (RedisLabsModules-readies-f31347b_GH0.tar.gz) = 94640
+SHA256 (RedisLabsModules-RedisModulesSDK-3b2f684_GH0.tar.gz) = 2274091a62ced18fa44d1543896086b7f1a7882f32ace742689f879dfc77effc
+SIZE (RedisLabsModules-RedisModulesSDK-3b2f684_GH0.tar.gz) = 138751
+SHA256 (google-benchmark-8982e1e_GH0.tar.gz) = 59c439e8d895af18a65c00bfad34e19c7d9b3accb2eadde261b5d00e57edf8e9
+SIZE (google-benchmark-8982e1e_GH0.tar.gz) = 152964
diff --git a/databases/redisbloom/pkg-descr b/databases/redisbloom/pkg-descr
new file mode 100644
index 000000000000..1880f2eb494f
--- /dev/null
+++ b/databases/redisbloom/pkg-descr
@@ -0,0 +1,4 @@
+RedisBloom adds a set of probabilistic data structures to Redis,
+including Bloom filter, Cuckoo filter, Count-min sketch, Top-K, and
+t-digest. Using this capability, you can query streaming data without
+needing to store all the elements of the stream.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1b0a27.3f29d.d02b4d5>