[539d7c54] | 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 " ">
|
---|
[fef4473] | 9 | <!ENTITY libssh2-md5sum "f604ba083fad23bf715a9ecccc9f57f4">
|
---|
| 10 | <!ENTITY libssh2-size "944 KB">
|
---|
[80720f4a] | 11 | <!ENTITY libssh2-buildsize "13 MB (with tests)">
|
---|
[73353e7f] | 12 | <!ENTITY libssh2-time "0.2 SBU (with tests)">
|
---|
[539d7c54] | 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 |
|
---|
[3f4dc82] | 36 | &lfs111_checked;
|
---|
[539d7c54] | 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 |
|
---|
[fef4473] | 72 | <!-- Applied in 1.10.0
|
---|
[1fa9c74] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[41f721e] | 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Required patch:
|
---|
| 78 | <ulink url="&patch-root;/libssh2-&libssh2-version;-security_fixes-1.patch"/>
|
---|
| 79 | </para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
[fef4473] | 82 | -->
|
---|
[41f721e] | 83 |
|
---|
[539d7c54] | 84 | <bridgehead renderas="sect3">libssh2 Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 87 | <para role="optional">
|
---|
[a4b38ab] | 88 | <xref linkend="gnupg2"/>,
|
---|
| 89 | <xref linkend="libgcrypt"/>, and
|
---|
[fef4473] | 90 | <xref linkend="openssh"/> (all three are required for the testsuite)
|
---|
[539d7c54] | 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <para condition="html" role="usernotes">
|
---|
| 94 | User Notes: <ulink url="&blfs-wiki;/libssh2"/>
|
---|
| 95 | </para>
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2 role="installation">
|
---|
| 99 | <title>Installation of libssh2</title>
|
---|
| 100 |
|
---|
| 101 | <para>
|
---|
| 102 | Install <application>libssh2</application> by running the following
|
---|
| 103 | commands:
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
[fef4473] | 106 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[539d7c54] | 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | To test the results, issue: <command>make check</command>.
|
---|
[fd921238] | 111 | <!-- https://github.com/libssh2/libssh2/issues/630 -->
|
---|
| 112 | One test named <filename>ssh2.sh</filename> is known to fail with
|
---|
| 113 | recent OpenSSH releases.
|
---|
[539d7c54] | 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
| 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 127 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Programs</segtitle>
|
---|
| 136 | <segtitle>Installed Library</segtitle>
|
---|
| 137 | <segtitle>Installed Directories</segtitle>
|
---|
| 138 |
|
---|
| 139 | <seglistitem>
|
---|
| 140 | <seg>
|
---|
| 141 | None
|
---|
| 142 | </seg>
|
---|
| 143 | <seg>
|
---|
| 144 | libssh2.so
|
---|
| 145 | </seg>
|
---|
| 146 | <seg>
|
---|
| 147 | None
|
---|
| 148 | </seg>
|
---|
| 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="libssh2-lib">
|
---|
| 158 | <term><filename class="libraryfile">libssh2.so</filename></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>
|
---|
[4c24eb0a] | 161 | contains functions to use the SSH2 protocol
|
---|
[539d7c54] | 162 | </para>
|
---|
| 163 | <indexterm zone="libssh2 libssh2-lib">
|
---|
| 164 | <primary sortas="c-libssh2">libssh2.so</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 | </variablelist>
|
---|
| 169 | </sect2>
|
---|
[4c24eb0a] | 170 |
|
---|
[539d7c54] | 171 | </sect1>
|
---|