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

New commits:
commit 6f7f7a99780168a821748c750ed2f6036874a16e
Author: Andras Timar <andras.ti...@collabora.com>
Date:   Mon May 30 17:40:40 2016 +0200

    loolwsd: add robots.txt (compliance)
    
    (cherry picked from commit c542fedd0c30cb949cd8bcb13262cd47fd2e8271)

diff --git a/loolwsd/Makefile.am b/loolwsd/Makefile.am
index 298909a..bcfc07d 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@
 
@@ -112,6 +113,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: /
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to