Date: Wed, 27 Feb 2013 09:04:59 +0100 From: Stefan Bethke <stb@lassitu.de> To: Dimitry Andric <dimitry@andric.com>, "miwi@freebsd.org" <miwi@freebsd.org> Cc: Muhammad Moinur Rahman <5u623l20@gmail.com>, Kimmo Paasiala <kpaasial@gmail.com>, Brooks Davis <brooks@freebsd.org>, Constantin Stefanov <cstef@parallel.ru>, freebsd-ports@freebsd.org Subject: Re: pam_ssh_agent_auth: ENOENT Message-ID: <830CEF08-04B2-40C6-BAD6-B2C738BD9536@lassitu.de> In-Reply-To: <512DBD48.4080100@andric.com> 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> <512DBD48.4080100@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 27.02.2013 um 09:01 schrieb Dimitry Andric <dimitry@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: >>=20 >> 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: $? =3D 0 >> configure:16651: result: yes >>=20 >>=20 >> Do we? >=20 > 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. >=20 > I recommend adding the line: >=20 > CONFIGURE_ENV=3D ac_cv_func_strnvis=3Dno >=20 > 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=3D176469 Stefan --=20 Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?830CEF08-04B2-40C6-BAD6-B2C738BD9536>