[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] NetBSD support.

From: Mats Erik Andersson
Subject: Re: [bug-inetutils] NetBSD support.
Date: Tue, 6 Dec 2011 02:10:43 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Dear all,

lördag den  3 december 2011 klockan 22:34 skrev Mats Erik Andersson detta:
> fredag den  2 december 2011 klockan 12:44 skrev Simon Josefsson detta:
> > Thanks for analysis, I agree that it seems that we should try -ledit
> > too.  Could you take a look at am/readline.m4 and see if you can create
> > a solution?
> This is hard work, guessing which mechanisms to use. The difference below
> applies to "gnulib/m4/readline.m4" and is sufficient to build our FTP
> client with line editing support for GNU/Linux Debian and NetBSD 5.1.
> The proper setting of LTLIBREADLINE should be added, though.

here comes a drafted patch that builds correctly on

  GNU/Linux, OpenBSD, GNU/OpenSolaris, and NetBSD.

For the latter all tests except "ftp-localhost" pass. On the other
hand I have manually used the FTP and TELNET clients from NetBSD 5.1
running inside Qemu (on OpenBSD) in order to connect to a GNU/Linux
host with full success. Similar tests were done from the other systems.

Since the patch below targets exactly "ftp", "telnet", and "telnetd",
which did not build on NetBSD 5.1 previously, the patch text holds
promise to be refineable! I have had to learn so many new things today
regarding Autoconf, taht I ask that you, Alfred and Simon, to take this
patch and polish it in order to later push it to our repository. It is
not ideal, not even with my scant knowledge, but it does work, and I have
not yet seen any disrupting side-effect.

Best regards,

Attachment: tgetent_and_netbsd.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]