[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-cd-3-2' - debian/loolwsd.postinst.in docker/Dockerfile loolwsd.spec.in Makefile.am
Andras Timar
andras.timar at collabora.com
Thu Jul 12 13:56:12 UTC 2018
Makefile.am | 7 +++++--
debian/loolwsd.postinst.in | 1 -
docker/Dockerfile | 1 -
loolwsd.spec.in | 4 ----
4 files changed, 5 insertions(+), 8 deletions(-)
New commits:
commit 8f522621fbfa215c1dea3d2afcdfe4a98c43bd66
Author: Andras Timar <andras.timar at collabora.com>
Date: Wed May 9 12:41:12 2018 +0200
do not distribute unused or internal dev tool binaries: loolmap, loolmount, loolstress
Change-Id: Ice905d08a695805f594df5731039f747ac88cf28
Reviewed-on: https://gerrit.libreoffice.org/54027
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
(cherry picked from commit 7c3322e7e0462644cc6a91d6f8ecec359485499b)
Reviewed-on: https://gerrit.libreoffice.org/54053
(cherry picked from commit 31b43a23aa5cb662e7015243abea255d2776e826)
Reviewed-on: https://gerrit.libreoffice.org/55084
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/Makefile.am b/Makefile.am
index b1693df7e..93265a079 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ SUBDIRS = . test loleaflet
export ENABLE_DEBUG
-bin_PROGRAMS = loolwsd loolforkit loolmap loolmount looltool loolstress loolconfig
+bin_PROGRAMS = loolwsd loolforkit looltool loolconfig
dist_bin_SCRIPTS = loolwsd-systemplate-setup
@@ -86,7 +86,10 @@ loolwsd_SOURCES = $(loolwsd_sources) \
noinst_PROGRAMS = clientnb \
connect \
lokitclient \
- loolwsd_fuzzer
+ loolwsd_fuzzer \
+ loolmap \
+ loolstress \
+ loolmount
connect_SOURCES = tools/Connect.cpp \
common/Log.cpp \
diff --git a/debian/loolwsd.postinst.in b/debian/loolwsd.postinst.in
index d15baafe2..110db43b6 100755
--- a/debian/loolwsd.postinst.in
+++ b/debian/loolwsd.postinst.in
@@ -5,7 +5,6 @@ set -e
case "$1" in
configure)
setcap cap_fowner,cap_mknod,cap_sys_chroot=ep /usr/bin/loolforkit || true
- setcap cap_sys_admin=ep /usr/bin/loolmount || true
adduser --quiet --system --group --home /opt/lool lool
mkdir -p /var/cache/loolwsd && chown lool: /var/cache/loolwsd
diff --git a/docker/Dockerfile b/docker/Dockerfile
index aea6e73c3..2631e3829 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -28,7 +28,6 @@ COPY /scripts/run-lool.sh /
# set up LibreOffice Online (normally done by postinstall script of package)
RUN setcap cap_fowner,cap_mknod,cap_sys_chroot=ep /usr/bin/loolforkit
-RUN setcap cap_sys_admin=ep /usr/bin/loolmount
RUN adduser --quiet --system --group --home /opt/lool lool
RUN mkdir -p /var/cache/loolwsd && chown lool: /var/cache/loolwsd
RUN rm -rf /var/cache/loolwsd/*
diff --git a/loolwsd.spec.in b/loolwsd.spec.in
index c8db853ad..a6df23195 100644
--- a/loolwsd.spec.in
+++ b/loolwsd.spec.in
@@ -137,10 +137,7 @@ echo "account required pam_unix.so" >> %{buildroot}/etc/pam.d/loolwsd
%defattr(-,root,root,-)
/usr/bin/loolwsd
/usr/bin/loolwsd-systemplate-setup
-/usr/bin/loolmap
/usr/bin/loolforkit
-/usr/bin/loolmount
-/usr/bin/loolstress
/usr/bin/looltool
/usr/bin/loolconfig
/usr/share/loolwsd/discovery.xml
@@ -225,7 +222,6 @@ echo " Done."
%post
setcap cap_fowner,cap_mknod,cap_sys_chroot=ep /usr/bin/loolforkit
-setcap cap_sys_admin=ep /usr/bin/loolmount
mkdir -p /var/cache/loolwsd && chown lool:lool /var/cache/loolwsd
rm -rf /var/cache/loolwsd/*
More information about the Libreoffice-commits
mailing list