From owner-svn-ports-all@freebsd.org Mon Feb 15 17:00:48 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7EFAAA8BCB; Mon, 15 Feb 2016 17:00:48 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A59D810EA; Mon, 15 Feb 2016 17:00:48 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1FH0lth046488; Mon, 15 Feb 2016 17:00:47 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1FH0lZG046486; Mon, 15 Feb 2016 17:00:47 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201602151700.u1FH0lZG046486@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Mon, 15 Feb 2016 17:00:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408947 - in head/news/nzbget: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 17:00:48 -0000 Author: rakuco Date: Mon Feb 15 17:00:47 2016 New Revision: 408947 URL: https://svnweb.freebsd.org/changeset/ports/408947 Log: Set `command' before using it in the startup script. This fixes the status command which was returning "eval: -L: not found" before. PR: 206722 Submitted by: dburkland@dburkland.com (first version), Toxic (maintainer) MFH: 2016Q1 Modified: head/news/nzbget/Makefile head/news/nzbget/files/nzbget.in Modified: head/news/nzbget/Makefile ============================================================================== --- head/news/nzbget/Makefile Mon Feb 15 16:51:05 2016 (r408946) +++ head/news/nzbget/Makefile Mon Feb 15 17:00:47 2016 (r408947) @@ -3,6 +3,7 @@ PORTNAME= nzbget PORTVERSION= 16.4 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= news Modified: head/news/nzbget/files/nzbget.in ============================================================================== --- head/news/nzbget/files/nzbget.in Mon Feb 15 16:51:05 2016 (r408946) +++ head/news/nzbget/files/nzbget.in Mon Feb 15 17:00:47 2016 (r408947) @@ -20,10 +20,10 @@ load_rc_config ${name} : ${nzbget_enable:=NO} +command=%%PREFIX%%/bin/nzbget start_cmd="${name}_start" status_cmd="${command} -L S" stop_cmd="${name}_stop" -command=%%PREFIX%%/bin/nzbget nzbget_start() {