Commit graph

30 commits

Author SHA1 Message Date
Andras Timar
8f93a5f526 merge loleaflet and loolwsd rpm packages 2016-04-14 17:08:52 +02:00
Andras Timar
2e0d895485 loolwsd: define sysconfdir for deb package 2016-04-14 15:26:51 +02:00
Tor Lillqvist
931550b435 Quite essential to change loolbroker to loolforkit here, too 2016-04-07 11:53:44 +03:00
Michael Meeks
1216243935 License cleanup.
Boost sample code long gone; and include loleaflet license.
2016-04-05 13:58:41 +01:00
Tor Lillqvist
a132e06409 Bin the non-preinit and non-fork code paths
Preiniting LibreOfficeKit and forking kit processes (instead of
spawning) has worked fine for a while, and has been the default way
this works.

No 'loolkit' program gets built any more.
2016-04-04 09:07:59 +03:00
Tor Lillqvist
9d85937a55 We need Poco 1.7.1 now after fb9c9a9ec7
At least Poco::Net::Context::Params is new in Poco 1.7.
2016-03-21 16:28:33 +02:00
Tor Lillqvist
d5292541bd Revert "Also chown the random devices to root:root and chmod to 666"
Not needed after all. It was a red herring. The device files work fine
even if not owned by root:root and with mode 664. The actual problem
was that I used a file system mounted with nodev when testing loolwsd.

This reverts commit 509314d559
2016-03-01 18:24:55 +02:00
Tor Lillqvist
29a3f58f1a The loolwsd program does not need any capabilities
So don't give it any then.

Remove the --uid option and related attempts to handle running loolwsd
under sudo, to be able to debug it. Now with loolwsd not having
capabilities, it should work fine to just run it under a debugger
normally. (For the loolbroker and loolkit processes, attaching to an
already started process is the way to debug.)
2016-02-29 14:13:19 +02:00
Tor Lillqvist
509314d559 Also chown the random devices to root:root and chmod to 666
Otherwise they won't work. Not that I know whether this helps
anything, really. At least the NSS crypto initialization still takes a
long time.
2016-02-29 12:15:22 +02:00
Andras Timar
a178d445cd loolwsd: setcap loolkit 2016-02-17 10:42:00 +01:00
Andras Timar
dc23d5f91e loolwsd: deb rules: fix build of tests, and do not run tests 2016-01-08 22:42:56 +01:00
Jan Holesovsky
f74db161dd loolwsd: Change the group too. 2016-01-08 09:25:21 +01:00
Jan Holesovsky
5aded99950 loolwsd: Cleanup child-roots in postinst (as we do in .rpm's too). 2016-01-08 09:25:21 +01:00
Jan Holesovsky
475436e66b loolwsd: Remove the cache content after installation.
The new versions may change the behaviour substantially, let's be on the safe
side.
2016-01-08 09:25:21 +01:00
Andras Timar
2c184ee1c1 bccu#1371 add libsm6 as dependency to loolwsd 2015-11-25 15:56:46 +01:00
Jan Holesovsky
7e4f1d3b61 loolwsd: KillMode=control-group for the debian systemd config too. 2015-11-18 18:53:32 +01:00
Andras Timar
87554d1be9 Collabora Office as requirement 2015-10-30 13:19:45 +01:00
Jan Holesovsky
2691d88909 Revert "loolwsd: Update systemplate with every startup of the service."
This is not a good idea, it takes too long for systemd, and times out.

This reverts commit b42409c388.
2015-10-30 11:34:41 +01:00
Jan Holesovsky
b42409c388 loolwsd: Update systemplate with every startup of the service. 2015-10-30 10:40:22 +01:00
Mihai Varga
aad12a8f2b loolwsd: stop loolwsd service before installing .deb 2015-09-08 16:34:20 +03:00
Andras Timar
289b8646d2 loolwsd: workaround postinstall script failure in docker environment 2015-08-31 12:29:29 +02:00
Mihai Varga
12ebcd4038 loolwsd: .deb should depend on libreoffice5.0 2015-08-14 11:46:28 +03:00
Tor Lillqvist
25333f8f7c loolwsd.postinst has superseded the postinst file 2015-08-06 20:38:16 +03:00
Tor Lillqvist
5b5a5489d5 Set up a lool user, group and systemd service on Debian, too 2015-08-06 20:10:04 +03:00
Tor Lillqvist
13809cb5f3 Add crontab entry to remove old cached tiles
The same entry as Mihai used in the .spec file.
2015-08-04 17:44:14 +03:00
Tor Lillqvist
bbd5e54785 Let's try to have a bit saner dependencies
Surely loolwsd shouldn't depend on dev packages. And libpng12 gets included
automatically.
2015-07-24 14:31:46 +03:00
Tor Lillqvist
5bee6f71a2 Add more synthetic dependencies per customer wish
Not sure why they want to depend on those dev packages!?
2015-07-24 14:03:53 +03:00
Tor Lillqvist
baeeb92d1c Add cap_mknod here, too 2015-07-07 09:57:43 +03:00
Tor Lillqvist
314a9ba826 We want --localstatedir=/var on Debian 2015-06-04 15:53:19 +03:00
Tor Lillqvist
6b0ab577ce Add Debian packaging 2015-06-04 13:08:01 +03:00