From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 4 18:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A74757A5 for ; Tue, 4 Jun 2013 18:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7460C12D0 for ; Tue, 4 Jun 2013 18:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r54IK1RX007170 for ; Tue, 4 Jun 2013 18:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r54IK1bZ007169; Tue, 4 Jun 2013 18:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 4 Jun 2013 18:20:01 GMT Resent-Message-Id: <201306041820.r54IK1bZ007169@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kimmo Paasiala Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E3FF160E for ; Tue, 4 Jun 2013 18:13:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id D5B2A127E for ; Tue, 4 Jun 2013 18:13:09 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r54ID9ig087720 for ; Tue, 4 Jun 2013 18:13:09 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r54ID9UN087717; Tue, 4 Jun 2013 18:13:09 GMT (envelope-from nobody) Message-Id: <201306041813.r54ID9UN087717@oldred.freebsd.org> Date: Tue, 4 Jun 2013 18:13:09 GMT From: Kimmo Paasiala To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/179310: security/pam_ssh_agent_auth produces a non-working shared library on 9-STABLE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 18:20:01 -0000 >Number: 179310 >Category: ports >Synopsis: security/pam_ssh_agent_auth produces a non-working shared library on 9-STABLE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 04 18:20:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Kimmo Paasiala >Release: 9-STABLE >Organization: >Environment: FreeBSD firewall.rdnzl.info 9.1-STABLE FreeBSD 9.1-STABLE #0 r251213: Sat Jun 1 17:10:53 EEST 2013 kimmo@firewall.rdnzl.info:/usr/obj/usr/src/sys/FIREWALL i386 >Description: Port security/pam_ssh_agent_auth tries to detect if the system has strnvis() function and produces a shared library that has an undefined reference to pamsshagentauth_strnvis if the port is compiled with HAVE_STRNVIS set to 1. On 9.1-RELEASE the test sets HAVE_STRNVIS to undefined but on 9-STABLE the test sets it to 1. >How-To-Repeat: Compile security/pam_ssh_agent_auth on recent 9-STABLE and inspect the dynamic symbols of pam_ssh-agent_auth.so with nm(1), the dynamic symbol pamsshagentauth_strnvis will be shown to be undefined. >Fix: The attached patch turns off the detection of strnvis() and makes the port use the bundled version of the function in all cases. Patch attached with submission follows: Index: /usr/ports/security/pam_ssh_agent_auth/Makefile =================================================================== --- /usr/ports/security/pam_ssh_agent_auth/Makefile (revision 319832) +++ /usr/ports/security/pam_ssh_agent_auth/Makefile (working copy) @@ -16,6 +16,7 @@ USE_BZIP2= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= ac_cv_func_strnvis="no" CONFIGURE_ARGS= --libexecdir=${LOCALBASE}/lib USE_PERL5= yes >Release-Note: >Audit-Trail: >Unformatted: