source: networking/netprogs/ncftp.xml@ 6ca13da3

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 6ca13da3 was b4642992, checked in by Douglas R. Reno <renodr@…>, 15 months ago

Tag WebKit dependencies

  • Property mode set to 100644
File size: 9.7 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
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 &lfs113_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">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
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/ncftp"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of NcFTP</title>
85
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
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
108 <para>
109 To install <application>NcFTP</application> using the
110 first (and optimal) method, run the following commands:
111 </para>
112
113<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
114make -C libncftp shared &amp;&amp;
115make</userinput></screen>
116
117 <para>
118 This package does not come with a test suite.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role='root'><userinput>make -C libncftp soinstall &amp;&amp;
126make install</userinput></screen>
127
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>
133
134<screen role="nodump"><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
135make</userinput></screen>
136
137 <para>
138 This package does not come with a test suite.
139 </para>
140
141 <para>
142 Now, as the <systemitem class="username">root</systemitem> user:
143 </para>
144
145<screen role="nodump"><userinput>make install</userinput></screen>
146
147 </sect2>
148
149 <sect2 role="commands">
150 <title>Command Explanations</title>
151
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>
158
159 </sect2>
160
161 <sect2 role="configuration">
162 <title>Configuring NcFTP</title>
163
164 <sect3 id="ncftp-config">
165 <title>Config Files</title>
166
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>
173
174 <indexterm zone="ncftp ncftp-config">
175 <primary sortas="e-AA.ncftp/*">~/.ncftp/*</primary>
176 </indexterm>
177
178 <indexterm zone="ncftp ncftp-config">
179 <primary sortas="e-etc-ncftp.*">/etc/ncftp.*</primary>
180 </indexterm>
181
182 </sect3>
183
184 <sect3>
185 <title>Configuration Information</title>
186
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>
193
194<screen><literal>yes-i-know-about-NcFTPd=yes</literal></screen>
195
196 <para>
197 This disables the splash screen advertising the
198 <application>NcFTPd</application> server.
199 </para>
200
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>
206
207 </sect3>
208
209 </sect2>
210
211 <sect2 role="content">
212 <title>Contents</title>
213
214 <segmentedlist>
215 <segtitle>Installed Programs</segtitle>
216 <segtitle>Installed Library</segtitle>
217 <segtitle>Installed Directories</segtitle>
218
219 <seglistitem>
220 <seg>ncftp, ncftpbatch, ncftpbookmarks, ncftpget,
221 ncftpls, ncftpput, and ncftpspooler</seg>
222 <seg>libncftp.so</seg>
223 <seg>None</seg>
224 </seglistitem>
225 </segmentedlist>
226
227 <variablelist>
228 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
229 <?dbfo list-presentation="list"?>
230 <?dbhtml list-presentation="table"?>
231
232 <varlistentry id="ncftp-prog">
233 <term><command>ncftp</command></term>
234 <listitem>
235 <para>
236 is a browser program for File Transfer Protocol
237 </para>
238 <indexterm zone="ncftp ncftp-prog">
239 <primary sortas="b-ncftp">ncftp</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="ncftpbatch">
245 <term><command>ncftpbatch</command></term>
246 <listitem>
247 <para>
248 is an individual batch FTP job processor
249 </para>
250 <indexterm zone="ncftp ncftpbatch">
251 <primary sortas="b-ncftpbatch">ncftpbatch</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="ncftpbookmarks">
257 <term><command>ncftpbookmarks</command></term>
258 <listitem>
259 <para>
260 is the <application>NcFTP</application> Bookmark Editor
261 (<application>NCurses</application>-based)
262 </para>
263 <indexterm zone="ncftp ncftpbookmarks">
264 <primary sortas="b-ncftpbookmarks">ncftpbookmarks</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="ncftpget">
270 <term><command>ncftpget</command></term>
271 <listitem>
272 <para>
273 is an internet file transfer program for scripts used to
274 retrieve files
275 </para>
276 <indexterm zone="ncftp ncftpget">
277 <primary sortas="b-ncftpget">ncftpget</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 <varlistentry id="ncftpls">
283 <term><command>ncftpls</command></term>
284 <listitem>
285 <para>
286 is an internet file transfer program for scripts used to
287 list files
288 </para>
289 <indexterm zone="ncftp ncftpls">
290 <primary sortas="b-ncftpls">ncftpls</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="ncftpput">
296 <term><command>ncftpput</command></term>
297 <listitem>
298 <para>
299 is an internet file transfer program for scripts used to
300 transfer files
301 </para>
302 <indexterm zone="ncftp ncftpput">
303 <primary sortas="b-ncftpput">ncftpput</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="ncftpspooler">
309 <term><command>ncftpspooler</command></term>
310 <listitem>
311 <para>
312 is a global batch FTP job processor daemon
313 </para>
314 <indexterm zone="ncftp ncftpspooler">
315 <primary sortas="b-ncftpspooler">ncftpspooler</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 </variablelist>
321
322 </sect2>
323
324</sect1>
Note: See TracBrowser for help on using the repository browser.