mail/opensmtpd-table-sqlite: new port

This port replaces mail/opensmtpd-extras-table-sqlite.

The opensmtpd-extras-table-* ports got broken by the latest update of
OpenSMTPD, see my message on the mailing list:
https://lists.freebsd.org/archives/dev-commits-ports-main/2025-January/134537.html

I have requested action by fluffy@ both on the message linked above and
privately via email, but I haven't got any response back.

At this point, I want to unblock my workflow and be able to upgrade
OpenSMTPD.  I don't have plans to provide alternatives to all the
opensmtpd-extras-table-* ports.
This commit is contained in:
Pietro Cerutti 2025-01-19 12:25:14 +00:00
parent ac9ef8d8da
commit 98582ae673
4 changed files with 34 additions and 0 deletions

View file

@ -290,6 +290,7 @@
SUBDIR += opensmtpd-extras-table-sqlite
SUBDIR += opensmtpd-filter-rspamd
SUBDIR += opensmtpd-filter-senderscore
SUBDIR += opensmtpd-table-sqlite
SUBDIR += osbf-lua
SUBDIR += ovs
SUBDIR += p5-CGP-CLI

View file

@ -0,0 +1,26 @@
PORTNAME= opensmtpd-table-sqlite
DISTVERSION= 1.0.1
CATEGORIES= mail
PATCH_SITES= https://github.com/OpenSMTPD/table-sqlite/commit/
PATCHFILES= f3c46da1cbbb2a9d32cd9b4cf31e9fdb5b941a16.patch:-p1
MAINTAINER= gahr@FreeBSD.org
COMMENT= SQLite table for OpenSMTPD
WWW= https://github.com/opensmtpd/table-sqlite
LICENSE= ISCL
USES= autoreconf localbase sqlite
GNU_CONFIGURE= yes
PATCH_ARGS= -p1
USE_GITHUB= yes
GH_ACCOUNT= opensmtpd
GH_PROJECT= table-sqlite
PLIST_FILES= libexec/smtpd/table-sqlite \
share/man/man5/table-sqlite.5.gz
.include <bsd.port.mk>

View file

@ -0,0 +1,5 @@
TIMESTAMP = 1737289442
SHA256 (opensmtpd-table-sqlite-1.0.1_GH0.tar.gz) = 74f40788aec40087235cb82391ad21ed4aeb6d79dd7a0e89571f398825b653b0
SIZE (opensmtpd-table-sqlite-1.0.1_GH0.tar.gz) = 21718
SHA256 (f3c46da1cbbb2a9d32cd9b4cf31e9fdb5b941a16.patch) = 0256ee0d826543e4ae4263f05c6ddedc635f72a713f34592663e4dbdd40e6d6c
SIZE (f3c46da1cbbb2a9d32cd9b4cf31e9fdb5b941a16.patch) = 1552

View file

@ -0,0 +1,2 @@
The SQLite table addon for OpenSMTPD allows the storing of usernames,
passwords, aliases, and domains in a sqlite3 table.