Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2013 09:01:12 +0100
From:      Dimitry Andric <dimitry@andric.com>
To:        Stefan Bethke <stb@lassitu.de>, Kimmo Paasiala <kpaasial@gmail.com>,  Constantin Stefanov <cstef@parallel.ru>, Muhammad Moinur Rahman <5u623l20@gmail.com>
Cc:        Brooks Davis <brooks@freebsd.org>, freebsd-ports@freebsd.org, miwi@freebsd.org
Subject:   Re: pam_ssh_agent_auth: ENOENT
Message-ID:  <512DBD48.4080100@andric.com>
In-Reply-To: <719342CC-0D44-405C-A51B-532D8AB04774@lassitu.de>
References:  <CA%2B7WWSfx0viznxyjueEjVjgWzXLy6wqsv%2BkjMaW2Cp98y3yV4g@mail.gmail.com> <CA%2B7WWSdS-QMgLz4cyPJbjC_yAn4CWvpKwCbKcpR4HxrznGos=w@mail.gmail.com> <7A12B6B7-BE3F-4E0A-99C5-61348CA7E028@lassitu.de> <B9524981-A0C5-417C-BD53-CD658BE59E09@lassitu.de> <CA%2B7WWSdy_KxXRX2zVyPU6-F5uwpNTwEYsNnVvpEOYw%2BrXzvpLw@mail.gmail.com> <6C2D19D2-A599-4B6A-89CC-D32DF685926F@lassitu.de> <CA%2B7WWSeFjDU=XFan8mocpRy0V3DYxOyz1Zznju0PEdGjNR0OHw@mail.gmail.com> <719342CC-0D44-405C-A51B-532D8AB04774@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-02-27 00:39, Stefan Bethke wrote:
...
> openbsd-compat/vis.h is #ifdef'd HAVE_STRNVIS, so we check configure.  configure.log thinks we have a suitable strnvis:
>
> configure:16566: checking for strnvis
> configure:16622: cc -o conftest -O2 -pipe -fno-strict-aliasing -fPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -fstack-protector-all   -fstack-protector-all conftest.c  -lutil -lpam >&5
> configure:16629: $? = 0
> configure:16651: result: yes
>
>
> Do we?

We have strnvis(), but it is not suitable.  We got strnvis() from
NetBSD, and its arguments are in a different order from OpenBSD's
version.  See the archive for earlier discussions (and crash reports :)
about this.

I recommend adding the line:

CONFIGURE_ENV=		ac_cv_func_strnvis=no

to the port Makefile, just as with security/openssh-portable.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?512DBD48.4080100>