source: general/genlib/libssh2.xml@ 2cb4b95

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/soup3 xry111/xf86-video-removal
Last change on this file since 2cb4b95 was 2cb4b95, checked in by Xi Ruoyao <xry111@…>, 20 months ago

libssh2: add upstream fix patch for OpenSSH compatibility

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