From patchwork Wed May 23 08:29:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-oe,2/2] gateone: add config file Date: Wed, 23 May 2012 08:29:26 -0000 From: Koen Kooi X-Patchwork-Id: 28409 Message-Id: <1337761766-28429-2-git-send-email-koen@dominion.thruhere.net> To: openembedded-devel@lists.openembedded.org Cc: Koen Kooi 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 --- 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 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"