source: general/genlib/libssh2.xml@ 9d31900

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9d31900 was 41f721e, checked in by Ken Moffat <ken@…>, 3 years ago

Security fixes for flac and libssh2.
Also note the unfixed vulnerability in xdg-utils mailto
(thanks to Arch for noticing this).

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

  • Property mode set to 100644
File size: 4.5 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 libssh2-download-http "https://www.libssh2.org/download/libssh2-&libssh2-version;.tar.gz">
8 <!ENTITY libssh2-download-ftp " ">
9 <!ENTITY libssh2-md5sum "1beefafe8963982adc84b408b2959927">
10 <!ENTITY libssh2-size "868 KB">
11 <!ENTITY libssh2-buildsize "13 MB (with tests)">
12 <!ENTITY libssh2-time "0.2 SBU (with tests)">
13]>
14
15<sect1 id="libssh2" xreflabel="libssh2-&libssh2-version;">
16 <?dbhtml filename="libssh2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libssh2-&libssh2-version;</title>
24
25 <indexterm zone="libssh2">
26 <primary sortas="a-libssh2">libssh2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libssh2</title>
31
32 <para>
33 <application>Libssh2</application> package is a client-side C library
34 implementing the SSH2 protocol.
35 </para>
36
37 &lfs101_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libssh2-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libssh2-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libssh2-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libssh2-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libssh2-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libssh2-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <itemizedlist spacing="compact">
74 <listitem>
75 <para>
76 Required patch:
77 <ulink url="&patch-root;/libssh2-&libssh2-version;-security_fixes-1.patch"/>
78 </para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">libssh2 Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Optional</bridgehead>
85 <para role="optional">
86 <xref linkend="gnupg2"/>,
87 <xref linkend="libgcrypt"/>, and
88 <xref linkend="openssh"/> (all three required for the testsuite)
89 </para>
90
91 <para condition="html" role="usernotes">
92 User Notes: <ulink url="&blfs-wiki;/libssh2"/>
93 </para>
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of libssh2</title>
98
99 <para>
100 Install <application>libssh2</application> by running the following
101 commands:
102 </para>
103
104<screen><userinput>patch -Np1 -i ../libssh2-&libssh2-version;-security_fixes-1.patch &amp;&amp;
105./configure --prefix=/usr --disable-static &amp;&amp;
106make</userinput></screen>
107
108 <para>
109 To test the results, issue: <command>make check</command>.
110 One test, using gnupg, may fail for unknown reasons.
111 </para>
112
113 <para>
114 Now, as the <systemitem class="username">root</systemitem> user:
115 </para>
116
117<screen role="root"><userinput>make install</userinput></screen>
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
124 href="../../xincludes/static-libraries.xml"/>
125
126 </sect2>
127
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Programs</segtitle>
133 <segtitle>Installed Library</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
136 <seglistitem>
137 <seg>
138 None
139 </seg>
140 <seg>
141 libssh2.so
142 </seg>
143 <seg>
144 None
145 </seg>
146 </seglistitem>
147 </segmentedlist>
148
149 <variablelist>
150 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
151 <?dbfo list-presentation="list"?>
152 <?dbhtml list-presentation="table"?>
153
154 <varlistentry id="libssh2-lib">
155 <term><filename class="libraryfile">libssh2.so</filename></term>
156 <listitem>
157 <para>
158 contains functions to use the SSH2 protocol
159 </para>
160 <indexterm zone="libssh2 libssh2-lib">
161 <primary sortas="c-libssh2">libssh2.so</primary>
162 </indexterm>
163 </listitem>
164 </varlistentry>
165 </variablelist>
166 </sect2>
167
168</sect1>
Note: See TracBrowser for help on using the repository browser.