Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2017 16:09:59 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448254 - in head/security/softhsm2: . files
Message-ID:  <201708181609.v7IG9xGG007191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Aug 18 16:09:58 2017
New Revision: 448254
URL: https://svnweb.freebsd.org/changeset/ports/448254

Log:
  security/softhsm2: fix storage directory
  
  PR:		221212
  Submitted by:	jaap@NLnetLabs.nl (maintainer)
  Reported by:	dewayne@heuristicsystems.com.au

Added:
  head/security/softhsm2/files/pkg-message.in   (contents, props changed)
Modified:
  head/security/softhsm2/Makefile
  head/security/softhsm2/pkg-plist

Modified: head/security/softhsm2/Makefile
==============================================================================
--- head/security/softhsm2/Makefile	Fri Aug 18 16:09:48 2017	(r448253)
+++ head/security/softhsm2/Makefile	Fri Aug 18 16:09:58 2017	(r448254)
@@ -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)
@@ -46,6 +50,10 @@ CRYP_OPEN_CONFIGURE_ON=	--with-crypto-backend=openssl
 .include <bsd.port.options.mk>
 
 .if ${SSL_DEFAULT:Mlibressl*} || ${SSL_DEFAULT:Mopenssl-devel}
+CONFIGURE_ARGS+=	--disable-gost
+.endif
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
 CONFIGURE_ARGS+=	--disable-gost
 .endif
 

Added: head/security/softhsm2/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/softhsm2/files/pkg-message.in	Fri Aug 18 16:09:58 2017	(r448254)
@@ -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

Modified: head/security/softhsm2/pkg-plist
==============================================================================
--- head/security/softhsm2/pkg-plist	Fri Aug 18 16:09:48 2017	(r448253)
+++ head/security/softhsm2/pkg-plist	Fri Aug 18 16:09:58 2017	(r448254)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708181609.v7IG9xGG007191>