From nobody@FreeBSD.org  Tue Aug 20 23:31:16 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 443E8F6A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Aug 2013 23:31:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 183EA241F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Aug 2013 23:31:16 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7KNVFH5080331
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Aug 2013 23:31:15 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7KNVF1u080330;
	Tue, 20 Aug 2013 23:31:15 GMT
	(envelope-from nobody)
Message-Id: <201308202331.r7KNVF1u080330@oldred.freebsd.org>
Date: Tue, 20 Aug 2013 23:31:15 GMT
From: Mike Carlson <mike@bayphoto.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] sysutils/py-salt-api : update to 0.8.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: christer.edwards@gmail.com

>Number:         181440
>Category:       ports
>Synopsis:       [PATCH] sysutils/py-salt-api : update to 0.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 20 23:40:00 UTC 2013
>Closed-Date:    Wed Aug 21 12:33:06 UTC 2013
>Last-Modified:  Wed Aug 21 12:40:00 UTC 2013
>Originator:     Mike Carlson
>Release:        9.1-RELEASE
>Organization:
Bay Photo Lab
>Environment:
FreeBSD b-bot.discdrive.bayphoto.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
salt-api is broken, by default it will not even start up:

# salt-api
Traceback (most recent call last):
  File "/usr/local/bin/salt-api", line 11, in <module>
    main()
  File "/usr/local/bin/salt-api", line 7, in main
    sapi = saltapi.cli.SaltAPI()
  File "/usr/local/lib/python2.7/site-packages/salt/utils/parsers.py", line 113, in __init__
    optparse.OptionParser.__init__(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/optparse.py", line 1219, in __init__
    add_help=add_help_option)
  File "/usr/local/lib/python2.7/site-packages/salt/utils/parsers.py", line 178, in _populate_option_list
    mixin_setup_func(self)
  File "/usr/local/lib/python2.7/site-packages/salt/utils/parsers.py", line 308, in _mixin_setup
    self.__class__.__name__
RuntimeError: Please set SaltAPI._default_logging_logfile_

The patch updates it to 0.8.2, which has the logfile fix
>How-To-Repeat:
cd /usr/ports/sysutils/py-salt-api
make install

then run:
/usr/local/bin/salt-api
>Fix:
I've patched the ports, see the included file

Patch attached with submission follows:

Index: sysutils/py-salt-api/Makefile
===================================================================
--- sysutils/py-salt-api/Makefile	(revision 325077)
+++ sysutils/py-salt-api/Makefile	(working copy)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	salt-api
-PORTVERSION=	0.8.1
+PORTVERSION=	0.8.2
 CATEGORIES=	sysutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Index: sysutils/py-salt-api/distinfo
===================================================================
--- sysutils/py-salt-api/distinfo	(revision 325077)
+++ sysutils/py-salt-api/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (salt-api-0.8.1.tar.gz) = d780ad171bbca5a26a41dc9934f5e86e68dcd11595f2133b4b1250c11daa2338
-SIZE (salt-api-0.8.1.tar.gz) = 41541
+SHA256 (salt-api-0.8.2.tar.gz) = f265d6c37f4f73a1a655997cf3a94e03ad8a40d3d9e2af9175079f0dfe3c4ec0
+SIZE (salt-api-0.8.2.tar.gz) = 42544


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Aug 20 23:40:09 UTC 2013 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181440 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Aug 20 23:40:10 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181440 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: christer.edwards@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/181440: [PATCH] sysutils/py-salt-api : update to 0.8.2
Date: Tue, 20 Aug 2013 23:40:10 UT

 Maintainer of sysutils/py-salt-api,
 
 Please note that PR ports/181440 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181440
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Christer Edwards <christer.edwards@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/181440: [PATCH] sysutils/py-salt-api : update to 0.8.2
Date: Tue, 20 Aug 2013 18:05:46 -0600

 --001a11c1e9809e228e04e469f078
 Content-Type: text/plain; charset=UTF-8
 
 Looks good. Thanks for taking care of this.
 
 
 On Tue, Aug 20, 2013 at 5:40 PM, Edwin Groothuis <edwin@freebsd.org> wrote:
 
 > Maintainer of sysutils/py-salt-api,
 >
 > Please note that PR ports/181440 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181440
 >
 > --
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 >
 
 --001a11c1e9809e228e04e469f078
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">Looks good. Thanks for taking care of this.</div><div clas=
 s=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, Aug 20, 2013 a=
 t 5:40 PM, Edwin Groothuis <span dir=3D"ltr">&lt;<a href=3D"mailto:edwin@fr=
 eebsd.org" target=3D"_blank">edwin@freebsd.org</a>&gt;</span> wrote:<br>
 
 <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
 x #ccc solid;padding-left:1ex">Maintainer of sysutils/py-salt-api,<br>
 <br>
 Please note that PR ports/181440 has just been submitted.<br>
 <br>
 If it contains a patch for an upgrade, an enhancement or a bug fix<br>
 you agree on, reply to this email stating that you approve the patch<br>
 and a committer will take care of it.<br>
 <br>
 The full text of the PR can be found at:<br>
 =C2=A0 =C2=A0 <a href=3D"http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports=
 /181440" target=3D"_blank">http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dpor=
 ts/181440</a><br>
 <span class=3D"HOEnZb"><font color=3D"#888888"><br>
 --<br>
 Edwin Groothuis via the GNATS Auto Assign Tool<br>
 edwin@FreeBSD.org<br>
 </font></span></blockquote></div><br></div>
 
 --001a11c1e9809e228e04e469f078--
Responsible-Changed-From-To: freebsd-python->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Wed Aug 21 12:09:01 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181440 
State-Changed-From-To: feedback->closed 
State-Changed-By: wg 
State-Changed-When: Wed Aug 21 12:33:04 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181440 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/181440: commit references a PR
Date: Wed, 21 Aug 2013 12:33:09 +0000 (UTC)

 Author: wg
 Date: Wed Aug 21 12:32:56 2013
 New Revision: 325114
 URL: http://svnweb.freebsd.org/changeset/ports/325114
 
 Log:
   sysutils/py-salt-api: update to 0.8.2
   
   - Update to 0.8.2
   
   PR:		ports/181440
   Submitted by:	Mike Carlson <mike bayphoto.com>
   Approved by:	maintainer
 
 Modified:
   head/sysutils/py-salt-api/Makefile
   head/sysutils/py-salt-api/distinfo
 
 Modified: head/sysutils/py-salt-api/Makefile
 ==============================================================================
 --- head/sysutils/py-salt-api/Makefile	Wed Aug 21 12:29:18 2013	(r325113)
 +++ head/sysutils/py-salt-api/Makefile	Wed Aug 21 12:32:56 2013	(r325114)
 @@ -1,7 +1,7 @@
  # $FreeBSD$
  
  PORTNAME=	salt-api
 -PORTVERSION=	0.8.1
 +PORTVERSION=	0.8.2
  CATEGORIES=	sysutils python
  MASTER_SITES=	CHEESESHOP
  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 Modified: head/sysutils/py-salt-api/distinfo
 ==============================================================================
 --- head/sysutils/py-salt-api/distinfo	Wed Aug 21 12:29:18 2013	(r325113)
 +++ head/sysutils/py-salt-api/distinfo	Wed Aug 21 12:32:56 2013	(r325114)
 @@ -1,2 +1,2 @@
 -SHA256 (salt-api-0.8.1.tar.gz) = d780ad171bbca5a26a41dc9934f5e86e68dcd11595f2133b4b1250c11daa2338
 -SIZE (salt-api-0.8.1.tar.gz) = 41541
 +SHA256 (salt-api-0.8.2.tar.gz) = f265d6c37f4f73a1a655997cf3a94e03ad8a40d3d9e2af9175079f0dfe3c4ec0
 +SIZE (salt-api-0.8.2.tar.gz) = 42544
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
