Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 06:30:23 GMT
From:      Olivier Cochard-Labbe <olivier@cochard.me>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186399: www/shellinabox : Fix issue regarding some keys with Firefox
Message-ID:  <201402030630.s136UNFI091669@oldred.freebsd.org>
Resent-Message-ID: <201402030640.s136e0dU050324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186399
>Category:       ports
>Synopsis:       www/shellinabox : Fix issue regarding some keys with Firefox
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 03 06:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbe
>Release:        10.0
>Organization:
>Environment:
FreeBSD dev.bsdrp.net 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Minor update of this port for fixing Shellinabox "Issue 202" regarding key '-' and '_' with some versions of Firefox:
https://code.google.com/p/shellinabox/issues/detail?id=202

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: www/shellinabox/Makefile
===================================================================
--- www/shellinabox/Makefile	(revision 341845)
+++ www/shellinabox/Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	shellinabox
 PORTVERSION=	2.14
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	www
 MASTER_SITES=	GOOGLE_CODE
 
Index: www/shellinabox/files/patch-vt100.jspp
===================================================================
--- www/shellinabox/files/patch-vt100.jspp	(revision 0)
+++ www/shellinabox/files/patch-vt100.jspp	(working copy)
@@ -0,0 +1,15 @@
+--- shellinabox/vt100.jspp.orig	2014-02-02 18:01:56.561501876 +0100
++++ shellinabox/vt100.jspp	2014-02-02 18:03:13.308497522 +0100
+@@ -2894,10 +2894,10 @@
+     event.keyCode == 226;
+   var normalKey                 =
+     alphNumKey                                   ||
+-    event.keyCode ==  59 || event.keyCode ==  61 ||
++    event.keyCode >=  59 && event.keyCode <=  64 ||
+     event.keyCode == 106 || event.keyCode == 107 ||
+     event.keyCode >= 109 && event.keyCode <= 111 ||
+-    event.keyCode >= 186 && event.keyCode <= 192 ||
++    event.keyCode >= 160 && event.keyCode <= 192 ||
+     event.keyCode >= 219 && event.keyCode <= 223 ||
+     event.keyCode == 252;
+   try {

Property changes on: www/shellinabox/files/patch-vt100.jspp
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402030630.s136UNFI091669>