source: networking/netprogs/ncftp.xml@ ef0722a

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ef0722a was ef0722a, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

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