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
Search Criteria
Package Details: pam_pkcs11 0.6.6-1
Package Actions
| 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: | |
| Submitter: | master |
| Maintainer: | ilpianista |
| Last Packager: | ilpianista |
| Votes: | 6 |
| First Submitted: | 2009-12-02 20:34 |
| Last Updated: | 2015-01-18 14:16 |
Dependencies (1)
Required by (0)
Sources
Latest Comments
Comment by geekux
Comment by master
@geekux: Thanks. Done.
Comment by geekux
You should remove the --libdir=/usr/lib configure option, as the standard place for PAM security modules is /lib/security.