Bug 222176 - www/novnc: fix stage (non-root) + launch.sh (linux netstat syntax fail)
Summary: www/novnc: fix stage (non-root) + launch.sh (linux netstat syntax fail)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Marcelo Araujo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-09 21:54 UTC by John Hein
Modified: 2017-09-22 04:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (araujo)


Attachments
[patch] fix 'make stage' (missed STAGEDIR) + freebsd netstat usage in launch.sh (1.30 KB, patch)
2017-09-09 21:54 UTC, John Hein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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