Bug 222176

Summary: www/novnc: fix stage (non-root) + launch.sh (linux netstat syntax fail)
Product: Ports & Packages Reporter: John Hein <jcfyecrayz>
Component: Individual Port(s)Assignee: Marcelo Araujo <araujo>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (araujo)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
[patch] fix 'make stage' (missed STAGEDIR) + freebsd netstat usage in launch.sh none

Description John Hein 2017-09-09 21:54:42 UTC
Created attachment 186209 [details]
[patch] fix 'make stage' (missed STAGEDIR) + freebsd netstat usage in launch.sh

'make stage' can fail (e.g., when not root) with:

/bin/mkdir -p /usr/local/libexec/novnc
mkdir: /usr/local/libexec/novnc: Permission denied


And netstat invocation in launch.sh is linux-specific.  Running launch.sh (before attached patch) gives:

netstat: illegal option -- t
Comment 1 Marcelo Araujo freebsd_committer freebsd_triage 2017-09-11 19:02:11 UTC
Thanks, will commit it soon.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-09-22 04:57:01 UTC
A commit references this bug:

Author: araujo
Date: Fri Sep 22 04:56:37 UTC 2017
New revision: 450315
URL: https://svnweb.freebsd.org/changeset/ports/450315

Log:
  - Fix stage and fix netstat invocation in launch.sh.

  PR:		ports/222176
  Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>

Changes:
  head/www/novnc/Makefile
  head/www/novnc/files/
  head/www/novnc/files/patch-utils_launch.sh