View | Details | Raw Unified | Return to bug 227004
Collapse All | Expand All

(-)Makefile (-2 / +6 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	softhsm
4
PORTNAME=	softhsm
5
PORTVERSION=	2.4.0
5
PORTVERSION=	2.4.0
6
PORTREVISION=	1
6
CATEGORIES=	security
7
CATEGORIES=	security
7
MASTER_SITES=	http://dist.opendnssec.org/source/ \
8
MASTER_SITES=	http://dist.opendnssec.org/source/ \
8
		http://dist.opendnssec.org/source/testing/
9
		http://dist.opendnssec.org/source/testing/
Lines 26-34 Link Here
26
27
27
LIB_DEPENDS+=		libcppunit.so:devel/cppunit
28
LIB_DEPENDS+=		libcppunit.so:devel/cppunit
28
29
29
OPTIONS_DEFINE=		SQLITE
30
OPTIONS_DEFINE=		SQLITE MIGRATE
31
MIGRATE_IMPLIES=	SQLITE
30
OPTIONS_SUB=		yes
32
OPTIONS_SUB=		yes
31
SQLITE_DESC=		Build with object store backend DB support (SQLITE3)
33
SQLITE_DESC=		Build with object store backend DB support (SQLITE3)
34
MIGRATE_DESC=		Build the migration tool
32
35
33
OPTIONS_SINGLE=		CRYP
36
OPTIONS_SINGLE=		CRYP
34
OPTIONS_SINGLE_CRYP=	CRYP_OPEN CRYP_BOTAN
37
OPTIONS_SINGLE_CRYP=	CRYP_OPEN CRYP_BOTAN
Lines 36-45 Link Here
36
CRYP_OPEN_DESC=		Build with OpenSSL crypto library
39
CRYP_OPEN_DESC=		Build with OpenSSL crypto library
37
CRYP_BOTAN_DESC=	Build with Botan crypto library
40
CRYP_BOTAN_DESC=	Build with Botan crypto library
38
41
39
OPTIONS_DEFAULT=	CRYP_OPEN
42
OPTIONS_DEFAULT=	CRYP_OPEN SQLITE MIGRATE
40
43
41
SQLITE_CONFIGURE_WITH=	sqlite3=${LOCALBASE} objectstore-backend-db
44
SQLITE_CONFIGURE_WITH=	sqlite3=${LOCALBASE} objectstore-backend-db
42
SQLITE_USES=		sqlite
45
SQLITE_USES=		sqlite
46
MIGRATE_CONFIGURE_WITH=	migrate
43
47
44
CRYP_BOTAN_CONFIGURE_ON=	--with-crypto-backend=botan
48
CRYP_BOTAN_CONFIGURE_ON=	--with-crypto-backend=botan
45
CRYP_BOTAN_LIB_DEPENDS=	libbotan-1.10.so:security/botan110
49
CRYP_BOTAN_LIB_DEPENDS=	libbotan-1.10.so:security/botan110
(-)pkg-plist (+2 lines)
Lines 1-6 Link Here
1
bin/softhsm2-dump-file
1
bin/softhsm2-dump-file
2
%%SQLITE%%bin/softhsm2-dump-db
2
%%SQLITE%%bin/softhsm2-dump-db
3
bin/softhsm2-keyconv
3
bin/softhsm2-keyconv
4
%%MIGRATE%%bin/softhsm2-migrate
4
bin/softhsm2-util
5
bin/softhsm2-util
5
@sample %%ETCDIR%%2.conf.sample
6
@sample %%ETCDIR%%2.conf.sample
6
lib/softhsm/libsofthsm2.a
7
lib/softhsm/libsofthsm2.a
Lines 8-13 Link Here
8
man/man1/softhsm2-dump-file.1.gz
9
man/man1/softhsm2-dump-file.1.gz
9
%%SQLITE%%man/man1/softhsm2-dump-db.1.gz
10
%%SQLITE%%man/man1/softhsm2-dump-db.1.gz
10
man/man1/softhsm2-keyconv.1.gz
11
man/man1/softhsm2-keyconv.1.gz
12
%%MIGRATE%%man/man1/softhsm2-migrate.1.gz
11
man/man1/softhsm2-util.1.gz
13
man/man1/softhsm2-util.1.gz
12
man/man5/softhsm2.conf.5.gz
14
man/man5/softhsm2.conf.5.gz
13
@dir /var/lib/softhsm/tokens
15
@dir /var/lib/softhsm/tokens

Return to bug 227004