dev-libs/softhsm: revbump new slot and new USE flag (fix #601314)
authorMarc Schiffbauer <mschiff@gentoo.org>
Sun, 18 Dec 2016 02:18:31 +0000 (03:18 +0100)
committerMarc Schiffbauer <mschiff@gentoo.org>
Sun, 18 Dec 2016 02:18:55 +0000 (03:18 +0100)
SLOT this version so it can be installed together with
1.x version
add use flag 'migration-tool' which will build the
db migration tool (enabled by default)

Thanks to Kévin Beaubestre for reporting

Fixes bug #601314

Package-Manager: portage-2.3.2

dev-libs/softhsm/metadata.xml
dev-libs/softhsm/softhsm-2.0.0-r1.ebuild [moved from dev-libs/softhsm/softhsm-2.0.0.ebuild with 89% similarity]

index 56df135ff5a058bd8e9c353ade5c7b771eb4fd40..9afd1b594ec75f5496d44f453a5e89563fdabf14 100644 (file)
@@ -4,4 +4,9 @@
        <maintainer type="person">
                <email>mschiff@gentoo.org</email>
        </maintainer>
+       <use>
+               <flag name="migration-tool">
+               Build db migration tool
+               </flag>
+       </use>
 </pkgmetadata>
similarity index 89%
rename from dev-libs/softhsm/softhsm-2.0.0.ebuild
rename to dev-libs/softhsm/softhsm-2.0.0-r1.ebuild
index 4572953a7287f3212288a98d4d5105d1c4accbcb..3aa06a0e8f995f2ea00ef97aefffa1e67c63ac01 100644 (file)
@@ -9,8 +9,8 @@ HOMEPAGE="http://www.opendnssec.org/"
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz"
 
 KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-SLOT="0"
+IUSE="debug +migration-tool"
+SLOT="2"
 LICENSE="BSD"
 
 RDEPEND="
@@ -26,6 +26,7 @@ src_configure() {
                --disable-static \
                --localstatedir=/var \
                --with-botan="${EPREFIX}/usr/" \
+               $(use_with migration-tool migrate) \
                $(use_enable amd64 64bit) \
                $(use debug && echo "--with-loglevel=4")
 }