source: general/graphlib/libexif.xml@ 5afb9db4

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 5afb9db4 was 5afb9db4, checked in by Douglas R. Reno <renodr@…>, 21 months ago

Add libexif security patch (fixes CVE-2019-9278). Thanks goes to Chris Gorman for the report.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22652 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libexif-download-http "&sourceforge-dl;/libexif/libexif-&libexif-version;.tar.bz2">
8 <!ENTITY libexif-download-ftp " ">
9 <!ENTITY libexif-md5sum "27339b89850f28c8f1c237f233e05b27">
10 <!ENTITY libexif-size "1.4 MB">
11 <!ENTITY libexif-buildsize "17 MB">
12 <!ENTITY libexif-time "0.2 SBU">
13]>
14
15<sect1 id="libexif" xreflabel="libexif-&libexif-version;">
16 <?dbhtml filename="libexif.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libexif-&libexif-version;</title>
24
25 <indexterm zone="libexif">
26 <primary sortas="a-libexif">libexif</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libexif</title>
31
32 <para>
33 The <application>libexif</application> package contains a library for
34 parsing, editing, and saving EXIF data. Most digital cameras produce
35 EXIF files, which are JPEG files with extra tags that contain information
36 about the image. All EXIF tags described in EXIF standard 2.1 are
37 supported.
38 </para>
39
40 &lfs90_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&libexif-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&libexif-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &libexif-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &libexif-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &libexif-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &libexif-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch:
81 <ulink url="&patch-root;/libexif-&libexif-version;-security_fix-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">libexif Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Optional (to Build Documentation)</bridgehead>
89 <para role="optional">
90 <xref linkend="doxygen"/> and
91 <xref linkend="graphviz"/>
92 </para>
93
94 <para condition="html" role="usernotes">User Notes:
95 <ulink url="&blfs-wiki;/libexif"/>
96 </para>
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of libexif</title>
101
102 <para>
103 First, apply a patch to fix a security issue (integer overflow):
104 </para>
105
106<screen><userinput remap="pre">patch -Np1 -i ../libexif-&libexif-version;-security_fix-1.patch</userinput></screen>
107
108 <para>
109 Install <application>libexif</application> by running the following
110 commands:
111 </para>
112
113<screen><userinput>./configure --prefix=/usr \
114 --disable-static \
115 --with-doc-dir=/usr/share/doc/libexif-&libexif-version; &amp;&amp;
116make</userinput></screen>
117
118 <para>
119 To test the results, issue: <command>make check</command>.
120 </para>
121
122 <para>
123 Now, as the <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>make install</userinput></screen>
127
128 <para>
129 Documentation was built and installed if you have the dependencies
130 shown above installed. If you don't have the dependencies installed,
131 there is a compressed tarball in the source tree
132 <filename class="directory">doc</filename> directory that can be
133 unpacked into /usr/share/doc/libexif-&libexif-version;.
134 </para>
135
136 </sect2>
137
138 <sect2 role="commands">
139 <title>Command Explanations</title>
140
141 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
142 href="../../xincludes/static-libraries.xml"/>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Library</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>
156 None
157 </seg>
158 <seg>
159 libexif.so
160 </seg>
161 <seg>
162 /usr/include/libexif and
163 /usr/share/doc/libexif-&libexif-version;
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="libexif-lib">
174 <term><filename class='libraryfile'>libexif.so</filename></term>
175 <listitem>
176 <para>
177 contains functions used for parsing, editing, and saving
178 EXIF data.
179 </para>
180 <indexterm zone="libexif libexif-lib">
181 <primary sortas="c-libexif">libexif.so</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect2>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.