source: networking/netprogs/ncftp.xml

trunk
Last change on this file was 5d0e7b8, checked in by Douglas R. Reno <renodr@…>, 2 months ago

A bunch of tags

  • Property mode set to 100644
File size: 10.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 ncftp-download-http "https://www.ncftp.com/downloads/ncftp/ncftp-&ncftp-version;-src.tar.xz">
8 <!ENTITY ncftp-download-ftp " ">
9 <!ENTITY ncftp-md5sum "bbcb048d2412f4d62bc798818e703680">
10 <!ENTITY ncftp-size "416 KB">
11 <!ENTITY ncftp-buildsize "6.9 MB">
12 <!ENTITY ncftp-time "0.2 SBU">
13]>
14
15<sect1 id="ncftp" xreflabel="NcFTP-&ncftp-version;">
16 <?dbhtml filename="ncftp.html"?>
17
18
19<title>NcFTP-&ncftp-version;</title>
20
21 <indexterm zone="ncftp">
22 <primary sortas="a-NcFTP">NcFTP</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to NcFTP</title>
27
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>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&ncftp-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&ncftp-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &ncftp-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &ncftp-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &ncftp-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &ncftp-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70<!--
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
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-->
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of NcFTP</title>
92
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<!--
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
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 &amp;&amp;
120autoreconf -fiv -I autoconf_local</userinput></screen>
121-->
122 <para>
123 To install <application>NcFTP</application> using the
124 first (and optimal) method, run the following commands:
125 </para>
126
127<screen><userinput>CC=/usr/bin/gcc \
128./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
129make -C libncftp shared &amp;&amp;
130make</userinput></screen>
131
132 <para>
133 This package does not come with a test suite.
134 </para>
135
136 <para>
137 Now, as the <systemitem class="username">root</systemitem> user:
138 </para>
139
140<screen role='root'><userinput>make -C libncftp soinstall &amp;&amp;
141make install</userinput></screen>
142
143 <para>
144 To install <application>NcFTP</application> using the
145 second method (with the <filename class="libraryfile">libncftp</filename>
146 functionality linked in statically) run the following commands:
147 </para>
148
149<screen role="nodump"><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
150make</userinput></screen>
151
152 <para>
153 This package does not come with a test suite.
154 </para>
155
156 <para>
157 Now, as the <systemitem class="username">root</systemitem> user:
158 </para>
159
160<screen role="nodump"><userinput>make install</userinput></screen>
161
162 </sect2>
163
164 <sect2 role="commands">
165 <title>Command Explanations</title>
166
167 <para>
168 <envar>CC=/usr/bin/gcc</envar>. This environment variable ensures
169 that <command>gcc</command> is used if <xref linkend="llvm"/> is
170 installed. The build procedure is broken if <command>gcc</command>
171 is not used.
172 </para>
173
174 <para>
175 <command>make -C ... &amp;&amp; make -C ...</command>:
176 These commands make and install the dynamic library <filename
177 class="libraryfile">libncftp</filename> which is then used to link
178 against when compiling the main program.
179 </para>
180
181 </sect2>
182
183 <sect2 role="configuration">
184 <title>Configuring NcFTP</title>
185
186 <sect3 id="ncftp-config">
187 <title>Config Files</title>
188
189 <para>
190 <filename>/etc/ncftp.*</filename> and
191 <filename>~/.ncftp/*</filename>; especially
192 <filename>/etc/ncftp.prefs_v3</filename> and
193 <filename>~/.ncftp/prefs_v3</filename>
194 </para>
195
196 <indexterm zone="ncftp ncftp-config">
197 <primary sortas="e-AA.ncftp/*">~/.ncftp/*</primary>
198 </indexterm>
199
200 <indexterm zone="ncftp ncftp-config">
201 <primary sortas="e-etc-ncftp.*">/etc/ncftp.*</primary>
202 </indexterm>
203
204 </sect3>
205
206 <sect3>
207 <title>Configuration Information</title>
208
209 <para>
210 Most <application>NcFTP</application> configuration is done while in
211 the program, and the configuration files are dealt with automatically.
212 One exception to this is <filename>~/.ncftp/prefs_v3</filename>. There
213 are various options to alter in there, including:
214 </para>
215
216<screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
217
218 <para>
219 This disables the splash screen advertising the
220 <application>NcFTPd</application> server.
221 </para>
222
223 <para>
224 There are other options in the <filename>prefs_v3</filename> file.
225 Most of these are self-explanatory. Global defaults can be set in
226 <filename>/etc/ncftp.prefs_v3</filename>.
227 </para>
228
229 </sect3>
230
231 </sect2>
232
233 <sect2 role="content">
234 <title>Contents</title>
235
236 <segmentedlist>
237 <segtitle>Installed Programs</segtitle>
238 <segtitle>Installed Library</segtitle>
239 <segtitle>Installed Directories</segtitle>
240
241 <seglistitem>
242 <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
243 ncftpls, ncftpput, and ncftpspooler</seg>
244 <seg>libncftp.so</seg>
245 <seg>None</seg>
246 </seglistitem>
247 </segmentedlist>
248
249 <variablelist>
250 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
251 <?dbfo list-presentation="list"?>
252 <?dbhtml list-presentation="table"?>
253
254 <varlistentry id="ncftp-prog">
255 <term><command>ncftp</command></term>
256 <listitem>
257 <para>
258 is a browser program for File Transfer Protocol
259 </para>
260 <indexterm zone="ncftp ncftp-prog">
261 <primary sortas="b-ncftp">ncftp</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="ncftpbatch">
267 <term><command>ncftpbatch</command></term>
268 <listitem>
269 <para>
270 is an individual batch FTP job processor
271 </para>
272 <indexterm zone="ncftp ncftpbatch">
273 <primary sortas="b-ncftpbatch">ncftpbatch</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="ncftpbookmarks">
279 <term><command>ncftpbookmarks</command></term>
280 <listitem>
281 <para>
282 is the <application>NcFTP</application> Bookmark Editor
283 (<application>NCurses</application>-based)
284 </para>
285 <indexterm zone="ncftp ncftpbookmarks">
286 <primary sortas="b-ncftpbookmarks">ncftpbookmarks</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="ncftpget">
292 <term><command>ncftpget</command></term>
293 <listitem>
294 <para>
295 is an internet file transfer program for scripts used to
296 retrieve files
297 </para>
298 <indexterm zone="ncftp ncftpget">
299 <primary sortas="b-ncftpget">ncftpget</primary>
300 </indexterm>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry id="ncftpls">
305 <term><command>ncftpls</command></term>
306 <listitem>
307 <para>
308 is an internet file transfer program for scripts used to
309 list files
310 </para>
311 <indexterm zone="ncftp ncftpls">
312 <primary sortas="b-ncftpls">ncftpls</primary>
313 </indexterm>
314 </listitem>
315 </varlistentry>
316
317 <varlistentry id="ncftpput">
318 <term><command>ncftpput</command></term>
319 <listitem>
320 <para>
321 is an internet file transfer program for scripts used to
322 transfer files
323 </para>
324 <indexterm zone="ncftp ncftpput">
325 <primary sortas="b-ncftpput">ncftpput</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="ncftpspooler">
331 <term><command>ncftpspooler</command></term>
332 <listitem>
333 <para>
334 is a global batch FTP job processor daemon
335 </para>
336 <indexterm zone="ncftp ncftpspooler">
337 <primary sortas="b-ncftpspooler">ncftpspooler</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
342 </variablelist>
343
344 </sect2>
345
346</sect1>
Note: See TracBrowser for help on using the repository browser.