summaryrefslogtreecommitdiffstats
path: root/debian
Commit message (Collapse)AuthorAgeFilesLines
* Bump package version to 21.11.0.5cp-21.11.0-5Andras Timar2021-12-031-0/+6
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I0d1256f90d6454a4592d8998f0fb7d455b4acfa2
* Bump package version to 21.11.0.4cp-21.11.0-4Andras Timar2021-12-021-0/+6
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: Icf24d2d378f75a7ea588617fa04528ab4d3878ae
* Bump package version to 21.11.0.3 (RC3)Andras Timar2021-11-241-1/+7
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I84614e898b19bfc4fa68e204a3aafef658b333e9
* Bump version to 21.11.0.2 (RC2)cp-21.11.0-2Andras Timar2021-11-191-0/+6
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I5923ded1e1ae35172268fddbaff94966858c036e
* rename: remaining lool->cool changesAndras Timar2021-11-189-28/+30
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
* rename: loolwsd-systemplate-setup -> coolwsd-systemplate-setupAndras Timar2021-11-171-2/+2
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I699db87f94f9080909c2ca783e04ad8b4dd98025
* rename: loolwsd-generate-proof-key -> coolwsd-generate-proof-keyAndras Timar2021-11-171-1/+1
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I3aa30ce4e5f6df2068fa2e0788034e83cb0ae26b
* rename: loolmount -> coolmountMert Tumer2021-11-171-1/+1
| | | | | Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Change-Id: Ic025c5a76c6f27cdf1a6267f24cf8052733f1f24
* config: rename 'lool' -> 'cool'Henry Castro2021-11-172-4/+4
| | | | | | . Change-Id: I13596547abac424482096a9af13c6785a8e2b897 Signed-off-by: Henry Castro <hcastro@collabora.com>
* distro: more renames 'lool' -> 'cool'Henry Castro2021-11-172-3/+3
| | | | | Change-Id: I281270d36293bc16688f016ddcb2f3187aa03fea Signed-off-by: Henry Castro <hcastro@collabora.com>
* distro: rename 'lool' -> 'cool'Henry Castro2021-11-172-6/+6
| | | | | Change-Id: I07ed54446a4776c76213191000385441e3118001 Signed-off-by: Henry Castro <hcastro@collabora.com>
* rename: loolforkit -> coolforkitMert Tumer2021-11-161-1/+1
| | | | | Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Change-Id: I1de688dce4b068bff35451604486b72ecc8c91d4
* Update debian/copyrightAndras Timar2021-11-111-27/+3
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: If4fd4313e73dab4aaca3e1a1717115d2dfcc2cac
* Bump version to 21.11.0.1 (RC1)cp-21.11.0-1Andras Timar2021-11-111-0/+6
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I5c2ec902a507e3ffbc8c219f2b4e79bc8e2fedcb
* Bump package version to 21.11.0.0-1 (beta1)cp-21.11.0-0Andras Timar2021-10-261-0/+6
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I2c257a29b7fb822d12fe98b7649e032041a0af79
* Bump package version to 21.06.2.0-1Andras Timar2021-10-141-23/+3
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I6c59902f7065f2ff92ce12abcd9548cc3d64a66f
* we may need collaboraofficebasis6.4-math for displaying formulas in documentsAndras Timar2021-09-221-1/+2
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I1443e26d237ddf480970da01790b011fc4e0ebd4
* Fix Debian dependency on dh-systemdAndras Timar2021-08-161-1/+1
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I366c94b4328c97972efc276da20846c3a7c7d4a7
* deb: revert systemplate compatibility checks, they don't work well in ↵Andras Timar2021-05-181-12/+0
| | | | | | | postinstall script Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I4cad095d167e56ceadf83fc7c7ade222da36a5b1
* deb: do not display error message when user removes loolwsd packageAndras Timar2021-05-181-1/+1
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I8d4d05f1e99ad80ac5fff6325ef515d96d0ca764
* deb: compatibility with older systemd versionsAndras Timar2021-05-171-0/+12
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I3a4b168cb72ff400cd6b921f0305808eef0420d9
* LOKit's installation path does not contain version number any moreAndras Timar2021-05-041-13/+13
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: If3ae865f1d19ccba2a13c4c31faa7aff8274d34b
* forward port packaging bits to master branchAndras Timar2021-03-312-6/+16
| | | | | | | | | | The next version of Collabora Online will be version 2021. Development of version 2021 will be carried on master branch for the time being. The corresponding core branch is distro/collabora/co-2021 Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I9c97aaac711c9e1f1e48ed25066b169ea7e26e84
* compat level 10 by default restarts service after upgrade -- this is what we ↵Andras Timar2021-03-181-1/+1
| | | | | | | want for minimal downtime Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I4302e3619a254b9437eee613c45fa860581407bf
* On-disk cache was removed long ago, clean-up in packagingAndras Timar2021-01-262-3/+0
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I2eeaed12af6ac8789151b95a9c2a2aa1fd72573b
* add CAP_CHOWN to systemd service filesAndras Timar2021-01-061-1/+1
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I3270cc1c435c419117cfa805a4db16ca4ef9a3ec
* Optimize copy of jails to hard-linking with new capability.Michael Meeks2021-01-041-1/+1
| | | | | | | | | | | | | | | | | | | In some cases we cannot do a fast bind-mount of the files we want in our jail since we don't have cap_sys_admin for loolmount inside eg. docker. Thus we need to fallback to hard-linking, however various security systems namespace parts of our tree, such that link() fails with EXDEV even across the (apparently) same file-system. As such we need to assemble a copy of what we want to hard-link close to our jails. However, this needs to be owned by root / the system to avoid having writable files shared between jails. Hence we need cap_chown in addition to cap_fowner, to get ownership right and then hard-link. Change-Id: Iba0ef46ddbc1c03f3dc7177bc1ec1755624135db Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
* Add /var/log (default log path) to ReadWritePaths of loolwsd.service (fixes ↵Andras Timar2020-11-201-1/+1
| | | | | | | GH #739) Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I47e8a0983fd74656739498bf02bad117e821cfbf
* loolmount requires cap_sys_adminAndras Timar2020-11-201-1/+1
| | | | | Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: Ic7df285bacc684af4167c8f2301118341e859d0f
* Sync loolwsd.service between '/' and 'debian/'Aron Budea2020-11-181-0/+11
| | | | | | | One is used in Debian-based installs, other is used in the rest. Signed-off-by: Aron Budea <aron.budea@collabora.com> Change-Id: If21c5d70cb8bb738931c3cd05bd4c5c732f394f7
* change product nameAndras Timar2020-10-022-2/+2
| | | | Change-Id: Ic34d324c952364442d3f4f9f0758676ab57c8a9a
* systemplate files are not writable by lool userAndras Timar2020-07-051-1/+1
| | | | | | | | | | | See also f1be65668c749526011faa39266f289522a9cf68 systemplate files should not be writable by lool user Change-Id: I5684248d3d4b4b0ba56f8c5ab490a6e7df0e0038 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98069 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
* wsd: faster jail setup via bind-mountAshod Nakashian2020-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loolmount now works and supports mounting and unmounting, plus numerous improvements, refactoring, logging, etc.. When enabled, binding improves the jail setup time by anywhere from 2x to orders of magnitude (in docker, f.e.). A new config entry mount_jail_tree controls whether mounting is used or the old method of linking/copying of jail contents. It is set to true by default and falls back to linking/copying. A test mount is done when the setting is enabled, and if mounting fails, it's disabled to avoid noise. Temporarily disabled for unit-tests until we can cleanup lingering mounts after Jenkins aborts our build job. In a future patch we will have mount/jail cleanup as part of make. The network/system files in /etc that need frequent refreshing are now updated in systemplate to make their most recent version available in the jails. These files can change during the course of loolwsd lifetime, and are unlikely to be updated in systemplate after installation at all. We link to them in the systemplate/etc directory, and if that fails, we copy them before forking each kit instance to have the latest. This reworks the approach used to bind-mount the jails and the templates such that the total is now down to only three mounts: systemplate, lo, tmp. As now systemplate and lotemplate are shared, they must be mounted as readonly, this means that user/ must now be moved into tmp/user/ which is writable. The mount-points must be recursive, because we mount lo/ within the mount-point of systemplate (which is the root of the jail). But because we (re)bind recursively, and because both systemplate and lotemplate are mounted for each jails, we need to make them unbindable, so they wouldn't multiply the mount-points for each jails (an explosive growth!) Contrarywise, we don't want the mount-points to be shared, because we don't expect to add/remove mounts after a jail is created. The random temp directory is now created and set correctly, plus many logging and other improvements. Change-Id: Iae3fda5e876cf47d2cae6669a87b5b826a8748df Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92829 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* Proof: add loolwsd-generate-proof-key helper scriptAndras Timar2020-04-231-0/+1
| | | | | | | Change-Id: Ibbd99b6431b1a2992c520d3fad5f52d0770905f6 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92788 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Revert "Bump package version to 4.2.0-3 and update deb/rpm package files"Andras Timar2020-01-103-25/+23
| | | | This reverts commit b0b2e8f5e8cb592774c586677bb7cb7d7962da63.
* Bump package version to 4.2.0-3 and update deb/rpm package filescp-4.2-0-3Andras Timar2020-01-103-23/+25
| | | | Change-Id: I935425f644f373acdd4bf8d073ec8be3f29313b8
* APP_NAME tweaksAndras Timar2019-11-271-1/+1
| | | | Change-Id: I16016cfc575620f98c0124fdb85e39cf56e0453a
* chmod -xAndras Timar2019-11-264-0/+0
| | | | Change-Id: Iaacb3f7abbbb5c76cbd693b8b9918137de086c3d
* deb: trigger systemplate update after apt operations (e.g. installation of a ↵Andras Timar2019-11-262-0/+9
| | | | | | new font, etc.) Change-Id: Ia356249598d2f451d135985511b0fce71335a28d
* Add required python3 libs to debian/controlMichael Weghorn2019-10-301-1/+1
| | | | | | | | | | | | | | Those are needed since commit c1e04e406955c6f3bf186019ffee459c93f03330 ("scripts/unocommands.py: Switch to python3"). This makes sure the required packages are present when building the Debian packages. Change-Id: I345805d0776a3ea2c43345ed1f40a32f391ba055 Reviewed-on: https://gerrit.libreoffice.org/81507 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Michael Weghorn <m.weghorn@posteo.de>
* Use -delete command of find instead of -exec rmSven Strickroth2019-08-101-1/+1
| | | | | | | | | | | | | | The -delete parameter allows to delete several files at once without the need to spawn a rm processes for every found file. Note, the -delete parameter is NOT POSIX compliant, however, it should be available on all relevant systems. Change-Id: Icc840aecc906700cae0665a592b7e0e7e377bdcb Signed-off-by: Sven Strickroth <email@cs-ware.de> Reviewed-on: https://gerrit.libreoffice.org/77084 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Revert "Adapt paths to new package name"Jan Holesovsky2019-05-222-3/+3
| | | | | | | | | | | | | It is not a good idea to change the configuration directory, it will affect all the existing installations. And the service is called loolwsd - so the configuration should be called that way too. This reverts commit 92785742896f20374fc080922d603cd76d2157ca. Change-Id: I7e6eee644e21ad2dd842742585d16133ff8e36c9 Reviewed-on: https://gerrit.libreoffice.org/72730 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Adapt paths to new package nameSamuel Mehrbrodt2019-05-222-3/+3
| | | | | | | | | After 1dbbc5acc7d51adc363c2b43a24afae4b17971a6 Change-Id: I64a12fb13bc8f9371821b2d5969941bfddc2514a Reviewed-on: https://gerrit.libreoffice.org/72728 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* systemplate files should not be writable by lool userAndras Timar2019-02-071-1/+1
| | | | | | | Change-Id: Ifb4fb7e5d5c1861b5e26bb6a710acb28e546c846 Reviewed-on: https://gerrit.libreoffice.org/67425 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* build requires m4Andras Timar2019-01-141-1/+1
| | | | Change-Id: I23a102762a43890d5487ea7a6e3adac035fc3b68
* Depend on nodejs instead, Debian 9 does not have npm package, and node-jake ↵Andras Timar2018-11-301-1/+1
| | | | | | is very old Change-Id: Ia7ceed8dd38849575a63e96c6296c70e31509eec
* core dependency: libXrenderAndras Timar2018-10-181-1/+1
|
* Cleanup all old files in the cache, not just png's.Jan Holesovsky2018-05-301-1/+1
| | | | Change-Id: I61c7016d0e318742d733da72d97572215ba46a36
* do not distribute unused or internal dev tool binaries: loolmap, loolmount, ↵Andras Timar2018-05-091-1/+0
| | | | | | | | | loolstress Change-Id: Ice905d08a695805f594df5731039f747ac88cf28 Reviewed-on: https://gerrit.libreoffice.org/54027 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* add more deb build dependenciesAndras Timar2018-05-041-1/+1
| | | | Change-Id: I10396ae0034752f1821edd1953556df6f0465f5c