diff options
author | swills <swills@FreeBSD.org> | 2017-08-19 00:09:58 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2017-08-19 00:09:58 +0800 |
commit | 429c1203e4e242bbeef1c2daf024037c774d0027 (patch) | |
tree | f9d1d2b4fb2fb09da3bb7031269bdfe6a3c93425 /security | |
parent | 6ade2b2ce863df6cd0f7b68a69afa4c5f5df8495 (diff) | |
download | freebsd-ports-gnome-429c1203e4e242bbeef1c2daf024037c774d0027.tar.gz freebsd-ports-gnome-429c1203e4e242bbeef1c2daf024037c774d0027.tar.zst freebsd-ports-gnome-429c1203e4e242bbeef1c2daf024037c774d0027.zip |
security/softhsm2: fix storage directory
PR: 221212
Submitted by: jaap@NLnetLabs.nl (maintainer)
Reported by: dewayne@heuristicsystems.com.au
Diffstat (limited to 'security')
-rw-r--r-- | security/softhsm2/Makefile | 12 | ||||
-rw-r--r-- | security/softhsm2/files/pkg-message.in | 2 | ||||
-rw-r--r-- | security/softhsm2/pkg-plist | 8 |
3 files changed, 15 insertions, 7 deletions
diff --git a/security/softhsm2/Makefile b/security/softhsm2/Makefile index 513bd50e18ea..69c2de90ae6e 100644 --- a/security/softhsm2/Makefile +++ b/security/softhsm2/Makefile @@ -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> diff --git a/security/softhsm2/files/pkg-message.in b/security/softhsm2/files/pkg-message.in new file mode 100644 index 000000000000..858608871a17 --- /dev/null +++ b/security/softhsm2/files/pkg-message.in @@ -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 diff --git a/security/softhsm2/pkg-plist b/security/softhsm2/pkg-plist index 44ce5143ffff..34c6bb40911d 100644 --- a/security/softhsm2/pkg-plist +++ b/security/softhsm2/pkg-plist @@ -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 |