Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2018 13:32:53 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458409 - head/security/softhsm2
Message-ID:  <201801081332.w08DWrgc088243@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Jan  8 13:32:53 2018
New Revision: 458409
URL: https://svnweb.freebsd.org/changeset/ports/458409

Log:
  security/softhsm2: fix install of p11-kit .module file
  
  - See also
    https://github.com/opendnssec/SoftHSMv2/issues/230
  
  PR:		212518
  Submitted by:	jaap@NLnetLabs.nl (maintainer)
  Reported by:	dwmw2@infradead.org
  Tested by:	w.schwarzenfeld@utanet.at

Modified:
  head/security/softhsm2/Makefile
  head/security/softhsm2/pkg-plist

Modified: head/security/softhsm2/Makefile
==============================================================================
--- head/security/softhsm2/Makefile	Mon Jan  8 13:21:10 2018	(r458408)
+++ head/security/softhsm2/Makefile	Mon Jan  8 13:32:53 2018	(r458409)
@@ -3,7 +3,7 @@
 
 PORTNAME=	softhsm
 PORTVERSION=	2.3.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://dist.opendnssec.org/source/ \
 		http://dist.opendnssec.org/source/testing/
@@ -56,5 +56,10 @@ CONFIGURE_ARGS+=	--disable-gost
 .if ${SSL_DEFAULT:Mopenssl-devel}
 CONFIGURE_ARGS+=	--disable-gost
 .endif
+
+post-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/p11-kit/modules
+	${INSTALL_DATA} ${WRKSRC}/softhsm2.module \
+		${STAGEDIR}${PREFIX}/share/p11-kit/modules
 
 .include <bsd.port.mk>

Modified: head/security/softhsm2/pkg-plist
==============================================================================
--- head/security/softhsm2/pkg-plist	Mon Jan  8 13:21:10 2018	(r458408)
+++ head/security/softhsm2/pkg-plist	Mon Jan  8 13:32:53 2018	(r458409)
@@ -13,3 +13,6 @@ man/man5/softhsm2.conf.5.gz
 @dir /var/lib/softhsm/tokens
 @dir /var/lib/softhsm
 @dir /var/lib
+@dir share/p11-kit/modules
+@dir share
+share/p11-kit/modules/softhsm2.module



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