From 2ec79062b9e89eec24929018ce6a3ce3af52d7ce Mon Sep 17 00:00:00 2001 From: jmc Date: Mon, 23 Jun 2003 16:12:48 +0000 Subject: Convert to depending on exim-user rather than installing the user pre-build here. --- mail/exim/Makefile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'mail/exim/Makefile') diff --git a/mail/exim/Makefile b/mail/exim/Makefile index dcac45f8f0c..8c9324a5875 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.34 2003/06/16 21:40:21 jmc Exp $ +# $NetBSD: Makefile,v 1.35 2003/06/23 16:12:48 jmc Exp $ DISTNAME= exim-4.10 +PKGREVISION= 1 CATEGORIES= mail net MASTER_SITES= ftp://ftp.exim.org/pub/exim/exim4/ \ ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \ @@ -13,14 +14,11 @@ COMMENT= The Exim mail transfer agent, a replacement for sendmail USE_PERL5= yes USE_BUILDLINK2= yes -USE_PKGINSTALL= yes -PKG_USERS= mail:6:8:Electronic Mail:/var/mail:/sbin/nologin - -# To pickup USERADD -.include "../../mk/bsd.prefs.mk" MAKE_ENV+= SSLBASE=${SSLBASE:Q} +DEPENDS+= exim-user>=4.10:../../mail/exim-user + pre-patch: ${MKDIR} ${WRKSRC}/Local ${CP} ${WRKSRC}/src/EDITME ${WRKSRC}/Local/Makefile.netbsd @@ -30,12 +28,6 @@ pre-configure: < ${WRKSRC}/Local/Makefile.netbsd \ > ${WRKSRC}/Local/Makefile -pre-build: - @(if ! ${ID} mail 2>/dev/null >/dev/null; then\ - ${ECHO} "Creating user: ${user}"; \ - ${USERADD} -c "Electronic Mail" -u 8 -g 6 -d /var/mail -s /sbin/nologin mail; \ - fi) - pre-install: ${INSTALL_DATA_DIR} ${PREFIX}/etc/exim ${INSTALL_DATA_DIR} /var/log/exim -- cgit v1.2.3