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

(-)Makefile (-7 / +16 lines)
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>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1480976612
1
TIMESTAMP = 1499110463
2
SHA256 (softhsm-2.2.0.tar.gz) = eb6928ae08da44fca4135d84d6b79ad7345f408193208c54bf69f5b2e71f85f7
2
SHA256 (softhsm-2.3.0.tar.gz) = 5ed604c89a3a6ef9d7d1ee92c28a2c4b3cd1f86f302c808e2d12c8f39aa2c127
3
SIZE (softhsm-2.2.0.tar.gz) = 966806
3
SIZE (softhsm-2.3.0.tar.gz) = 992417
(-)files/patch-src_lib_object__store_DB.h (+10 lines)
Line 0 Link Here
1
--- src/lib/object_store/DB.h.orig	2017-07-13 14:38:02 UTC
2
+++ src/lib/object_store/DB.h
3
@@ -37,6 +37,7 @@
4
 
5
 #include <string>
6
 #include <sqlite3.h>
7
+#include <time.h>
8
 
9
 namespace DB {
10
 
(-)pkg-plist (+2 lines)
Lines 1-4 Link Here
1
bin/softhsm2-dump-file
1
bin/softhsm2-dump-file
2
%%SQLITE%%bin/softhsm2-dump-db
2
bin/softhsm2-keyconv
3
bin/softhsm2-keyconv
3
bin/softhsm2-util
4
bin/softhsm2-util
4
@sample %%ETCDIR%%2.conf.sample
5
@sample %%ETCDIR%%2.conf.sample
Lines 5-10 Link Here
5
lib/softhsm/libsofthsm2.a
6
lib/softhsm/libsofthsm2.a
6
lib/softhsm/libsofthsm2.so
7
lib/softhsm/libsofthsm2.so
7
man/man1/softhsm2-dump-file.1.gz
8
man/man1/softhsm2-dump-file.1.gz
9
%%SQLITE%%man/man1/softhsm2-dump-db.1.gz
8
man/man1/softhsm2-keyconv.1.gz
10
man/man1/softhsm2-keyconv.1.gz
9
man/man1/softhsm2-util.1.gz
11
man/man1/softhsm2-util.1.gz
10
man/man5/softhsm2.conf.5.gz
12
man/man5/softhsm2.conf.5.gz

Return to bug 220744