summaryrefslogtreecommitdiff
path: root/databases/weaviate
diff options
context:
space:
mode:
Diffstat (limited to 'databases/weaviate')
-rw-r--r--databases/weaviate/Makefile23
-rw-r--r--databases/weaviate/distinfo5
-rw-r--r--databases/weaviate/files/patch-usecases_cluster_disk__use__unix.go10
-rw-r--r--databases/weaviate/pkg-descr6
4 files changed, 44 insertions, 0 deletions
diff --git a/databases/weaviate/Makefile b/databases/weaviate/Makefile
new file mode 100644
index 000000000000..8c1ffa0807e4
--- /dev/null
+++ b/databases/weaviate/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= weaviate
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.30.17
+CATEGORIES= databases # artificial-intelligence
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Vector database that stores both objects and vectors
+WWW= https://weaviate.io/ \
+ https://github.com/weaviate/weaviate
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+
+GO_MODULE= github.com/weaviate/weaviate
+GO_TARGET= ./cmd/weaviate-server
+
+PLIST_FILES= bin/${PORTNAME}-server
+
+# how to start: https://docs.weaviate.io/deploy/installation-guides/docker-installation#run-weaviate-with-default-settings
+
+.include <bsd.port.mk>
diff --git a/databases/weaviate/distinfo b/databases/weaviate/distinfo
new file mode 100644
index 000000000000..ed9c06034b67
--- /dev/null
+++ b/databases/weaviate/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1755162557
+SHA256 (go/databases_weaviate/weaviate-v1.30.17/v1.30.17.mod) = 24d201cdcab7916a1e0fdc7e3790b1d8dd259ff714ab15c4560340c411f89f28
+SIZE (go/databases_weaviate/weaviate-v1.30.17/v1.30.17.mod) = 11838
+SHA256 (go/databases_weaviate/weaviate-v1.30.17/v1.30.17.zip) = 038b13fb36181c1a958e4f01ad8a7a105cead47b5ba06769e08a7679deaf1c94
+SIZE (go/databases_weaviate/weaviate-v1.30.17/v1.30.17.zip) = 7134666
diff --git a/databases/weaviate/files/patch-usecases_cluster_disk__use__unix.go b/databases/weaviate/files/patch-usecases_cluster_disk__use__unix.go
new file mode 100644
index 000000000000..53c3e588b823
--- /dev/null
+++ b/databases/weaviate/files/patch-usecases_cluster_disk__use__unix.go
@@ -0,0 +1,10 @@
+--- usecases/cluster/disk_use_unix.go.orig 2025-08-14 19:49:00 UTC
++++ usecases/cluster/disk_use_unix.go
+@@ -26,6 +26,6 @@ func diskSpace(path string) (DiskUsage, error) {
+ }
+ return DiskUsage{
+ Total: fs.Blocks * uint64(fs.Bsize),
+- Available: fs.Bavail * uint64(fs.Bsize),
++ Available: uint64(fs.Bavail) * fs.Bsize,
+ }, nil
+ }
diff --git a/databases/weaviate/pkg-descr b/databases/weaviate/pkg-descr
new file mode 100644
index 000000000000..1a4352a1d855
--- /dev/null
+++ b/databases/weaviate/pkg-descr
@@ -0,0 +1,6 @@
+Weaviate is an open-source, cloud-native vector database that stores both
+objects and vectors, enabling semantic search at scale. It combines vector
+similarity search with keyword filtering, retrieval-augmented generation
+(RAG), and reranking in a single query interface. Common use cases include
+RAG systems, semantic and image search, recommendation engines, chatbots,
+and content classification.