[Libreoffice-commits] online.git: loolwsd/loolwsd.spec.in loolwsd/Makefile.am loolwsd/robots.txt

Andras Timar andras.timar at collabora.com
Mon May 30 15:41:14 UTC 2016


 loolwsd/Makefile.am     |    4 +++-
 loolwsd/loolwsd.spec.in |    1 +
 loolwsd/robots.txt      |    2 ++
 3 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit c542fedd0c30cb949cd8bcb13262cd47fd2e8271
Author: Andras Timar <andras.timar at collabora.com>
Date:   Mon May 30 17:40:40 2016 +0200

    loolwsd: add robots.txt (compliance)

diff --git a/loolwsd/Makefile.am b/loolwsd/Makefile.am
index 5036c53..8f03e35 100644
--- a/loolwsd/Makefile.am
+++ b/loolwsd/Makefile.am
@@ -8,7 +8,8 @@ dist_bin_SCRIPTS = loolwsd-systemplate-setup
 
 loolwsddatadir = @LOOLWSD_DATADIR@
 
-loolwsddata_DATA = discovery.xml
+loolwsddata_DATA = discovery.xml \
+                   robots.txt
 
 loolwsdconfigdir = @LOOLWSD_CONFIGDIR@
 
@@ -115,6 +116,7 @@ noinst_HEADERS = Admin.hpp \
 EXTRA_DIST = discovery.xml \
              loolwsd.xml.in \
              loolwsd.service \
+             robots.txt \
              sysconfig.loolwsd \
              etc/key.pem \
              etc/cert.pem \
diff --git a/loolwsd/loolwsd.spec.in b/loolwsd/loolwsd.spec.in
index 3b44edc..7dd638d 100644
--- a/loolwsd/loolwsd.spec.in
+++ b/loolwsd/loolwsd.spec.in
@@ -92,6 +92,7 @@ tar cf - . | (cd %{buildroot}/usr/share/loolwsd/loleaflet && tar xf -)
 /usr/bin/loolmount
 /usr/bin/looltool
 /usr/share/loolwsd/discovery.xml
+/usr/share/loolwsd/robots.txt
 /usr/share/loolwsd/loleaflet
 %{_unitdir}/loolwsd.service
 %if 0%{?fedora} || 0%{?rhel} >= 7
diff --git a/loolwsd/robots.txt b/loolwsd/robots.txt
new file mode 100644
index 0000000..1f53798
--- /dev/null
+++ b/loolwsd/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /


More information about the Libreoffice-commits mailing list