Package Details: pam_pkcs11 0.6.6-1

Package Base: pam_pkcs11
Description: PAM module allows a X.509 certificate based user login
Upstream URL: http://www.opensc-project.org/pam_pkcs11/
Category: system
Licenses: LGPL
Submitter: master
Maintainer: ilpianista
Last Packager: ilpianista
Votes: 6
First Submitted: 2009-12-02 20:34
Last Updated: 2015-01-18 14:16

Latest Comments

Comment by geekux

2010-07-28 12:20

Actually I just found this doesn't worke, since apparently the PAM module looks for the other modules (opensc_mapper.so and openssh_mapper.so) in /usr/lib/pam_pkcs11, no matter which --libdir you specify.

I worked around this using your original PKGBUILD (with libdir=/usr/lib) and added the following lines:

mkdir -p -m 755 $startdir/lib/security
install -D -m 644 $startdir/pkg/usr/lib/security/pam_pkcs11.so \
$startdir/pkg/lib/security/pam_pkcs11.so
rm -rf $startdir/pkg/usr/lib/security

Comment by master

2010-07-28 11:36

@geekux: Thanks. Done.

Comment by geekux

2010-07-28 11:15

You should remove the --libdir=/usr/lib configure option, as the standard place for PAM security modules is /lib/security.