Patch mupdf for a security fix.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24354 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2021-03-10 20:50:15 +00:00
parent 8ff277132f
commit 4f808b668f
2 changed files with 18 additions and 4 deletions

View File

@ -44,6 +44,10 @@
<listitem>
<para>March 10th, 2021</para>
<itemizedlist>
<listitem>
<para>[ken] - Add a patch to mupdf to fix a security issue. Fixes
<ulink url="&blfs-ticket-root;14749">#14749</ulink>.</para>
</listitem>
<listitem>
<para>[ken] - Add a caution about unpatched security vulnerabilities
in QtWebEngine and Falkon. Addresses

View File

@ -10,7 +10,7 @@ can be found there, no need to change directory -->
<!ENTITY mupdf-download-ftp " ">
<!ENTITY mupdf-md5sum "6f42be1365350f05270f8776517a3872">
<!ENTITY mupdf-size "69 MB">
<!ENTITY mupdf-buildsize "322 MB">
<!ENTITY mupdf-buildsize "320 MB">
<!ENTITY mupdf-time "0.2 SBU (Using parallelism=4)">
]>
@ -71,6 +71,16 @@ can be found there, no need to change directory -->
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch: <ulink
url="&patch-root;/mupdf-&mupdf-version;-security_fix-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">MuPDF Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
@ -118,7 +128,6 @@ can be found there, no need to change directory -->
s/$/ -lmupdf -L$(OUT)/
}' Makefile</userinput></screen>
<para>
Install <application>MuPDF</application> by running the following
commands:
@ -139,8 +148,9 @@ USE_SYSTEM_CURL := yes
USE_SYSTEM_GUMBO := no
EOF
export XCFLAGS=-fPIC &amp;&amp;
make build=release shared=yes &amp;&amp;
export XCFLAGS=-fPIC &amp;&amp;
patch -Np1 -i ../mupdf-&mupdf-version;-security_fix-1.patch &amp;&amp;
make build=release shared=yes &amp;&amp;
unset XCFLAGS</userinput></screen>
<para>