Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= softhsm |
4 |
PORTNAME= softhsm |
5 |
PORTVERSION= 2.2.0 |
5 |
PORTVERSION= 2.3.0 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= security |
6 |
CATEGORIES= security |
8 |
MASTER_SITES= http://dist.opendnssec.org/source/ \ |
7 |
MASTER_SITES= http://dist.opendnssec.org/source/ \ |
9 |
http://dist.opendnssec.org/source/testing/ |
8 |
http://dist.opendnssec.org/source/testing/ |
Lines 14-30
Link Here
|
14 |
|
13 |
|
15 |
LICENSE= BSD2CLAUSE |
14 |
LICENSE= BSD2CLAUSE |
16 |
|
15 |
|
17 |
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 |
|
|
18 |
|
19 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_ARGS= --with-sqlite3=${LOCALBASE} --localstatedir="${PREFIX}/var" |
17 |
CONFIGURE_ARGS= --localstatedir="${PREFIX}/var" |
21 |
INSTALL_TARGET= install-strip |
18 |
INSTALL_TARGET= install-strip |
22 |
USES= libtool sqlite |
19 |
USES= libtool |
23 |
|
20 |
|
24 |
CONFLICTS= softhsm-1.* |
21 |
CONFLICTS= softhsm-1.* |
25 |
|
22 |
|
26 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
27 |
|
24 |
|
|
|
25 |
OPTIONS_DEFINE= SQLITE |
26 |
OPTIONS_SUB= yes |
27 |
SQLITE_DESC= Build with object store backend DB support (SQLITE3) |
28 |
|
28 |
OPTIONS_SINGLE= CRYP |
29 |
OPTIONS_SINGLE= CRYP |
29 |
OPTIONS_SINGLE_CRYP= CRYP_OPEN CRYP_BOTAN |
30 |
OPTIONS_SINGLE_CRYP= CRYP_OPEN CRYP_BOTAN |
30 |
|
31 |
|
Lines 31-41
Link Here
|
31 |
CRYP_OPEN_DESC= Build with OpenSSL crypto library |
32 |
CRYP_OPEN_DESC= Build with OpenSSL crypto library |
32 |
CRYP_BOTAN_DESC= Build with Botan crypto library |
33 |
CRYP_BOTAN_DESC= Build with Botan crypto library |
33 |
|
34 |
|
|
|
35 |
|
34 |
OPTIONS_DEFAULT= CRYP_OPEN |
36 |
OPTIONS_DEFAULT= CRYP_OPEN |
35 |
|
37 |
|
|
|
38 |
SQLITE_CONFIGURE_WITH= sqlite3=${LOCALBASE} objectstore-backend-db |
39 |
SQLITE_USES= sqlite |
40 |
|
36 |
CRYP_BOTAN_CONFIGURE_ON= --with-crypto-backend=botan |
41 |
CRYP_BOTAN_CONFIGURE_ON= --with-crypto-backend=botan |
37 |
CRYP_BOTAN_LIB_DEPENDS= libbotan-1.10.so:security/botan110 |
42 |
CRYP_BOTAN_LIB_DEPENDS= libbotan-1.10.so:security/botan110 |
38 |
CRYP_OPEN_USES= ssl |
43 |
|
39 |
CRYP_OPEN_CONFIGURE_ON= --with-crypto-backend=openssl |
44 |
CRYP_OPEN_CONFIGURE_ON= --with-crypto-backend=openssl |
40 |
|
45 |
|
41 |
.include <bsd.port.options.mk> |
46 |
.include <bsd.port.options.mk> |
Lines 44-47
Link Here
|
44 |
CONFIGURE_ARGS+= --disable-gost |
49 |
CONFIGURE_ARGS+= --disable-gost |
45 |
.endif |
50 |
.endif |
46 |
|
51 |
|
|
|
52 |
.if ${SSL_DEFAULT:Mopenssl-devel} |
53 |
CONFIGURE_ARGS+= --disable-gost |
54 |
.endif |
55 |
|
47 |
.include <bsd.port.mk> |
56 |
.include <bsd.port.mk> |