git: 9b48774c57f4 - main - sendmail: Move libmilter to its own package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Aug 2025 20:08:09 UTC
The branch main has been updated by ivy:
URL: https://cgit.FreeBSD.org/src/commit/?id=9b48774c57f4df58bdae28cd1faa77e870a760df
commit 9b48774c57f4df58bdae28cd1faa77e870a760df
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-08-16 19:59:03 +0000
Commit: Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-08-16 20:07:57 +0000
sendmail: Move libmilter to its own package
Many things other than sendmail itself use the milter API, for example
mail/opendkim from ports. Putting the library in its own package means
those applications don't need to depend on FreeBSD-sendmail.
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D51914
---
lib/libmilter/Makefile | 2 +-
release/packages/ucl/libmilter-all.ucl | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/lib/libmilter/Makefile b/lib/libmilter/Makefile
index dd6a481d1a15..ff16b4d00297 100644
--- a/lib/libmilter/Makefile
+++ b/lib/libmilter/Makefile
@@ -1,6 +1,6 @@
.include <src.opts.mk>
-PACKAGE=sendmail
+PACKAGE=lib${LIB}
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
diff --git a/release/packages/ucl/libmilter-all.ucl b/release/packages/ucl/libmilter-all.ucl
new file mode 100644
index 000000000000..70764a3f0f8b
--- /dev/null
+++ b/release/packages/ucl/libmilter-all.ucl
@@ -0,0 +1,6 @@
+comment = "Sendmail mail filter (milter) library"
+desc = <<EOD
+The Sendmail milter interface allows a mail transport agent to filter mail
+through a separate process, called a milter. libmilter provides support
+for applications implementing the milter interface.
+EOD