From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 20 23:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 103DEFB2 for ; Tue, 20 Aug 2013 23:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E44922443 for ; Tue, 20 Aug 2013 23:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7KNe0xM066383 for ; Tue, 20 Aug 2013 23:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7KNe0RV066381; Tue, 20 Aug 2013 23:40:00 GMT (envelope-from gnats) Resent-Date: Tue, 20 Aug 2013 23:40:00 GMT Resent-Message-Id: <201308202340.r7KNe0RV066381@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Carlson 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 ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181440: [PATCH] sysutils/py-salt-api : update to 0.8.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Aug 2013 23:40:01 -0000 >Number: 181440 >Category: ports >Synopsis: [PATCH] sysutils/py-salt-api : update to 0.8.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Aug 20 23:40:00 UTC 2013 >Closed-Date: >Last-Modified: >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 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: >Unformatted: