summaryrefslogtreecommitdiff
path: root/net/mydns-pgsql
diff options
context:
space:
mode:
authorjoerg <joerg>2010-07-01 16:07:05 +0000
committerjoerg <joerg>2010-07-01 16:07:05 +0000
commit7c372cf9aeb41a336181fe1d65fcfb3453eeb57a (patch)
tree967ff5f5ad39a923d241c59efbfce04a5b144ee2 /net/mydns-pgsql
parent7b3f11f8c719fb80ca3eaf808c0e6f40dd7855a2 (diff)
downloadpkgsrc-7c372cf9aeb41a336181fe1d65fcfb3453eeb57a.tar.gz
Needs user early during installation
Diffstat (limited to 'net/mydns-pgsql')
-rw-r--r--net/mydns-pgsql/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mydns-pgsql/Makefile.common b/net/mydns-pgsql/Makefile.common
index ca30e8def73..fe946bf6ac0 100644
--- a/net/mydns-pgsql/Makefile.common
+++ b/net/mydns-pgsql/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2010/02/19 20:30:21 joerg Exp $
+# $NetBSD: Makefile.common,v 1.16 2010/07/01 16:07:05 joerg Exp $
DISTNAME= mydns-1.1.0
CATEGORIES= net
@@ -36,6 +36,8 @@ PKG_USERS= ${MYDNS_USER}:${MYDNS_GROUP}
INSTALLATION_DIRS+= ${EGDIR}
+USERGROUP_PHASE+= pre-install
+
post-install:
${WRKSRC}/src/mydns/mydns --dump-config > ${DESTDIR}${EGDIR}/mydns.conf
${CHMOD} 0600 ${DESTDIR}${EGDIR}/mydns.conf