git: f2c7ac9b3468 - main - mail/mlmml-archive-mid: new port

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 02 Feb 2023 15:21:49 UTC
The branch main has been updated by bapt:

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

commit f2c7ac9b3468ce1e1e5f9fdd580b215b75dd75a3
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-02-02 15:21:04 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-02-02 15:21:48 +0000

    mail/mlmml-archive-mid: new port
    
    CGI and cli program which will lookip all databases gerenated by mlmmj-archiver
    and map a given message-id to its "public" archive file.
---
 mail/Makefile                    |  1 +
 mail/mlmmj-archive-mid/Makefile  | 23 +++++++++++++++++++++++
 mail/mlmmj-archive-mid/distinfo  |  3 +++
 mail/mlmmj-archive-mid/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/mail/Makefile b/mail/Makefile
index ffdfd1d32969..01a9c7a91b8a 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -239,6 +239,7 @@
     SUBDIR += minimalist
     SUBDIR += missey
     SUBDIR += mlmmj
+    SUBDIR += mlmmj-archive-mid
     SUBDIR += mlmmj-archiver
     SUBDIR += mlmmj-webview
     SUBDIR += mls
diff --git a/mail/mlmmj-archive-mid/Makefile b/mail/mlmmj-archive-mid/Makefile
new file mode 100644
index 000000000000..6ca85a06959d
--- /dev/null
+++ b/mail/mlmmj-archive-mid/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	mlmmj-archive-mid
+DISTVERSION=	0.1
+CATEGORIES=	mail www
+MASTER_SITES=	https://fossil.nours.eu/${PORTNAME}/tarball/?r=${DISTVERSION}&name=./
+
+MAINTAINER=	bapt@FreeBSD.org
+COMMENT=	CGI helping mapping a message id to an archived mail
+WWW=		https://fossil.nours.eu/mlmmj-archive-mid
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	${LOCALBASE}/lib/libkcgi.a:www/kcgi
+
+USES=		sqlite:3 uidfix pkgconfig
+
+MAKE_ARGS=	MAN= LOCALBASE=${LOCALBASE}
+
+PLIST_FILES=	bin/${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM}  ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/mail/mlmmj-archive-mid/distinfo b/mail/mlmmj-archive-mid/distinfo
new file mode 100644
index 000000000000..3aa776362115
--- /dev/null
+++ b/mail/mlmmj-archive-mid/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1675351147
+SHA256 (mlmmj-archive-mid-0.1.tar.gz) = 36ca3fb5b0543fcf298c1f8278dbd85579e2e735f253cb6368bf5c35452927fb
+SIZE (mlmmj-archive-mid-0.1.tar.gz) = 2857
diff --git a/mail/mlmmj-archive-mid/pkg-descr b/mail/mlmmj-archive-mid/pkg-descr
new file mode 100644
index 000000000000..8a28a2d6ac19
--- /dev/null
+++ b/mail/mlmmj-archive-mid/pkg-descr
@@ -0,0 +1,2 @@
+CGI and cli program which will lookip all databases gerenated by mlmmj-archiver
+and map a given message-id to its "public" archive file.