From dceedff3b6c8d4b42835e60ef0064ea43b618813 Mon Sep 17 00:00:00 2001
From: Helge Jung <hej@c3pb.de>
Date: Sun, 29 Mar 2015 12:24:52 +0200
Subject: [PATCH] add/specify LICENSE

---
 LICENSE          | 30 ++++++++++++++++++++++++++++++
 ReadMe.md        |  5 +++++
 build-version.sh |  2 ++
 build.sh         |  4 ++--
 docker-build.sh  |  1 +
 functions.sh     |  3 +++
 6 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 LICENSE

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..ac1969d
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,30 @@
+The code of Project Gluon may be distributed under the following terms, unless
+noted otherwise in indiviual files or subtrees.
+
+Copyright (c) 2014-2015, Freifunk Paderborn
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+  1. Redistributions of source code must retain the above copyright notice,
+     this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright notice,
+     this list of conditions and the following disclaimer in the documentation
+     and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+This repository fetches software from other Git repositories and does not make
+a statement about their license. To our knowledge, all of these software is licensed
+under one of the well-known Open Source licenses.
+
diff --git a/ReadMe.md b/ReadMe.md
index 98840a6..643491b 100644
--- a/ReadMe.md
+++ b/ReadMe.md
@@ -1,5 +1,10 @@
 # Firmware von Freifunk Paderborn
 
+Dieses Repository beherbergt die Skripte, um die Firmware von Freifunk Paderborn zu bauen.
+Die Inhalte dieses Repositories werden unter einer "2-clause BSD" Lizenz veröffentlicht, Details sind der Datei [LICENSE](https://git.c3pb.de/freifunk-pb/firmware/blob/master/LICENSE) zu entnehmen.
+
+Beim Bauen der Firmware werden weitere Git-Repositories heruntergeladen und benutzt:
+
 * Basis: [Gluon](https://github.com/freifunk-gluon/gluon)
 * Site-Repository: [FFPB](https://git.c3pb.de/freifunk-pb/site-ffpb)
 
diff --git a/build-version.sh b/build-version.sh
index 4e99413..2176f9d 100755
--- a/build-version.sh
+++ b/build-version.sh
@@ -1,4 +1,6 @@
 #!/bin/bash
+# (c) 2014-2015 Freifunk Paderborn <maschinenraum@paderborn.freifunk.net>
+#
 # calls build.sh with information found in given version
 
 MY_DIR=$(dirname $0)
diff --git a/build.sh b/build.sh
index 9371505..20c42f9 100755
--- a/build.sh
+++ b/build.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
-# (c) 2014-2015 Helge Jung <hej@c3pb.de>
+# (c) 2014-2015 Freifunk Paderborn <maschinenraum@paderborn.freifunk.net>
 #
-# This script is controlled by environment variables, the
+# This script builds the firmware by the environment variables given, the
 # first two being mandatory:
 #
 # BASE      = Gluon Version (tag or commit, i.e. v2014.4)
diff --git a/docker-build.sh b/docker-build.sh
index 35009f1..80a5b0b 100755
--- a/docker-build.sh
+++ b/docker-build.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
+# (c) 2014-2015 Freifunk Paderborn <maschinenraum@paderborn.freifunk.net>
 
 # check if we're in the container
 running_in_docker() {
diff --git a/functions.sh b/functions.sh
index 24ddbc8..8e7762d 100644
--- a/functions.sh
+++ b/functions.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# (c) 2014-2015 Freifunk Paderborn <maschinenraum@paderborn.freifunk.net>
+#
+# Helper functions for 'fancy' output
 
 function progress {
 	echo -en "\033[1;34mâž”  "
-- 
GitLab