source: general/genlib/libssh2.xml@ bf565e06

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since bf565e06 was 48771ae, checked in by David Bryant <davidbryant@…>, 18 months ago

Unless it's a directory name, or something like that, "test suite"
should be spelled as two words.

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