pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/salt Add ${VARBASE} replacements in example c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/689bed8c3b3d
branches:  trunk
changeset: 374344:689bed8c3b3d
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Jan 21 13:28:07 2018 +0000

description:
Add ${VARBASE} replacements in example config.

Patch from Travis Paul in PR pkg/52930.
Bump revision.

diffstat:

 sysutils/salt/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r c8232ad029c1 -r 689bed8c3b3d sysutils/salt/Makefile
--- a/sysutils/salt/Makefile    Sun Jan 21 13:05:21 2018 +0000
+++ b/sysutils/salt/Makefile    Sun Jan 21 13:28:07 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2017/10/11 09:40:28 sborrill Exp $
+# $NetBSD: Makefile,v 1.56 2018/01/21 13:28:07 bsiegert Exp $
 
 DISTNAME=      salt-2017.7.2
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/salt/}
 
@@ -68,6 +69,10 @@
 SUBST_SED.fix-paths+=  -e 's,share/man,${PKGMANDIR},g'
 SUBST_SED.fix-paths+=  -e 's,/opt/local/lib,${PREFIX}/lib,g'
 SUBST_SED.fix-paths+=  -e 's,/opt/local/etc,${PKG_SYSCONFBASEDIR},g'
+SUBST_SED.fix-paths+=  -e 's,/var/run,${VARBASE}/run,g'
+SUBST_SED.fix-paths+=  -e 's,/var/cache,${VARBASE}/cache,g'
+SUBST_SED.fix-paths+=  -e 's,/var/log,${VARBASE}/log,g'
+
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/conf/master ${DESTDIR}${EGDIR}/



Home | Main Index | Thread Index | Old Index