Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Gate One changes to vastly improve performance and improve Beaglebone integration #1

Open
wants to merge 1 commit into from

2 participants

Dan McDougall Koen Kooi
Dan McDougall
liftoff commented May 22, 2012

...d logo.png. The new server.conf is a partial config file for Gate One that ensures it starts up without session logging enabled, origins checking disabled, it relocates the webserver.log to /var/log/gateone.log, and changes the default command to use the new logo. Also modified the gateone_git.bb file to include a new dependency: python-unixadmin. This is necessary for the grp and pwd modules. Other dependencies were added but they were there before--just implied. Removed findutils as a dependency as well (no longer needed). Lastly, I added some extras to the do_install_append() function to ensure that the new logo.png and server.conf get installed in the correct location.

Dan McDougall Updated to a newer git revision and added two new files: server.conf …
…and logo.png. The new server.conf is a partial config file for Gate One that ensures it starts up without session logging enabled, origins checking disabled, it relocates the webserver.log to /var/log/gateone.log, and changes the default command to use the new logo. Also modified the gateone_git.bb file to include a new dependency: python-unixadmin. This is necessary for the grp and pwd modules. Other dependencies were added but they were there before--just implied. Removed findutils as a dependency as well (no longer needed). Lastly, I added some extras to the do_install_append() function to ensure that the new logo.png and server.conf get installed in the correct location.
9cb6538
Koen Kooi
Owner

Could you add your Signed-off-by: to the commit? It's part of the long list of rules at http://www.openembedded.org/wiki/Commit_Policy :)

Koen Kooi
Owner

I've update my fork and split your commit into 2 parts: one update and one adding server.conf. I need to think a bit more about the logo, since the recipe is device agnostic. With the changes you sent gateone is working really well!

Dan McDougall
liftoff commented May 23, 2012

Ahh, thanks for the commit rules. In the future I'll follow that. Also, should I be working off your fork or should I be working off of the main OE repo?

As for the logo... No problem, I'll just make a new one that uses the OE logo instead of the Beagle. I'd still like to have it in there since it does look nice and demonstrates one of the core benefits of using Gate One.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 22, 2012
Dan McDougall Updated to a newer git revision and added two new files: server.conf …
…and logo.png. The new server.conf is a partial config file for Gate One that ensures it starts up without session logging enabled, origins checking disabled, it relocates the webserver.log to /var/log/gateone.log, and changes the default command to use the new logo. Also modified the gateone_git.bb file to include a new dependency: python-unixadmin. This is necessary for the grp and pwd modules. Other dependencies were added but they were there before--just implied. Removed findutils as a dependency as well (no longer needed). Lastly, I added some extras to the do_install_append() function to ensure that the new logo.png and server.conf get installed in the correct location.
9cb6538
This page is out of date. Refresh to see the latest.
BIN  meta-oe/recipes-connectivity/gateone/gateone/logo.png
5  meta-oe/recipes-connectivity/gateone/gateone/server.conf
... ...
@@ -0,0 +1,5 @@
  1
+session_logging = False
  2
+origins = "*"
  3
+command = "/var/lib/gateone/plugins/ssh/scripts/ssh_connect.py --logo -S '/tmp/gateone/%SESSION%/%SHORT_SOCKET%' --sshfp -a '-oUserKnownHostsFile=%USERDIR%/%USER%/ssh/known_hosts'"
  4
+log_file_prefix = "/var/log/gateone.log"
  5
+
31  meta-oe/recipes-connectivity/gateone/gateone_git.bb
... ...
@@ -1,14 +1,16 @@
1 1
 DESCRIPTION = "HTML5 (plugin-free) web-based terminal emulator and SSH client"
2 2
 LICENSE = "AGPLv3"
3  
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=07d5a2790569bd3e3b422b69ccd43bec"
  3
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
4 4
 
5  
-PR = "r15"
  5
+PR = "r1"
6 6
 
7  
-PV = "0.9"
8  
-SRCREV = "a68444610efa2892842893dae828a28527e64a6e"
  7
+PV = "1.1"
  8
+SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46"
9 9
 SRC_URI = "git://github.com/liftoff/GateOne.git \
10 10
            file://gateone-avahi.service \
11 11
            file://gateone.service \
  12
+           file://logo.png \
  13
+           file://server.conf \
12 14
           "
13 15
 
14 16
 S = "${WORKDIR}/git"
@@ -18,20 +20,28 @@ inherit distutils allarch systemd
18 20
 export prefix = "${localstatedir}/lib"
19 21
 
20 22
 do_install_append() {
21  
-	install -d ${D}${localstatedir}/log/${BPN}
22  
-
23  
-	install -m 0755 -d ${D}${base_libdir}/systemd/system
24  
-	install -m 0644 ${WORKDIR}/gateone.service ${D}${base_libdir}/systemd/system/
25  
-
26 23
 	install -m 0755 -d ${D}${sysconfdir}/avahi/services/
27 24
 	install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/
  25
+	install -m 0755 -d ${D}/var/lib/gateone/
  26
+	install -m 0755 -d ${D}/var/lib/gateone/plugins/
  27
+	install -m 0755 -d ${D}/var/lib/gateone/plugins/ssh
  28
+	install -m 0755 -d ${D}/var/lib/gateone/plugins/ssh/scripts/
  29
+	install -m 0644 ${WORKDIR}/logo.png ${D}/var/lib/gateone/plugins/ssh/scripts/logo.png
  30
+	install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf
28 31
 }
29 32
 
  33
+NATIVE_SYSTEMD_SUPPORT = "1"
30 34
 SYSTEMD_PACKAGES = "${PN}"
31 35
 SYSTEMD_SERVICE = "gateone.service"
32 36
 
33 37
 FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${base_libdir} ${sysconfdir}"
34  
-RDEPENDS_${PN} = "python-tornado \
  38
+RDEPENDS_${PN} = "python-unixadmin \
  39
+                  python-json \
  40
+                  python-logging \
  41
+                  python-fcntl \
  42
+                  python-tornado \
  43
+                  python-re \
  44
+                  python-readline \
35 45
                   python-datetime \
36 46
                   python-shell \
37 47
                   python-subprocess \
@@ -46,7 +56,6 @@ RDEPENDS_${PN} = "python-tornado \
46 56
                   python-html \
47 57
                   python-textutils \
48 58
                   python-pyopenssl \
49  
-                  findutils \
50 59
                   python-simplejson \
51 60
                   python-multiprocessing \
52 61
                   python-pkgutil \
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.