Commit graph

46 commits

Author SHA1 Message Date
Andras Timar
89ee9fd94b loolwsd: poco 1.7.5 as dependency of binary packages 2016-09-26 10:18:34 +02:00
Andras Timar
50bf2ce246 Fix a few lintian errors and warnings 2016-09-25 19:24:07 +02:00
Katarina Behrens
8dfa3a49c7 Silence lintian: there are no init.d-style scripts here
Change-Id: Idae03c6ad015d5f09ce012117e6ffb88b7c7abb8
Reviewed-on: https://gerrit.libreoffice.org/29037
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-09-21 08:26:05 +00:00
Katarina Behrens
7424bfd11e Add dependency on 'adduser', postinst script needs it
Change-Id: I41c6b2d6ef9191db3a07bfaf55530659bc06a1d0
Reviewed-on: https://gerrit.libreoffice.org/29017
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-09-21 08:11:08 +00:00
Jan Holesovsky
b627e8d878 List the .deb dependencies explicitly. 2016-08-12 00:38:40 +02:00
Jan Holesovsky
3497076109 Update the changelog. 2016-08-12 00:38:40 +02:00
Jan Holesovsky
2100dc8489 Update the .deb changelog, and allow passing params. 2016-08-05 18:39:32 +02:00
Andras Timar
0bd3e3e109 fix loolwsd cache cleanu cron job on Debian 2016-07-22 14:09:53 +02:00
Andras Timar
5f77a1f611 new default: Collabora Office 5.1 2016-07-18 17:04:25 +02:00
Andras Timar
cdf14cea3e loolwsd: remove libmysqlclient18 from deb package dependencies 2016-06-28 10:10:37 +02:00
Andras Timar
e85179e0f8 loolwsd: let loolwsd.service use the new command line options 2016-06-27 09:15:40 +02:00
Andras Timar
625de77dd3 loolwsd: packaging, setcap cap_sys_admin=ep /usr/bin/loolmount 2016-05-20 15:51:05 +02:00
Andras Timar
2c2073231e loolwsd: fix deb dependency, will depend on collaboraoffice metapackage 2016-05-20 15:46:56 +02:00
Andras Timar
35c90fbba6 loolwsd: deb package making hack 2016-05-10 15:00:29 +02:00
Andras Timar
beebec76c8 loolwsd is not buildable with --disable-tests, let's remove this option 2016-05-10 11:12:14 +02:00
Andras Timar
ff693c49b8 Debian packaging 2016-05-10 10:18:37 +02:00
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