Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

...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 liftoff 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

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
Commits on May 23, 2012
  1. Dan McDougall

    Updated to a newer git revision and added two new files: server.conf …

    liftoff authored
    …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.
This page is out of date. Refresh to see the latest.
BIN  meta-oe/recipes-connectivity/gateone/gateone/logo.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 meta-oe/recipes-connectivity/gateone/gateone/server.conf
View
@@ -0,0 +1,5 @@
+session_logging = False
+origins = "*"
+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'"
+log_file_prefix = "/var/log/gateone.log"
+
31 meta-oe/recipes-connectivity/gateone/gateone_git.bb
View
@@ -1,14 +1,16 @@
DESCRIPTION = "HTML5 (plugin-free) web-based terminal emulator and SSH client"
LICENSE = "AGPLv3"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=07d5a2790569bd3e3b422b69ccd43bec"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
-PR = "r15"
+PR = "r1"
-PV = "0.9"
-SRCREV = "a68444610efa2892842893dae828a28527e64a6e"
+PV = "1.1"
+SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46"
SRC_URI = "git://github.com/liftoff/GateOne.git \
file://gateone-avahi.service \
file://gateone.service \
+ file://logo.png \
+ file://server.conf \
"
S = "${WORKDIR}/git"
@@ -18,20 +20,28 @@ inherit distutils allarch systemd
export prefix = "${localstatedir}/lib"
do_install_append() {
- install -d ${D}${localstatedir}/log/${BPN}
-
- install -m 0755 -d ${D}${base_libdir}/systemd/system
- install -m 0644 ${WORKDIR}/gateone.service ${D}${base_libdir}/systemd/system/
-
install -m 0755 -d ${D}${sysconfdir}/avahi/services/
install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/
+ install -m 0755 -d ${D}/var/lib/gateone/
+ install -m 0755 -d ${D}/var/lib/gateone/plugins/
+ install -m 0755 -d ${D}/var/lib/gateone/plugins/ssh
+ install -m 0755 -d ${D}/var/lib/gateone/plugins/ssh/scripts/
+ install -m 0644 ${WORKDIR}/logo.png ${D}/var/lib/gateone/plugins/ssh/scripts/logo.png
+ install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf
}
+NATIVE_SYSTEMD_SUPPORT = "1"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE = "gateone.service"
FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${base_libdir} ${sysconfdir}"
-RDEPENDS_${PN} = "python-tornado \
+RDEPENDS_${PN} = "python-unixadmin \
+ python-json \
+ python-logging \
+ python-fcntl \
+ python-tornado \
+ python-re \
+ python-readline \
python-datetime \
python-shell \
python-subprocess \
@@ -46,7 +56,6 @@ RDEPENDS_${PN} = "python-tornado \
python-html \
python-textutils \
python-pyopenssl \
- findutils \
python-simplejson \
python-multiprocessing \
python-pkgutil \
Something went wrong with that request. Please try again.