[d47e7ea9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[d47e7ea9] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[7f41e30d] | 7 | <!ENTITY ncftp-download-http " ">
|
---|
[e37f388] | 8 | <!ENTITY ncftp-download-ftp "ftp://ftp.ncftp.com/ncftp/ncftp-&ncftp-version;-src.tar.xz">
|
---|
[c83610a1] | 9 | <!ENTITY ncftp-md5sum "42d0f896d69a4d603ec097546444245f">
|
---|
[e37f388] | 10 | <!ENTITY ncftp-size "412 KB">
|
---|
| 11 | <!ENTITY ncftp-buildsize "6.6 MB">
|
---|
[6f8ecea] | 12 | <!ENTITY ncftp-time "0.2 SBU">
|
---|
[d47e7ea9] | 13 | ]>
|
---|
| 14 |
|
---|
[377584f] | 15 | <sect1 id="ncftp" xreflabel="NcFTP-&ncftp-version;">
|
---|
[ef3ec45] | 16 | <?dbhtml filename="ncftp.html"?>
|
---|
[bab92281] | 17 |
|
---|
| 18 |
|
---|
[377584f] | 19 | <title>NcFTP-&ncftp-version;</title>
|
---|
[bab92281] | 20 |
|
---|
[ef3ec45] | 21 | <indexterm zone="ncftp">
|
---|
| 22 | <primary sortas="a-NcFTP">NcFTP</primary>
|
---|
| 23 | </indexterm>
|
---|
[bab92281] | 24 |
|
---|
[ef3ec45] | 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to NcFTP</title>
|
---|
| 27 |
|
---|
[b51fe6e] | 28 | <para>
|
---|
| 29 | The <application>NcFTP</application> package contains
|
---|
| 30 | a powerful and flexible interface to the Internet standard File Transfer
|
---|
| 31 | Protocol. It is intended to replace or supplement the stock
|
---|
| 32 | <command>ftp</command> program.
|
---|
| 33 | </para>
|
---|
[bab92281] | 34 |
|
---|
[a73fc762] | 35 | &lfs120_checked;
|
---|
[00555b0f] | 36 |
|
---|
[ef3ec45] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[b51fe6e] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&ncftp-download-http;"/>
|
---|
| 42 | </para>
|
---|
[ef3ec45] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[b51fe6e] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&ncftp-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[ef3ec45] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[b51fe6e] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &ncftp-md5sum;
|
---|
| 52 | </para>
|
---|
[ef3ec45] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[b51fe6e] | 55 | <para>
|
---|
| 56 | Download size: &ncftp-size;
|
---|
| 57 | </para>
|
---|
[ef3ec45] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[b51fe6e] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &ncftp-buildsize;
|
---|
| 62 | </para>
|
---|
[ef3ec45] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[b51fe6e] | 65 | <para>
|
---|
| 66 | Estimated build time: &ncftp-time;
|
---|
| 67 | </para>
|
---|
[2174baa] | 68 | </listitem>
|
---|
[ef3ec45] | 69 | </itemizedlist>
|
---|
[bab92281] | 70 |
|
---|
[c1e25d1] | 71 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 72 | <itemizedlist spacing="compact">
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
| 75 | Required patch:
|
---|
| 76 | <ulink url="&patch-root;/ncftp-&ncftp-version;-configure_fixes-1.patch"/>
|
---|
| 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
| 80 |
|
---|
[e54d2e5] | 81 | <bridgehead renderas="sect3">NcFTP Dependencies</bridgehead>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 84 | <para role="optional">
|
---|
| 85 | <xref linkend="llvm"/> (with Clang, used by default if installed)
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
[ef3ec45] | 88 | </sect2>
|
---|
[bab92281] | 89 |
|
---|
[ef3ec45] | 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of NcFTP</title>
|
---|
| 92 |
|
---|
[b51fe6e] | 93 | <para>
|
---|
| 94 | There are two ways to build <application>NcFTP</application>. The first
|
---|
| 95 | (and optimal) way builds most of the functionality as a shared library
|
---|
| 96 | and then builds and installs the program linked against this library.
|
---|
| 97 | The second method simply links all of the functionality into the binary
|
---|
| 98 | statically. This doesn't make the dynamic library available for linking
|
---|
| 99 | by other applications. You need to choose which method best suits you.
|
---|
| 100 | Note that the second method does <emphasis>not</emphasis> create an
|
---|
| 101 | entirely statically linked binary; only the <filename
|
---|
| 102 | class="libraryfile">libncftp</filename> parts are statically linked in,
|
---|
| 103 | in this case. Be aware that building and using the shared library is
|
---|
| 104 | covered by the Clarified Artistic License; however, developing
|
---|
| 105 | applications that utilize the shared library is subject to a different
|
---|
| 106 | license.
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
[668c07b] | 109 | <para>
|
---|
| 110 | First, fix an issue caused by a change in behavior in GCC-10:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <screen><userinput remap="pre">sed -i 's/^Bookmark/extern Bookmark/' sh_util/gpshare.c</userinput></screen>
|
---|
| 114 |
|
---|
[c1e25d1] | 115 | <para>
|
---|
| 116 | Next, update the configure script to use modern C standards:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen><userinput remap="pre">patch -Np1 -i ../ncftp-&ncftp-version;-configure_fixes-1.patch &&
|
---|
| 120 | autoreconf -fiv -I autoconf_local</userinput></screen>
|
---|
| 121 |
|
---|
[b51fe6e] | 122 | <para>
|
---|
| 123 | To install <application>NcFTP</application> using the
|
---|
| 124 | first (and optimal) method, run the following commands:
|
---|
| 125 | </para>
|
---|
[ef3ec45] | 126 |
|
---|
[00555b0f] | 127 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[6f8ecea] | 128 | make -C libncftp shared &&
|
---|
| 129 | make</userinput></screen>
|
---|
[108485b3] | 130 |
|
---|
[b51fe6e] | 131 | <para>
|
---|
| 132 | This package does not come with a test suite.
|
---|
| 133 | </para>
|
---|
[108485b3] | 134 |
|
---|
[b51fe6e] | 135 | <para>
|
---|
| 136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 137 | </para>
|
---|
[108485b3] | 138 |
|
---|
[6f8ecea] | 139 | <screen role='root'><userinput>make -C libncftp soinstall &&
|
---|
| 140 | make install</userinput></screen>
|
---|
[d47e7ea9] | 141 |
|
---|
[b51fe6e] | 142 | <para>
|
---|
| 143 | To install <application>NcFTP</application> using the
|
---|
| 144 | second method (with the <filename class="libraryfile">libncftp</filename>
|
---|
| 145 | functionality linked in statically) run the following commands:
|
---|
| 146 | </para>
|
---|
[d47e7ea9] | 147 |
|
---|
[f67554b0] | 148 | <screen role="nodump"><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[108485b3] | 149 | make</userinput></screen>
|
---|
| 150 |
|
---|
[b51fe6e] | 151 | <para>
|
---|
| 152 | This package does not come with a test suite.
|
---|
| 153 | </para>
|
---|
[6f8ecea] | 154 |
|
---|
[b51fe6e] | 155 | <para>
|
---|
| 156 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 157 | </para>
|
---|
[108485b3] | 158 |
|
---|
[f67554b0] | 159 | <screen role="nodump"><userinput>make install</userinput></screen>
|
---|
[bab92281] | 160 |
|
---|
[ef3ec45] | 161 | </sect2>
|
---|
[bab92281] | 162 |
|
---|
[ef3ec45] | 163 | <sect2 role="commands">
|
---|
| 164 | <title>Command Explanations</title>
|
---|
| 165 |
|
---|
[b51fe6e] | 166 | <para>
|
---|
| 167 | <command>make -C ... && make -C ...</command>:
|
---|
| 168 | These commands make and install the dynamic library <filename
|
---|
| 169 | class="libraryfile">libncftp</filename> which is then used to link
|
---|
| 170 | against when compiling the main program.
|
---|
| 171 | </para>
|
---|
[bab92281] | 172 |
|
---|
[ef3ec45] | 173 | </sect2>
|
---|
[bab92281] | 174 |
|
---|
[ef3ec45] | 175 | <sect2 role="configuration">
|
---|
| 176 | <title>Configuring NcFTP</title>
|
---|
[bab92281] | 177 |
|
---|
[ef3ec45] | 178 | <sect3 id="ncftp-config">
|
---|
| 179 | <title>Config Files</title>
|
---|
[bab92281] | 180 |
|
---|
[b51fe6e] | 181 | <para>
|
---|
| 182 | <filename>/etc/ncftp.*</filename> and
|
---|
| 183 | <filename>~/.ncftp/*</filename>; especially
|
---|
| 184 | <filename>/etc/ncftp.prefs_v3</filename> and
|
---|
| 185 | <filename>~/.ncftp/prefs_v3</filename>
|
---|
| 186 | </para>
|
---|
[bab92281] | 187 |
|
---|
[ef3ec45] | 188 | <indexterm zone="ncftp ncftp-config">
|
---|
| 189 | <primary sortas="e-AA.ncftp/*">~/.ncftp/*</primary>
|
---|
| 190 | </indexterm>
|
---|
[bab92281] | 191 |
|
---|
[6f8ecea] | 192 | <indexterm zone="ncftp ncftp-config">
|
---|
| 193 | <primary sortas="e-etc-ncftp.*">/etc/ncftp.*</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 |
|
---|
[ef3ec45] | 196 | </sect3>
|
---|
[bab92281] | 197 |
|
---|
[ef3ec45] | 198 | <sect3>
|
---|
| 199 | <title>Configuration Information</title>
|
---|
| 200 |
|
---|
[b51fe6e] | 201 | <para>
|
---|
| 202 | Most <application>NcFTP</application> configuration is done while in
|
---|
| 203 | the program, and the configuration files are dealt with automatically.
|
---|
| 204 | One exception to this is <filename>~/.ncftp/prefs_v3</filename>. There
|
---|
| 205 | are various options to alter in there, including:
|
---|
| 206 | </para>
|
---|
[ef3ec45] | 207 |
|
---|
[bab92281] | 208 | <screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
|
---|
[ef3ec45] | 209 |
|
---|
[b51fe6e] | 210 | <para>
|
---|
| 211 | This disables the splash screen advertising the
|
---|
| 212 | <application>NcFTPd</application> server.
|
---|
| 213 | </para>
|
---|
[bab92281] | 214 |
|
---|
[b51fe6e] | 215 | <para>
|
---|
| 216 | There are other options in the <filename>prefs_v3</filename> file.
|
---|
| 217 | Most of these are self-explanatory. Global defaults can be set in
|
---|
| 218 | <filename>/etc/ncftp.prefs_v3</filename>.
|
---|
| 219 | </para>
|
---|
[bab92281] | 220 |
|
---|
[ef3ec45] | 221 | </sect3>
|
---|
[bab92281] | 222 |
|
---|
[ef3ec45] | 223 | </sect2>
|
---|
[bab92281] | 224 |
|
---|
[ef3ec45] | 225 | <sect2 role="content">
|
---|
| 226 | <title>Contents</title>
|
---|
[bab92281] | 227 |
|
---|
[ef3ec45] | 228 | <segmentedlist>
|
---|
| 229 | <segtitle>Installed Programs</segtitle>
|
---|
| 230 | <segtitle>Installed Library</segtitle>
|
---|
| 231 | <segtitle>Installed Directories</segtitle>
|
---|
[bab92281] | 232 |
|
---|
[ef3ec45] | 233 | <seglistitem>
|
---|
| 234 | <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
|
---|
| 235 | ncftpls, ncftpput, and ncftpspooler</seg>
|
---|
[108485b3] | 236 | <seg>libncftp.so</seg>
|
---|
| 237 | <seg>None</seg>
|
---|
[ef3ec45] | 238 | </seglistitem>
|
---|
| 239 | </segmentedlist>
|
---|
[bab92281] | 240 |
|
---|
[ef3ec45] | 241 | <variablelist>
|
---|
| 242 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 243 | <?dbfo list-presentation="list"?>
|
---|
| 244 | <?dbhtml list-presentation="table"?>
|
---|
[bab92281] | 245 |
|
---|
[ef3ec45] | 246 | <varlistentry id="ncftp-prog">
|
---|
| 247 | <term><command>ncftp</command></term>
|
---|
| 248 | <listitem>
|
---|
[b51fe6e] | 249 | <para>
|
---|
[4c24eb0a] | 250 | is a browser program for File Transfer Protocol
|
---|
[b51fe6e] | 251 | </para>
|
---|
[ef3ec45] | 252 | <indexterm zone="ncftp ncftp-prog">
|
---|
| 253 | <primary sortas="b-ncftp">ncftp</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
[bab92281] | 257 |
|
---|
[ef3ec45] | 258 | <varlistentry id="ncftpbatch">
|
---|
| 259 | <term><command>ncftpbatch</command></term>
|
---|
| 260 | <listitem>
|
---|
[b51fe6e] | 261 | <para>
|
---|
[4c24eb0a] | 262 | is an individual batch FTP job processor
|
---|
[b51fe6e] | 263 | </para>
|
---|
[ef3ec45] | 264 | <indexterm zone="ncftp ncftpbatch">
|
---|
| 265 | <primary sortas="b-ncftpbatch">ncftpbatch</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
[bab92281] | 269 |
|
---|
[ef3ec45] | 270 | <varlistentry id="ncftpbookmarks">
|
---|
| 271 | <term><command>ncftpbookmarks</command></term>
|
---|
| 272 | <listitem>
|
---|
[b51fe6e] | 273 | <para>
|
---|
| 274 | is the <application>NcFTP</application> Bookmark Editor
|
---|
[4c24eb0a] | 275 | (<application>NCurses</application>-based)
|
---|
[b51fe6e] | 276 | </para>
|
---|
[ef3ec45] | 277 | <indexterm zone="ncftp ncftpbookmarks">
|
---|
| 278 | <primary sortas="b-ncftpbookmarks">ncftpbookmarks</primary>
|
---|
| 279 | </indexterm>
|
---|
| 280 | </listitem>
|
---|
| 281 | </varlistentry>
|
---|
[bab92281] | 282 |
|
---|
[ef3ec45] | 283 | <varlistentry id="ncftpget">
|
---|
| 284 | <term><command>ncftpget</command></term>
|
---|
| 285 | <listitem>
|
---|
[b51fe6e] | 286 | <para>
|
---|
| 287 | is an internet file transfer program for scripts used to
|
---|
[4c24eb0a] | 288 | retrieve files
|
---|
[b51fe6e] | 289 | </para>
|
---|
[ef3ec45] | 290 | <indexterm zone="ncftp ncftpget">
|
---|
| 291 | <primary sortas="b-ncftpget">ncftpget</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
[bab92281] | 295 |
|
---|
[ef3ec45] | 296 | <varlistentry id="ncftpls">
|
---|
| 297 | <term><command>ncftpls</command></term>
|
---|
| 298 | <listitem>
|
---|
[b51fe6e] | 299 | <para>
|
---|
| 300 | is an internet file transfer program for scripts used to
|
---|
[4c24eb0a] | 301 | list files
|
---|
[b51fe6e] | 302 | </para>
|
---|
[ef3ec45] | 303 | <indexterm zone="ncftp ncftpls">
|
---|
| 304 | <primary sortas="b-ncftpls">ncftpls</primary>
|
---|
| 305 | </indexterm>
|
---|
| 306 | </listitem>
|
---|
| 307 | </varlistentry>
|
---|
[bab92281] | 308 |
|
---|
[ef3ec45] | 309 | <varlistentry id="ncftpput">
|
---|
| 310 | <term><command>ncftpput</command></term>
|
---|
| 311 | <listitem>
|
---|
[b51fe6e] | 312 | <para>
|
---|
| 313 | is an internet file transfer program for scripts used to
|
---|
[4c24eb0a] | 314 | transfer files
|
---|
[b51fe6e] | 315 | </para>
|
---|
[ef3ec45] | 316 | <indexterm zone="ncftp ncftpput">
|
---|
| 317 | <primary sortas="b-ncftpput">ncftpput</primary>
|
---|
| 318 | </indexterm>
|
---|
| 319 | </listitem>
|
---|
| 320 | </varlistentry>
|
---|
[bab92281] | 321 |
|
---|
[ef3ec45] | 322 | <varlistentry id="ncftpspooler">
|
---|
| 323 | <term><command>ncftpspooler</command></term>
|
---|
| 324 | <listitem>
|
---|
[b51fe6e] | 325 | <para>
|
---|
[4c24eb0a] | 326 | is a global batch FTP job processor daemon
|
---|
[b51fe6e] | 327 | </para>
|
---|
[ef3ec45] | 328 | <indexterm zone="ncftp ncftpspooler">
|
---|
| 329 | <primary sortas="b-ncftpspooler">ncftpspooler</primary>
|
---|
| 330 | </indexterm>
|
---|
| 331 | </listitem>
|
---|
| 332 | </varlistentry>
|
---|
[bab92281] | 333 |
|
---|
[ef3ec45] | 334 | </variablelist>
|
---|
[bab92281] | 335 |
|
---|
[ef3ec45] | 336 | </sect2>
|
---|
[bab92281] | 337 |
|
---|
[f45b1953] | 338 | </sect1>
|
---|