git: 1c0729a549e7 - main - misc/gollama: New port: Go manage your Ollama models

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 21 Aug 2024 02:51:59 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c0729a549e72e57b8aae5acc5ffabd089d3d127

commit 1c0729a549e72e57b8aae5acc5ffabd089d3d127
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-21 02:50:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-21 02:50:14 +0000

    misc/gollama: New port: Go manage your Ollama models
---
 misc/Makefile          |  1 +
 misc/gollama/Makefile  | 19 +++++++++++++++++++
 misc/gollama/distinfo  |  5 +++++
 misc/gollama/pkg-descr |  8 ++++++++
 4 files changed, 33 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index cf2bae706870..a520cf42c291 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -170,6 +170,7 @@
     SUBDIR += gnu-watch
     SUBDIR += gnuls
     SUBDIR += gobuster
+    SUBDIR += gollama
     SUBDIR += gone
     SUBDIR += gplink
     SUBDIR += gpsim
diff --git a/misc/gollama/Makefile b/misc/gollama/Makefile
new file mode 100644
index 000000000000..3abdaf4aa157
--- /dev/null
+++ b/misc/gollama/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	gollama
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.27.3
+CATEGORIES=	misc # machine learning
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Go manage your Ollama models
+WWW=		https://github.com/sammcj/gollama
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:1.23-devel,modules
+
+GO_MODULE=	github.com/sammcj/gollama
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/misc/gollama/distinfo b/misc/gollama/distinfo
new file mode 100644
index 000000000000..404679f0437f
--- /dev/null
+++ b/misc/gollama/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1724207642
+SHA256 (go/misc_gollama/gollama-v1.27.3/v1.27.3.mod) = 782c0d1fd37504c4fa6022bc59d44942e3be3bdf21d2d237bd256703009c8669
+SIZE (go/misc_gollama/gollama-v1.27.3/v1.27.3.mod) = 2669
+SHA256 (go/misc_gollama/gollama-v1.27.3/v1.27.3.zip) = 657bbc2bb58454dd685fc9e08112397ffbee48d4f0216f2af11d6967f20503b5
+SIZE (go/misc_gollama/gollama-v1.27.3/v1.27.3.zip) = 1487606
diff --git a/misc/gollama/pkg-descr b/misc/gollama/pkg-descr
new file mode 100644
index 000000000000..e51b5c6bdabc
--- /dev/null
+++ b/misc/gollama/pkg-descr
@@ -0,0 +1,8 @@
+Gollama is a tool for managing Ollama models.
+
+It provides a TUI (Text User Interface) for listing, inspecting, deleting,
+copying, and pushing Ollama models as well as optionally linking them to
+LM Studio.
+
+The application allows users to interactively select models, sort, filter, edit,
+run, unload and perform actions on them using hotkeys.