From f7e542297a404f8ae6d4535b6e295f18fb4438fb Mon Sep 17 00:00:00 2001 From: schmonz Date: Sat, 24 Apr 2004 05:29:36 +0000 Subject: Add revision 1.01 of Ward Vandewege's badrcptto patch. With this patch, qmail-smtpd will reject mail during the SMTP conversation if a recipient is listed in control/badrcptto. This complements control/badmailfrom as found in stock qmail. Requested by Nathan Arthur. Add an rc.d script for qmail-pop3d. It needs sysutils/checkpassword, which is so tiny I've added the dependency even as I don't use qmail-pop3d myself. In the rc.d script for qmail-smtpd, require control/rcpthosts to be present. This prevents accidental open relays. Now that it's used for the path to checkpassword too, rename LOCALBASE_UCSPI_TCP to LOCALBASE_NORMAL. Convert to buildlink3. Bump PKGREVISION. --- mail/qmail/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'mail/qmail/Makefile') diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index 6d59b4a34c4..a96f1b52241 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.22 2004/04/10 14:15:24 schmonz Exp $ +# $NetBSD: Makefile,v 1.23 2004/04/24 05:29:36 schmonz Exp $ # DISTNAME= qmail-1.03 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= mail MASTER_SITES= http://cr.yp.to/software/ \ ftp://ftp.ntnu.no/pub/unix/mail/qmail/ \ @@ -13,9 +13,12 @@ MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://www.qmail.org/ COMMENT= Secure, reliable, efficient, simple, and fast MTA for UNIX systems +DEPENDS+= checkpassword-[0-9]*:../../sysutils/checkpassword DEPENDS+= qmail-users>=1.0:../../mail/qmail-users DEPENDS+= ucspi-tcp-[0-9]*:../../net/ucspi-tcp +USE_BUILDLINK3= yes + ALL_TARGET= it man INSTALL_TARGET= setup check @@ -29,11 +32,11 @@ USE_PKGINSTALL= yes DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL OWN_DIRS+= ${QMAILDIR} -EVAL_PREFIX+= LOCALBASE_UCSPI_TCP=ucspi-tcp +EVAL_PREFIX+= LOCALBASE_NORMAL=ucspi-tcp FILES_SUBST+= QMAILDIR=${QMAILDIR} -FILES_SUBST+= LOCALBASE_UCSPI_TCP=${LOCALBASE_UCSPI_TCP} -RCD_SCRIPTS= qmail qmailsmtpd +FILES_SUBST+= LOCALBASE_NORMAL=${LOCALBASE_NORMAL} +RCD_SCRIPTS= qmail qmailsmtpd qmailpop3d RCD_SCRIPTS_EXAMPLEDIR= ${QMAILDIR}/etc/rc.d .include "../../mk/bsd.prefs.mk" -- cgit v1.2.3