1 # Created by: Jaap Akkerhuis <jaap@NLnetLabs.nl>
7 MASTER_SITES= http://dist.opendnssec.org/source/ \
8 http://dist.opendnssec.org/source/testing/
11 MAINTAINER= jaap@NLnetLabs.nl
12 COMMENT= Software implementation of a Hardware Security Module (HSM)
16 LIB_DEPENDS= libsqlite3.so:databases/sqlite3
19 CONFIGURE_ARGS= --with-sqlite3=${LOCALBASE} --localstatedir="${PREFIX}/var"
20 INSTALL_TARGET= install-strip
23 CONFLICTS= softhsm-1.*
28 OPTIONS_SINGLE_CRYP= CRYP_OPEN CRYP_BOTAN
30 CRYP_OPEN_DESC= Build with OpenSSL crypto library
31 CRYP_BOTAN_DESC= Build with Botan crypto library
33 OPTIONS_DEFAULT= CRYP_OPEN
35 CRYP_BOTAN_CONFIGURE_ON= --with-crypto-backend=botan
36 CRYP_BOTAN_LIB_DEPENDS= libbotan-1.10.so:security/botan110
37 CRYP_OPEN_USE= openssl=yes
38 CRYP_OPEN_VARS= WITH_OPENSSL_PORT=yes
39 CRYP_OPEN_CONFIGURE_ON= --with-crypto-backend=openssl
41 .if defined(OPENSSL_PORT) && ${OPENSSL_PORT} == security/libressl
42 CONFIGURE_ARGS+= --disable-gost
45 .include <bsd.port.mk>