Bug 206722

Summary: news/nzbget: init script broken (eval: -L: not found)
Product: Ports & Packages Reporter: dburkland
Component: Individual Port(s)Assignee: Raphael Kubo da Costa <rakuco>
Status: Closed FIXED    
Severity: Affects Only Me CC: rakuco, toxic
Priority: --- Keywords: easy, patch, patch-ready
Version: LatestFlags: toxic: maintainer-feedback+
rakuco: merge-quarterly+
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Updated version of nzbget.in
koobs: maintainer-approval-
Patch that bumps port to version 16.4_1
toxic: maintainer-approval+
Poudriere build log none

Description dburkland 2016-01-29 05:07:41 UTC
Created attachment 166258 [details]
Updated version of nzbget.in

Fix broken status command which was returning "eval: -L: not found" on my stock FreeBSD 10.2 system. Simply moved the "command" variable definition before the *_cmd variables.
Comment 1 Toxic 2016-02-03 06:59:15 UTC
Created attachment 166486 [details]
Patch that bumps port to version 16.4_1
Comment 2 Toxic 2016-02-03 06:59:40 UTC
Created attachment 166487 [details]
Poudriere build log
Comment 3 Toxic 2016-02-03 07:01:28 UTC
Thanks for reporting this.

The attached patch incorporates this change and bumps the PORTREVISION number.  It should be ready to apply and commit.  Poudriere log also attached.
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-02-15 17:01:44 UTC
A commit references this bug:

Author: rakuco
Date: Mon Feb 15 17:00:47 UTC 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 <toxic@doobie.com> (maintainer)
  MFH:		2016Q1

Changes:
  head/news/nzbget/Makefile
  head/news/nzbget/files/nzbget.in
Comment 5 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-02-15 17:21:30 UTC
Committed, thanks guys.
Comment 6 commit-hook freebsd_committer freebsd_triage 2016-02-15 19:01:57 UTC
A commit references this bug:

Author: rakuco
Date: Mon Feb 15 19:01:12 UTC 2016
New revision: 408951
URL: https://svnweb.freebsd.org/changeset/ports/408951

Log:
  MFH: r408947

  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 <toxic@doobie.com> (maintainer)

  Approved by:	ports-secteam (feld)

Changes:
_U  branches/2016Q1/
  branches/2016Q1/news/nzbget/Makefile
  branches/2016Q1/news/nzbget/files/nzbget.in