diff --git a/dependencies/Helib_install/CMakeLists.txt b/dependencies/Helib_install/CMakeLists.txt index 11aa6f1..fb1142b 100644 --- a/dependencies/Helib_install/CMakeLists.txt +++ b/dependencies/Helib_install/CMakeLists.txt @@ -1,3 +1,25 @@ +#MIT License +# +#Copyright (c) 2020 International Business Machines +# +#Permission is hereby granted, free of charge, to any person obtaining a copy +#of this software and associated documentation files (the "Software"), to deal +#in the Software without restriction, including without limitation the rights +#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +#copies of the Software, and to permit persons to whom the Software is +#furnished to do so, subject to the following conditions: +# +#The above copyright notice and this permission notice shall be included in all +#copies or substantial portions of the Software. +# +#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +#SOFTWARE. + cmake_minimum_required(VERSION 3.5 FATAL_ERROR) set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO") diff --git a/dependencies/setup.sh b/dependencies/setup.sh index 327fd38..7b6b78d 100755 --- a/dependencies/setup.sh +++ b/dependencies/setup.sh @@ -1,3 +1,25 @@ +#MIT License +# +#Copyright (c) 2020 International Business Machines +# +#Permission is hereby granted, free of charge, to any person obtaining a copy +#of this software and associated documentation files (the "Software"), to deal +#in the Software without restriction, including without limitation the rights +#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +#copies of the Software, and to permit persons to whom the Software is +#furnished to do so, subject to the following conditions: +# +#The above copyright notice and this permission notice shall be included in all +#copies or substantial portions of the Software. +# +#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +#SOFTWARE. + #!/bin/sh set -x echo " — — — — — — — — — — Building Dependencies Script Started — — — — — — — — — — " diff --git a/fhe-toolkit-ios/AppDelegate.h b/fhe-toolkit-ios/AppDelegate.h index 5f1dd81..501d5a8 100644 --- a/fhe-toolkit-ios/AppDelegate.h +++ b/fhe-toolkit-ios/AppDelegate.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import diff --git a/fhe-toolkit-ios/AppDelegate.m b/fhe-toolkit-ios/AppDelegate.m index 0640ab2..f9f7344 100644 --- a/fhe-toolkit-ios/AppDelegate.m +++ b/fhe-toolkit-ios/AppDelegate.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import "AppDelegate.h" diff --git a/fhe-toolkit-ios/SampleCode/CapitalDetailViewController.h b/fhe-toolkit-ios/SampleCode/CapitalDetailViewController.h index 27504b0..2915082 100644 --- a/fhe-toolkit-ios/SampleCode/CapitalDetailViewController.h +++ b/fhe-toolkit-ios/SampleCode/CapitalDetailViewController.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import diff --git a/fhe-toolkit-ios/SampleCode/CapitalDetailViewController.mm b/fhe-toolkit-ios/SampleCode/CapitalDetailViewController.mm index c1a7f07..4d9a046 100644 --- a/fhe-toolkit-ios/SampleCode/CapitalDetailViewController.mm +++ b/fhe-toolkit-ios/SampleCode/CapitalDetailViewController.mm @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import "CapitalDetailViewController.h" diff --git a/fhe-toolkit-ios/SampleCode/CountryCapitalTableViewController.h b/fhe-toolkit-ios/SampleCode/CountryCapitalTableViewController.h index b3a07e5..a14964e 100644 --- a/fhe-toolkit-ios/SampleCode/CountryCapitalTableViewController.h +++ b/fhe-toolkit-ios/SampleCode/CountryCapitalTableViewController.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import diff --git a/fhe-toolkit-ios/SampleCode/CountryCapitalTableViewController.m b/fhe-toolkit-ios/SampleCode/CountryCapitalTableViewController.m index 7f02128..88231c8 100644 --- a/fhe-toolkit-ios/SampleCode/CountryCapitalTableViewController.m +++ b/fhe-toolkit-ios/SampleCode/CountryCapitalTableViewController.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import "CountryCapitalTableViewController.h" diff --git a/fhe-toolkit-ios/SampleCode/CountryData.h b/fhe-toolkit-ios/SampleCode/CountryData.h index c013651..63fdc43 100644 --- a/fhe-toolkit-ios/SampleCode/CountryData.h +++ b/fhe-toolkit-ios/SampleCode/CountryData.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import diff --git a/fhe-toolkit-ios/SampleCode/CountryData.m b/fhe-toolkit-ios/SampleCode/CountryData.m index 9b1a08a..84d0895 100644 --- a/fhe-toolkit-ios/SampleCode/CountryData.m +++ b/fhe-toolkit-ios/SampleCode/CountryData.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import "CountryData.h" diff --git a/fhe-toolkit-ios/SceneDelegate.h b/fhe-toolkit-ios/SceneDelegate.h index 23c7a3b..60f2b6d 100644 --- a/fhe-toolkit-ios/SceneDelegate.h +++ b/fhe-toolkit-ios/SceneDelegate.h @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import diff --git a/fhe-toolkit-ios/SceneDelegate.m b/fhe-toolkit-ios/SceneDelegate.m index 4ec1373..46b9f9f 100644 --- a/fhe-toolkit-ios/SceneDelegate.m +++ b/fhe-toolkit-ios/SceneDelegate.m @@ -1,14 +1,28 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ + #import "SceneDelegate.h" @interface SceneDelegate () diff --git a/fhe-toolkit-ios/main.m b/fhe-toolkit-ios/main.m index ebad25d..99f3451 100644 --- a/fhe-toolkit-ios/main.m +++ b/fhe-toolkit-ios/main.m @@ -1,12 +1,25 @@ /* -* IBM Confidential +* MIT License * +* Copyright (c) 2020 International Business Machines * -* Copyright IBM Corporation 2020. +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: * -* The source code for this program is not published or otherwise divested of -* its trade secrets, irrespective of what has been deposited with the US -* Copyright Office. +* The above copyright notice and this permission notice shall be included in all +* copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +* SOFTWARE. */ #import