30 Commits

Author SHA1 Message Date
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
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Martin Jansa
de85a5f183 gateone: Drop allarch
* runtime dependencies are TUNE_PKGARCH causing do_package_write_*
  task to have different signature for MACHINEs with different
  TUNE_PKGARCH

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-05 19:46:40 +01:00
Dan McGregor
348e00fedd gateone: Add sysv init script
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-12 16:23:22 +02:00
Paul Barker
003565af7a gateone: fix license name
The Affero GPL is in common-licenses as 'AGPL-3.0' not 'AGPLv3'.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 10:00:32 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa
1e29c4586e gateone: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:05 +02:00
Koen Kooi
3628f272d1 gateone: fix html5 feature check
The BlobBuilder and Blob checks never succeeded, even on cutting edge browsers. Nudge SRCREV forward to drag in those fixes.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:16:52 +02:00
Martin Jansa
a5096d46fe gateone: fix QA warnings
* gateone-1.1: gateone: Files/directories were installed but not shipped
  /var/volatile
  /var/volatile/log
  /var/volatile/log/gateone

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-25 13:11:47 +01:00
Martin Jansa
5f131ed5d8 gateone: fix unpackaged files
* fixes:
gateone-1.1: gateone: Files/directories were installed but not shipped
  /usr
  /usr/lib
  /usr/lib/python2.7
  /usr/lib/python2.7/site-packages
  /usr/lib/python2.7/site-packages/gateone-1.1-py2.7.egg-info

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:53:00 +01:00
Andreas Müller
365d5ec941 gateone: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Oberritter
326d9f23bf python: bump PR of packages after update of distutils.bbclass
* Bump every recipe inheriting distutils or setuptools and
  not overriding do_install without calling distutils_do_install.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2012-06-07 09:19:27 +02:00
Martin Jansa
21b85f3426 recipes: bump PR to fix -systemd postinsts where SYSTEMD_SERVICE was used without PN* suffix
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05 10:46:52 +02:00
Koen Kooi
c35ad74e67 gateone: add config file
The config file changes some options to have a lower latency for key input

Based on 9cb653845d by Dan McDougall

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-23 10:20:23 +02:00
Koen Kooi
cd4e06d924 gateone: update to 1.1
Sort RDEPENDS alphabetically as well.

Based on 9cb653845d by Dan McDougall

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-23 10:08:11 +02:00
Koen Kooi
ca5e719752 gateone: silence systemd bbclass WARNING, ${PN}-systemd is unwanted
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-18 10:49:50 +02:00
Andreas Müller
70d51891d8 gateone: remove unneeded systemd code
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-06 10:00:08 +01:00
Koen Kooi
f39f9057f7 gateone: update to the 1.0 release
License is still AGPL-3 the checksum changed due to 1.0rc -> 1.0

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-04 10:27:25 +01:00
Martin Jansa
9a36d50e15 gateone: use systemd_unitdir variable
* maybe we should move systemd_unitdir definition outside systemd.bbclass
  because it's used in few more recipes which doesn't inherit systemd

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-02-23 16:46:32 +01:00
Koen Kooi
c1a40bffd7 gateone: add missing dependency
root@beagleboneA3-0457:~# systemctl status gateone.service
gateone.service - GateOne daemon
	  Loaded: loaded (/lib/systemd/system/gateone.service; enabled)
	  Active: failed since Tue, 24 Jan 2012 19:44:10 +0000; 1h 2min ago
	 Process: 102 ExecStart=/usr/bin/python gateone.py (code=exited, status=1/FAILURE)
	  CGroup: name=systemd:/system/gateone.service

Jan 24 19:44:10 beagleboneA3-0457 python[102]: imported = __import__(plugin, None, None, [''])
Jan 24 19:44:10 beagleboneA3-0457 python[102]: File "/var/lib/gateone/plugins/bookmarks/bookmarks.py", line 38, in <module>
Jan 24 19:44:10 beagleboneA3-0457 python[102]: import html5lib
Jan 24 19:44:10 beagleboneA3-0457 python[102]: File "/var/lib/gateone/plugins/bookmarks/dependencies/html5lib/__init__.py", line 14, in <module>
Jan 24 19:44:10 beagleboneA3-0457 python[102]: from html5parser import HTMLParser, parse, parseFragment
Jan 24 19:44:10 beagleboneA3-0457 python[102]: File "/var/lib/gateone/plugins/bookmarks/dependencies/html5lib/html5parser.py", line 25, in <module>
Jan 24 19:44:10 beagleboneA3-0457 python[102]: from treebuilders import simpletree
Jan 24 19:44:10 beagleboneA3-0457 python[102]: File "/var/lib/gateone/plugins/bookmarks/dependencies/html5lib/treebuilders/simpletree.py", line 3, in <module>
Jan 24 19:44:10 beagleboneA3-0457 python[102]: from xml.sax.saxutils import escape
Jan 24 19:44:10 beagleboneA3-0457 python[102]: ImportError: No module named xml.sax.saxutils

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-25 14:08:16 +01:00
Koen Kooi
c7c38998ea gateone: bump SRCREV
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-24 18:54:45 +01:00
Koen Kooi
812d590897 gateone git: update to pull in prefix fix
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-01 11:53:43 +01:00
Koen Kooi
3da02dae88 gateone: convert to allarch, it's pure python + js
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-20 10:02:28 +01:00
Koen Kooi
189318c387 gateone: update to latest SRCREV for performance improvements
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-19 12:34:34 +01:00
Koen Kooi
ce6051695f gateone: update to latest SRCREV, add missing python modules
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-15 13:30:23 +01:00
Koen Kooi
308d935dac gateone: update SRCREV to drag in the http redirect option
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-13 13:34:28 +01:00
Koen Kooi
fee1171c5c gateone: bump SRCREV to latest git
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-11 13:00:39 +01:00
Koen Kooi
681b30a6ed gateone: add avahi and systemd support
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-10 15:02:04 +01:00
Koen Kooi
db658e9954 gateone: make it work
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-09 12:51:30 +01:00
Koen Kooi
e2b5b7e246 gateone: add git version
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-02 12:59:52 +01:00