Bug 190952

Summary: maintainer update : sysutils/py-salt
Product: Ports & Packages Reporter: Christer Edwards <christer.edwards>
Component: Individual Port(s)Assignee: Frederic Culot <culot>
Status: Closed FIXED    
Severity: Affects Many People CC: culot, ohauer
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
updated patch none

Description Christer Edwards 2014-06-12 01:49:57 UTC
Created attachment 143696 [details]
patch

maintainer update : sysutils/py-salt 2014.1.5
Comment 1 Olli Hauer freebsd_committer 2014-06-14 07:15:03 UTC
Please add also the following patch to the py-salt/Makefile, so the minion example contains the new pkgng provider instead yum.

Index: Makefile
===================================================================
--- Makefile    (revision 357750)
+++ Makefile    (working copy)
@@ -58,6 +58,7 @@
                -e 's|/srv/salt|${ETCDIR}/states|' \
                -e 's|/srv/pillar|${ETCDIR}/pillar|' ${WRKSRC}/${file}
 .endfor
+       @${REINPLACE_CMD} -e 's|yumpkg5|pkgng|' ${WRKSRC}/conf/minion

 post-install:
        @${MKDIR} ${STAGEDIR}${ETCDIR}
Comment 2 Frederic Culot freebsd_committer 2014-06-15 07:16:39 UTC
Hi Christer,

it seems that the archive was rerolled recently:

http://pypi.python.org/packages/source/s/salt/salt-2014.1.5.tar.gz: size mismatch: expected 2801119, actual 2800978

Do you know what induced this change in package size?

Thanks for your feedback,
Frederic
Comment 3 Christer Edwards 2014-06-15 16:09:45 UTC
Created attachment 143811 [details]
updated patch

Upstream rerolled the archive with a last minute fix since I generated the patch. Attached updated patch with suggested changes.
Comment 4 commit-hook freebsd_committer 2014-06-20 07:23:31 UTC
A commit references this bug:

Author: culot
Date: Fri Jun 20 07:22:45 UTC 2014
New revision: 358515
URL: http://svnweb.freebsd.org/changeset/ports/358515

Log:
  - Update to 2014.1.5 [1]
  - Adapt the minion example to pkgng [2]

  PR:		ports/190952
  Submitted by:	Christer Edwards <christer.edwards@gmail.com> (maintainer) [1],
  		ohauer@ [2]

Changes:
  head/sysutils/py-salt/Makefile
  head/sysutils/py-salt/distinfo