NetBSD Problem Report #50503

From www@NetBSD.org  Mon Dec  7 21:49:38 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A8267A65F5
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  7 Dec 2015 21:49:38 +0000 (UTC)
Message-Id: <20151207214937.60B7AA6604@mollari.NetBSD.org>
Date: Mon,  7 Dec 2015 21:49:37 +0000 (UTC)
From: Tr@visPaul.me
Reply-To: Tr@visPaul.me
To: gnats-bugs@NetBSD.org
Subject: Typo in sysutils/salt Makefile
X-Send-Pr-Version: www-1.0

>Number:         50503
>Category:       pkg
>Synopsis:       Typo in sysutils/salt Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 07 21:50:00 +0000 2015
>Closed-Date:    Mon Dec 07 21:52:04 +0000 2015
>Last-Modified:  Mon Dec 07 21:55: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

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 07 Dec 2015 21:52:04 +0000
State-Changed-Why:
Fixed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50503 CVS commit: pkgsrc/sysutils/salt
Date: Mon, 7 Dec 2015 21:51:53 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Mon Dec  7 21:51:53 UTC 2015

 Modified Files:
 	pkgsrc/sysutils/salt: Makefile

 Log Message:
 Fix typo in Makefile.
 Noted by Travis Paul in PR 50503.
 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.31 -r1.32 pkgsrc/sysutils/salt/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.