Patchwork [meta-oe,2/2] gateone: add config file

login
register
mail settings
Submitter Koen Kooi
Date May 23, 2012, 8:29 a.m.
Message ID <1337761766-28429-2-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/28409/
State Accepted
Commit c35ad74e67ef6ce1fa678d1cc495e7778d710212
Headers show

Comments

Koen Kooi - May 23, 2012, 8:29 a.m.
The config file changes some options to have a lower latency for key input

Based on https://github.com/liftoff/meta-oe/commit/9cb653845d7bb4416d2e8e6c5a09a54e08dd7578 by Dan McDougall

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-connectivity/gateone/gateone/server.conf |    5 +++++
 meta-oe/recipes-connectivity/gateone/gateone_git.bb      |    5 ++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-connectivity/gateone/gateone/server.conf

Patch

diff --git a/meta-oe/recipes-connectivity/gateone/gateone/server.conf b/meta-oe/recipes-connectivity/gateone/gateone/server.conf
new file mode 100644
index 0000000..988b0d0
--- /dev/null
+++ b/meta-oe/recipes-connectivity/gateone/gateone/server.conf
@@ -0,0 +1,5 @@ 
+session_logging = False
+origins = "*"
+command = "/var/lib/gateone/plugins/ssh/scripts/ssh_connect.py -S '/tmp/gateone/%SESSION%/%SHORT_SOCKET%' --sshfp -a '-oUserKnownHostsFile=%USERDIR%/%USER%/ssh/known_hosts'"
+log_file_prefix = "/var/log/gateone.log"
+
diff --git a/meta-oe/recipes-connectivity/gateone/gateone_git.bb b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
index bfb3274..d56c848 100644
--- a/meta-oe/recipes-connectivity/gateone/gateone_git.bb
+++ b/meta-oe/recipes-connectivity/gateone/gateone_git.bb
@@ -2,13 +2,14 @@  DESCRIPTION = "HTML5 (plugin-free) web-based terminal emulator and SSH client"
 LICENSE = "AGPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
 
-PR = "r4"
+PR = "r5"
 
 PV = "1.1"
 SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46"
 SRC_URI = "git://github.com/liftoff/GateOne.git \
            file://gateone-avahi.service \
            file://gateone.service \
+           file://server.conf \
           "
 
 S = "${WORKDIR}/git"
@@ -22,6 +23,8 @@  do_install_append() {
 
 	install -m 0755 -d ${D}${sysconfdir}/avahi/services/
 	install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/
+
+	install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf
 }
 
 NATIVE_SYSTEMD_SUPPORT = "1"