Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2018 12:36:54 +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: r475432 - head/security/softhsm2
Message-ID:  <201807271236.w6RCasgG033943@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Jul 27 12:36:54 2018
New Revision: 475432
URL: https://svnweb.freebsd.org/changeset/ports/475432

Log:
  security/softhsm2: add MIGRATE option to build the migration tool, as default
  
  PR:		227004
  Requested by:	Roman <kabalax@gmail.com>
  Submitted by:	jaap@NLnetLabs.nl (maintainer)

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

Modified: head/security/softhsm2/Makefile
==============================================================================
--- head/security/softhsm2/Makefile	Fri Jul 27 12:35:21 2018	(r475431)
+++ head/security/softhsm2/Makefile	Fri Jul 27 12:36:54 2018	(r475432)
@@ -3,6 +3,7 @@
 
 PORTNAME=	softhsm
 PORTVERSION=	2.4.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://dist.opendnssec.org/source/ \
 		http://dist.opendnssec.org/source/testing/
@@ -26,9 +27,11 @@ USE_LDCONFIG=	yes
 
 LIB_DEPENDS+=		libcppunit.so:devel/cppunit
 
-OPTIONS_DEFINE=		SQLITE
+OPTIONS_DEFINE=		SQLITE MIGRATE
+MIGRATE_IMPLIES=	SQLITE
 OPTIONS_SUB=		yes
 SQLITE_DESC=		Build with object store backend DB support (SQLITE3)
+MIGRATE_DESC=		Build the migration tool
 
 OPTIONS_SINGLE=		CRYP
 OPTIONS_SINGLE_CRYP=	CRYP_OPEN CRYP_BOTAN
@@ -36,10 +39,11 @@ OPTIONS_SINGLE_CRYP=	CRYP_OPEN CRYP_BOTAN
 CRYP_OPEN_DESC=		Build with OpenSSL crypto library
 CRYP_BOTAN_DESC=	Build with Botan crypto library
 
-OPTIONS_DEFAULT=	CRYP_OPEN
+OPTIONS_DEFAULT=	CRYP_OPEN SQLITE MIGRATE
 
 SQLITE_CONFIGURE_WITH=	sqlite3=${LOCALBASE} objectstore-backend-db
 SQLITE_USES=		sqlite
+MIGRATE_CONFIGURE_WITH=	migrate
 
 CRYP_BOTAN_CONFIGURE_ON=	--with-crypto-backend=botan
 CRYP_BOTAN_LIB_DEPENDS=	libbotan-1.10.so:security/botan110

Modified: head/security/softhsm2/pkg-plist
==============================================================================
--- head/security/softhsm2/pkg-plist	Fri Jul 27 12:35:21 2018	(r475431)
+++ head/security/softhsm2/pkg-plist	Fri Jul 27 12:36:54 2018	(r475432)
@@ -1,6 +1,7 @@
 bin/softhsm2-dump-file
 %%SQLITE%%bin/softhsm2-dump-db
 bin/softhsm2-keyconv
+%%MIGRATE%%bin/softhsm2-migrate
 bin/softhsm2-util
 @sample %%ETCDIR%%2.conf.sample
 lib/softhsm/libsofthsm2.a
@@ -8,6 +9,7 @@ lib/softhsm/libsofthsm2.so
 man/man1/softhsm2-dump-file.1.gz
 %%SQLITE%%man/man1/softhsm2-dump-db.1.gz
 man/man1/softhsm2-keyconv.1.gz
+%%MIGRATE%%man/man1/softhsm2-migrate.1.gz
 man/man1/softhsm2-util.1.gz
 man/man5/softhsm2.conf.5.gz
 @dir /var/lib/softhsm/tokens



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