svn commit: r450315 - in head/www/novnc: . files
Marcelo Araujo
araujo at FreeBSD.org
Fri Sep 22 04:56:39 UTC 2017
Author: araujo
Date: Fri Sep 22 04:56:37 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 at snkmail.com>
Added:
head/www/novnc/files/
head/www/novnc/files/patch-utils_launch.sh (contents, props changed)
Modified:
head/www/novnc/Makefile
Modified: head/www/novnc/Makefile
==============================================================================
--- head/www/novnc/Makefile Fri Sep 22 00:51:01 2017 (r450314)
+++ head/www/novnc/Makefile Fri Sep 22 04:56:37 2017 (r450315)
@@ -2,6 +2,7 @@
PORTNAME= novnc
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= www
MAINTAINER= araujo at FreeBSD.org
@@ -20,7 +21,7 @@ NO_ARCH= yes
TARGET_DIR= ${PREFIX}/libexec/novnc
do-install:
- ${MKDIR} ${TARGET_DIR}
+ ${MKDIR} ${STAGEDIR}${TARGET_DIR}
cd ${WRKSRC} && ${RM} .gitignore .gitmodules .travis.yml
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${TARGET_DIR}
Added: head/www/novnc/files/patch-utils_launch.sh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/novnc/files/patch-utils_launch.sh Fri Sep 22 04:56:37 2017 (r450315)
@@ -0,0 +1,11 @@
+--- utils/launch.sh.orig 2017-01-12 19:36:42 UTC
++++ utils/launch.sh
+@@ -69,7 +69,7 @@ done
+ which netstat >/dev/null 2>&1 \
+ || die "Must have netstat installed"
+
+-netstat -ltn | grep -qs "${PORT} .*LISTEN" \
++netstat -a -p tcp -n | grep -qs "${PORT} .*LISTEN" \
+ && die "Port ${PORT} in use. Try --listen PORT"
+
+ trap "cleanup" TERM QUIT INT EXIT
More information about the svn-ports-all
mailing list