Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

diff --git a/mail/Makefile b/mail/Makefile
index a2455c86bdbf..537465a9f9a7 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -292,6 +292,7 @@
     SUBDIR += opensmtpd-filter-dkimsign
     SUBDIR += opensmtpd-filter-rspamd
     SUBDIR += opensmtpd-filter-senderscore
+    SUBDIR += opensmtpd-table-socketmap
     SUBDIR += opensmtpd-table-sqlite
     SUBDIR += osbf-lua
     SUBDIR += ovs
diff --git a/mail/opensmtpd-table-socketmap/Makefile b/mail/opensmtpd-table-socketmap/Makefile
new file mode 100644
index 000000000000..bbb29ccd4623
--- /dev/null
+++ b/mail/opensmtpd-table-socketmap/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	opensmtpd-table-socketmap
+DISTVERSION=	1.1.1
+CATEGORIES=	mail
+
+MAINTAINER=	gahr@FreeBSD.org
+COMMENT=	Socketmap table for OpenSMTPD
+WWW=		https://github.com/opensmtpd/table-socketmap
+
+LICENSE=	ISCL
+
+USES=		autoreconf localbase
+GNU_CONFIGURE=	yes
+
+PATCH_ARGS=	-p1
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	opensmtpd
+GH_PROJECT=	table-socketmap
+
+PLIST_FILES=	libexec/opensmtpd/table-socketmap \
+		share/man/man5/table-socketmap.5.gz
+
+post-patch:
+	${REINPLACE_CMD} '/^smtpdir/s|smtpd$$|opensmtpd|' ${WRKSRC}/Makefile.am
+
+.include <bsd.port.mk>
diff --git a/mail/opensmtpd-table-socketmap/distinfo b/mail/opensmtpd-table-socketmap/distinfo
new file mode 100644
index 000000000000..56861dca39c9
--- /dev/null
+++ b/mail/opensmtpd-table-socketmap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1767792237
+SHA256 (opensmtpd-table-socketmap-1.1.1_GH0.tar.gz) = 815df43e1c18a642c62281fbce0f596c9b6c22c30e796aead14252bec793cc8d
+SIZE (opensmtpd-table-socketmap-1.1.1_GH0.tar.gz) = 17351
diff --git a/mail/opensmtpd-table-socketmap/pkg-descr b/mail/opensmtpd-table-socketmap/pkg-descr
new file mode 100644
index 000000000000..5f3552b005f0
--- /dev/null
+++ b/mail/opensmtpd-table-socketmap/pkg-descr
@@ -0,0 +1,2 @@
+The socketmap table addon for OpenSMTPD allows querying information through the
+socketmap protocol.


home | help