From owner-freebsd-ports@FreeBSD.ORG Wed Feb 27 08:01:20 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 9C0EF952; Wed, 27 Feb 2013 08:01:20 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id C68B4F56; Wed, 27 Feb 2013 08:01:19 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:204:4bff:fe01:de8a] (spaceball.andric.com [IPv6:2001:7b8:3a7:0:204:4bff:fe01:de8a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 58B455C43; Wed, 27 Feb 2013 09:01:11 +0100 (CET) Message-ID: <512DBD48.4080100@andric.com> Date: Wed, 27 Feb 2013 09:01:12 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20130117 Thunderbird/19.0 MIME-Version: 1.0 To: Stefan Bethke , Kimmo Paasiala , Constantin Stefanov , Muhammad Moinur Rahman <5u623l20@gmail.com> Subject: Re: pam_ssh_agent_auth: ENOENT References: <7A12B6B7-BE3F-4E0A-99C5-61348CA7E028@lassitu.de> <6C2D19D2-A599-4B6A-89CC-D32DF685926F@lassitu.de> <719342CC-0D44-405C-A51B-532D8AB04774@lassitu.de> In-Reply-To: <719342CC-0D44-405C-A51B-532D8AB04774@lassitu.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Brooks Davis , freebsd-ports@freebsd.org, miwi@freebsd.org 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: Wed, 27 Feb 2013 08:01:20 -0000 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.