summaryrefslogtreecommitdiff
path: root/mail/maildrop/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-22 22:09:41 +0000
committerjlam <jlam>2002-01-22 22:09:41 +0000
commit00238669f5e3b9360432eb39cc7832c2494679c7 (patch)
tree86fd8651facc79d4efc358e0f90c3d8939dc296f /mail/maildrop/Makefile
parent5ce351d598f5554a87341e69691b46d29e8121b1 (diff)
downloadpkgsrc-00238669f5e3b9360432eb39cc7832c2494679c7.tar.gz
Update mail/maildrop to 1.3.7. Changes from 1.3.4 include:
* Find config files in /etc/courier (or PKG_SYSCONFDIR equivalent). We consolidate all Courier MTA software config files under a common /etc/courier directory. * Loosen up the parsing of the content-type header. Strict parsing allowed viruses to slip through using malformed content-type headers which still got picked up by Microsoft's crapware which does not strictly parse the MIME headers. * Drop install setuid. * Add UMASK variable, that sets the permissions on new mailboxes or messages. Hence, drop MAILBOX_MODE from configure script.
Diffstat (limited to 'mail/maildrop/Makefile')
-rw-r--r--mail/maildrop/Makefile38
1 files changed, 16 insertions, 22 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index 99573a89d96..a76e7c1a92a 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -1,36 +1,30 @@
-# $NetBSD: Makefile,v 1.5 2001/08/16 07:39:21 jlam Exp $
-#
+# $NetBSD: Makefile,v 1.6 2002/01/22 22:09:41 jlam Exp $
-DISTNAME= maildrop-1.3.4
-CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/}
-
-MAINTAINER= jlam@netbsd.org
+DISTNAME= maildrop-1.3.7
+COMMENT= Courier mail delivery agent with filtering abilities
HOMEPAGE= http://www.flounder.net/~mrsam/maildrop/
-COMMENT= mail delivery agent with filtering abilities
PERL5_REQD= 5.6.0
BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
-DEPENDS+= courier-maildirmake-[0-9]*:../../mail/courier-maildirmake
+DEPENDS+= courier-maildirmake>=0.37.1:../../mail/courier-maildirmake
-USE_BUILDLINK_ONLY= # defined
-USE_GMAKE= # defined
-GNU_CONFIGURE= # defined
-CONFIGURE_ARGS+= --with-db=db
-CONFIGURE_ARGS+= --with-etcdir=/etc
+USE_BUILDLINK_ONLY= yes
-INSTALL_TARGET= install-strip
+.include "../../scratch/courier-auth/Makefile.common"
-.include "../../mk/bsd.prefs.mk"
+CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --disable-userdb
-.if ${OPSYS} == "SunOS"
-.include "../../databases/db/buildlink.mk"
-CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2
+.if !defined(STRIPFLAG) || empty(STRIPFLAG:M-s)
+INSTALL_TARGET= install-strip
+.else
+INSTALL_TARGET= install
.endif
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/maildrop
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/maildrop
- ${INSTALL_DATA} ${WRKSRC}/README.postfix ${PREFIX}/share/doc/maildrop
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}/README.maildrop
+ ${INSTALL_DATA} ${WRKSRC}/README.postfix ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/maildroptips.txt ${DOCDIR}
.include "../../mk/bsd.pkg.mk"