pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/qmail-dkim-wrappers



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Feb  4 07:12:13 UTC 2024

Added Files:
        pkgsrc/mail/qmail-dkim-wrappers: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/qmail-dkim-wrappers/DESCR \
    pkgsrc/mail/qmail-dkim-wrappers/Makefile \
    pkgsrc/mail/qmail-dkim-wrappers/PLIST \
    pkgsrc/mail/qmail-dkim-wrappers/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/mail/qmail-dkim-wrappers/DESCR
diff -u /dev/null pkgsrc/mail/qmail-dkim-wrappers/DESCR:1.1
--- /dev/null   Sun Feb  4 07:12:13 2024
+++ pkgsrc/mail/qmail-dkim-wrappers/DESCR       Sun Feb  4 07:12:13 2024
@@ -0,0 +1,2 @@
+This package contains Kyle Wheeler's wrapper scripts for qmail-remote
+and qmail-queue, respectively, to DKIM-sign and DKIM-verify messages.
Index: pkgsrc/mail/qmail-dkim-wrappers/Makefile
diff -u /dev/null pkgsrc/mail/qmail-dkim-wrappers/Makefile:1.1
--- /dev/null   Sun Feb  4 07:12:13 2024
+++ pkgsrc/mail/qmail-dkim-wrappers/Makefile    Sun Feb  4 07:12:13 2024
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2024/02/04 07:12:13 schmonz Exp $
+
+PKGNAME=               qmail-dkim-wrappers-0.0.20211012
+CATEGORIES=            mail
+MASTER_SITES=          ${HOMEPAGE}
+DIST_SUBDIR=           ${PKGNAME_NOREV}
+DISTFILES=             qmail-remote.sh.txt dkverifier.sh.txt
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              https://www.memoryhole.net/qmail/\#dkim
+COMMENT=               Sign and verify DKIM without patching qmail
+
+DEPENDS+=              p5-Mail-DKIM>=1.20240124nb1:../../mail/p5-Mail-DKIM
+
+WRKSRC=                        ${WRKDIR}
+
+USE_TOOLS+=            bash:run
+NO_BUILD=              yes
+
+REPLACE_BASH=          qmail-dkim*
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     do-configure
+SUBST_FILES.paths=     qmail-dkim*
+SUBST_SED.paths=       -e 's|^PATH=|PATH=${PREFIX}/bin:|g'
+SUBST_SED.paths+=      -e 's|/var/qmail|${QMAILDIR}|g'
+SUBST_SED.paths+=      -e 's|qmail-remote\.orig|qmail-remote|g'
+SUBST_SED.paths+=      -e 's|/etc|${PKG_SYSCONFDIR}|g'
+
+INSTALLATION_DIRS=     bin
+
+BUILD_DEFS+=           QMAILDIR
+
+post-extract:
+       cd ${WRKSRC};                                           \
+       ${MV} -f qmail-remote.sh.txt qmail-dkimsign-remote;     \
+       ${MV} -f dkverifier.sh.txt qmail-dkimverify-queue
+
+do-install:
+       cd ${WRKSRC};                                           \
+       for f in qmail-dkim*; do                                \
+               ${INSTALL_SCRIPT} $$f ${DESTDIR}${PREFIX}/bin/; \
+       done
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/qmail-dkim-wrappers/PLIST
diff -u /dev/null pkgsrc/mail/qmail-dkim-wrappers/PLIST:1.1
--- /dev/null   Sun Feb  4 07:12:13 2024
+++ pkgsrc/mail/qmail-dkim-wrappers/PLIST       Sun Feb  4 07:12:13 2024
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2024/02/04 07:12:13 schmonz Exp $
+bin/qmail-dkimsign-remote
+bin/qmail-dkimverify-queue
Index: pkgsrc/mail/qmail-dkim-wrappers/distinfo
diff -u /dev/null pkgsrc/mail/qmail-dkim-wrappers/distinfo:1.1
--- /dev/null   Sun Feb  4 07:12:13 2024
+++ pkgsrc/mail/qmail-dkim-wrappers/distinfo    Sun Feb  4 07:12:13 2024
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2024/02/04 07:12:13 schmonz Exp $
+
+BLAKE2s (qmail-dkim-wrappers-0.0.20211012/dkverifier.sh.txt) = 57101f94970fde23c4ded99435cc29d608c8cbd4463899318417f613dc4155fa
+SHA512 (qmail-dkim-wrappers-0.0.20211012/dkverifier.sh.txt) = 2b33592e436e04886e558c334d13069f341c7b04026d54e173507f19155c14fa9a5f1e3eeffbc24206308cdf8dcce1bf41e9e4f5a1152671b4c86285b3416eef
+Size (qmail-dkim-wrappers-0.0.20211012/dkverifier.sh.txt) = 528 bytes
+BLAKE2s (qmail-dkim-wrappers-0.0.20211012/qmail-remote.sh.txt) = 6bd4c3189047b3672c37acfcaf7ba01a9b11784263cfbd7416a723f13fb2e134
+SHA512 (qmail-dkim-wrappers-0.0.20211012/qmail-remote.sh.txt) = bd86c96bf2421c98bedd36cb056ff8b50206725c5b72b6ececc253655de62a77068b4f73cf86343f7834a867fdecd82b76e9c4291c17eb52d290e26066538cae
+Size (qmail-dkim-wrappers-0.0.20211012/qmail-remote.sh.txt) = 2571 bytes



Home | Main Index | Thread Index | Old Index