Files
Dan McDougall 25ca3cf168 gateone: Updated to version 1.2
This new version of Gate One uses a new configuration file format which
means the old server.conf is gone.  It now stores configuration files in
/etc/gateone/conf.d.  The /opt/gateone directory is also gone and
instead the package installs like a regular Python module in
site-packages.  SSL certificates/keys are stored in /etc/gateone/ssl/.

The new version requires python-tornado 3.1.1 (which was submitted
earlier today) and the python-futures package (which was also submitted
today).

An 80oe.conf file has been added specific to OpenEmbedded that replaces
the old pre-configured server.conf functionality.

The old patch that removes the init script checks has been deprecated by
the use of the --skip_init_scripts option which is now being passed to
setup.py.

Lastly, Gate One 1.2 is about twice as fast (benchmarked) as Gate One
1.1 on the Beaglebone platform.

Signed-off-by: Dan McDougall <daniel.mcdougall@liftoffsoftware.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-04 17:14:11 +02:00

83 lines
2.8 KiB
BlitzBasic

SUMMARY = "HTML5 (plugin-free) web-based terminal emulator and SSH client"
LICENSE = "AGPL-3.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=834cbc6995db88433db17cdf8953a428"
HOMEPAGE = "http://liftoffsoftware.com/Products/GateOne"
PV = "1.2"
SRCREV = "1528d324088fc1c180b7fdf50f5b5c1af057eef6"
SRC_URI = "git://github.com/liftoff/GateOne.git \
file://0001-configuration.py-Hack-around-broken-gethostname-thin.patch \
file://gateone-avahi.service \
file://80oe.conf \
file://gateone.service \
file://gateone-init \
"
S = "${WORKDIR}/git"
inherit distutils python-dir systemd update-rc.d
export prefix = "${localstatedir}"
DISTUTILS_INSTALL_ARGS = "--root=${D} \
--prefix=${prefix} \
--install-lib=${PYTHON_SITEPACKAGES_DIR} \
--install-data=${PYTHON_SITEPACKAGES_DIR} \
--install-scripts=${bindir} \
--skip_init_scripts"
do_install_append() {
# fix up hardcoded paths
sed -i -e s:/usr/bin:${bindir}:g ${WORKDIR}/gateone.service
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/gateone.service ${D}${systemd_unitdir}/system
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/gateone-init ${D}${sysconfdir}/init.d/gateone
install -m 0755 -d ${D}${sysconfdir}/avahi/services/
install -m 0644 ${WORKDIR}/gateone-avahi.service ${D}${sysconfdir}/avahi/services/
install -m 0755 -d ${D}${sysconfdir}/gateone/conf.d/
install -m 0644 ${WORKDIR}/80oe.conf ${D}${sysconfdir}/gateone/conf.d/80oe.conf
install -d ${D}${localstatedir}/lib/gateone
}
FILES_${PN} = "${localstatedir}/lib ${bindir} ${base_libdir} ${sysconfdir} ${PYTHON_SITEPACKAGES_DIR}"
RDEPENDS_${PN} = "mime-support \
openssh-ssh \
python-compression \
python-crypt \
python-datetime \
python-email \
python-fcntl \
python-futures \
python-html \
python-imaging \
python-io \
python-json \
python-logging \
python-misc \
python-multiprocessing \
python-netclient \
python-pkgutil \
python-pyopenssl \
python-re \
python-readline \
python-setuptools \
python-shell \
python-simplejson \
python-subprocess \
python-syslog \
python-terminal \
python-textutils \
python-tornado \
python-unixadmin \
python-xml \
"
SYSTEMD_SERVICE_${PN} = "gateone.service"
INITSCRIPT_NAME = "gateone"