openssh-5.5p1

Roumen Petrov openssh at roumenpetrov.info
Wed Mar 17 09:47:30 EST 2010


Iain Morgan wrote:
> On Tue, Mar 16, 2010 at 14:04:26 -0500, Damien Miller wrote:
>> Hi,
>>
>> We will probably do an openssh-5.5p1 release soon, mainly for the
>> sshd_config:AuthorizedKeysFile bug, but containing a few other small
>> patches too. If you have any portability fixes that need to go in then
>> please send them through at once.
>>
>> -d
>> _______________________________________________
>> openssh-unix-dev mailing list
>> openssh-unix-dev at mindrot.org
>> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>
> Hi Damien,
>
> I just stumbled across an issue today building 5.4p1 on SLES 10 with
> libedit support. When --with-libedit is used, configure will use
> -lcurses when testing for a functional libedit. On SLES 10 (and perhaps
> other OS's) there is no libcurses.so (evan as a symlink) so the test
> fails.

May be yes may no.
If ncurses is used as replacement it could be ncurses and ncursesw.
Also the library could be termcap !

> It may be best to check for -lcurses and -lncurses, and then use the
> appropriate library when checking for -ledit.

The internet is full with script how to test for curses compatible libraries


> I'm not an autoconf wizard and thus don't have an actual patch to
> submit. I'm just working around the issue by hacking the configure
> script.

Its not necessary to be autoconf guru to write a simple test and to test 
how a GNU readline replacement will be linked correctly against a list 
of possible termcap compatible libraries. You could adapt may patch 
posted here http://bugs.python.org/issue1204 - replace readline/READLINE 
with edit/EDIT py with ssh or with ac(name space collision). As you have 
a system with libedit you could try to adapt.

For now I don't have enough time nor environment to test. Another case 
are reports that libedit don't work well on some platforms.
One of this platforms is Mac OS X but it seems to me OpenSSH portable 
drop it as configure is created with autoconf 2.61 instead openbsd 
patched (?) 2.62 or newer .

I'm sure that issue is posted in the past and may be a bug is opened.

Roumen


-- 
Get X.509 certificates support in OpenSSH:
http://roumenpetrov.info/openssh/


More information about the openssh-unix-dev mailing list