pam_ssh_agent_auth: ENOENT

Stefan Bethke stb at lassitu.de
Wed Feb 27 08:05:01 UTC 2013


Am 27.02.2013 um 09:01 schrieb Dimitry Andric <dimitry at andric.com>:

> 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.

Ah, neat, I didn't know you could do that in a Makefile.  I've just submitted ports/176469 with a patch to configure, but this much nicer.

http://www.freebsd.org/cgi/query-pr.cgi?pr=176469


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811





More information about the freebsd-ports mailing list