From 2f371b005b08473a8c0bb2297ee5df91d6ce979fd6b82070574db0e332c155bb Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Mon, 10 May 2021 18:12:44 +0000 Subject: [PATCH] Accepting request 891808 from home:DocB:Orthanc updates for orthanc and plugins OBS-URL: https://build.opensuse.org/request/show/891808 OBS-URL: https://build.opensuse.org/package/show/graphics/orthanc?expand=0&rev=33 --- Orthanc-1.9.1.tar.gz | 3 --- Orthanc-1.9.3.tar.gz | 3 +++ orthanc.changes | 35 ++++++++++++++++++++++++++ orthanc.spec | 58 ++++++++++++++++++++++---------------------- 4 files changed, 67 insertions(+), 32 deletions(-) delete mode 100644 Orthanc-1.9.1.tar.gz create mode 100644 Orthanc-1.9.3.tar.gz diff --git a/Orthanc-1.9.1.tar.gz b/Orthanc-1.9.1.tar.gz deleted file mode 100644 index 59c49da..0000000 --- a/Orthanc-1.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:943008ad26cee36db09276d1b54879b536542531411612de5c2320ba18025262 -size 1786754 diff --git a/Orthanc-1.9.3.tar.gz b/Orthanc-1.9.3.tar.gz new file mode 100644 index 0000000..29292fd --- /dev/null +++ b/Orthanc-1.9.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41cc35a3d15ecb0d7b834e8e28a740cc4ffa1f333c019a764228d60e96608960 +size 1818313 diff --git a/orthanc.changes b/orthanc.changes index 53842ca..864b614 100644 --- a/orthanc.changes +++ b/orthanc.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Sun May 9 09:54:25 UTC 2021 - Axel Braun + +- Version 1.9.3 +* New configuration option: "DicomTlsRemoteCertificateRequired" to allow secure DICOM TLS + connections without certificate +* "ETag" headers for metadata and attachments now allow strong comparison (MD5 is included) +* New CMake option: "ORTHANC_LUA_VERSION" to use a specific version of system-wide Lua +* Fix the lifetime of temporary files associated with jobs that create ZIP archive/media: + - In synchronous mode, their number could grow up to "JobsHistorySize" in Orthanc <= 1.9.2 + - In asynchronous mode, the temporary files are removed as soon as their job gets canceled +* Fix regression in the handling of "DicomCheckModalityHost" configuration option + introduced by changeset 4182 in Orthanc 1.7.4 +* Reduced memory consumption of "OrthancPluginHttpClient()", "OrthancPluginHttpClient2()" and + "OrthancPluginCallPeerApi()" on POST/PUT if chunked transfer is disabled +* Fix issue #195 (No need for BulkDataURI when Data Element is empty) + +- from version 1.9.2: +* New configuration options related to multiple readers/writers: + - "DatabaseServerIdentifier" identifies the server in the DB among a pool of Orthanc servers + - "CheckRevisions" to protect against concurrent modifications of metadata and attachments +* API version upgraded to 12 +* "/system" reports the value of the "CheckRevisions" global option +* "/.../{id}/metadata/{name}" and "/.../{id}/attachments/{name}/..." URIs handle the + HTTP headers "If-Match", "If-None-Match" and "ETag" to cope with revisions +* New function in the SDK: OrthancPluginCallRestApi() +* Full refactoring of the database plugin SDK to handle multiple readers/writers, + which notably implies the handling of retries in the case of collisions +* Use the local timezone for query/retrieve in the Orthanc Explorer interface (was UTC before) +* Fix "OrthancServer/Resources/Samples/Python/Replicate.py" for Python 3.x +* Fix issue #83 (ServerIndex shall implement retries for DB temporary errors) +* Upgraded dependencies for static builds (notably on Windows and LSB): + - civetweb 1.14 + - openssl 1.1.1k + ------------------------------------------------------------------- Thu Feb 25 20:31:58 UTC 2021 - Axel Braun diff --git a/orthanc.spec b/orthanc.spec index 2f81b91..c900a38 100644 --- a/orthanc.spec +++ b/orthanc.spec @@ -18,7 +18,7 @@ Name: orthanc -Version: 1.9.1 +Version: 1.9.3 Release: 0 Summary: RESTful DICOM server for healthcare and medical research License: GPL-3.0-or-later @@ -34,7 +34,7 @@ Source7: orthanc-rpmlintrc Source8: Configuration.json # Sources for plugin - need a defined version, so taking them from orthanc-server Source10: http://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/bootstrap-4.3.1.zip -Source11: http://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/axios-0.19.0.tar.gz +Source11: http://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/axios-0.19.0.tar.gz Source12: http://orthanc.osimis.io/ThirdPartyDownloads/jquery-3.4.1.min.js Source13: http://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/vuejs-2.6.10.tar.gz @@ -75,43 +75,43 @@ BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(lua5.1) Requires: dcmtk -Requires(pre): /usr/sbin/groupadd -Requires(pre): /usr/sbin/useradd +Requires(pre): /usr/sbin/groupadd +Requires(pre): /usr/sbin/useradd %{?systemd_ordering} %description -Orthanc aims at providing a simple, yet powerful standalone DICOM server. -Orthanc can turn any computer running Windows or Linux into a DICOM store -(in other words, a mini-PACS system). Its architecture is lightweight, -meaning that no complex database administration is required, nor the -installation of third-party dependencies. What makes Orthanc unique -is the fact that it provides a RESTful API. Thanks to this major -feature, it is possible to drive Orthanc from any computer language. +Orthanc aims at providing a simple, yet powerful standalone DICOM server. +Orthanc can turn any computer running Windows or Linux into a DICOM store +(in other words, a mini-PACS system). Its architecture is lightweight, +meaning that no complex database administration is required, nor the +installation of third-party dependencies. What makes Orthanc unique +is the fact that it provides a RESTful API. Thanks to this major +feature, it is possible to drive Orthanc from any computer language. -The DICOM tags of the stored medical images can be downloaded in the -JSON file format. Furthermore, standard PNG images can be generated -on-the-fly from the DICOM instances by Orthanc. Orthanc lets its -users focus on the content of the DICOM files, hiding the complexity -of the DICOM format and of the DICOM protocol. +The DICOM tags of the stored medical images can be downloaded in the +JSON file format. Furthermore, standard PNG images can be generated +on-the-fly from the DICOM instances by Orthanc. Orthanc lets its +users focus on the content of the DICOM files, hiding the complexity +of the DICOM format and of the DICOM protocol. %package -n %{name}-devel Summary: Header and source files for creating Orthanc plugins Group: Development/Libraries/C and C++ -Provides: orthanc-static = %{version}-%{release} +Provides: orthanc-static = %{version}-%{release} %description -n %{name}-devel This package includes the header files to develop C/C++ plugins for Orthanc. - + %package -n %{name}-doc Summary: Documentation files for Orthanc Group: Productivity/Graphics/Visualization/Other BuildArch: noarch %description -n %{name}-doc -This package includes the documentation and the sample codes available -for Orthanc. -It also includes the Python and LUA Scripts, and the documentation to develop +This package includes the documentation and the sample codes available +for Orthanc. +It also includes the Python and LUA Scripts, and the documentation to develop C/C++ plugins for Orthanc. %package source @@ -124,7 +124,7 @@ This package includes the source files for Orthanc. Use it in conjunction with t %prep %setup -q -n Orthanc-%{version} -cp %{S:1} %{S:2} . +cp %{S:1} %{S:2} . #slight change in standard configuration for OrthancStorage cp %{S:8} OrthancServer/Resources/. @@ -153,7 +153,7 @@ help2man ./Orthanc -N -n "Lightweight, RESTful DICOM server for healthcare and m %check # we disable one test for i586 %ifarch != ix86 -build/UnitTests +build/UnitTests %else build/UnitTests --gtest_filter=-ImageProcessing.Convolution --gtest_filter=-Version.CivetwebCompression %endif @@ -180,7 +180,7 @@ rm %{buildroot}/usr/src/%{name}/.travis* %cmake_install -##move the doc into +##move the doc into cp -r %{buildroot}/usr/share/doc/%{name}/* %{buildroot}%{_docdir}/%{name}/. rm -rf %{buildroot}/usr/share/doc/%{name} @@ -203,7 +203,7 @@ mkdir -p %{buildroot}%{_libdir}/%{name} mv build/*.so.%{version} %{buildroot}%{_libdir}/%{name} rm build/*.so -# move the executables to stay consistent +# move the executables to stay consistent mv %{buildroot}%{_bindir}/OrthancRecoverCompressedFile %{buildroot}%{_bindir}/orthancRecoverCompressedFile mv %{buildroot}%{_sbindir}/Orthanc %{buildroot}%{_sbindir}/orthanc @@ -224,7 +224,7 @@ cp -r %{S:5} %{buildroot}%{_docdir}/%{name}/ cp -r OrthancServer/Resources/Samples/ %{buildroot}%{_docdir}/%{name}/Samples cp -r OrthancServer/Plugins/Samples/ %{buildroot}%{_docdir}/%{name}/OrthancPluginSamples -%pre +%pre getent group orthanc >/dev/null || groupadd -r orthanc getent passwd orthanc >/dev/null || \ useradd -r -g orthanc -G orthanc -d %{_sharedstatedir}/orthanc -s /sbin/nologin \ @@ -232,14 +232,14 @@ getent passwd orthanc >/dev/null || \ %service_add_pre orthanc.service -%preun +%preun %service_del_preun orthanc.service -%post +%post /sbin/ldconfig %service_add_post orthanc.service -%postun +%postun /sbin/ldconfig %service_del_postun orthanc.service