From owner-freebsd-ports@FreeBSD.ORG Tue Mar 26 16:25:12 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 141DAC43; Tue, 26 Mar 2013 16:25:12 +0000 (UTC) (envelope-from miwi@freebsd.org) Received: from bsdhash.org (bsdhash.org [94.23.250.27]) by mx1.freebsd.org (Postfix) with ESMTP id D093E99F; Tue, 26 Mar 2013 16:25:11 +0000 (UTC) Received: from [192.168.0.105] (stm-15-249.tm.net.my [202.188.15.249]) by bsdhash.org (Postfix) with ESMTPA id AD01351136; Wed, 27 Mar 2013 00:25:07 +0800 (MYT) Subject: Re: pam_ssh_agent_auth: ENOENT Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii From: Martin Wilke In-Reply-To: <830CEF08-04B2-40C6-BAD6-B2C738BD9536@lassitu.de> Date: Wed, 27 Mar 2013 00:25:04 +0800 Content-Transfer-Encoding: quoted-printable Message-Id: <7DF1B318-30FD-40CE-9198-A42E437376EB@freebsd.org> References: <7A12B6B7-BE3F-4E0A-99C5-61348CA7E028@lassitu.de> <6C2D19D2-A599-4B6A-89CC-D32DF685926F@lassitu.de> <719342CC-0D44-405C-A51B-532D8AB04774@lassitu.de> <512DBD48.4080100@andric.com> <830CEF08-04B2-40C6-BAD6-B2C738BD9536@lassitu.de> To: Stefan Bethke X-Mailer: Apple Mail (2.1499) Cc: Brooks Davis , Kimmo Paasiala , Muhammad Moinur Rahman <5u623l20@gmail.com>, Constantin Stefanov , freebsd-ports@freebsd.org, Dimitry Andric X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 16:25:12 -0000 Hey Please test the new patch. @ Stefan thx for the PR. http://people.freebsd.org/~miwi/psaa.diff - Martin On Feb 27, 2013, at 4:04 PM, Stefan Bethke wrote: >=20 > Am 27.02.2013 um 09:01 schrieb Dimitry Andric : >=20 >> 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. >=20 > 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. >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D176469 >=20 >=20 > Stefan >=20 > --=20 > Stefan Bethke Fon +49 151 14070811 >=20 >=20 >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to = "freebsd-ports-unsubscribe@freebsd.org" >=20 +-----------------oOO--(_)--OOo-------------------------+ With best Regards, Martin Wilke (miwi_(at)_FreeBSD.org) Mess with the Best, Die like the Rest