commit: 5b1c82b3ff033137da150a63282a980d98465e17
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 02:18:31 2016 +0000
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 02:18:55 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b1c82b3
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
dev-libs/softhsm/metadata.xml | 5 +++++
dev-libs/softhsm/{softhsm-2.0.0.ebuild => softhsm-2.0.0-r1.ebuild} | 5 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-libs/softhsm/metadata.xml b/dev-libs/softhsm/metadata.xml
index 56df135..9afd1b5 100644
--- a/dev-libs/softhsm/metadata.xml
+++ b/dev-libs/softhsm/metadata.xml
@@ -4,4 +4,9 @@
<maintainer type="person">
<email>[email protected]</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
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 4572953..3aa06a0 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")
}