summaryrefslogtreecommitdiff
path: root/mail/exim-user
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-08-02 17:00:06 +0000
committerjmmv <jmmv>2003-08-02 17:00:06 +0000
commitafe641bbda1134003e027c9998d0ce2195921ddf (patch)
treee2a8755d9490554970c9f55f57e1d14d2d7f92ea /mail/exim-user
parente5f807f1eee6d182aff5484ff304605b5f8aa71e (diff)
downloadpkgsrc-afe641bbda1134003e027c9998d0ce2195921ddf.tar.gz
Convert exim and exim-user to the bsd.pkg.install.mk framework:
- Introduce EXIM_GROUP and EXIM_USER to tune the details of the group and user used by the daemon. - Honour PKG_SYSCONFDIR. - Install sample files under the examples directory. - Automatically install example files under sysconfdir using CONF_FILES. This simplifies exim's set up from admin's point of view. - Use RCD_SCRIPTS to handle the startup script. As a result, bump PKGREVISION of exim and exim-user.
Diffstat (limited to 'mail/exim-user')
-rw-r--r--mail/exim-user/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/exim-user/Makefile b/mail/exim-user/Makefile
index 140360addfb..9b5d14be1bc 100644
--- a/mail/exim-user/Makefile
+++ b/mail/exim-user/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2003/07/17 21:45:59 grant Exp $
+# $NetBSD: Makefile,v 1.3 2003/08/02 17:00:07 jmmv Exp $
DISTNAME= exim-user-4.10
+PKGREVISION= 1
CATEGORIES= mail net
MASTER_SITES= # empty
DISTFILES= # empty
@@ -10,13 +11,18 @@ HOMEPAGE= # empty
COMMENT= Pre-req package for exim to setup user needed for build/use
USE_PKGINSTALL= yes
-PKG_USERS= mail:mail:8:Electronic\\ Mail:/var/mail:/sbin/nologin
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_CONFIGURE= yes
NO_BUILD= yes
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= EXIM_GROUP EXIM_USER
+PKG_GROUPS= ${EXIM_GROUP}
+PKG_USERS= ${EXIM_USER}:${EXIM_GROUP}:8:Exim\\ mail\\ server\\ user:/var/mail:/sbin/nologin
+
do-install: # empty
.include "../../mk/bsd.pkg.mk"