source: networking/netprogs/ncftp.xml@ 7e24b60

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 7e24b60 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 9.7 KB
RevLine 
[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
[ce1dd9df]35 &lfs112_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
[e54d2e5]71 <bridgehead renderas="sect3">NcFTP Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional">
75 <xref linkend="llvm"/> (with Clang, used by default if installed)
76 </para>
77
[061ec9d]78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/ncftp"/></para>
80
[ef3ec45]81 </sect2>
[bab92281]82
[ef3ec45]83 <sect2 role="installation">
84 <title>Installation of NcFTP</title>
85
[b51fe6e]86 <para>
87 There are two ways to build <application>NcFTP</application>. The first
88 (and optimal) way builds most of the functionality as a shared library
89 and then builds and installs the program linked against this library.
90 The second method simply links all of the functionality into the binary
91 statically. This doesn't make the dynamic library available for linking
92 by other applications. You need to choose which method best suits you.
93 Note that the second method does <emphasis>not</emphasis> create an
94 entirely statically linked binary; only the <filename
95 class="libraryfile">libncftp</filename> parts are statically linked in,
96 in this case. Be aware that building and using the shared library is
97 covered by the Clarified Artistic License; however, developing
98 applications that utilize the shared library is subject to a different
99 license.
100 </para>
101
[668c07b]102 <para>
103 First, fix an issue caused by a change in behavior in GCC-10:
104 </para>
105
106<screen><userinput remap="pre">sed -i 's/^Bookmark/extern Bookmark/' sh_util/gpshare.c</userinput></screen>
107
[b51fe6e]108 <para>
109 To install <application>NcFTP</application> using the
110 first (and optimal) method, run the following commands:
111 </para>
[ef3ec45]112
[00555b0f]113<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[6f8ecea]114make -C libncftp shared &amp;&amp;
115make</userinput></screen>
[108485b3]116
[b51fe6e]117 <para>
118 This package does not come with a test suite.
119 </para>
[108485b3]120
[b51fe6e]121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
[108485b3]124
[6f8ecea]125<screen role='root'><userinput>make -C libncftp soinstall &amp;&amp;
126make install</userinput></screen>
[d47e7ea9]127
[b51fe6e]128 <para>
129 To install <application>NcFTP</application> using the
130 second method (with the <filename class="libraryfile">libncftp</filename>
131 functionality linked in statically) run the following commands:
132 </para>
[d47e7ea9]133
[f67554b0]134<screen role="nodump"><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[108485b3]135make</userinput></screen>
136
[b51fe6e]137 <para>
138 This package does not come with a test suite.
139 </para>
[6f8ecea]140
[b51fe6e]141 <para>
142 Now, as the <systemitem class="username">root</systemitem> user:
143 </para>
[108485b3]144
[f67554b0]145<screen role="nodump"><userinput>make install</userinput></screen>
[bab92281]146
[ef3ec45]147 </sect2>
[bab92281]148
[ef3ec45]149 <sect2 role="commands">
150 <title>Command Explanations</title>
151
[b51fe6e]152 <para>
153 <command>make -C ... &amp;&amp; make -C ...</command>:
154 These commands make and install the dynamic library <filename
155 class="libraryfile">libncftp</filename> which is then used to link
156 against when compiling the main program.
157 </para>
[bab92281]158
[ef3ec45]159 </sect2>
[bab92281]160
[ef3ec45]161 <sect2 role="configuration">
162 <title>Configuring NcFTP</title>
[bab92281]163
[ef3ec45]164 <sect3 id="ncftp-config">
165 <title>Config Files</title>
[bab92281]166
[b51fe6e]167 <para>
168 <filename>/etc/ncftp.*</filename> and
169 <filename>~/.ncftp/*</filename>; especially
170 <filename>/etc/ncftp.prefs_v3</filename> and
171 <filename>~/.ncftp/prefs_v3</filename>
172 </para>
[bab92281]173
[ef3ec45]174 <indexterm zone="ncftp ncftp-config">
175 <primary sortas="e-AA.ncftp/*">~/.ncftp/*</primary>
176 </indexterm>
[bab92281]177
[6f8ecea]178 <indexterm zone="ncftp ncftp-config">
179 <primary sortas="e-etc-ncftp.*">/etc/ncftp.*</primary>
180 </indexterm>
181
[ef3ec45]182 </sect3>
[bab92281]183
[ef3ec45]184 <sect3>
185 <title>Configuration Information</title>
186
[b51fe6e]187 <para>
188 Most <application>NcFTP</application> configuration is done while in
189 the program, and the configuration files are dealt with automatically.
190 One exception to this is <filename>~/.ncftp/prefs_v3</filename>. There
191 are various options to alter in there, including:
192 </para>
[ef3ec45]193
[bab92281]194<screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
[ef3ec45]195
[b51fe6e]196 <para>
197 This disables the splash screen advertising the
198 <application>NcFTPd</application> server.
199 </para>
[bab92281]200
[b51fe6e]201 <para>
202 There are other options in the <filename>prefs_v3</filename> file.
203 Most of these are self-explanatory. Global defaults can be set in
204 <filename>/etc/ncftp.prefs_v3</filename>.
205 </para>
[bab92281]206
[ef3ec45]207 </sect3>
[bab92281]208
[ef3ec45]209 </sect2>
[bab92281]210
[ef3ec45]211 <sect2 role="content">
212 <title>Contents</title>
[bab92281]213
[ef3ec45]214 <segmentedlist>
215 <segtitle>Installed Programs</segtitle>
216 <segtitle>Installed Library</segtitle>
217 <segtitle>Installed Directories</segtitle>
[bab92281]218
[ef3ec45]219 <seglistitem>
220 <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
221 ncftpls, ncftpput, and ncftpspooler</seg>
[108485b3]222 <seg>libncftp.so</seg>
223 <seg>None</seg>
[ef3ec45]224 </seglistitem>
225 </segmentedlist>
[bab92281]226
[ef3ec45]227 <variablelist>
228 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
229 <?dbfo list-presentation="list"?>
230 <?dbhtml list-presentation="table"?>
[bab92281]231
[ef3ec45]232 <varlistentry id="ncftp-prog">
233 <term><command>ncftp</command></term>
234 <listitem>
[b51fe6e]235 <para>
[4c24eb0a]236 is a browser program for File Transfer Protocol
[b51fe6e]237 </para>
[ef3ec45]238 <indexterm zone="ncftp ncftp-prog">
239 <primary sortas="b-ncftp">ncftp</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
[bab92281]243
[ef3ec45]244 <varlistentry id="ncftpbatch">
245 <term><command>ncftpbatch</command></term>
246 <listitem>
[b51fe6e]247 <para>
[4c24eb0a]248 is an individual batch FTP job processor
[b51fe6e]249 </para>
[ef3ec45]250 <indexterm zone="ncftp ncftpbatch">
251 <primary sortas="b-ncftpbatch">ncftpbatch</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
[bab92281]255
[ef3ec45]256 <varlistentry id="ncftpbookmarks">
257 <term><command>ncftpbookmarks</command></term>
258 <listitem>
[b51fe6e]259 <para>
260 is the <application>NcFTP</application> Bookmark Editor
[4c24eb0a]261 (<application>NCurses</application>-based)
[b51fe6e]262 </para>
[ef3ec45]263 <indexterm zone="ncftp ncftpbookmarks">
264 <primary sortas="b-ncftpbookmarks">ncftpbookmarks</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
[bab92281]268
[ef3ec45]269 <varlistentry id="ncftpget">
270 <term><command>ncftpget</command></term>
271 <listitem>
[b51fe6e]272 <para>
273 is an internet file transfer program for scripts used to
[4c24eb0a]274 retrieve files
[b51fe6e]275 </para>
[ef3ec45]276 <indexterm zone="ncftp ncftpget">
277 <primary sortas="b-ncftpget">ncftpget</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
[bab92281]281
[ef3ec45]282 <varlistentry id="ncftpls">
283 <term><command>ncftpls</command></term>
284 <listitem>
[b51fe6e]285 <para>
286 is an internet file transfer program for scripts used to
[4c24eb0a]287 list files
[b51fe6e]288 </para>
[ef3ec45]289 <indexterm zone="ncftp ncftpls">
290 <primary sortas="b-ncftpls">ncftpls</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
[bab92281]294
[ef3ec45]295 <varlistentry id="ncftpput">
296 <term><command>ncftpput</command></term>
297 <listitem>
[b51fe6e]298 <para>
299 is an internet file transfer program for scripts used to
[4c24eb0a]300 transfer files
[b51fe6e]301 </para>
[ef3ec45]302 <indexterm zone="ncftp ncftpput">
303 <primary sortas="b-ncftpput">ncftpput</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
[bab92281]307
[ef3ec45]308 <varlistentry id="ncftpspooler">
309 <term><command>ncftpspooler</command></term>
310 <listitem>
[b51fe6e]311 <para>
[4c24eb0a]312 is a global batch FTP job processor daemon
[b51fe6e]313 </para>
[ef3ec45]314 <indexterm zone="ncftp ncftpspooler">
315 <primary sortas="b-ncftpspooler">ncftpspooler</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
[bab92281]319
[ef3ec45]320 </variablelist>
[bab92281]321
[ef3ec45]322 </sect2>
[bab92281]323
[f45b1953]324</sect1>
Note: See TracBrowser for help on using the repository browser.