pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail-acceptutils Initial import of qmail-acceptu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6749e2d4ab0a
branches:  trunk
changeset: 324514:6749e2d4ab0a
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Oct 22 15:23:06 2018 +0000

description:
Initial import of qmail-acceptutils, my SMTP AUTH implementation for
qmail. It avoids patch conflicts, adds new user-controlled features, and
is more consistent with qmail's design.

To SMTP-authenticate users without patching ofmipd(8) or qmail-smtpd(8),
compose the following programs into your configuration:

- reup runs a program repeatedly until it succeeds.
- authup offers SMTP or POP3 authentication and calls checkpassword.
- checknotroot refuses to run as UID 0.
- fixsmtpio filters SMTP I/O and exit status to suit authup.

diffstat:

 mail/qmail-acceptutils/DESCR    |   7 +++++++
 mail/qmail-acceptutils/Makefile |  34 ++++++++++++++++++++++++++++++++++
 mail/qmail-acceptutils/PLIST    |   9 +++++++++
 mail/qmail-acceptutils/distinfo |  10 ++++++++++
 4 files changed, 60 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r f9153d31ef6c -r 6749e2d4ab0a mail/qmail-acceptutils/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail-acceptutils/DESCR      Mon Oct 22 15:23:06 2018 +0000
@@ -0,0 +1,7 @@
+To SMTP-authenticate users without patching ofmipd(8) or qmail-smtpd(8),
+compose the following programs into your configuration:
+
+- reup runs a program repeatedly until it succeeds.
+- authup offers SMTP or POP3 authentication and calls checkpassword.
+- checknotroot refuses to run as UID 0.
+- fixsmtpio filters SMTP I/O and exit status to suit authup.
diff -r f9153d31ef6c -r 6749e2d4ab0a mail/qmail-acceptutils/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail-acceptutils/Makefile   Mon Oct 22 15:23:06 2018 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2018/10/22 15:23:06 schmonz Exp $
+
+DISTNAME=              netqmail-1.06
+PKGNAME=               qmail-acceptutils-${ACPATCHVERSION}
+CATEGORIES=            mail
+MASTER_SITES=          http://www.qmail.org/
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              https://schmonz.com/qmail/acceptutils/
+COMMENT=               Offer SMTP AUTH with new features and no patch conflicts
+LICENSE=               public-domain
+
+ACPATCHVERSION=                20181022
+ACPATCH=               ${DISTNAME}-acceptutils-${ACPATCHVERSION}.patch
+PATCHFILES+=           ${ACPATCH}
+SITES.${ACPATCH}=      ${HOMEPAGE}
+
+CONFLICTS+=            qmail<=1.03nb32
+
+DJB_RESTRICTED=                no
+BUILD_TARGET=          acceptutils
+
+ACCEPTUTILS=           authup checknotroot fixsmtpio reup
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man8
+
+do-install:
+       for i in ${ACCEPTUTILS}; do                                     \
+               ${INSTALL_PROGRAM} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/bin/$$i; \
+               ${INSTALL_MAN} ${WRKSRC}/$$i.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/$$i.8; \
+       done
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f9153d31ef6c -r 6749e2d4ab0a mail/qmail-acceptutils/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail-acceptutils/PLIST      Mon Oct 22 15:23:06 2018 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2018/10/22 15:23:06 schmonz Exp $
+bin/authup
+bin/checknotroot
+bin/fixsmtpio
+bin/reup
+man/man8/authup.8
+man/man8/checknotroot.8
+man/man8/fixsmtpio.8
+man/man8/reup.8
diff -r f9153d31ef6c -r 6749e2d4ab0a mail/qmail-acceptutils/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail-acceptutils/distinfo   Mon Oct 22 15:23:06 2018 +0000
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2018/10/22 15:23:06 schmonz Exp $
+
+SHA1 (netqmail-1.06-acceptutils-20181022.patch) = ed713843baf4e208b0ca2a8bc63fcc7d045dbc79
+RMD160 (netqmail-1.06-acceptutils-20181022.patch) = 7e9ae28620e0ce238566e81ca6f24aba7f494575
+SHA512 (netqmail-1.06-acceptutils-20181022.patch) = f5f7c70d88c86ce34b36928e39c37ef39729790638fc45df83ceb1150b84b08c507e6fbd63e5123c5bba811d60d101acd8ef125722e6bc14c8bfc28f89bca7fe
+Size (netqmail-1.06-acceptutils-20181022.patch) = 91841 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