Tuesday, July 09, 2024

Re: [NEW] mail/s-dkim-sign: postfix-only DKIM sign-only milter

Hello.

Steffen Nurpmeso wrote in
<20240601194022.KVrLXlqQ@steffen%sdaoden.eu>:
|Now with this "--client IP/CIDR" works as desired.
|I also cleaned up the makefile, it had cruft from s-postgray.
|Works nicely, configuration is different to other well-known DKIM
|implementations, though.

Anyone to commit this? It is, i think, a good one.

Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Makefile 1 Jun 2024 19:37:14 -0000
@@ -0,0 +1,28 @@
+COMMENT= postfix(1)-only DKIM sign-only milter
+
+DISTNAME= s-dkim-sign-0.6.2
+CATEGORIES= mail
+HOMEPAGE= https://www.sdaoden.eu/code.html\#s-dkim-sign
+
+SITES= https://ftp.sdaoden.eu/
+
+MAINTAINER= Steffen Nurpmeso <steffen@sdaoden.eu>
+
+# ISC
+PERMIT_PACKAGE= Yes
+
+COMPILER= base-clang ports-gcc
+COMPILER_LANGS= c
+
+WANTLIB+= c crypto
+
+MAKE_FILE= makefile
+MAKE_FLAGS= MANDIR="${DESTDIR}${PREFIX}"/man/man8
+
+# get rid of hardcoded -O2
+MAKE_FLAGS+= SUFOPT=" "
+
+do-test:
+ cd ${WRKBUILD} && ./s-dkim-sign-test.sh
+
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: distinfo
diff -N distinfo
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ distinfo 1 Jun 2024 19:37:14 -0000
@@ -0,0 +1,2 @@
+SHA256 (s-dkim-sign-0.6.2.tar.gz) = gX00ujXUa6B2P1XaW+TbRp6lXBa7kUSA6J1RaYHl/9o=
+SIZE (s-dkim-sign-0.6.2.tar.gz) = 187389
Index: pkg/DESCR
===================================================================
RCS file: pkg/DESCR
diff -N pkg/DESCR
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/DESCR 1 Jun 2024 19:37:14 -0000
@@ -0,0 +1,6 @@
+A postfix(1)-only RFC 6376/[8301]/8463 D(omain)K(eys) I(dentified)
+M(ail) sign-only milter.
+The program is intended to be started via the postfix(1) spawn(8)
+daemon, which takes care of the correct user and group credentials,
+timeouts and stale server garbage collection etc.
+Just see the manual page.
Index: pkg/PLIST
===================================================================
RCS file: pkg/PLIST
diff -N pkg/PLIST
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/PLIST 1 Jun 2024 19:37:14 -0000
@@ -0,0 +1,4 @@
+@bin libexec/s-dkim-sign
+@man man/man8/s-dkim-sign-key-create.8
+@man man/man8/s-dkim-sign.8
+sbin/s-dkim-sign-key-create


--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)

No comments:

Post a Comment