opendnssec / SoftHSMv2

SoftHSM version 2
http://www.softhsm.org/
Other
769 stars 342 forks source link

Homebrew formula #353

Closed gijzelaerr closed 6 years ago

gijzelaerr commented 6 years ago

Just to let you know, there is a homebrew formula work in progress PR:

https://github.com/Homebrew/homebrew-core/pull/19885

gijzelaerr commented 6 years ago

the formula is complete, but there is one remaining issue:

It looks like the formula is installing libsofthsm2.so not libsofthsm2.dylib, which is a porting issue that needs to be fixed upstream before we can include this software in Homebrew.
bellgrim commented 6 years ago

Thanks, will add a reference to it once it has been published

bellgrim commented 6 years ago

@gijzelaerr I did not get any feedback on the Homebrew PR. Have you had any discussions with the developers?

PKCS#11 should be considered as dynamically loadable modules (.so/.bundle) and not as shared libraries (.dylib). That you dynamically load (dlopen) and not via dynamic linking.

Compare with another PKCS#11 library: http://brewformulas.org/Opensc

They even reverted from .dylib to .so: OpenSC/OpenSC@630e7ee#diff-67e997bcfdac55191033d57a16d1408a

gijzelaerr commented 6 years ago

Hi @bellgrim. Sorry for not getting back to you. I trust your judgment so I agree. Problem is that homebrew people don't seem to be convinced. I don't have time to convince them at the moment, might try to do this at some point again. Thanks for your time.