From 1e91229cb6403e3a9b02dfdc11c71b04c0518cff Mon Sep 17 00:00:00 2001 From: Ian Craggs Date: Mon, 6 Apr 2020 13:27:50 +0100 Subject: [PATCH] Update license from EPL v1 to v2 --- CMakeLists.txt | 4 +- LICENSE | 8 +- Makefile | 4 +- about.html | 6 +- build.xml | 14 +- conanfile.py | 2 +- doc/CMakeLists.txt | 4 +- epl-v10 | 70 ------- epl-v20 | 277 +++++++++++++++++++++++++ notice.html | 6 +- src/Base64.c | 4 +- src/Base64.h | 4 +- src/CMakeLists.txt | 4 +- src/Clients.c | 4 +- src/Clients.h | 4 +- src/ExportDeclarations.h | 72 +++---- src/Heap.c | 4 +- src/Heap.h | 4 +- src/LinkedList.c | 4 +- src/LinkedList.h | 4 +- src/Log.c | 4 +- src/Log.h | 4 +- src/MQTTAsync.c | 4 +- src/MQTTAsync.h | 4 +- src/MQTTClient.c | 4 +- src/MQTTClient.h | 4 +- src/MQTTClientPersistence.h | 4 +- src/MQTTPacket.c | 4 +- src/MQTTPacket.h | 4 +- src/MQTTPacketOut.c | 4 +- src/MQTTPacketOut.h | 4 +- src/MQTTPersistence.c | 4 +- src/MQTTPersistence.h | 4 +- src/MQTTPersistenceDefault.c | 6 +- src/MQTTPersistenceDefault.h | 4 +- src/MQTTProperties.c | 4 +- src/MQTTProperties.h | 4 +- src/MQTTProtocol.h | 4 +- src/MQTTProtocolClient.c | 4 +- src/MQTTProtocolClient.h | 4 +- src/MQTTProtocolOut.c | 4 +- src/MQTTProtocolOut.h | 4 +- src/MQTTReasonCodes.c | 4 +- src/MQTTReasonCodes.h | 4 +- src/MQTTSubscribeOpts.h | 4 +- src/MQTTTime.c | 4 +- src/MQTTTime.h | 4 +- src/MQTTVersion.c | 4 +- src/Messages.c | 4 +- src/Messages.h | 4 +- src/OsWrapper.c | 4 +- src/OsWrapper.h | 4 +- src/SHA1.c | 4 +- src/SHA1.h | 4 +- src/SSLSocket.c | 4 +- src/SSLSocket.h | 4 +- src/Socket.c | 4 +- src/Socket.h | 4 +- src/SocketBuffer.c | 4 +- src/SocketBuffer.h | 4 +- src/StackTrace.c | 4 +- src/StackTrace.h | 4 +- src/Thread.c | 4 +- src/Thread.h | 4 +- src/Tree.c | 4 +- src/Tree.h | 4 +- src/WebSocket.c | 4 +- src/WebSocket.h | 4 +- src/mutex_type.h | 4 +- src/samples/CMakeLists.txt | 4 +- src/samples/MQTTAsync_publish.c | 4 +- src/samples/MQTTAsync_subscribe.c | 4 +- src/samples/MQTTClient_publish.c | 4 +- src/samples/MQTTClient_publish_async.c | 4 +- src/samples/MQTTClient_subscribe.c | 4 +- src/samples/paho_c_pub.c | 4 +- src/samples/paho_c_sub.c | 4 +- src/samples/paho_cs_pub.c | 4 +- src/samples/paho_cs_sub.c | 4 +- src/samples/pubsub_opts.c | 4 +- src/samples/pubsub_opts.h | 4 +- src/utf-8.c | 4 +- src/utf-8.h | 4 +- test/MQTTV311.py | 4 +- test/MQTTV3112.py | 4 +- test/MQTTV5.py | 4 +- test/mqttsas.py | 4 +- test/sync_client_test.c | 4 +- test/test1.c | 4 +- test/test10.c | 4 +- test/test11.c | 4 +- test/test15.c | 4 +- test/test2.c | 4 +- test/test3.c | 4 +- test/test4.c | 4 +- test/test45.c | 4 +- test/test5.c | 4 +- test/test6.c | 4 +- test/test8.c | 4 +- test/test9.c | 4 +- test/test95.c | 4 +- test/test_connect_destroy.c | 4 +- test/test_issue373.c | 4 +- test/test_mqtt4async.c | 4 +- test/test_mqtt4sync.c | 4 +- test/test_sync_session_present.c | 4 +- test/thread.c | 4 +- test/tls-testing/mosquitto.conf | 1 + 108 files changed, 531 insertions(+), 323 deletions(-) mode change 100755 => 100644 Makefile delete mode 100644 epl-v10 create mode 100644 epl-v20 mode change 100755 => 100644 test/mqttsas.py diff --git a/CMakeLists.txt b/CMakeLists.txt index 8bad72084..204f7bf75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,11 +2,11 @@ # Copyright (c) 2015, 2020 logi.cals GmbH and others # # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # and Eclipse Distribution License v1.0 which accompany this distribution. # # The Eclipse Public License is available at -# http://www.eclipse.org/legal/epl-v10.html +# https://www.eclipse.org/legal/epl-2.0/ # and the Eclipse Distribution License is available at # http://www.eclipse.org/org/documents/edl-v10.php. # diff --git a/LICENSE b/LICENSE index 3e0901fe6..d1a81ad84 100644 --- a/LICENSE +++ b/LICENSE @@ -1,11 +1,11 @@ -Eclipse Public License - v 1.0 +Eclipse Public License - v 2.0 This program and the accompanying materials -are made available under the terms of the Eclipse Public License v1.0 -and Eclipse Distribution License v1.0 which accompany this distribution. +are made available under the terms of the Eclipse Public License v2.0 +and Eclipse Distribution License v2.0 which accompany this distribution. The Eclipse Public License is available at - http://www.eclipse.org/legal/epl-v10.html + https://www.eclipse.org/legal/epl-2.0/ and the Eclipse Distribution License is available at http://www.eclipse.org/org/documents/edl-v10.php. diff --git a/Makefile b/Makefile old mode 100755 new mode 100644 index bc54e9f67..ce1a81d00 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ # Copyright (c) 2009, 2019 IBM Corp. # # All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 +# are made available under the terms of the Eclipse Public License v2.0 # and Eclipse Distribution License v1.0 which accompany this distribution. # # The Eclipse Public License is available at -# http://www.eclipse.org/legal/epl-v10.html +# https://www.eclipse.org/legal/epl-2.0/ # and the Eclipse Distribution License is available at # http://www.eclipse.org/org/documents/edl-v10.php. # diff --git a/about.html b/about.html index 6555a44e5..87c978319 100644 --- a/about.html +++ b/about.html @@ -6,14 +6,14 @@

About This Content

-

December 9, 2013

+

April 6, 2020

License

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL") and Eclipse Distribution License Version 1.0 ("EDL"). +Eclipse Public License Version 2.0 ("EPL") and Eclipse Distribution License Version 1.0 ("EDL"). A copy of the EPL is available at -http://www.eclipse.org/legal/epl-v10.html +https://www.eclipse.org/legal/epl-2.0/ and a copy of the EDL is available at http://www.eclipse.org/org/documents/edl-v10.php. For purposes of the EPL, "Program" will mean the Content.

diff --git a/build.xml b/build.xml index e648965ed..5407c18d1 100644 --- a/build.xml +++ b/build.xml @@ -1,12 +1,12 @@