summaryrefslogtreecommitdiff
path: root/mail/qmail/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-04-24 05:29:36 +0000
committerschmonz <schmonz@pkgsrc.org>2004-04-24 05:29:36 +0000
commitf7e542297a404f8ae6d4535b6e295f18fb4438fb (patch)
treef21f07bfb153977e020945e4690c3f5a28d74654 /mail/qmail/Makefile
parentec4500fc4db4e7182b8eef98cb2c871d57c9c74f (diff)
downloadpkgsrc-f7e542297a404f8ae6d4535b6e295f18fb4438fb.tar.gz
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.
Diffstat (limited to 'mail/qmail/Makefile')
-rw-r--r--mail/qmail/Makefile13
1 files changed, 8 insertions, 5 deletions
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"