Opened 8 years ago
Closed 8 years ago
#52478 closed enhancement (fixed)
opensc @0.16.0: integrate with p11-kit
Reported by: | lbschenkel (Leonardo Brondani Schenkel) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | maintainer haspatch | Cc: | |
Port: | opensc |
Description
I'm attaching a patch that registers a opensc module in ${prefix}/share/p11-kit/modules
so opensc will be automatically discovered by p11-kit.
I also introduced a new variant +p11kit
(not enabled by default) that adds a runtime dependency to p11-kit and changes the module pkcs11-tool
uses by default to the p11-kit
module.
To the unfamiliar with p11-kit
, it is a library with the purpose to enumerate and load all PKCS#11 modules in the system. Programs can link to p11-kit
directly but p11-kit
is also a PKCS#11 module itself, which allows it to be used by any program that supports loading such modules.
Attachments (1)
Change History (5)
comment:1 Changed 8 years ago by lbschenkel (Leonardo Brondani Schenkel)
comment:2 Changed 8 years ago by dbevans (David B. Evans)
Owner: | changed from macports-tickets@… to devans@… |
---|---|
Status: | new → assigned |
Will test and commit assuming all is well. The only problem I see is that the /opt/local prefix is used rather than ${prefix} when setting p11_module_configs but I can fix that for you.
Changed 8 years ago by lbschenkel (Leonardo Brondani Schenkel)
Attachment: | p11kit.patch added |
---|
comment:3 Changed 8 years ago by lbschenkel (Leonardo Brondani Schenkel)
I missed the stray /opt/local
, sorry. I have updated the patch.
comment:4 Changed 8 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Refreshed the patch to use
p11-kit-proxy.so
since it is now correctly built by thep11-kit
port (#52486).