diff options
author | fhajny <fhajny@pkgsrc.org> | 2018-01-22 15:50:37 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2018-01-22 15:50:37 +0000 |
commit | efc81292ee568103ef80c3d90536d23adbce4ae0 (patch) | |
tree | 60290a451d68cfd012fec303b7b29a7a0b3408ec /mail/clamsmtp/Makefile | |
parent | 83522cc796a41a681cc42f50e630b7ef0b04f9c3 (diff) | |
download | pkgsrc-efc81292ee568103ef80c3d90536d23adbce4ae0.tar.gz |
mail/clamsmtp: Add SMF support. Make sure $CLAMAV_USER exists,
since it's referenced in init scripts. Bump PKGREVISION.
Diffstat (limited to 'mail/clamsmtp/Makefile')
-rw-r--r-- | mail/clamsmtp/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/clamsmtp/Makefile b/mail/clamsmtp/Makefile index f7aabc261d9..f355f120955 100644 --- a/mail/clamsmtp/Makefile +++ b/mail/clamsmtp/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.46 2016/12/01 18:34:57 nros Exp $ +# $NetBSD: Makefile,v 1.47 2018/01/22 15:50:37 fhajny Exp $ DISTNAME= clamsmtp-1.10 -#PKGREVISION= 1 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= http://thewalter.net/stef/software/clamsmtp/ @@ -15,6 +15,7 @@ RCD_SCRIPTS= clamsmtpd MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE:Q} FILES_SUBST+= CLAMAV_USER=${CLAMAV_USER} +FILES_SUBST+= CLAMAV_GROUP=${CLAMAV_GROUP} # Doesn't work with GNU pth (missing required mutex features) PTHREAD_OPTS+= require native @@ -26,6 +27,9 @@ CONF_FILES= ${EGDIR}/clamsmtpd.conf \ INSTALLATION_DIRS= share/examples/${PKGBASE} PKG_USERS_VARS= CLAMAV_USER +PKG_GROUPS_VARS= CLAMAV_GROUP +PKG_GROUPS+= ${CLAMAV_GROUP} +PKG_USERS+= ${CLAMAV_USER}:${CLAMAV_GROUP} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |