svn commit: r458409 - head/security/softhsm2

Kurt Jaeger pi at FreeBSD.org
Mon Jan 8 13:32:55 UTC 2018


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 at NLnetLabs.nl (maintainer)
  Reported by:	dwmw2 at infradead.org
  Tested by:	w.schwarzenfeld at 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
+ at dir share/p11-kit/modules
+ at dir share
+share/p11-kit/modules/softhsm2.module


More information about the svn-ports-all mailing list