From 082dbae3a45e2393e6a3434908c4e805245ddcd0 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 23 May 2012 10:20:23 +0200 Subject: [PATCH] gateone: add config file 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 (From meta-openembedded rev: c35ad74e67ef6ce1fa678d1cc495e7778d710212) Signed-off-by: Koen Kooi Signed-off-by: Patrick Ohly --- .../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-openembedded/meta-oe/recipes-connectivity/gateone/gateone/server.conf diff --git a/meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone/server.conf b/meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone/server.conf new file mode 100644 index 0000000..988b0d0 --- /dev/null +++ b/meta-openembedded/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-openembedded/meta-oe/recipes-connectivity/gateone/gateone_git.bb b/meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone_git.bb index bfb3274..d56c848 100644 --- a/meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone_git.bb +++ b/meta-openembedded/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" -- 2.7.4