pkgsrc-Bugs archive

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

pkg/50503: Typo in sysutils/salt Makefile



>Number:         50503
>Category:       pkg
>Synopsis:       Typo in sysutils/salt Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 07 21:50:00 +0000 2015
>Originator:     Travis Paul
>Release:        pkgsrc-current
>Organization:
>Environment:
NetBSD jackalope.weblinkid.com 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
>Description:
Typo in makefile was causing salt's socket directory to be created in $PREFIX/=
>How-To-Repeat:
Run salt-minion, a directory of $PREFIX/= will be created such as the tree below (my prefix is /opt/pkg):

upkg@ci2:/opt/pkg$ tree =
=
`-- opt
    `-- pkg
        `-- var
            `-- run
                `-- salt
                    `-- minion
                        |-- minion_event_75de118aa7_pub.ipc
                        `-- minion_event_75de118aa7_pull.ipc

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/salt/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile    5 Dec 2015 21:25:59 -0000       1.31
+++ Makefile    7 Dec 2015 21:45:58 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.31 2015/12/05 21:25:59 adam Exp $

 DISTNAME=      salt-2015.8.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    sysutils
 MASTER_SITES=  https://pypi.python.org/packages/source/s/salt/

@@ -28,7 +28,7 @@
 PYSETUPINSTALLARGS+=   --salt-root-dir=${PREFIX}
 PYSETUPINSTALLARGS+=   --salt-config-dir=${PKG_SYSCONFDIR}
 PYSETUPINSTALLARGS+=   --salt-cache-dir=${VARBASE}/cache/salt
-PYSETUPINSTALLARGS+=   --salt-sock-dir==${VARBASE}/run/salt
+PYSETUPINSTALLARGS+=   --salt-sock-dir=${VARBASE}/run/salt
 PYSETUPINSTALLARGS+=   --salt-base-file-roots-dir=${PKG_SYSCONFDIR}/states
 PYSETUPINSTALLARGS+=   --salt-base-pillar-roots-dir=${PKG_SYSCONFDIR}/pillar
 PYSETUPINSTALLARGS+=   --salt-base-master-roots-dir=${PKG_SYSCONFDIR}/salt-master


Home | Main Index | Thread Index | Old Index