diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-08-24 10:21:07 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-08-24 10:28:31 +0000 |
| commit | 40527017c03bd96ec2ecb89a7bb383c16698e292 (patch) | |
| tree | 3ab58b0f622f3af01668100be2a2c5d9d79d1110 | |
| parent | 46780d9665013364e12af561cf1ffa45ef2ff673 (diff) | |
databases/weaviate: New port: Vector database that stores both objects and vectors
| -rw-r--r-- | databases/Makefile | 1 | ||||
| -rw-r--r-- | databases/weaviate/Makefile | 23 | ||||
| -rw-r--r-- | databases/weaviate/distinfo | 5 | ||||
| -rw-r--r-- | databases/weaviate/files/patch-usecases_cluster_disk__use__unix.go | 10 | ||||
| -rw-r--r-- | databases/weaviate/pkg-descr | 6 |
5 files changed, 45 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 1703f10f9513..ffc50810e604 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -1130,6 +1130,7 @@ SUBDIR += valkey SUBDIR += vfront SUBDIR += virtualpg + SUBDIR += weaviate SUBDIR += webdis SUBDIR += wfb2sql SUBDIR += xapian-bindings 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. |
