Package with no upstream (ftp)

David Cantrell dcantrell at redhat.com
Wed Jul 18 18:21:32 UTC 2012


On Wed, Jul 18, 2012 at 01:05:06PM -0500, Chris Adams wrote:
> Once upon a time, Pete Zaitcev <zaitcev at redhat.com> said:
> > On Wed, 18 Jul 2012 10:55:55 -0400
> > David Cantrell <dcantrell at redhat.com> wrote:
> > > Or forget the netkit source.  I'd like to see ftp(1) replaced with the
> > > NetBSD ftp client:
> > > 
> > > ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/
> > 
> > But we already have a yet nicer FTP client, lftp. Really not point in
> > tinkering with the plain FTP this way, it seems to me.
> 
> Yeah, keep plain-old "ftp" as simple as possible.  lftp is great, but it
> has more dependencies, and I have had occasion when I needed to fall
> back to the old standby.

I do like lftp, but I feel the simple ftp(1) client serves a different need.

dcantrel at box ~$ ldd /usr/local/bin/tnftp 
	linux-vdso.so.1 =>  (0x00007fff94dff000)
	libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003a7c200000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003a6e600000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003a6e200000)

dcantrel at box ~$ ldd /usr/bin/ftp
	linux-vdso.so.1 =>  (0x00007fff70bff000)
	libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003a6fe00000)
	libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003a78e00000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003a6e600000)
	libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003a7c200000)
	libdl.so.2 => /lib64/libdl.so.2 (0x0000003a6f200000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003a6e200000)

dcantrel at box ~$ ldd /usr/bin/lftp
	linux-vdso.so.1 =>  (0x00007fff177ff000)
	liblftp-jobs.so.0 => /usr/lib64/liblftp-jobs.so.0 (0x0000003a6fa00000)
	liblftp-tasks.so.0 => /usr/lib64/liblftp-tasks.so.0 (0x0000003a6ea00000)
	librt.so.1 => /lib64/librt.so.1 (0x0000003a6f600000)
	libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003a6fe00000)
	libutil.so.1 => /lib64/libutil.so.1 (0x0000003a79600000)
	libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003a7c200000)
	libdl.so.2 => /lib64/libdl.so.2 (0x0000003a6f200000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003a6e600000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a78e00000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003a6e200000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a6ee00000)

tnftp, since it's from NetBSD, uses libedit for line editing.  The source
includes it or you can link it with the libedit we already have.  Or you
can disable the functionality.  I do dislike having two line editing
libraries, but whatever.  My locally installed tnftp has line editing via
the provided libedit in the tnftp source.

-- 
David Cantrell <dcantrell at redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT


More information about the devel mailing list