aboutsummaryrefslogtreecommitdiffstats
path: root/security/softhsm/Makefile
blob: e1362d6e5feb0c218a3af6a4e18e44763f3e73f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Jaap Akkerhuis <jaap@NLnetLabs.nl>
# $FreeBSD$

PORTNAME=   softhsm
PORTVERSION=    1.3.7
PORTREVISION=   3
CATEGORIES= security
MASTER_SITES=   http://dist.opendnssec.org/source/

MAINTAINER= jaap@NLnetLabs.nl
COMMENT=    Software implementation of a Hardware Security Module (HSM)

LICENSE=    BSD2CLAUSE

LIB_DEPENDS=    libbotan-1.10.so:security/botan110 \
        libsqlite3.so:databases/sqlite3

GNU_CONFIGURE=  yes
# !!!!!!!!!!!!
# Changing the localstatedir is a huge POLA violation. Please leave it alone.
# !!!!!!!!!!!!!!
CONFIGURE_ARGS= --with-botan=${LOCALBASE} --with-sqlite3=${LOCALBASE} \
        --localstatedir=/var
INSTALL_TARGET= install-strip
USES=       libtool
USE_LDCONFIG=   yes

CONFLICTS=  softhsm2-2.0.*

.include <bsd.port.mk>