[opensc-devel] Re: [opensc-commits] svn pam_pkcs11 changed [135] pam_pkcs11.so to be installed under /lib/security instead of /usr/lib/security

Andreas Jellinghaus aj at dungeon.inka.de
Thu Sep 1 18:34:36 UTC 2005


On Thursday 01 September 2005 13:13, webmaster at opensc.org wrote:
> Revision: 135
> Author:   jonsito
> Date:     2005-09-01 11:13:38 +0000 (Thu, 01 Sep 2005)
> 
> Log Message:
> -----------
> pam_pkcs11.so to be installed under /lib/security instead 
of /usr/lib/security

...

> +libdir = ${prefix}/../lib/security
> +

that does not work with "make distcheck".

my suggestion is: simply use @libdir@/security
and suggest the people to use
	./configure --prefix=/usr --libdir=/lib

also note: with the default prefix /usr/local/
your version would create /usr/security, right?
you don't want that. (or did you change prefix
default to /usr?)

still, it does not make sence to me to install
pam modules in /lib/security if their libs
are in /usr/lib/. so people could as well
install pam modules in /usr/lib/security/
and than add symlinks, if pam fails to load
the modules from that directory.

anyway, I'd recommend to not use "../" anywhere
in the default config nor install anything
outside $prefix. both breaks make distcheck.
better to instruct the users how to configure
it and hope they do that right, or add
symlinks later.

Regards, Andreas



More information about the opensc-devel mailing list