Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2013 18:13:09 GMT
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179310: security/pam_ssh_agent_auth produces a non-working shared library on 9-STABLE
Message-ID:  <201306041813.r54ID9UN087717@oldred.freebsd.org>
Resent-Message-ID: <201306041820.r54IK1bZ007169@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306041813.r54ID9UN087717>