# HG changeset patch # User Sebastien Jodogne # Date 1624340855 -7200 # Node ID f2e160b2dc3e2673e3dc9b57731d8f23d10bb30c # Parent 64bf8914f02e7ea376c36e9ba00b64e824412bcd use openssl-3.x branch while syncing diff -r 64bf8914f02e -r f2e160b2dc3e Resources/Orthanc/Databases/DatabaseConstraint.cpp --- a/Resources/Orthanc/Databases/DatabaseConstraint.cpp Sat Jun 12 08:49:52 2021 +0200 +++ b/Resources/Orthanc/Databases/DatabaseConstraint.cpp Tue Jun 22 07:47:35 2021 +0200 @@ -8,18 +8,6 @@ * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * - * In addition, as a special exception, the copyright holders of this - * program give permission to link the code of its release with the - * OpenSSL project's "OpenSSL" library (or with modified versions of it - * that use the same license as the "OpenSSL" library), and distribute - * the linked executables. You must obey the GNU General Public License - * in all respects for all of the code used other than "OpenSSL". If you - * modify file(s) with this exception, you may extend this exception to - * your version of the file(s), but you are not obligated to do so. If - * you do not wish to do so, delete this exception statement from your - * version. If you delete this exception statement from all source files - * in the program, then also delete it here. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of diff -r 64bf8914f02e -r f2e160b2dc3e Resources/Orthanc/Databases/DatabaseConstraint.h --- a/Resources/Orthanc/Databases/DatabaseConstraint.h Sat Jun 12 08:49:52 2021 +0200 +++ b/Resources/Orthanc/Databases/DatabaseConstraint.h Tue Jun 22 07:47:35 2021 +0200 @@ -8,18 +8,6 @@ * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * - * In addition, as a special exception, the copyright holders of this - * program give permission to link the code of its release with the - * OpenSSL project's "OpenSSL" library (or with modified versions of it - * that use the same license as the "OpenSSL" library), and distribute - * the linked executables. You must obey the GNU General Public License - * in all respects for all of the code used other than "OpenSSL". If you - * modify file(s) with this exception, you may extend this exception to - * your version of the file(s), but you are not obligated to do so. If - * you do not wish to do so, delete this exception statement from your - * version. If you delete this exception statement from all source files - * in the program, then also delete it here. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of diff -r 64bf8914f02e -r f2e160b2dc3e Resources/Orthanc/Databases/ISqlLookupFormatter.cpp --- a/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp Sat Jun 12 08:49:52 2021 +0200 +++ b/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp Tue Jun 22 07:47:35 2021 +0200 @@ -8,18 +8,6 @@ * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * - * In addition, as a special exception, the copyright holders of this - * program give permission to link the code of its release with the - * OpenSSL project's "OpenSSL" library (or with modified versions of it - * that use the same license as the "OpenSSL" library), and distribute - * the linked executables. You must obey the GNU General Public License - * in all respects for all of the code used other than "OpenSSL". If you - * modify file(s) with this exception, you may extend this exception to - * your version of the file(s), but you are not obligated to do so. If - * you do not wish to do so, delete this exception statement from your - * version. If you delete this exception statement from all source files - * in the program, then also delete it here. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of diff -r 64bf8914f02e -r f2e160b2dc3e Resources/Orthanc/Databases/ISqlLookupFormatter.h --- a/Resources/Orthanc/Databases/ISqlLookupFormatter.h Sat Jun 12 08:49:52 2021 +0200 +++ b/Resources/Orthanc/Databases/ISqlLookupFormatter.h Tue Jun 22 07:47:35 2021 +0200 @@ -8,18 +8,6 @@ * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * - * In addition, as a special exception, the copyright holders of this - * program give permission to link the code of its release with the - * OpenSSL project's "OpenSSL" library (or with modified versions of it - * that use the same license as the "OpenSSL" library), and distribute - * the linked executables. You must obey the GNU General Public License - * in all respects for all of the code used other than "OpenSSL". If you - * modify file(s) with this exception, you may extend this exception to - * your version of the file(s), but you are not obligated to do so. If - * you do not wish to do so, delete this exception statement from your - * version. If you delete this exception statement from all source files - * in the program, then also delete it here. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of diff -r 64bf8914f02e -r f2e160b2dc3e Resources/SyncOrthancFolder.py --- a/Resources/SyncOrthancFolder.py Sat Jun 12 08:49:52 2021 +0200 +++ b/Resources/SyncOrthancFolder.py Tue Jun 22 07:47:35 2021 +0200 @@ -16,26 +16,28 @@ REPOSITORY = 'https://hg.orthanc-server.com/orthanc/raw-file' FILES = [ - ('OrthancFramework/Resources/CMake/AutoGeneratedCode.cmake', 'CMake'), - ('OrthancFramework/Resources/CMake/Compiler.cmake', 'CMake'), - ('OrthancFramework/Resources/CMake/DownloadOrthancFramework.cmake', 'CMake'), - ('OrthancFramework/Resources/CMake/DownloadPackage.cmake', 'CMake'), - ('OrthancFramework/Resources/CMake/GoogleTestConfiguration.cmake', 'CMake'), - ('OrthancFramework/Resources/EmbedResources.py', '.'), - ('OrthancFramework/Resources/Toolchains/LinuxStandardBaseToolchain.cmake', '.'), - ('OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain32.cmake', '.'), - ('OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain64.cmake', '.'), - ('OrthancFramework/Resources/Toolchains/MinGWToolchain.cmake', '.'), - ('OrthancServer/Plugins/Samples/Common/ExportedSymbolsPlugins.list', 'Plugins'), - ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp', 'Plugins'), - ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h', 'Plugins'), - ('OrthancServer/Plugins/Samples/Common/OrthancPluginException.h', 'Plugins'), - ('OrthancServer/Plugins/Samples/Common/OrthancPluginsExports.cmake', 'Plugins'), - ('OrthancServer/Plugins/Samples/Common/VersionScriptPlugins.map', 'Plugins'), - ('OrthancServer/Sources/Search/DatabaseConstraint.cpp', 'Databases'), - ('OrthancServer/Sources/Search/DatabaseConstraint.h', 'Databases'), - ('OrthancServer/Sources/Search/ISqlLookupFormatter.cpp', 'Databases'), - ('OrthancServer/Sources/Search/ISqlLookupFormatter.h', 'Databases'), + ('default', 'OrthancFramework/Resources/CMake/AutoGeneratedCode.cmake', 'CMake'), + ('default', 'OrthancFramework/Resources/CMake/Compiler.cmake', 'CMake'), + ('default', 'OrthancFramework/Resources/CMake/DownloadOrthancFramework.cmake', 'CMake'), + ('default', 'OrthancFramework/Resources/CMake/DownloadPackage.cmake', 'CMake'), + ('default', 'OrthancFramework/Resources/CMake/GoogleTestConfiguration.cmake', 'CMake'), + ('default', 'OrthancFramework/Resources/EmbedResources.py', '.'), + ('default', 'OrthancFramework/Resources/Toolchains/LinuxStandardBaseToolchain.cmake', '.'), + ('default', 'OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain32.cmake', '.'), + ('default', 'OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain64.cmake', '.'), + ('default', 'OrthancFramework/Resources/Toolchains/MinGWToolchain.cmake', '.'), + + # TODO - Replace branch "openssl-3.x" by "default" once it is reintegrated into mainline + ('openssl-3.x', 'OrthancServer/Plugins/Samples/Common/ExportedSymbolsPlugins.list', 'Plugins'), + ('openssl-3.x', 'OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp', 'Plugins'), + ('openssl-3.x', 'OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h', 'Plugins'), + ('openssl-3.x', 'OrthancServer/Plugins/Samples/Common/OrthancPluginException.h', 'Plugins'), + ('openssl-3.x', 'OrthancServer/Plugins/Samples/Common/OrthancPluginsExports.cmake', 'Plugins'), + ('openssl-3.x', 'OrthancServer/Plugins/Samples/Common/VersionScriptPlugins.map', 'Plugins'), + ('openssl-3.x', 'OrthancServer/Sources/Search/DatabaseConstraint.cpp', 'Databases'), + ('openssl-3.x', 'OrthancServer/Sources/Search/DatabaseConstraint.h', 'Databases'), + ('openssl-3.x', 'OrthancServer/Sources/Search/ISqlLookupFormatter.cpp', 'Databases'), + ('openssl-3.x', 'OrthancServer/Sources/Search/ISqlLookupFormatter.h', 'Databases'), ] SDK = [ @@ -67,9 +69,9 @@ commands = [] for f in FILES: - commands.append([ 'default', - f[0], - os.path.join(f[1], os.path.basename(f[0])) ]) + commands.append([ f[0], # Branch + f[1], # Source file + os.path.join(f[2], os.path.basename(f[1])) ]) for version in PLUGIN_SDK_VERSION_OLD: for f in SDK: