From nobody@FreeBSD.org  Thu May 26 06:36:47 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2A804106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 May 2011 06:36:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1B0668FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 May 2011 06:36:47 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4Q6akva087042
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 May 2011 06:36:46 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p4Q6akIf087040;
	Thu, 26 May 2011 06:36:46 GMT
	(envelope-from nobody)
Message-Id: <201105260636.p4Q6akIf087040@red.freebsd.org>
Date: Thu, 26 May 2011 06:36:46 GMT
From: Andrei Lavreniyuk <andy.lavr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] databases/mysql-proxy: cannot start (add new command_args)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         157333
>Category:       ports
>Synopsis:       [PATCH] databases/mysql-proxy: cannot start (add new command_args)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 26 06:40:10 UTC 2011
>Closed-Date:    Thu May 26 11:00:08 UTC 2011
>Last-Modified:  Thu May 26 11:00:08 UTC 2011
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 8.2-STABLE
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD datacenter.technica-03.local 8.2-STABLE FreeBSD 8.2-STABLE #0: Tue May 17 14:55:42 EEST 2011     root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64  amd64
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- mysql-proxy.orig	2011-05-19 13:10:32.000000000 +0300
+++ mysql-proxy.in	2011-05-26 09:09:37.736082105 +0300
@@ -46,7 +46,7 @@
 
 pidfile="${mysql_proxy_pid_file}"
 command=%%PREFIX%%/libexec/mysql-proxy
-command_args="--admin-address=${mysql_proxy_admin_address} --proxy-address=${mysql_proxy_address} ${proxy_backend_addresses} ${mysql_proxy_args} --daemon --pid-file=${mysql_proxy_pid_file}"
+command_args="--admin-username=${mysql_proxy_admin_user_name} --admin-password=${mysql_proxy_admin_password} --admin-lua-script=${mysql_proxy_admin_lua_scripts} --admin-address=${mysql_proxy_admin_address} --proxy-address=${mysql_proxy_address} ${proxy_backend_addresses} ${mysql_proxy_args} --daemon --pid-file=${mysql_proxy_pid_file}"
 procname=%%PREFIX%%/libexec/mysql-proxy
 
 run_rc_command "$1"


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 26 06:40:27 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157333 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu May 26 10:59:47 UTC 2011 
State-Changed-Why:  
Duplicate of ports/157332. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157333 
>Unformatted:
