summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2016-12-18 03:18:31 +0100
committerMarc Schiffbauer <mschiff@gentoo.org>2016-12-18 03:18:55 +0100
commit5b1c82b3ff033137da150a63282a980d98465e17 (patch)
treee724679ca44476878220ced8de59fef11f6eda32
parentmedia-libs/opus: amd64 stable wrt bug #602086 (diff)
downloadgentoo-5b1c82b3ff033137da150a63282a980d98465e17.tar.gz
gentoo-5b1c82b3ff033137da150a63282a980d98465e17.tar.bz2
gentoo-5b1c82b3ff033137da150a63282a980d98465e17.zip
dev-libs/softhsm: revbump new slot and new USE flag (fix #601314)
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
-rw-r--r--dev-libs/softhsm/metadata.xml5
-rw-r--r--dev-libs/softhsm/softhsm-2.0.0-r1.ebuild (renamed from dev-libs/softhsm/softhsm-2.0.0.ebuild)5
2 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/softhsm/metadata.xml b/dev-libs/softhsm/metadata.xml
index 56df135ff5a0..9afd1b594ec7 100644
--- a/dev-libs/softhsm/metadata.xml
+++ b/dev-libs/softhsm/metadata.xml
@@ -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>
diff --git a/dev-libs/softhsm/softhsm-2.0.0.ebuild b/dev-libs/softhsm/softhsm-2.0.0-r1.ebuild
index 4572953a7287..3aa06a0e8f99 100644
--- a/dev-libs/softhsm/softhsm-2.0.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.0.0-r1.ebuild
@@ -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")
}