dns/opendnsssec*: switch to openhsm2 to the HSM option.

This commit is contained in:
Rene Ladan 2019-10-04 18:33:00 +00:00
parent 8594795410
commit 7026c44184
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513771
2 changed files with 4 additions and 4 deletions

View file

@ -63,8 +63,8 @@ SCRIPTDATA= database_create.sqlite3 migrate_keyshare_sqlite3.pl \
.endif
.if ${PORT_OPTIONS:MSOFTHSM}
CONFIGURE_ARGS+= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm.so
RUN_DEPENDS+= softhsm>=1.2.0:security/softhsm
CONFIGURE_ARGS+= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm2.so
RUN_DEPENDS+= softhsm2>=2.5.0:security/softhsm2
.endif
SCRIPTDATA+= convert_database.pl

View file

@ -58,8 +58,8 @@ SQLITE_USES= sqlite
SQLITE_CONFIGURE_ON= --with-enforcer-database=sqlite3
SQLITE_BUILD_DEPENDS= sqlite3>=3.3.9:databases/sqlite3
SOFTHSM_CONFIGURE_ON= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm.so
SOFTHSM_RUN_DEPENDS= softhsm>=1.2.0:security/softhsm
SOFTHSM_CONFIGURE_ON= --with-pkcs11-softhsm=${LOCALBASE}/lib/softhsm/libsofthsm2.so
SOFTHSM_RUN_DEPENDS= softhsm2>=2.5.0:security/softhsm2
post-patch:
${REINPLACE_CMD} -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \