1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

security/softhsm2: fix storage directory

PR:		221212
Submitted by:	jaap@NLnetLabs.nl (maintainer)
Reported by:	dewayne@heuristicsystems.com.au
This commit is contained in:
Steve Wills 2017-08-18 16:09:58 +00:00
parent e1fa0bd2da
commit 34d0c11b9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448254
3 changed files with 15 additions and 7 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= softhsm
PORTVERSION= 2.3.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://dist.opendnssec.org/source/ \
http://dist.opendnssec.org/source/testing/
@ -15,14 +16,17 @@ LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir="${PREFIX}/var"
INSTALL_TARGET= install-strip
USES= libtool ssl
USES= libtool ssl pkgconfig
SUB_FILES= pkg-message
CONFLICTS= softhsm-1.*
USE_LDCONFIG= yes
LIB_DEPENDS+= libcppunit.so:devel/cppunit
OPTIONS_DEFINE= SQLITE
OPTIONS_SUB= yes
SQLITE_DESC= Build with object store backend DB support (SQLITE3)
@ -49,4 +53,8 @@ CRYP_OPEN_CONFIGURE_ON= --with-crypto-backend=openssl
CONFIGURE_ARGS+= --disable-gost
.endif
.if ${SSL_DEFAULT:Mopenssl-devel}
CONFIGURE_ARGS+= --disable-gost
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
As of version 2.3.0_1, the storage directory for softhsm has changed from
/usr/local/var/lib/softhsm to /var/lib/softhsm

View File

@ -10,8 +10,6 @@ man/man1/softhsm2-dump-file.1.gz
man/man1/softhsm2-keyconv.1.gz
man/man1/softhsm2-util.1.gz
man/man5/softhsm2.conf.5.gz
@dir lib/softhsm
@dir var/lib/softhsm/tokens
@dir var/lib/softhsm
@dir var/lib
@dir var
@dir /var/lib/softhsm/tokens
@dir /var/lib/softhsm
@dir /var/lib