From cef443110e984b5e5edfe674ff4fc7418641cb4a Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Thu, 14 Jan 2021 21:57:40 +0100
Subject: [PATCH] Add licenses to files taken from dokuwiki.org

---
 dokuwiki/templates/blacklist.sh.j2        | 4 ++++
 dokuwiki/templates/cleanup.sh.j2          | 4 ++++
 dokuwiki/templates/delete_old_files.py.j2 | 5 +++++
 3 files changed, 13 insertions(+)

diff --git a/dokuwiki/templates/blacklist.sh.j2 b/dokuwiki/templates/blacklist.sh.j2
index f382c99..cd571bd 100644
--- a/dokuwiki/templates/blacklist.sh.j2
+++ b/dokuwiki/templates/blacklist.sh.j2
@@ -1,5 +1,9 @@
 #!/bin/sh
 
+# taken from https://www.dokuwiki.org/blacklist
+# under CC BY-SA 4.0 International https://creativecommons.org/licenses/by-sa/4.0/deed.en
+# for authors see https://www.dokuwiki.org/blacklist?do=revisions
+
 blacklist="https://meta.wikimedia.org/wiki/Spam_blacklist?action=raw"
 
 {% for dw in dokuwiki %}
diff --git a/dokuwiki/templates/cleanup.sh.j2 b/dokuwiki/templates/cleanup.sh.j2
index d29eb23..ef2ec1c 100644
--- a/dokuwiki/templates/cleanup.sh.j2
+++ b/dokuwiki/templates/cleanup.sh.j2
@@ -1,5 +1,9 @@
 #!/bin/bash
 
+# taken from https://www.dokuwiki.org/tips:maintenance#automatic_cleanup_script
+# under CC BY-SA 4.0 International https://creativecommons.org/licenses/by-sa/4.0/deed.en
+# for authors see https://www.dokuwiki.org/tips:maintenance#automatic_cleanup_script?do=revisions
+
 function cleanup()
 {
     local data_path="$1"        # full path to data directory of wiki
diff --git a/dokuwiki/templates/delete_old_files.py.j2 b/dokuwiki/templates/delete_old_files.py.j2
index 7f38924..e24867a 100644
--- a/dokuwiki/templates/delete_old_files.py.j2
+++ b/dokuwiki/templates/delete_old_files.py.j2
@@ -1,4 +1,9 @@
 #!/usr/bin/env python3
+
+# taken from https://www.dokuwiki.org/install:unused_files
+# under CC BY-SA 4.0 International https://creativecommons.org/licenses/by-sa/4.0/deed.en
+# for authors see https://www.dokuwiki.org/install:unused_files?do=revisions
+
 import os
 import os.path
 import shutil
-- 
GitLab