Update to OpenJPEG-2.5.2 (Security Update)

This commit is contained in:
Douglas R. Reno 2024-03-02 15:21:28 -06:00
parent 5d3a53adf2
commit 47f4ae7505
3 changed files with 17 additions and 12 deletions

View File

@ -6,10 +6,10 @@
<!ENTITY openjpeg2-download-http "https://github.com/uclouvain/openjpeg/archive/v&openjpeg2-version;/openjpeg-&openjpeg2-version;.tar.gz">
<!ENTITY openjpeg2-download-ftp " ">
<!ENTITY openjpeg2-md5sum "5cbb822a1203dd75b85639da4f4ecaab">
<!ENTITY openjpeg2-md5sum "f9ee64845881a15109ed0aa73a12202f">
<!ENTITY openjpeg2-size "1.8 MB">
<!ENTITY openjpeg2-buildsize "13 MB">
<!ENTITY openjpeg2-time "0.2 SBU">
<!ENTITY openjpeg2-buildsize "13 MB (add 1.7GB for tests)">
<!ENTITY openjpeg2-time "0.2 SBU (add 0.8 SBU for tests)">
]>
<sect1 id="openjpeg2" xreflabel="OpenJPEG-&openjpeg2-version;">
@ -76,13 +76,13 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="git"/> (for tests),
<xref linkend="lcms2"/>,
<xref linkend="libpng"/>,
<xref linkend="libtiff"/>, and
<xref linkend="doxygen"/> (to build the API documentation)
</para>
</sect2>
<sect2 role="installation">
@ -101,16 +101,17 @@ cmake -DCMAKE_BUILD_TYPE=Release \
-DBUILD_STATIC_LIBS=OFF .. &amp;&amp;
make</userinput></screen>
<!-- Thread discussing the tests, fixing instructions,
but obtaining poor results:
http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-April/030035.html
There does not seem to be a test suite at all. 2022-05-15 (openjpeg-2.5.0)
-->
<para>
This package does not come with a test suite.
If you wish to run the tests, some additional files are required. Download
these files and run the tests using the following commands, but note that
8 tests are known to fail:
</para>
<screen><userinput remap="test">git clone https://github.com/uclouvain/openjpeg-data.git --depth 1 &amp;&amp;
OPJ_DATA_ROOT=$PWD/openjpeg-data cmake -DBUILD_TESTING=ON .. &amp;&amp;
make &amp;&amp;
make test</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>

View File

@ -41,6 +41,10 @@
<listitem>
<para>March 2nd, 2024</para>
<itemizedlist>
<listitem>
<para>[renodr] - Update to OpenJPEG-2.5.2 (Security Update). Fixes
<ulink url="&blfs-ticket-root;19370">#19370</ulink>.</para>
</listitem>
<listitem>
<para>[renodr] - Update to c-ares-1.27.0 (Security Update). Fixes
<ulink url="&blfs-ticket-root;19357">#19357</ulink>.</para>

View File

@ -230,7 +230,7 @@
<!ENTITY opencv-version "4.9.0">
<!ENTITY opencv-contrib-version "4.9.0">
<!ENTITY openjpeg2-majmin-version "2.5">
<!ENTITY openjpeg2-version "&openjpeg2-majmin-version;.0">
<!ENTITY openjpeg2-version "&openjpeg2-majmin-version;.2">
<!ENTITY pixman-version "0.43.2"> <!-- Even minors only -->
<!ENTITY poppler-version "24.02.0">
<!ENTITY potrace-version "1.16">