Received: by mail.netbsd.org (Postfix, from userid 605) id 1F31B84E74; Mon, 22 Oct 2018 15:23:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 23A6A84E6A for ; Mon, 22 Oct 2018 15:23:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id yBGbNBtbe737 for ; Mon, 22 Oct 2018 15:23:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4246384E50 for ; Mon, 22 Oct 2018 15:23:06 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3B67CFBEE; Mon, 22 Oct 2018 15:23:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_15402217869700" MIME-Version: 1.0 Date: Mon, 22 Oct 2018 15:23:06 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/mail/qmail-acceptutils To: pkgsrc-changes@NetBSD.org Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20181022152306.3B67CFBEE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_15402217869700 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Mon Oct 22 15:23:06 UTC 2018 Added Files: pkgsrc/mail/qmail-acceptutils: DESCR Makefile PLIST distinfo Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/mail/qmail-acceptutils/DESCR \ pkgsrc/mail/qmail-acceptutils/Makefile \ pkgsrc/mail/qmail-acceptutils/PLIST \ pkgsrc/mail/qmail-acceptutils/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_15402217869700 Content-Disposition: inline Content-Length: 3293 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/mail/qmail-acceptutils/DESCR diff -u /dev/null pkgsrc/mail/qmail-acceptutils/DESCR:1.1 --- /dev/null Mon Oct 22 15:23:06 2018 +++ pkgsrc/mail/qmail-acceptutils/DESCR Mon Oct 22 15:23:06 2018 @@ -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. Index: pkgsrc/mail/qmail-acceptutils/Makefile diff -u /dev/null pkgsrc/mail/qmail-acceptutils/Makefile:1.1 --- /dev/null Mon Oct 22 15:23:06 2018 +++ pkgsrc/mail/qmail-acceptutils/Makefile Mon Oct 22 15:23:06 2018 @@ -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 +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" Index: pkgsrc/mail/qmail-acceptutils/PLIST diff -u /dev/null pkgsrc/mail/qmail-acceptutils/PLIST:1.1 --- /dev/null Mon Oct 22 15:23:06 2018 +++ pkgsrc/mail/qmail-acceptutils/PLIST Mon Oct 22 15:23:06 2018 @@ -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 Index: pkgsrc/mail/qmail-acceptutils/distinfo diff -u /dev/null pkgsrc/mail/qmail-acceptutils/distinfo:1.1 --- /dev/null Mon Oct 22 15:23:06 2018 +++ pkgsrc/mail/qmail-acceptutils/distinfo Mon Oct 22 15:23:06 2018 @@ -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 --_----------=_15402217869700--