pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail-rejectutils Initial import of qmail-rejectu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81febaca3ae7
branches:  trunk
changeset: 381050:81febaca3ae7
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon May 28 12:56:24 2018 +0000

description:
Initial import of qmail-rejectutils, a set of standalone programs for
SMTP-rejecting messages according to multiple criteria without patching
qmail-smtpd(8).

diffstat:

 mail/qmail-rejectutils/DESCR    |  20 ++++++++++++++++++++
 mail/qmail-rejectutils/Makefile |  39 +++++++++++++++++++++++++++++++++++++++
 mail/qmail-rejectutils/PLIST    |   8 ++++++++
 mail/qmail-rejectutils/distinfo |  10 ++++++++++
 4 files changed, 77 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r 8347c5b9bc7a -r 81febaca3ae7 mail/qmail-rejectutils/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail-rejectutils/DESCR      Mon May 28 12:56:24 2018 +0000
@@ -0,0 +1,20 @@
+To SMTP-reject messages without patching qmail-smtpd(8), compose the
+following programs into your configuration as needed:
+
+- qmail-qfilter-smtpd-queue is a QMAILQUEUE wrapper that runs
+  qmail-qfilter with the sequence of programs in control/smtpfilters,
+  rejecting if any of them reject.
+- qmail-qfilter-ofmipd-queue is a QMAILQUEUE wrapper that runs
+  qmail-qfilter with the sequence of programs in control/ofmipfilters,
+  rejecting if any of them reject.
+- qmail-qfilter-viruscan is the viruscan patch repackaged as a
+  qmail-qfilter-compatible program.
+- qmail-rcptcheck is a RCPTCHECK-compatible program that runs the
+  sequence of programs in control/rcptchecks, rejecting if any of
+  them reject.
+- qmail-rcptcheck-realrcptto is the realrcptto patch repackaged as a
+  RCPTCHECK-compatible program.
+- qmail-rcptcheck-badrcptto is the badrcptto patch repackaged as a
+  RCPTCHECK-compatible program.
+- qmail-rcptcheck-qregex is (most of) the qregex patch repackaged as a
+  RCPTCHECK-compatible program
diff -r 8347c5b9bc7a -r 81febaca3ae7 mail/qmail-rejectutils/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail-rejectutils/Makefile   Mon May 28 12:56:24 2018 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2018/05/28 12:56:24 schmonz Exp $
+
+DISTNAME=              netqmail-1.06
+PKGNAME=               qmail-rejectutils-${RJPATCHVERSION}
+CATEGORIES=            mail
+MASTER_SITES=          http://www.qmail.org/
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              https://schmonz.com/qmail/rejectutils/
+COMMENT=               Reject messages at SMTP according to multiple criteria
+LICENSE=               public-domain
+
+RJPATCHVERSION=                20170720
+RJPATCH=               ${DISTNAME}-rejectutils-${RJPATCHVERSION}.patch
+PATCHFILES+=           ${RJPATCH}
+SITES.${RJPATCH}=      ${HOMEPAGE}
+
+CONFLICTS+=            qmail<=1.03nb32
+
+DJB_RESTRICTED=                no
+BUILD_TARGET=          rejectutils
+
+REJECTUTILS=           qmail-qfilter-ofmipd-queue      \
+                       qmail-qfilter-smtpd-queue       \
+                       qmail-qfilter-viruscan          \
+                       qmail-rcptcheck                 \
+                       qmail-rcptcheck-badrcptto       \
+                       qmail-rcptcheck-qregex          \
+                       qmail-rcptcheck-realrcptto
+
+INSTALLATION_DIRS=     bin
+
+do-install:
+       for i in ${REJECTUTILS}; do                                     \
+               ${INSTALL_PROGRAM} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/bin/$$i; \
+       done
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8347c5b9bc7a -r 81febaca3ae7 mail/qmail-rejectutils/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail-rejectutils/PLIST      Mon May 28 12:56:24 2018 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2018/05/28 12:56:24 schmonz Exp $
+bin/qmail-qfilter-viruscan
+bin/qmail-qfilter-ofmipd-queue
+bin/qmail-qfilter-smtpd-queue
+bin/qmail-rcptcheck
+bin/qmail-rcptcheck-badrcptto
+bin/qmail-rcptcheck-qregex
+bin/qmail-rcptcheck-realrcptto
diff -r 8347c5b9bc7a -r 81febaca3ae7 mail/qmail-rejectutils/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail-rejectutils/distinfo   Mon May 28 12:56:24 2018 +0000
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2018/05/28 12:56:24 schmonz Exp $
+
+SHA1 (netqmail-1.06-rejectutils-20170720.patch) = a2902231ebbd27b214206f0e26150fe7aef48ca3
+RMD160 (netqmail-1.06-rejectutils-20170720.patch) = 6f0aba229513ad635145016a689c50cad37321d2
+SHA512 (netqmail-1.06-rejectutils-20170720.patch) = da7d0fb60c21f2ff63fe99bf540f83345369cbf6ade4b9a6cae36b5b3d91b3edfd58d91b8b7a300a617fd963de860a76f30d429f677318078b1430fce4676d12
+Size (netqmail-1.06-rejectutils-20170720.patch) = 37193 bytes
+SHA1 (netqmail-1.06.tar.gz) = 9ee9a603e2ad3d8e1d34b900e19b7a5d275f538b
+RMD160 (netqmail-1.06.tar.gz) = d31598afa862abb35bc1feb8d038ab619b5a17a2
+SHA512 (netqmail-1.06.tar.gz) = de40a6d8fac502bd785010434d99b99f2c0524e10aea3d0f2a0d35c70fce91e991eb1fb8f20a1276eb56d7e73130ea5e2c178f6075d138af47b28d9ca6e6046b
+Size (netqmail-1.06.tar.gz) = 260941 bytes



Home | Main Index | Thread Index | Old Index