Skip to content

Commit bbc3697

Browse files
committed
Add qmail-dkim-wrappers: Sign and verify DKIM without patching qmail
This package contains Kyle Wheeler's wrapper scripts for qmail-remote and qmail-queue, respectively, to DKIM-sign and DKIM-verify messages.
1 parent 6d5edf6 commit bbc3697

File tree

4 files changed

+58
-0
lines changed

4 files changed

+58
-0
lines changed

mail/qmail-dkim-wrappers/DESCR

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This package contains Kyle Wheeler's wrapper scripts for qmail-remote
2+
and qmail-queue, respectively, to DKIM-sign and DKIM-verify messages.

mail/qmail-dkim-wrappers/Makefile

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# $NetBSD: Makefile,v 1.1 2024/02/04 07:12:13 schmonz Exp $
2+
3+
PKGNAME= qmail-dkim-wrappers-0.0.20211012
4+
CATEGORIES= mail
5+
MASTER_SITES= ${HOMEPAGE}
6+
DIST_SUBDIR= ${PKGNAME_NOREV}
7+
DISTFILES= qmail-remote.sh.txt dkverifier.sh.txt
8+
9+
MAINTAINER= schmonz@NetBSD.org
10+
HOMEPAGE= https://www.memoryhole.net/qmail/\#dkim
11+
COMMENT= Sign and verify DKIM without patching qmail
12+
13+
DEPENDS+= p5-Mail-DKIM>=1.20240124nb1:../../mail/p5-Mail-DKIM
14+
15+
WRKSRC= ${WRKDIR}
16+
17+
USE_TOOLS+= bash:run
18+
NO_BUILD= yes
19+
20+
REPLACE_BASH= qmail-dkim*
21+
22+
SUBST_CLASSES+= paths
23+
SUBST_STAGE.paths= do-configure
24+
SUBST_FILES.paths= qmail-dkim*
25+
SUBST_SED.paths= -e 's|^PATH=|PATH=${PREFIX}/bin:|g'
26+
SUBST_SED.paths+= -e 's|/var/qmail|${QMAILDIR}|g'
27+
SUBST_SED.paths+= -e 's|qmail-remote\.orig|qmail-remote|g'
28+
SUBST_SED.paths+= -e 's|/etc|${PKG_SYSCONFDIR}|g'
29+
30+
INSTALLATION_DIRS= bin
31+
32+
BUILD_DEFS+= QMAILDIR
33+
34+
post-extract:
35+
cd ${WRKSRC}; \
36+
${MV} -f qmail-remote.sh.txt qmail-dkimsign-remote; \
37+
${MV} -f dkverifier.sh.txt qmail-dkimverify-queue
38+
39+
do-install:
40+
cd ${WRKSRC}; \
41+
for f in qmail-dkim*; do \
42+
${INSTALL_SCRIPT} $$f ${DESTDIR}${PREFIX}/bin/; \
43+
done
44+
45+
.include "../../mk/bsd.pkg.mk"

mail/qmail-dkim-wrappers/PLIST

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@comment $NetBSD: PLIST,v 1.1 2024/02/04 07:12:13 schmonz Exp $
2+
bin/qmail-dkimsign-remote
3+
bin/qmail-dkimverify-queue

mail/qmail-dkim-wrappers/distinfo

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
$NetBSD: distinfo,v 1.1 2024/02/04 07:12:13 schmonz Exp $
2+
3+
BLAKE2s (qmail-dkim-wrappers-0.0.20211012/dkverifier.sh.txt) = 57101f94970fde23c4ded99435cc29d608c8cbd4463899318417f613dc4155fa
4+
SHA512 (qmail-dkim-wrappers-0.0.20211012/dkverifier.sh.txt) = 2b33592e436e04886e558c334d13069f341c7b04026d54e173507f19155c14fa9a5f1e3eeffbc24206308cdf8dcce1bf41e9e4f5a1152671b4c86285b3416eef
5+
Size (qmail-dkim-wrappers-0.0.20211012/dkverifier.sh.txt) = 528 bytes
6+
BLAKE2s (qmail-dkim-wrappers-0.0.20211012/qmail-remote.sh.txt) = 6bd4c3189047b3672c37acfcaf7ba01a9b11784263cfbd7416a723f13fb2e134
7+
SHA512 (qmail-dkim-wrappers-0.0.20211012/qmail-remote.sh.txt) = bd86c96bf2421c98bedd36cb056ff8b50206725c5b72b6ececc253655de62a77068b4f73cf86343f7834a867fdecd82b76e9c4291c17eb52d290e26066538cae
8+
Size (qmail-dkim-wrappers-0.0.20211012/qmail-remote.sh.txt) = 2571 bytes

0 commit comments

Comments
 (0)