From nobody Sun Nov 05 00:27:00 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SNFfX2nsnz50Nln; Sun, 5 Nov 2023 00:27:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SNFfX2HNPz3S3W; Sun, 5 Nov 2023 00:27:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699144020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PeovFIlknWQ2YWvGWEE+zy/F3FlcW7Aec40gWLiREG4=; b=IlYsAGpHmQ2s47tS3Upa54xNhdie8Ug6gwLkJsctJqI72SQLnl9Y9vcXN3tTGGWt4EcZ4z LtqWHKe6YwMBXUyoSLcCo46DecPRU1j70MGcJ+TtB7h+pKjuAcQFHlMmyGOLfak1dlKqrK sqoIP/VEER3wZwsHCnXLxYScUyocWdAe/s1L1tDsNVvK6IgqmaefhsD35zV4+RxiDhuhK/ nk3PipC+fXMpMeWk2bYWetmKIa1d19rLri91lQ854dsDKhQcGMzLGn38kKNaIT4EZvufcs 2U18Z+BSVYhUlP2wBsqC/mOyBpsvjLguGz+nD0VjNtb5qNSCNTQvBPsw/BljrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699144020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PeovFIlknWQ2YWvGWEE+zy/F3FlcW7Aec40gWLiREG4=; b=xhfBaLYAE0e9AmjqvUw3deggFTYlNCJdP7LPYx4KPoguM4V5QuACPEAIy/4u+mwsDWQMOL WiZEFbiVrkbx++oyfrTzeHvK098oaRmLw5znlT+Sh4HDuKzsAu+y6rTZridOJpBjKf2uR1 /sIxadO0/UjjOch8J1/aNYXbMjePczW4AMtJ4CUPCld7rL1/Rfy71TY8gY6tjsglNkdI3M TySAdpW8xtiKE0a9tOM9SMgwWvvzQWIsSsc4YvGCU97pZlxYlq+r+Drk1xT5vZwYjPMVXw EyTRTQy2m8AoeYfb7cK9xGdy0hNDn27Bb536HnA3ASeoW9OYi60IvTBoQ2KACQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699144020; a=rsa-sha256; cv=none; b=VPkJY8R8eWOX6zybHaqkXcQQ16FrFdjM57ihT6EDS3G3+WVfYm2BMVkbLKNkt3xq/dPYD+ Gg/Tpz8mbM9fdybnJMbnsAostVx8nn6aD5fx/uSIOcm3gMxUgRXVbm2l9bWEH2n1F1YjID nV/cEs4eKew16OGzH4EcZ1x5dpJHdNXxcaN0cSi8pOMZznqQa8W6hkFLC0SPYs/Bf/Nt7f 8yxP53nqOkZmSokz91fnYzw9fDhcf4O2X1CXqsUwXkDDbLk++9RrTRyBhhHf12ritrQsRH KW3OOqIl6VjI5MAvHaJsbPFLk1vE1TqL1/crORoUAOPj+r7Pq48EXOAVweK6pQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SNFfX1LcXz1Hqs; Sun, 5 Nov 2023 00:27:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A50R0Vj021187; Sun, 5 Nov 2023 00:27:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A50R0mZ021184; Sun, 5 Nov 2023 00:27:00 GMT (envelope-from git) Date: Sun, 5 Nov 2023 00:27:00 GMT Message-Id: <202311050027.3A50R0mZ021184@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Torsten Zuehlsdorff Subject: git: b1ec64dbeac1 - main - databases/pg_vector: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b1ec64dbeac102e8a3693808239a782339e528e3 Auto-Submitted: auto-generated The branch main has been updated by tz: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1ec64dbeac102e8a3693808239a782339e528e3 commit b1ec64dbeac102e8a3693808239a782339e528e3 Author: Torsten Zuehlsdorff AuthorDate: 2023-11-05 00:05:02 +0000 Commit: Torsten Zuehlsdorff CommitDate: 2023-11-05 00:26:37 +0000 databases/pg_vector: New port Open-source vector similarity search for Postgres Store your vectors with the rest of your data. Supports: * exact and approximate nearest neighbor search * L2 distance, inner product, and cosine distance * any language with a Postgres client Plus ACID compliance, point-in-time recovery, JOINs, and all of the other great features of Postgres Sponsored by: P. Variablis GmbH --- databases/pg_vector/Makefile | 23 +++++++++++++++++++++++ databases/pg_vector/distinfo | 3 +++ databases/pg_vector/pkg-descr | 10 ++++++++++ databases/pg_vector/pkg-plist | 29 +++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) diff --git a/databases/pg_vector/Makefile b/databases/pg_vector/Makefile new file mode 100644 index 000000000000..7a2b6e6dd788 --- /dev/null +++ b/databases/pg_vector/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pg_vector +DISTVERSION= v0.5.1 +CATEGORIES= databases +PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- + +MAINTAINER= tz@FreeBSD.org +COMMENT= PostgreSQL extension for vector similarity search + +LICENSE= BSD2CLAUSE + +USES= gmake pgsql:11+ +WANT_PGSQL= server + +USE_GITHUB= yes +GH_ACCOUNT= pgvector +GH_PROJECT= pgvector + +MAKE_ENV= USE_PGXS=1 + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/vector.so + +.include diff --git a/databases/pg_vector/distinfo b/databases/pg_vector/distinfo new file mode 100644 index 000000000000..38d3fb9b42d8 --- /dev/null +++ b/databases/pg_vector/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1698481060 +SHA256 (pgvector-pgvector-v0.5.1_GH0.tar.gz) = cc7a8e034a96e30a819911ac79d32f6bc47bdd1aa2de4d7d4904e26b83209dc8 +SIZE (pgvector-pgvector-v0.5.1_GH0.tar.gz) = 70728 diff --git a/databases/pg_vector/pkg-descr b/databases/pg_vector/pkg-descr new file mode 100644 index 000000000000..25c86b693f5c --- /dev/null +++ b/databases/pg_vector/pkg-descr @@ -0,0 +1,10 @@ +Open-source vector similarity search for Postgres + +Store your vectors with the rest of your data. Supports: + +* exact and approximate nearest neighbor search +* L2 distance, inner product, and cosine distance +* any language with a Postgres client + +Plus ACID compliance, point-in-time recovery, JOINs, and all of the other great +features of Postgres diff --git a/databases/pg_vector/pkg-plist b/databases/pg_vector/pkg-plist new file mode 100644 index 000000000000..519cbdb8982a --- /dev/null +++ b/databases/pg_vector/pkg-plist @@ -0,0 +1,29 @@ +include/postgresql/server/extension/vector/vector.h +lib/postgresql/vector.so +share/postgresql/extension/vector--0.1.0--0.1.1.sql +share/postgresql/extension/vector--0.1.1--0.1.3.sql +share/postgresql/extension/vector--0.1.3--0.1.4.sql +share/postgresql/extension/vector--0.1.4--0.1.5.sql +share/postgresql/extension/vector--0.1.5--0.1.6.sql +share/postgresql/extension/vector--0.1.6--0.1.7.sql +share/postgresql/extension/vector--0.1.7--0.1.8.sql +share/postgresql/extension/vector--0.1.8--0.2.0.sql +share/postgresql/extension/vector--0.2.0--0.2.1.sql +share/postgresql/extension/vector--0.2.1--0.2.2.sql +share/postgresql/extension/vector--0.2.2--0.2.3.sql +share/postgresql/extension/vector--0.2.3--0.2.4.sql +share/postgresql/extension/vector--0.2.4--0.2.5.sql +share/postgresql/extension/vector--0.2.5--0.2.6.sql +share/postgresql/extension/vector--0.2.6--0.2.7.sql +share/postgresql/extension/vector--0.2.7--0.3.0.sql +share/postgresql/extension/vector--0.3.0--0.3.1.sql +share/postgresql/extension/vector--0.3.1--0.3.2.sql +share/postgresql/extension/vector--0.3.2--0.4.0.sql +share/postgresql/extension/vector--0.4.0--0.4.1.sql +share/postgresql/extension/vector--0.4.1--0.4.2.sql +share/postgresql/extension/vector--0.4.2--0.4.3.sql +share/postgresql/extension/vector--0.4.3--0.4.4.sql +share/postgresql/extension/vector--0.4.4--0.5.0.sql +share/postgresql/extension/vector--0.5.0--0.5.1.sql +share/postgresql/extension/vector--0.5.1.sql +share/postgresql/extension/vector.control