summaryrefslogtreecommitdiff
path: root/mail/exim/Makefile
diff options
context:
space:
mode:
authorad <ad>2002-06-19 16:02:26 +0000
committerad <ad>2002-06-19 16:02:26 +0000
commit146363e0bd962084ebcae6c2ed79cc4492f7d513 (patch)
tree8b5e14f32ac581c31929fc8b3a6beb8aca68935a /mail/exim/Makefile
parent12df5e46c4e4f0f9cc06fa2d48e6e6ddf0f8a3d2 (diff)
downloadpkgsrc-146363e0bd962084ebcae6c2ed79cc4492f7d513.tar.gz
Update to exim-4.05. This is a major update. Details of the changes from
exim 3 can be had from www.exim.org.
Diffstat (limited to 'mail/exim/Makefile')
-rw-r--r--mail/exim/Makefile36
1 files changed, 24 insertions, 12 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 10be2891818..a4c77b836c0 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -1,16 +1,19 @@
-# $NetBSD: Makefile,v 1.27 2001/12/19 17:11:02 ad Exp $
+# $NetBSD: Makefile,v 1.28 2002/06/19 16:02:26 ad Exp $
-DISTNAME= exim-3.34
+DISTNAME= exim-4.05
CATEGORIES= mail net
-MASTER_SITES= ftp://ftp.exim.org/pub/exim/ \
- ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim3/ \
- ftp://ftp.esat.net/pub/networking/mail/mta/exim/
+MASTER_SITES= ftp://ftp.exim.org/pub/exim/exim4/ \
+ ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
+ ftp://ftp.esat.net/pub/networking/mail/mta/exim/exim4/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= ad@netbsd.org
HOMEPAGE= http://www.exim.org/
COMMENT= The Exim mail transfer agent, a replacement for sendmail
+USE_SSL= yes
USE_PERL5= yes
+IS_INTERACTIVE= yes
pre-patch:
${MKDIR} ${WRKSRC}/Local
@@ -21,16 +24,26 @@ pre-configure:
< ${WRKSRC}/Local/Makefile.netbsd \
> ${WRKSRC}/Local/Makefile
+pre-build:
+ @(if ! id mail 2>/dev/null >/dev/null; then\
+ echo "!! ";\
+ echo "!! Use vipw to add the following to master.passwd:";\
+ echo "!! ";\
+ echo "!! mail:*:8:6::0:0:Electronic Mail:/var/mail:/sbin/nologin";\
+ echo "!! ";\
+ false;\
+ fi)
+
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/exim
${INSTALL_DATA_DIR} /var/log/exim
${CHMOD} 750 /var/log/exim
- strip ${WRKSRC}/build*/exim
- strip ${WRKSRC}/build*/exim_dbmbuild
- strip ${WRKSRC}/build*/exim_tidydb
- strip ${WRKSRC}/build*/exim_fixdb
- strip ${WRKSRC}/build*/exim_dumpdb
- strip ${WRKSRC}/build*/exim_lock
+ strip ${WRKSRC}/build-*/exim
+ strip ${WRKSRC}/build-*/exim_dbmbuild
+ strip ${WRKSRC}/build-*/exim_tidydb
+ strip ${WRKSRC}/build-*/exim_fixdb
+ strip ${WRKSRC}/build-*/exim_dumpdb
+ strip ${WRKSRC}/build-*/exim_lock
post-install:
${SED} -e 's:@PREFIX@:${PREFIX}:' \
@@ -43,6 +56,5 @@ post-install:
${SED} -e 's:@PREFIX@:${PREFIX}:' \
${FILESDIR}/mailer.conf.exim \
> ${PREFIX}/etc/exim/mailer.conf.exim
- ${CP} ${FILESDIR}/exim.8 ${PREFIX}/man/man8/exim.8
.include "../../mk/bsd.pkg.mk"