git: 9e60ea60fc21 - main - mail/mox: New port: Modern, secure, all-in-one email server

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 22 May 2024 20:09:50 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e60ea60fc21e4b9647df1675a031a92bb3afe5d

commit 9e60ea60fc21e4b9647df1675a031a92bb3afe5d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-22 15:39:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-22 20:09:48 +0000

    mail/mox: New port: Modern, secure, all-in-one email server
---
 mail/Makefile      |  1 +
 mail/mox/Makefile  | 26 ++++++++++++++++++++++++++
 mail/mox/distinfo  |  5 +++++
 mail/mox/pkg-descr |  2 ++
 4 files changed, 34 insertions(+)

diff --git a/mail/Makefile b/mail/Makefile
index 999c55d51dd8..c33cfabb52fa 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -246,6 +246,7 @@
     SUBDIR += mls
     SUBDIR += mmh
     SUBDIR += mmr
+    SUBDIR += mox
     SUBDIR += mpop
     SUBDIR += msglint
     SUBDIR += msmtp
diff --git a/mail/mox/Makefile b/mail/mox/Makefile
new file mode 100644
index 000000000000..ef4fc5ce9ceb
--- /dev/null
+++ b/mail/mox/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	mox
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.0.11
+CATEGORIES=	mail
+PKGNAMESUFFIX=	-mail-server
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Modern, secure, all-in-one email server
+WWW=		https://www.xmox.nl/
+
+LICENSE=	MIT MPL20
+LICENSE_COMB=	dual
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.MIT
+LICENSE_FILE_MPL20=	${WRKSRC}/LICENSE.MPLv2.0
+
+USES=		go:modules
+
+GO_MODULE=	github.com/mjl-/mox
+
+xUSE_GITHUB=	yes
+xGH_ACCOUNT=	mudler
+xGH_PROJECT=	LocalAI
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/mail/mox/distinfo b/mail/mox/distinfo
new file mode 100644
index 000000000000..91b78a69312f
--- /dev/null
+++ b/mail/mox/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1716404661
+SHA256 (go/mail_mox/mox-v0.0.11/v0.0.11.mod) = f120261f0ae3beec8ea6f81b414c633f0af48ded1c77fc192c523a7f5e7f9702
+SIZE (go/mail_mox/mox-v0.0.11/v0.0.11.mod) = 1204
+SHA256 (go/mail_mox/mox-v0.0.11/v0.0.11.zip) = 6f74c6946b5f6ae818bc41446b25af9943387dc8c4b8d2e19e97375ae57b23d0
+SIZE (go/mail_mox/mox-v0.0.11/v0.0.11.zip) = 1848209
diff --git a/mail/mox/pkg-descr b/mail/mox/pkg-descr
new file mode 100644
index 000000000000..9df05b3eaa86
--- /dev/null
+++ b/mail/mox/pkg-descr
@@ -0,0 +1,2 @@
+Mox is a modern, full-featured, open source, secure mail server for
+low-maintenance self-hosted email.