summaryrefslogtreecommitdiff
path: root/sysutils/salt
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2014-05-06 10:57:48 +0000
committerimil <imil@pkgsrc.org>2014-05-06 10:57:48 +0000
commit0cbefedaed2f481feda930c93b6781fc21503d1e (patch)
treef9f8979a5a1aca692d7527a9a6db7cf5d1857617 /sysutils/salt
parentb05ff2a8c06d4d6a55329e8c8b83d7cbb1be0242 (diff)
downloadpkgsrc-0cbefedaed2f481feda930c93b6781fc21503d1e.tar.gz
More hardcoded paths fixing, here the munin module has its configuration
hardcoded to plain /etc/munin.
Diffstat (limited to 'sysutils/salt')
-rw-r--r--sysutils/salt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/salt/Makefile b/sysutils/salt/Makefile
index 15c5eedafa0..d354d596955 100644
--- a/sysutils/salt/Makefile
+++ b/sysutils/salt/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2014/04/18 11:25:06 imil Exp $
+# $NetBSD: Makefile,v 1.22 2014/05/06 10:57:48 imil Exp $
DISTNAME= salt-2014.1.3
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://pypi.python.org/packages/source/s/salt/
@@ -53,10 +54,11 @@ SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths=Fixing hardcoded paths
SUBST_FILES.fix-paths= conf/*
-SUBST_FILES.fix-paths+= doc/man/*
+SUBST_FILES.fix-paths+= doc/man/* salt/modules/munin.py
SUBST_SED.fix-paths= -e 's,/etc/salt,${PKG_SYSCONFDIR},g'
SUBST_SED.fix-paths+= -e 's,/srv/salt,${PKG_SYSCONFDIR}/states,g'
SUBST_SED.fix-paths+= -e 's,/srv/pillar,${PKG_SYSCONFDIR}/pillar,g'
+SUBST_SED.fix-paths+= -e 's,/etc/munin,${PKG_SYSCONFBASEDIR}/munin,g'
post-install:
${INSTALL_DATA} ${WRKSRC}/conf/master ${DESTDIR}${EGDIR}/