Subject: pkg/29257: postgresql80-server pulls in linux-PAM
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dan@uboat.geek.com.au>
List: pkgsrc-bugs
Date: 02/07/2005 03:27:01
>Number:         29257
>Category:       pkg
>Synopsis:       postgresql80-server depends on linux-PAM inappropriately
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 07 03:27:00 +0000 2005
>Originator:     Daniel Carosone
>Release:        NetBSD 2.99.15
>Organization:
	
>Environment:
NetBSD-current pkgsrc-current
>Description:

in postgresql80-server/Makefile:

.if defined(USE_PAM)
.  include "../../security/PAM/buildlink3.mk"
CONFIGURE_ARGS+=        --with-pam
.endif


$ make show-var VARNAME=USE_PAM
no

So the test fires and linux-PAM gets built.
>How-To-Repeat:
>Fix:
test variable value as well as presence

use ../mk/pam.buildlink3.mk instead, to pull in appropriate PAM version

Not able to test PAM myself.. not sure if there are compatibility
issues between variants.

--
Dan.