Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit 9cb653845d7bb4416d2e8e6c5a09a54e08dd7578 1 parent e0171dc
Dan McDougall authored
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 \
Please sign in to comment.
Something went wrong with that request. Please try again.