[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - debian/loolwsd.postinst.in docker/Dockerfile loolwsd.spec.in Makefile.am
Andras Timar
andras.timar at collabora.com
Mon May 14 13:12:38 UTC 2018
Makefile.am | 9 ++++++---
debian/loolwsd.postinst.in | 1 -
docker/Dockerfile | 1 -
loolwsd.spec.in | 4 ----
4 files changed, 6 insertions(+), 9 deletions(-)
New commits:
commit 31b43a23aa5cb662e7015243abea255d2776e826
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
diff --git a/Makefile.am b/Makefile.am
index 6e334016c..dfe4340af 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,8 +3,8 @@ SUBDIRS = . test loleaflet
export ENABLE_DEBUG
bin_PROGRAMS = \
- loolwsd loolforkit loolmap loolmount \
- loolconvert loolstress loolconfig loolsocketdump
+ loolwsd loolforkit \
+ loolconvert loolconfig loolsocketdump
dist_bin_SCRIPTS = loolwsd-systemplate-setup
@@ -93,7 +93,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 0d2efcfed..ecf7301df 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/loolconvert
/usr/bin/loolconfig
/usr/share/loolwsd/discovery.xml
@@ -230,7 +227,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