From nobody Wed Aug 21 05:09:37 2024 X-Original-To: dev-commits-ports-main@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 4WpZBp0RM4z5T8WL; Wed, 21 Aug 2024 05:09:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WpZBn5J7zz4Fqv; Wed, 21 Aug 2024 05:09:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724216977; 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=bZf75Q2YJ3EHd+cBuyFO/FWfaO0Z6x0LBGmYwNJGYCE=; b=WrOo6aAD4EbnjKUhtZTwpgtAkQYC9mgae7eKsbqzh/COi7UkFYtHUy1k76jyFzV+a+Xo94 HDrlfQiu3dg0qwzOiMSfebLZeQ4l3mYUgig3GSln9ac0n5T/nhwt6qbokSJjLg4MaL1//5 O4awTgtm4rEHVmPV7F3RRppWVZ/KjZp3fwy6EsJv58WXSWKUYXBe9PiX7n3irTEboyeLPC enA+4s4GETpCfyfLeklLn4kaRA9fEKDgcnGwRsK8keTxeGySKheCf5PTf3Jtekyk17LyF8 wK7S5iJOyfyB/jQtQPL/zh8jIewVvv+wH//BG18ilWcOrSkGB8+qfsdVbj6p/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724216977; a=rsa-sha256; cv=none; b=K3cplt6/rHTQ3jolhfSE6D/9bju1RXU48WgUZ6HN/xsVNMp78Yq5TEy0Pb2EgKj7XGhZUS Xd5lPyYTuzjwHzEqdDrYN73BcM3bBv8Yhc2+vrCv8X3tn+znd3DpFI4xJ8XyTpchq4KBWc JCNDsCTEubznzUTbiaK0eAloKnqgy2oO1cge9xX+OV7aQrwnf3nSavOKuvsEeRKjIITMM2 e8vcuNlJG/IDTC5+KcTmekeQ8TLD1DBveXfrrkv5qDmjWzOI1LfO5CS0g9dbUn+417pyN+ Qn0JiVX1Stf+InPxYmRpXnA9KRHA8FMm+ui4UNFWl4r9/4/emX2/0N7t8wzSbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724216977; 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=bZf75Q2YJ3EHd+cBuyFO/FWfaO0Z6x0LBGmYwNJGYCE=; b=ywpZ3TtOpXcQqZs+Eb+kgwS47IfahnmCl1edAIznEKOeUE2q2GemOC+7iVMadWGDExz2Ek /ahBrImPv3KOBCELNcSzyHvWD5V9qoNkC39FzBHN91tO9J3PVh2y7kp/WSjNLqN9OFl/mC zF0k4pMH0aX9iyrirhsHx5B4psZ3qixZiZus7KlcDCCFs7ul3+JZCfxkm5AeoZnWpnwP8v wPjUr2Gkw6ZeFD8pQXAD96hJwOKDJrLUrDDwgxxf8oyg3TEOl2XSY3jJAf1+fEvfPaFsAN JIH+2NUiEf8hU4XxeeuJ1JEiz1srcbwWfGafWxlMhdMhVZHKcVwaneL3f4GPtg== 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 4WpZBn4sJjzWRy; Wed, 21 Aug 2024 05:09:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47L59bUS019842; Wed, 21 Aug 2024 05:09:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47L59b3F019839; Wed, 21 Aug 2024 05:09:37 GMT (envelope-from git) Date: Wed, 21 Aug 2024 05:09:37 GMT Message-Id: <202408210509.47L59b3F019839@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 235f681183ca - main - devel/ollama-hpp: New port: Modern, Header-only C++ bindings for the Ollama API List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 235f681183cae1640042dfb6ab77cbe8b4159f46 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=235f681183cae1640042dfb6ab77cbe8b4159f46 commit 235f681183cae1640042dfb6ab77cbe8b4159f46 Author: Yuri Victorovich AuthorDate: 2024-08-21 03:43:38 +0000 Commit: Yuri Victorovich CommitDate: 2024-08-21 05:09:31 +0000 devel/ollama-hpp: New port: Modern, Header-only C++ bindings for the Ollama API --- devel/Makefile | 1 + devel/ollama-hpp/Makefile | 24 ++++++++++++++++++++++++ devel/ollama-hpp/distinfo | 3 +++ devel/ollama-hpp/pkg-descr | 4 ++++ 4 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 2211b7a3aba2..fd23aff137af 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1790,6 +1790,7 @@ SUBDIR += ode SUBDIR += ois SUBDIR += okteta + SUBDIR += ollama-hpp SUBDIR += omake SUBDIR += omniORB SUBDIR += omnilinter diff --git a/devel/ollama-hpp/Makefile b/devel/ollama-hpp/Makefile new file mode 100644 index 000000000000..b334bf01b367 --- /dev/null +++ b/devel/ollama-hpp/Makefile @@ -0,0 +1,24 @@ +PORTNAME= ollama-hpp +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.4 +CATEGORIES= devel # machine learning + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Modern, Header-only C++ bindings for the Ollama API +WWW= https://github.com/kongaskristjan/fire-hpp + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= jmont-dev + +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= include/ollama.hpp + +do-install: + ${INSTALL_DATA} ${WRKSRC}/singleheader/ollama.hpp ${STAGEDIR}${PREFIX}/include + +.include diff --git a/devel/ollama-hpp/distinfo b/devel/ollama-hpp/distinfo new file mode 100644 index 000000000000..31508444bb42 --- /dev/null +++ b/devel/ollama-hpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724211616 +SHA256 (jmont-dev-ollama-hpp-v0.9.4_GH0.tar.gz) = 4c38dbf0713b9e3659c6247282f720a03883322e31126fe10e4976e036b20bd0 +SIZE (jmont-dev-ollama-hpp-v0.9.4_GH0.tar.gz) = 2968182 diff --git a/devel/ollama-hpp/pkg-descr b/devel/ollama-hpp/pkg-descr new file mode 100644 index 000000000000..ab624c0a01f1 --- /dev/null +++ b/devel/ollama-hpp/pkg-descr @@ -0,0 +1,4 @@ +ollama-hpp is a modern, header-only C++11/14/20 bindings for the Ollama API. + +It allows to access the full power of local language models in C++ with just +a few lines of code.