From owner-svn-ports-head@freebsd.org Fri Jul 27 12:36:55 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC9D810494BA; Fri, 27 Jul 2018 12:36:55 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52975725E0; Fri, 27 Jul 2018 12:36:55 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2D9BB17F25; Fri, 27 Jul 2018 12:36:55 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6RCatWF033945; Fri, 27 Jul 2018 12:36:55 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6RCasgG033943; Fri, 27 Jul 2018 12:36:54 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201807271236.w6RCasgG033943@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Fri, 27 Jul 2018 12:36:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475432 - head/security/softhsm2 X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: head/security/softhsm2 X-SVN-Commit-Revision: 475432 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2018 12:36:55 -0000 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 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