aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-06-19 18:15:38 +0200
committerlaforge <laforge@gnumonks.org>2019-06-21 09:34:09 +0000
commit0cdf071e8adcd34bcb1db8fb196f12d32f4dd775 (patch)
treecf316c884e3f5192865a70a4119349e2985a563a
parentba0b0aae459e08e70f8e7c1704566bb4ea37b608 (diff)
Put build / run scripts under Apache 2.0 license
The license of the build or execution scripts doesn't affect the license of the actual program, and we want to explicitly state that these scripts may be used in any kind of context. Change-Id: I553925cd88b05903aab52ae1afb093aa9ab9d035
-rw-r--r--Makefile15
-rwxr-xr-xcompare-results.sh14
-rw-r--r--deps/Makefile14
-rw-r--r--gen_links.sh.inc15
-rwxr-xr-xlog_merge.sh15
-rwxr-xr-xregen-makefile.sh16
-rwxr-xr-xstart-testsuite.sh15
-rwxr-xr-xupdate_expected_results_from_jenkins.sh15
8 files changed, 119 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b8778af4..2c8e951a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,18 @@
+# Copyright 2017 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
SUBDIRS=bsc bsc-nat bts ggsn_tests hlr mgw msc pcu sccp selftest sgsn sip sysinfo
NPROC=$(shell nproc 2>/dev/null)
diff --git a/compare-results.sh b/compare-results.sh
index cce3a8d4..6037174d 100755
--- a/compare-results.sh
+++ b/compare-results.sh
@@ -2,6 +2,20 @@
expected_file="$1"
results_file="$2"
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
usage() {
echo "
Usage:
diff --git a/deps/Makefile b/deps/Makefile
index 23f7b64c..cdca8f13 100644
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -1,3 +1,17 @@
+# Copyright 2017 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
ECLIPSEGIT:=https://github.com/eclipse
ECLIPSEGIT2:=git://git.eclipse.org/gitroot/titan
diff --git a/gen_links.sh.inc b/gen_links.sh.inc
index 8a87359b..539b3983 100644
--- a/gen_links.sh.inc
+++ b/gen_links.sh.inc
@@ -1,6 +1,21 @@
#!dont_run_this
# This file is sourced by */gen_links.sh
+# Copyright 2017 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
rm -f .gitignore
gen_link() {
diff --git a/log_merge.sh b/log_merge.sh
index d3c50f71..886b7884 100755
--- a/log_merge.sh
+++ b/log_merge.sh
@@ -7,6 +7,21 @@
#
# the output files will be called "Module-Testcase.merged"
+# Copyright 2018 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
if [ "x$1" = "x" ]; then
echo "You have to specify the Test Suite prefix"
exit 2
diff --git a/regen-makefile.sh b/regen-makefile.sh
index d2b747e5..7be47bb1 100755
--- a/regen-makefile.sh
+++ b/regen-makefile.sh
@@ -1,5 +1,21 @@
#!/bin/sh
+# Copyright 2017-2019 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
# Wrapper around the TITAN make file generator to work in Debian.
#
# TITAN has a makefile generator, but somehow Debian seems to install
diff --git a/start-testsuite.sh b/start-testsuite.sh
index 31bc891c..54332bb4 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -3,6 +3,21 @@
# Helper script to starte a TITAN-generated test suite, supporting
# dynamically linked suites to ensure JUNIT generation is possible.
+# Copyright 2017 Harald Welte
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
if [ $# -lt 1 ]; then
echo "You have to specify the test suite name"
echo "Syntax example: $0 osmo-ttcn3-hacks/ggsn_tests/GGSN_Test ./GGSN_Test.cfg"
diff --git a/update_expected_results_from_jenkins.sh b/update_expected_results_from_jenkins.sh
index 7677cff0..d30e6405 100755
--- a/update_expected_results_from_jenkins.sh
+++ b/update_expected_results_from_jenkins.sh
@@ -1,5 +1,20 @@
#!/bin/sh
+# Copyright 2018 sysmocom - s.f.m.c. GmbH
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
# Download the latest junit xml results from the jenkins.osmocom.org workspaces.
# Usage:
# - have a clean git clone of osmo-ttcn3-hacks