Hi, this is the upstream mod_gnutls maintainer. The patch is not going to be enough to use SoftHSM 2, that would need a bunch of changes to the test environment setup as well. If the build doesn't fail with the patch, that's because the PKCS #11 test is skipped when "make check" cannot find a supported SoftHSM version (same effect as just removing the dependency on softhsm).
However, I have SoftHSM 2 support in my development repository (https://github.com/airtower-luna/mod_gnutls.git master) since March. I didn't consider releasing it high priority because SoftHSM 1 works well enough for tests, but I could make a 0.7.4 release with SoftHSM 2 support instead of waiting for 0.8 with new features if that helps. Daniel, what do you think? Regards, Thomas

