diff --git a/clean-classic/linux-arm32/build_clean.sh b/clean-classic/linux-arm32/build_clean.sh index 0fad53ce7534316a7bd48a3b3fee6406aa4ea486..bed9411ffc4fca29efccf5ac6915dfdbcf60b5d8 100755 --- a/clean-classic/linux-arm32/build_clean.sh +++ b/clean-classic/linux-arm32/build_clean.sh @@ -1,5 +1,12 @@ mkdir -p clean -cp clean-ide/CleanLicenseConditions.txt clean +cat < clean/CleanLicenseConditions.txt +Clean is distributed under the terms of the simplified BSD license below, except for +the Platform and Gast libraries and examples. +The files and BSD licenses of these libraries and examples can be found in the directories +data/Platform, data/Gast, examples/PlatformExamples and examples/GastExamples, +after installation also in lib/Platform and lib/Gast. + +EOF cp clean-classic/linux-arm32/txt/Makefile clean cp clean-classic/linux-arm32/txt/README clean @@ -81,6 +88,9 @@ cp clean-libraries/Libraries/TCPIP/Linux_C/cTCP_121.c "clean/data/TCPIP/Clean Sy cp clean-libraries/Libraries/TCPIP/Linux_C/cTCP_121.h "clean/data/TCPIP/Clean System Files" mkdir -p clean/data/Platform +cp clean-platform/LICENSE clean/data/Platform/LICENSE +cp clean-platform/LICENSE.Clean clean/data/Platform/LICENSE.Clean +cp clean-platform/LICENSE.BSD3 clean/data/Platform/LICENSE.BSD3 cp -r -t clean/data/Platform clean-platform/src/libraries/OS-Independent/* cp -r -t clean/data/Platform clean-platform/src/libraries/OS-Posix/* cp -r -t clean/data/Platform clean-platform/src/libraries/OS-Linux/* diff --git a/clean-classic/linux-arm32/build_examples.sh b/clean-classic/linux-arm32/build_examples.sh index b973e2b9b4ba3f9b1ed4096a6f462b7549dcdeee..196d04d87fa2f5371935c6b9609fdf4827bd3ad9 100755 --- a/clean-classic/linux-arm32/build_examples.sh +++ b/clean-classic/linux-arm32/build_examples.sh @@ -37,8 +37,9 @@ clm -nt -dynamics type_dependent_functions -o type_dependent_functions EOF chmod +x clean/examples/DynamicsExamples/make.sh -(cd git/gast; git checkout master Tests) +(cd git/gast; git checkout master LICENSE Tests) mkdir -p clean/examples/GastExamples +mv git/gast/LICENSE clean/examples/GastExamples/LICENSE mv git/gast/Tests/*.icl clean/examples/GastExamples rm -rf git/gast/Tests @@ -54,6 +55,9 @@ chmod +x clean/examples/GastExamples/make.sh mkdir -p clean/examples/PlatformExamples/socket mkdir -p clean/examples/PlatformExamples/WebPM/icons +cp clean-platform/LICENSE clean/examples/PlatformExamples/LICENSE +cp clean-platform/LICENSE.Clean clean/examples/PlatformExamples/LICENSE.Clean +cp clean-platform/LICENSE.BSD3 clean/examples/PlatformExamples/LICENSE.BSD3 cp clean-platform/src/examples/*.* clean/examples/PlatformExamples cp clean-platform/src/examples/socket/*.icl clean/examples/PlatformExamples/socket cp clean-platform/src/examples/WebPM/*.* clean/examples/PlatformExamples/WebPM diff --git a/clean-classic/linux-arm32/build_libraries.sh b/clean-classic/linux-arm32/build_libraries.sh index 1a40c76197513e4ed06f8d50c5c6e4d34e59dad4..a40a3f6e09a423a07c545b1e90a89be741d7e7ed 100755 --- a/clean-classic/linux-arm32/build_libraries.sh +++ b/clean-classic/linux-arm32/build_libraries.sh @@ -5,13 +5,16 @@ set -e mkdir -p clean-libraries/Libraries mv git/clean-libraries/Libraries/* clean-libraries/Libraries/ -(cd git/gast; git checkout master Libraries/Gast.dcl Libraries/Gast.icl Libraries/Gast) +(cd git/gast; git checkout master LICENSE Libraries/Gast.dcl Libraries/Gast.icl Libraries/Gast) mkdir -p clean-libraries/Libraries mv git/gast/Libraries clean-libraries/Libraries/Gast/ +mv git/gast/LICENSE clean-libraries/Libraries/Gast/LICENSE (cd git/clean-platform; git checkout master .) mkdir clean-platform mv git/clean-platform/* clean-platform/ +mv clean-platform/LICENSE clean-platform/LICENSE.Clean +sed -e '1,/License/d' -e 's/LICENSE].LICENCE/LICENCE.Clean](LICENSE.Clean/' -e 's/$/\r/' < clean-platform/README.md > clean-platform/LICENSE cp htoclean/Clean.h "clean-libraries/Libraries/Directory/Clean System Files Unix/Clean.h" (cd "clean-libraries/Libraries/Directory/Clean System Files Unix"; gcc -c -O cDirectory.c) diff --git a/clean-classic/linux-arm32/get_sources.sh b/clean-classic/linux-arm32/get_sources.sh index 4fb63c76c092412d631e17e298d155dd279a9146..aa90ca7faadb518677aa2bb31f7034a3a64be4e5 100755 --- a/clean-classic/linux-arm32/get_sources.sh +++ b/clean-classic/linux-arm32/get_sources.sh @@ -8,8 +8,8 @@ git clone -n --depth=1 https://gitlab.science.ru.nl/clean-compiler-and-rts/stden git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clm.git git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-ide.git git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries.git -git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/gast.git gast -git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-platform.git +git clone -n --depth=1 https://www.gitlab.com/clean-and-itasks/gast.git gast +git clone -n --depth=1 https://www.gitlab.com/clean-and-itasks/clean-platform.git cd .. mkdir svn cd svn diff --git a/clean-classic/linux-thumb/build_clean.sh b/clean-classic/linux-thumb/build_clean.sh index d0b1da8a0e8cab7dd9c0e08d155cc161badbd33e..bfe48fcb57aabe935c0508032a0eb9e96c72ab75 100755 --- a/clean-classic/linux-thumb/build_clean.sh +++ b/clean-classic/linux-thumb/build_clean.sh @@ -1,5 +1,12 @@ mkdir -p clean -cp clean-ide/CleanLicenseConditions.txt clean +cat < clean/CleanLicenseConditions.txt +Clean is distributed under the terms of the simplified BSD license below, except for +the Platform and Gast libraries and examples. +The files and BSD licenses of these libraries and examples can be found in the directories +data/Platform, data/Gast, examples/PlatformExamples and examples/GastExamples, +after installation also in lib/Platform and lib/Gast. + +EOF cp clean-classic/linux-thumb/txt/Makefile clean cp clean-classic/linux-thumb/txt/README clean @@ -81,6 +88,9 @@ cp clean-libraries/Libraries/TCPIP/Linux_C/cTCP_121.c "clean/data/TCPIP/Clean Sy cp clean-libraries/Libraries/TCPIP/Linux_C/cTCP_121.h "clean/data/TCPIP/Clean System Files" mkdir -p clean/data/Platform +cp clean-platform/LICENSE clean/data/Platform/LICENSE +cp clean-platform/LICENSE.Clean clean/data/Platform/LICENSE.Clean +cp clean-platform/LICENSE.BSD3 clean/data/Platform/LICENSE.BSD3 cp -r -t clean/data/Platform clean-platform/src/libraries/OS-Independent/* cp -r -t clean/data/Platform clean-platform/src/libraries/OS-Posix/* cp -r -t clean/data/Platform clean-platform/src/libraries/OS-Linux/* diff --git a/clean-classic/linux-thumb/build_examples.sh b/clean-classic/linux-thumb/build_examples.sh index b973e2b9b4ba3f9b1ed4096a6f462b7549dcdeee..196d04d87fa2f5371935c6b9609fdf4827bd3ad9 100755 --- a/clean-classic/linux-thumb/build_examples.sh +++ b/clean-classic/linux-thumb/build_examples.sh @@ -37,8 +37,9 @@ clm -nt -dynamics type_dependent_functions -o type_dependent_functions EOF chmod +x clean/examples/DynamicsExamples/make.sh -(cd git/gast; git checkout master Tests) +(cd git/gast; git checkout master LICENSE Tests) mkdir -p clean/examples/GastExamples +mv git/gast/LICENSE clean/examples/GastExamples/LICENSE mv git/gast/Tests/*.icl clean/examples/GastExamples rm -rf git/gast/Tests @@ -54,6 +55,9 @@ chmod +x clean/examples/GastExamples/make.sh mkdir -p clean/examples/PlatformExamples/socket mkdir -p clean/examples/PlatformExamples/WebPM/icons +cp clean-platform/LICENSE clean/examples/PlatformExamples/LICENSE +cp clean-platform/LICENSE.Clean clean/examples/PlatformExamples/LICENSE.Clean +cp clean-platform/LICENSE.BSD3 clean/examples/PlatformExamples/LICENSE.BSD3 cp clean-platform/src/examples/*.* clean/examples/PlatformExamples cp clean-platform/src/examples/socket/*.icl clean/examples/PlatformExamples/socket cp clean-platform/src/examples/WebPM/*.* clean/examples/PlatformExamples/WebPM diff --git a/clean-classic/linux-thumb/build_libraries.sh b/clean-classic/linux-thumb/build_libraries.sh index 1a40c76197513e4ed06f8d50c5c6e4d34e59dad4..a40a3f6e09a423a07c545b1e90a89be741d7e7ed 100755 --- a/clean-classic/linux-thumb/build_libraries.sh +++ b/clean-classic/linux-thumb/build_libraries.sh @@ -5,13 +5,16 @@ set -e mkdir -p clean-libraries/Libraries mv git/clean-libraries/Libraries/* clean-libraries/Libraries/ -(cd git/gast; git checkout master Libraries/Gast.dcl Libraries/Gast.icl Libraries/Gast) +(cd git/gast; git checkout master LICENSE Libraries/Gast.dcl Libraries/Gast.icl Libraries/Gast) mkdir -p clean-libraries/Libraries mv git/gast/Libraries clean-libraries/Libraries/Gast/ +mv git/gast/LICENSE clean-libraries/Libraries/Gast/LICENSE (cd git/clean-platform; git checkout master .) mkdir clean-platform mv git/clean-platform/* clean-platform/ +mv clean-platform/LICENSE clean-platform/LICENSE.Clean +sed -e '1,/License/d' -e 's/LICENSE].LICENCE/LICENCE.Clean](LICENSE.Clean/' -e 's/$/\r/' < clean-platform/README.md > clean-platform/LICENSE cp htoclean/Clean.h "clean-libraries/Libraries/Directory/Clean System Files Unix/Clean.h" (cd "clean-libraries/Libraries/Directory/Clean System Files Unix"; gcc -c -O cDirectory.c) diff --git a/clean-classic/linux-thumb/get_sources.sh b/clean-classic/linux-thumb/get_sources.sh index 4fb63c76c092412d631e17e298d155dd279a9146..aa90ca7faadb518677aa2bb31f7034a3a64be4e5 100755 --- a/clean-classic/linux-thumb/get_sources.sh +++ b/clean-classic/linux-thumb/get_sources.sh @@ -8,8 +8,8 @@ git clone -n --depth=1 https://gitlab.science.ru.nl/clean-compiler-and-rts/stden git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clm.git git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-ide.git git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-libraries.git -git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/gast.git gast -git clone -n --depth=1 https://gitlab.science.ru.nl/clean-and-itasks/clean-platform.git +git clone -n --depth=1 https://www.gitlab.com/clean-and-itasks/gast.git gast +git clone -n --depth=1 https://www.gitlab.com/clean-and-itasks/clean-platform.git cd .. mkdir svn cd svn