[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2024-04-15 Thread Arthur Zamarin
commit: 8f6bff3b1fb8866c4e4903048a7c6760f8ba43ff
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 15 09:00:45 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 15 09:00:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6bff3b

dev-libs/softhsm: Stabilize 2.6.1-r3 ppc, #914526

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
index 9accb9d0f790..d05aff92022e 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.6.1-p
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2024-04-15 Thread Arthur Zamarin
commit: 366d52776c451a595268431e85b9d26fa06173fd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 15 09:00:47 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 15 09:00:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366d5277

dev-libs/softhsm: Stabilize 2.6.1-r3 ppc64, #914526

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
index d05aff92022e..2a66c86555d7 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.6.1-p
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2024-04-15 Thread Arthur Zamarin
commit: a681f77b1a58dd0288c3cf3695063503e68feeea
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 15 09:00:48 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 15 09:00:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a681f77b

dev-libs/softhsm: Stabilize 2.6.1-r3 sparc, #914526

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
index 2a66c86555d7..4e6bb2768abb 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.6.1-p
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2024-04-15 Thread Arthur Zamarin
commit: 3f8506770aaea863a6935166f3dd675ec63bef8a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 15 08:45:11 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 15 08:45:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f850677

dev-libs/softhsm: Stabilize 2.6.1-r3 arm64, #914526

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
index 3658be552e9a..9accb9d0f790 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.6.1-p
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2024-04-15 Thread Arthur Zamarin
commit: 08d726849329d741a9660cef3216985335fc0d84
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 15 08:43:22 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 15 08:43:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d72684

dev-libs/softhsm: Stabilize 2.6.1-r3 arm, #914526

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
index 84ae4eb1d3e6..3658be552e9a 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.6.1-p
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2024-04-15 Thread Arthur Zamarin
commit: 462225fa5fb1a838c545615a5e0d7594b4fdbf95
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 15 08:29:02 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 15 08:29:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=462225fa

dev-libs/softhsm: Stabilize 2.6.1-r3 x86, #930056

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
index 80d7204cd4f4..35767ceb4300 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.6.1-p
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2024-04-15 Thread Arthur Zamarin
commit: 82c02c8e1874b4c39ee2af5f6e581927302872b4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Apr 15 08:29:03 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Apr 15 08:29:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82c02c8e

dev-libs/softhsm: Stabilize 2.6.1-r3 amd64, #930056

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
index 35767ceb4300..84ae4eb1d3e6 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.6.1-p
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2024-04-15 Thread Sam James
commit: 5ac981c4933bccdf951a9562cb9a61a86384119b
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 15 08:08:39 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 15 08:16:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac981c4

dev-libs/softhsm: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-libs/softhsm/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-libs/softhsm/metadata.xml b/dev-libs/softhsm/metadata.xml
index 73e6a5df718a..61d4cdeef207 100644
--- a/dev-libs/softhsm/metadata.xml
+++ b/dev-libs/softhsm/metadata.xml
@@ -6,4 +6,7 @@
Enable gost algorithm
Build db migration tool

+   
+   opendnssec/SoftHSMv2
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2023-08-05 Thread Arthur Zamarin
commit: 449eb30dd839380c530a75e4b58d886f6f3a7b52
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug  5 11:35:55 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug  5 11:35:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449eb30d

dev-libs/softhsm: Keyword 2.6.1-r2 s390, #909781

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
index 0b9c9a9a8875..dc8c0e0ad289 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2022-05-19 Thread WANG Xuerui
commit: a87443328da0f8162eacd01875912a1c543fe940
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 19 10:35:28 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 19 10:35:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8744332

dev-libs/softhsm: keyword 2.6.1-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
index cb48ec27b916..0b9c9a9a8875 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2021-12-15 Thread Sam James
commit: e47472037cc5f9b84c2cd7cc223e1cdd2d38611d
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 16 00:08:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 16 00:08:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4747203

dev-libs/softhsm: Stabilize 2.6.1-r2 ALLARCHES, #828045

Signed-off-by: Sam James  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
index 6a7ef28681b0..cb48ec27b916 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86"
 IUSE="gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2021-12-02 Thread Sam James
commit: 0de4fa6c810cfc668e2dcefd12a940e724bea791
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  3 04:49:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  3 04:50:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0de4fa6c

dev-libs/softhsm: adapt for OpenSSL bindist changes

OpenSSL no longer has a bindist flag.

Bug: https://bugs.gentoo.org/762850
Signed-off-by: Sam James  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r2.ebuild | 48 
 1 file changed, 48 insertions(+)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
new file mode 100644
index ..6a7ef28681b0
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="https://www.opendnssec.org/;
+SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
+
+LICENSE="BSD"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+IUSE="gost migration-tool test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   migration-tool? ( dev-db/sqlite:3= )
+   dev-libs/openssl:=
+   !~dev-libs/softhsm-2.0.0:0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-devel/gcc:=[cxx]
+   virtual/pkgconfig
+   test? ( dev-util/cppunit )
+"
+
+DOCS=( NEWS README.md )
+
+src_configure() {
+   econf \
+   --disable-static \
+   --with-crypto-backend=openssl \
+   --disable-p11-kit \
+   --localstatedir="${EPREFIX}/var" \
+   --enable-ecc \
+   $(use_enable gost) \
+   $(use_with migration-tool migrate)
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -delete || die
+
+   keepdir /var/lib/softhsm/tokens
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2021-07-28 Thread Marek Szuba
commit: ea77e055823daef164e4c79680286fa9205b8db1
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 28 16:00:04 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 28 18:41:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea77e055

dev-libs/softhsm: keyword 2.6.1-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1-r1.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1-r1.ebuild
index 808ff4cbdbf..c7e6688a6e9 100644
--- a/dev-libs/softhsm/softhsm-2.6.1-r1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1-r1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="2"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86"
 IUSE="bindist gost migration-tool test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2021-05-02 Thread Mikle Kolyada
commit: 142b885dd8cfd05ee9abc2b85d4e7f882f7d8d97
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 15:37:05 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 15:38:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=142b885d

dev-libs/softhsm: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1.ebuild
index 4fef59f66d5..a91a6928ade 100644
--- a/dev-libs/softhsm/softhsm-2.6.1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1.ebuild
@@ -10,14 +10,13 @@ 
SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 LICENSE="BSD"
 SLOT="2"
 KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
-IUSE="bindist gost libressl migration-tool test"
+IUSE="bindist gost migration-tool test"
 
 RESTRICT="!test? ( test )"
 
 RDEPEND="
migration-tool? ( dev-db/sqlite:3= )
-   !libressl? ( dev-libs/openssl:0=[bindist=] )
-   libressl? ( dev-libs/libressl:= )
+   dev-libs/openssl:0=[bindist=]
!~dev-libs/softhsm-2.0.0:0
 "
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/, dev-libs/softhsm/files/

2021-03-16 Thread Sam James
commit: d47958b663b7953446b4990d143c433a9dbf9dc6
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 16 18:46:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 16 19:22:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d47958b6

dev-libs/softhsm: drop 2.5.0

Signed-off-by: Sam James  gentoo.org>

 dev-libs/softhsm/Manifest  |  1 -
 .../softhsm/files/softhsm-2.5.0-libressl.patch | 32 -
 dev-libs/softhsm/softhsm-2.5.0.ebuild  | 53 --
 3 files changed, 86 deletions(-)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index c2da01da50a..ecf0dc98c3e 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1,2 +1 @@
-DIST softhsm-2.5.0.tar.gz 1078439 BLAKE2B 
f96f9e08f3ea568daccb64a5de94ac91b5efcee3dea09f460e98491e7fcdca1277ed52c339a2ec10dac2f78c9e7e44fe5c4a7d36c58e97afba6e749979d4d7e0
 SHA512 
a1e686729196dc25591eb3da57c2c8ea8494ed274ba711842b2dcae696f477a202acda13a975b8fb1eb68e8e44a79e839dbbc6ba500cab02ad13072c660752d9
 DIST softhsm-2.6.1.tar.gz 1066766 BLAKE2B 
0295c5f40235c8abd8879a8c6f7fbe8e8d686ee03355006e9c90c0f2f7135eaf6794a3d39febda1b1ed6e5d48dcacb1e14dae85fb0efb884d0d719bfc6624b92
 SHA512 
e77137096ff2ac2f5396971efbaa2007188855a8f723cb511182c6c5e5a353b3f98297442758e77a18c3a378c0ca3fce8abe090977f0f4f8d526de204fd523fb

diff --git a/dev-libs/softhsm/files/softhsm-2.5.0-libressl.patch 
b/dev-libs/softhsm/files/softhsm-2.5.0-libressl.patch
deleted file mode 100644
index 9aeaf2939ac..000
--- a/dev-libs/softhsm/files/softhsm-2.5.0-libressl.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 308b0b2760d6cb218003768747346d31764f1cfe Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev 
-Date: Fri, 19 Oct 2018 23:19:48 +0300
-Subject: [PATCH] crypto: use ENGINE_load_rdrand with recent openssl
-
-libressl and probably older openssl do not support this.
-
-Signed-off-by: Alon Bar-Lev 

- src/lib/crypto/OSSLCryptoFactory.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-https://github.com/opendnssec/SoftHSMv2/pull/423
-
-diff --git a/src/lib/crypto/OSSLCryptoFactory.cpp 
b/src/lib/crypto/OSSLCryptoFactory.cpp
-index dc5f737..04d383d 100644
 a/src/lib/crypto/OSSLCryptoFactory.cpp
-+++ b/src/lib/crypto/OSSLCryptoFactory.cpp
-@@ -141,8 +141,10 @@ OSSLCryptoFactory::OSSLCryptoFactory()
-   // Initialise OpenSSL
-   OpenSSL_add_all_algorithms();
- 
-+#if !( OPENSSL_VERSION_NUMBER < 0x1010L || 
defined(LIBRESSL_VERSION_NUMBER) )
-   // Make sure RDRAND is loaded first
-   ENGINE_load_rdrand();
-+#endif
-   // Locate the engine
-   rdrand_engine = ENGINE_by_id("rdrand");
-   // Use RDRAND if available
--- 
-2.18.1
-

diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild 
b/dev-libs/softhsm/softhsm-2.5.0.ebuild
deleted file mode 100644
index d9c6a91a08d..000
--- a/dev-libs/softhsm/softhsm-2.5.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="A software PKCS#11 implementation"
-HOMEPAGE="https://www.opendnssec.org/;
-SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bindist gost libressl migration-tool test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   migration-tool? ( dev-db/sqlite:3= )
-   !libressl? ( dev-libs/openssl:0=[bindist=] )
-   libressl? ( dev-libs/libressl:= )
-   !~dev-libs/softhsm-2.0.0:0
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-devel/gcc:=[cxx]
-   virtual/pkgconfig
-   test? ( dev-util/cppunit )
-"
-
-DOCS=( NEWS README.md )
-
-PATCHES=(
-   "${FILESDIR}/${P}-libressl.patch"
-)
-
-src_configure() {
-   econf \
-   --disable-static \
-   --with-crypto-backend=openssl \
-   --disable-p11-kit \
-   --localstatedir="${EPREFIX}/var" \
-   $(use_enable !bindist ecc) \
-   $(use_enable gost) \
-   $(use_with migration-tool migrate)
-}
-
-src_install() {
-   default
-
-   find "${ED}" -name '*.la' -delete || die
-
-   keepdir /var/lib/softhsm/tokens
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2021-03-09 Thread Sam James
commit: f446ca0db4542d6fbf4a6f5236352a42f730408b
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 10 01:05:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 10 01:05:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f446ca0d

dev-libs/softhsm: fix invalid EROOT usage

Signed-off-by: Sam James  gentoo.org>

 dev-libs/softhsm/softhsm-2.5.0.ebuild | 31 +--
 dev-libs/softhsm/softhsm-2.6.1.ebuild | 31 +--
 2 files changed, 34 insertions(+), 28 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild 
b/dev-libs/softhsm/softhsm-2.5.0.ebuild
index c9d44cfbb66..d9c6a91a08d 100644
--- a/dev-libs/softhsm/softhsm-2.5.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,25 +7,27 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="https://www.opendnssec.org/;
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
+LICENSE="BSD"
+SLOT="2"
 KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="bindist gost libressl migration-tool test"
+
 RESTRICT="!test? ( test )"
-SLOT="2"
-LICENSE="BSD"
 
-RDEPEND="migration-tool? ( dev-db/sqlite:3= )
+RDEPEND="
+   migration-tool? ( dev-db/sqlite:3= )
!libressl? ( dev-libs/openssl:0=[bindist=] )
libressl? ( dev-libs/libressl:= )
-   !~dev-libs/softhsm-2.0.0:0"
+   !~dev-libs/softhsm-2.0.0:0
+"
 DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
+BDEPEND="
sys-devel/gcc:=[cxx]
-   test? ( dev-util/cppunit )"
+   virtual/pkgconfig
+   test? ( dev-util/cppunit )
+"
 
-DOCS=(
-   NEWS
-   README.md
-)
+DOCS=( NEWS README.md )
 
 PATCHES=(
"${FILESDIR}/${P}-libressl.patch"
@@ -36,7 +38,7 @@ src_configure() {
--disable-static \
--with-crypto-backend=openssl \
--disable-p11-kit \
-   --localstatedir="${EROOT}/var" \
+   --localstatedir="${EPREFIX}/var" \
$(use_enable !bindist ecc) \
$(use_enable gost) \
$(use_with migration-tool migrate)
@@ -44,7 +46,8 @@ src_configure() {
 
 src_install() {
default
-   find "${D}" -name '*.la' -delete || die
 
-   keepdir "${EROOT}/var/lib/softhsm/tokens"
+   find "${ED}" -name '*.la' -delete || die
+
+   keepdir /var/lib/softhsm/tokens
 }

diff --git a/dev-libs/softhsm/softhsm-2.6.1.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1.ebuild
index 0d7093bbaa8..4fef59f66d5 100644
--- a/dev-libs/softhsm/softhsm-2.6.1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,32 +7,34 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="https://www.opendnssec.org/;
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
+LICENSE="BSD"
+SLOT="2"
 KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="bindist gost libressl migration-tool test"
+
 RESTRICT="!test? ( test )"
-SLOT="2"
-LICENSE="BSD"
 
-RDEPEND="migration-tool? ( dev-db/sqlite:3= )
+RDEPEND="
+   migration-tool? ( dev-db/sqlite:3= )
!libressl? ( dev-libs/openssl:0=[bindist=] )
libressl? ( dev-libs/libressl:= )
-   !~dev-libs/softhsm-2.0.0:0"
+   !~dev-libs/softhsm-2.0.0:0
+"
 DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
+BDEPEND="
sys-devel/gcc:=[cxx]
-   test? ( dev-util/cppunit )"
+   virtual/pkgconfig
+   test? ( dev-util/cppunit )
+"
 
-DOCS=(
-   NEWS
-   README.md
-)
+DOCS=( NEWS README.md )
 
 src_configure() {
econf \
--disable-static \
--with-crypto-backend=openssl \
--disable-p11-kit \
-   --localstatedir="${EROOT}/var" \
+   --localstatedir="${EPREFIX}/var" \
$(use_enable !bindist ecc) \
$(use_enable gost) \
$(use_with migration-tool migrate)
@@ -40,7 +42,8 @@ src_configure() {
 
 src_install() {
default
-   find "${D}" -name '*.la' -delete || die
 
-   keepdir "${EROOT}/var/lib/softhsm/tokens"
+   find "${ED}" -name '*.la' -delete || die
+
+   keepdir /var/lib/softhsm/tokens
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2020-10-18 Thread Mikle Kolyada
commit: a247748dc6cf012585729862b92f615211d92479
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct 18 15:29:29 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct 18 15:29:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a247748d

dev-libs/softhsm: Stabilize 2.6.1 x86, #743142

Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1.ebuild
index de7ea2819c9..0d7093bbaa8 100644
--- a/dev-libs/softhsm/softhsm-2.6.1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1.ebuild
@@ -7,7 +7,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="https://www.opendnssec.org/;
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
 IUSE="bindist gost libressl migration-tool test"
 RESTRICT="!test? ( test )"
 SLOT="2"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2020-10-18 Thread Mikle Kolyada
commit: f32977d79914df3fbf574d1baab2d6b781c440fc
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct 18 15:29:09 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct 18 15:29:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32977d7

dev-libs/softhsm: Stabilize 2.6.1 amd64, #743142

Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1.ebuild
index 6d8c36701e2..de7ea2819c9 100644
--- a/dev-libs/softhsm/softhsm-2.6.1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1.ebuild
@@ -7,7 +7,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="https://www.opendnssec.org/;
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="bindist gost libressl migration-tool test"
 RESTRICT="!test? ( test )"
 SLOT="2"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2020-09-28 Thread Sam James
commit: e3e83b1395a8efbd9c57f5935f7da7125babde0c
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 28 20:42:32 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 28 20:42:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3e83b13

dev-libs/softhsm: Keyword 2.6.1 arm, #744574

Signed-off-by: Sam James  gentoo.org>

 dev-libs/softhsm/softhsm-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.6.1.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1.ebuild
index 41a1b769e85..6d8c36701e2 100644
--- a/dev-libs/softhsm/softhsm-2.6.1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.6.1.ebuild
@@ -7,7 +7,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="https://www.opendnssec.org/;
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="bindist gost libressl migration-tool test"
 RESTRICT="!test? ( test )"
 SLOT="2"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2020-08-14 Thread Matt Turner
commit: 8589eeb915b0aab6b7c7d1a3a939ef0b571aa62d
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Aug 14 20:21:33 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Aug 14 20:42:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8589eeb9

dev-libs/softhsm: Version bump to 2.6.1

Signed-off-by: Matt Turner  gentoo.org>

 dev-libs/softhsm/Manifest |  1 +
 dev-libs/softhsm/softhsm-2.6.1.ebuild | 46 +++
 2 files changed, 47 insertions(+)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index fd32042b455..c2da01da50a 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1 +1,2 @@
 DIST softhsm-2.5.0.tar.gz 1078439 BLAKE2B 
f96f9e08f3ea568daccb64a5de94ac91b5efcee3dea09f460e98491e7fcdca1277ed52c339a2ec10dac2f78c9e7e44fe5c4a7d36c58e97afba6e749979d4d7e0
 SHA512 
a1e686729196dc25591eb3da57c2c8ea8494ed274ba711842b2dcae696f477a202acda13a975b8fb1eb68e8e44a79e839dbbc6ba500cab02ad13072c660752d9
+DIST softhsm-2.6.1.tar.gz 1066766 BLAKE2B 
0295c5f40235c8abd8879a8c6f7fbe8e8d686ee03355006e9c90c0f2f7135eaf6794a3d39febda1b1ed6e5d48dcacb1e14dae85fb0efb884d0d719bfc6624b92
 SHA512 
e77137096ff2ac2f5396971efbaa2007188855a8f723cb511182c6c5e5a353b3f98297442758e77a18c3a378c0ca3fce8abe090977f0f4f8d526de204fd523fb

diff --git a/dev-libs/softhsm/softhsm-2.6.1.ebuild 
b/dev-libs/softhsm/softhsm-2.6.1.ebuild
new file mode 100644
index 000..41a1b769e85
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-2.6.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="https://www.opendnssec.org/;
+SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
+
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="bindist gost libressl migration-tool test"
+RESTRICT="!test? ( test )"
+SLOT="2"
+LICENSE="BSD"
+
+RDEPEND="migration-tool? ( dev-db/sqlite:3= )
+   !libressl? ( dev-libs/openssl:0=[bindist=] )
+   libressl? ( dev-libs/libressl:= )
+   !~dev-libs/softhsm-2.0.0:0"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+   sys-devel/gcc:=[cxx]
+   test? ( dev-util/cppunit )"
+
+DOCS=(
+   NEWS
+   README.md
+)
+
+src_configure() {
+   econf \
+   --disable-static \
+   --with-crypto-backend=openssl \
+   --disable-p11-kit \
+   --localstatedir="${EROOT}/var" \
+   $(use_enable !bindist ecc) \
+   $(use_enable gost) \
+   $(use_with migration-tool migrate)
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+
+   keepdir "${EROOT}/var/lib/softhsm/tokens"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2019-03-20 Thread Alon Bar-Lev
commit: 7e7f6299568a68ec9655fc7c7bbbcd85cc61b9f1
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Mar 20 21:35:40 2019 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Mar 20 22:00:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e7f6299

dev-libs/softhsm: cleanup old

Signed-off-by: Alon Bar-Lev  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-libs/softhsm/Manifest |  1 -
 dev-libs/softhsm/softhsm-2.4.0.ebuild | 45 ---
 2 files changed, 46 deletions(-)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index 3e5d79284f9..fd32042b455 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1,2 +1 @@
-DIST softhsm-2.4.0.tar.gz 1042566 BLAKE2B 
01a0f4bdc589847c4a1f860c3e3f572644d874b11d7ab8e149e598fc123b75e898de9a46f73f5f2a107edcaeabdda29e4b9b6d54af5b95ad79a3c7b7b77b8bbf
 SHA512 
f14f65de32206500f708523ee88d8d5e3d1fd40175f1a9cd24c7760c829e2de9dbcb05453022df8186836c49a57e4eae7f2e75ce6a5346a426114f4d610a8a84
 DIST softhsm-2.5.0.tar.gz 1078439 BLAKE2B 
f96f9e08f3ea568daccb64a5de94ac91b5efcee3dea09f460e98491e7fcdca1277ed52c339a2ec10dac2f78c9e7e44fe5c4a7d36c58e97afba6e749979d4d7e0
 SHA512 
a1e686729196dc25591eb3da57c2c8ea8494ed274ba711842b2dcae696f477a202acda13a975b8fb1eb68e8e44a79e839dbbc6ba500cab02ad13072c660752d9

diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild 
b/dev-libs/softhsm/softhsm-2.4.0.ebuild
deleted file mode 100644
index 70b3e1b0f08..000
--- a/dev-libs/softhsm/softhsm-2.4.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="A software PKCS#11 implementation"
-HOMEPAGE="https://www.opendnssec.org/;
-SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
-
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bindist gost libressl migration-tool test"
-SLOT="2"
-LICENSE="BSD"
-
-RDEPEND="migration-tool? ( dev-db/sqlite:3 )
-   !libressl? ( dev-libs/openssl:0=[bindist=] )
-   libressl? ( dev-libs/libressl )
-   !~dev-libs/softhsm-2.0.0:0"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
-   sys-devel/gcc:=[cxx]
-   test? ( dev-util/cppunit )"
-
-DOCS=(
-   NEWS
-   README.md
-)
-
-src_configure() {
-   econf \
-   --disable-static \
-   --with-crypto-backend=openssl \
-   --disable-p11-kit \
-   --localstatedir="${EROOT}/var" \
-   $(use_enable !bindist ecc) \
-   $(use_enable gost) \
-   $(use_with migration-tool migrate)
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-
-   keepdir "${EROOT}/var/lib/softhsm/tokens"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2019-01-07 Thread Lars Wendler
commit: 03fa4115b6dbc899fda0010d83860eb6f7c23f03
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  7 18:01:44 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  7 19:15:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03fa4115

dev-libs/softhsm: Adjusted slot dependency on dev-libs/openssl

source-based packages should never depend on any other openssl slot
than slot 0.

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 dev-libs/softhsm/softhsm-2.4.0.ebuild | 2 +-
 dev-libs/softhsm/softhsm-2.5.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild 
b/dev-libs/softhsm/softhsm-2.4.0.ebuild
index 1db7548275e..70b3e1b0f08 100644
--- a/dev-libs/softhsm/softhsm-2.4.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.4.0.ebuild
@@ -13,7 +13,7 @@ SLOT="2"
 LICENSE="BSD"
 
 RDEPEND="migration-tool? ( dev-db/sqlite:3 )
-   !libressl? ( dev-libs/openssl:=[bindist=] )
+   !libressl? ( dev-libs/openssl:0=[bindist=] )
libressl? ( dev-libs/libressl )
!~dev-libs/softhsm-2.0.0:0"
 DEPEND="${RDEPEND}"

diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild 
b/dev-libs/softhsm/softhsm-2.5.0.ebuild
index a23cda5d73e..c05dee21086 100644
--- a/dev-libs/softhsm/softhsm-2.5.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.5.0.ebuild
@@ -13,7 +13,7 @@ SLOT="2"
 LICENSE="BSD"
 
 RDEPEND="migration-tool? ( dev-db/sqlite:3= )
-   !libressl? ( dev-libs/openssl:=[bindist=] )
+   !libressl? ( dev-libs/openssl:0=[bindist=] )
libressl? ( dev-libs/libressl:= )
!~dev-libs/softhsm-2.0.0:0"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2019-01-04 Thread Alon Bar-Lev
commit: 3aa9a7071818cab9ef3e6db9d5ce56c513970e99
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Jan  4 20:08:08 2019 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Jan  4 20:09:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aa9a707

dev-libs/softhsm: openssl-1.1 does not have gost

build should auto-detect available algorithm.

as a temporary solution extract to own USE flag for user to specify.

Closes: https://bugs.gentoo.org/674534
Thanks: Toralf Förster
Signed-off-by: Alon Bar-Lev  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/softhsm/metadata.xml | 5 ++---
 dev-libs/softhsm/softhsm-2.4.0.ebuild | 6 +++---
 dev-libs/softhsm/softhsm-2.5.0.ebuild | 6 +++---
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/dev-libs/softhsm/metadata.xml b/dev-libs/softhsm/metadata.xml
index 1db90fe1ffe..5b486dde6ca 100644
--- a/dev-libs/softhsm/metadata.xml
+++ b/dev-libs/softhsm/metadata.xml
@@ -6,8 +6,7 @@
Crypto


-   
-   Build db migration tool
-   
+   Enable gost algorithm
+   Build db migration tool

 

diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild 
b/dev-libs/softhsm/softhsm-2.4.0.ebuild
index ec4f819aecc..1db7548275e 100644
--- a/dev-libs/softhsm/softhsm-2.4.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.opendnssec.org/;
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
 KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bindist libressl migration-tool test"
+IUSE="bindist gost libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"
 
@@ -33,7 +33,7 @@ src_configure() {
--disable-p11-kit \
--localstatedir="${EROOT}/var" \
$(use_enable !bindist ecc) \
-   $(use_enable !libressl gost) \
+   $(use_enable gost) \
$(use_with migration-tool migrate)
 }
 

diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild 
b/dev-libs/softhsm/softhsm-2.5.0.ebuild
index efb92f3af4d..a23cda5d73e 100644
--- a/dev-libs/softhsm/softhsm-2.5.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.opendnssec.org/;
 SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
 KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bindist libressl migration-tool test"
+IUSE="bindist gost libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"
 
@@ -37,7 +37,7 @@ src_configure() {
--disable-p11-kit \
--localstatedir="${EROOT}/var" \
$(use_enable !bindist ecc) \
-   $(use_enable !libressl gost) \
+   $(use_enable gost) \
$(use_with migration-tool migrate)
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/files/, dev-libs/softhsm/

2018-10-19 Thread Alon Bar-Lev
commit: fde471e298782241675d66f2e7a4e3c11cf4e599
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Oct 19 20:29:03 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Oct 19 20:29:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde471e2

dev-libs/softhsm: fix libressl

Closes: https://bugs.gentoo.org/show_bug.cgi?id=669038
Signed-off-by: Alon Bar-Lev  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 .../softhsm/files/softhsm-2.5.0-libressl.patch | 32 ++
 dev-libs/softhsm/softhsm-2.5.0.ebuild  |  4 +++
 2 files changed, 36 insertions(+)

diff --git a/dev-libs/softhsm/files/softhsm-2.5.0-libressl.patch 
b/dev-libs/softhsm/files/softhsm-2.5.0-libressl.patch
new file mode 100644
index 000..9aeaf2939ac
--- /dev/null
+++ b/dev-libs/softhsm/files/softhsm-2.5.0-libressl.patch
@@ -0,0 +1,32 @@
+From 308b0b2760d6cb218003768747346d31764f1cfe Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev 
+Date: Fri, 19 Oct 2018 23:19:48 +0300
+Subject: [PATCH] crypto: use ENGINE_load_rdrand with recent openssl
+
+libressl and probably older openssl do not support this.
+
+Signed-off-by: Alon Bar-Lev 
+---
+ src/lib/crypto/OSSLCryptoFactory.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+https://github.com/opendnssec/SoftHSMv2/pull/423
+
+diff --git a/src/lib/crypto/OSSLCryptoFactory.cpp 
b/src/lib/crypto/OSSLCryptoFactory.cpp
+index dc5f737..04d383d 100644
+--- a/src/lib/crypto/OSSLCryptoFactory.cpp
 b/src/lib/crypto/OSSLCryptoFactory.cpp
+@@ -141,8 +141,10 @@ OSSLCryptoFactory::OSSLCryptoFactory()
+   // Initialise OpenSSL
+   OpenSSL_add_all_algorithms();
+ 
++#if !( OPENSSL_VERSION_NUMBER < 0x1010L || 
defined(LIBRESSL_VERSION_NUMBER) )
+   // Make sure RDRAND is loaded first
+   ENGINE_load_rdrand();
++#endif
+   // Locate the engine
+   rdrand_engine = ENGINE_by_id("rdrand");
+   // Use RDRAND if available
+-- 
+2.18.1
+

diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild 
b/dev-libs/softhsm/softhsm-2.5.0.ebuild
index aecd75f474e..efb92f3af4d 100644
--- a/dev-libs/softhsm/softhsm-2.5.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.5.0.ebuild
@@ -26,6 +26,10 @@ DOCS=(
README.md
 )
 
+PATCHES=(
+   "${FILESDIR}/${P}-libressl.patch"
+)
+
 src_configure() {
econf \
--disable-static \



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2018-10-19 Thread Alon Bar-Lev
commit: a4cb36623d37346ba2539f66ae6cbb0ecb0c27f2
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Oct 19 16:12:09 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Oct 19 16:12:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4cb3662

dev-libs/softhsm: version bump

Signed-off-by: Alon Bar-Lev  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-libs/softhsm/Manifest |  1 +
 dev-libs/softhsm/softhsm-2.5.0.ebuild | 45 +++
 2 files changed, 46 insertions(+)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index 4a3e518a95d..3e5d79284f9 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1 +1,2 @@
 DIST softhsm-2.4.0.tar.gz 1042566 BLAKE2B 
01a0f4bdc589847c4a1f860c3e3f572644d874b11d7ab8e149e598fc123b75e898de9a46f73f5f2a107edcaeabdda29e4b9b6d54af5b95ad79a3c7b7b77b8bbf
 SHA512 
f14f65de32206500f708523ee88d8d5e3d1fd40175f1a9cd24c7760c829e2de9dbcb05453022df8186836c49a57e4eae7f2e75ce6a5346a426114f4d610a8a84
+DIST softhsm-2.5.0.tar.gz 1078439 BLAKE2B 
f96f9e08f3ea568daccb64a5de94ac91b5efcee3dea09f460e98491e7fcdca1277ed52c339a2ec10dac2f78c9e7e44fe5c4a7d36c58e97afba6e749979d4d7e0
 SHA512 
a1e686729196dc25591eb3da57c2c8ea8494ed274ba711842b2dcae696f477a202acda13a975b8fb1eb68e8e44a79e839dbbc6ba500cab02ad13072c660752d9

diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild 
b/dev-libs/softhsm/softhsm-2.5.0.ebuild
new file mode 100644
index 000..aecd75f474e
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-2.5.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="https://www.opendnssec.org/;
+SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
+
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="bindist libressl migration-tool test"
+SLOT="2"
+LICENSE="BSD"
+
+RDEPEND="migration-tool? ( dev-db/sqlite:3= )
+   !libressl? ( dev-libs/openssl:=[bindist=] )
+   libressl? ( dev-libs/libressl:= )
+   !~dev-libs/softhsm-2.0.0:0"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+   sys-devel/gcc:=[cxx]
+   test? ( dev-util/cppunit )"
+
+DOCS=(
+   NEWS
+   README.md
+)
+
+src_configure() {
+   econf \
+   --disable-static \
+   --with-crypto-backend=openssl \
+   --disable-p11-kit \
+   --localstatedir="${EROOT}/var" \
+   $(use_enable !bindist ecc) \
+   $(use_enable !libressl gost) \
+   $(use_with migration-tool migrate)
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+
+   keepdir "${EROOT}/var/lib/softhsm/tokens"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2018-09-27 Thread Alon Bar-Lev
commit: d074c984b6ed86ac1c1985e5f9ff24223620ce47
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sun Sep 23 19:32:35 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Thu Sep 27 23:51:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d074c984

dev-libs/softhsm: eapi bump

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-libs/softhsm/softhsm-2.4.0.ebuild | 24 ++--
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild 
b/dev-libs/softhsm/softhsm-2.4.0.ebuild
index 419485df825..ec4f819aecc 100644
--- a/dev-libs/softhsm/softhsm-2.4.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.4.0.ebuild
@@ -1,9 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-
-inherit ltprune
+EAPI=7
 
 DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="https://www.opendnssec.org/;
@@ -14,17 +12,14 @@ IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"
 
-RDEPEND="
-   sys-devel/gcc:=[cxx]
-   migration-tool? ( dev-db/sqlite:3 )
+RDEPEND="migration-tool? ( dev-db/sqlite:3 )
!libressl? ( dev-libs/openssl:=[bindist=] )
libressl? ( dev-libs/libressl )
-   !=dev-libs/softhsm-2.0.0:0
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   test? ( dev-util/cppunit )
-"
+   !~dev-libs/softhsm-2.0.0:0"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+   sys-devel/gcc:=[cxx]
+   test? ( dev-util/cppunit )"
 
 DOCS=(
NEWS
@@ -34,9 +29,9 @@ DOCS=(
 src_configure() {
econf \
--disable-static \
-   --localstatedir="${EROOT}var" \
--with-crypto-backend=openssl \
--disable-p11-kit \
+   --localstatedir="${EROOT}/var" \
$(use_enable !bindist ecc) \
$(use_enable !libressl gost) \
$(use_with migration-tool migrate)
@@ -44,6 +39,7 @@ src_configure() {
 
 src_install() {
default
+   find "${D}" -name '*.la' -delete || die
+
keepdir "${EROOT}/var/lib/softhsm/tokens"
-   prune_libtool_files --modules
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2018-08-14 Thread Alon Bar-Lev
commit: 009da21fc0ea029b936283a913fb10bc1d154a3b
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Tue Aug 14 15:35:10 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Tue Aug 14 16:02:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=009da21f

dev-libs/softhsm: cleanup

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/softhsm/Manifest |  1 -
 dev-libs/softhsm/softhsm-2.3.0.ebuild | 48 ---
 2 files changed, 49 deletions(-)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index 100a03a3173..4a3e518a95d 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1,2 +1 @@
-DIST softhsm-2.3.0.tar.gz 992417 BLAKE2B 
dcb462a7d50be465c306e2208d2d446879ec093ce3a3233e338ba4df3b29a4f70050cd10ff513bff70ef37f98341230d061d48273a6fc54b668804311cb11bf8
 SHA512 
ef9ee41aa6eaeeb004d4ff5c78ca6e00895cc47e36551025a4422806eee8eead985cfd28476a867761a810f6957b0759edaac769bcdedf4ad974e426cfefce0f
 DIST softhsm-2.4.0.tar.gz 1042566 BLAKE2B 
01a0f4bdc589847c4a1f860c3e3f572644d874b11d7ab8e149e598fc123b75e898de9a46f73f5f2a107edcaeabdda29e4b9b6d54af5b95ad79a3c7b7b77b8bbf
 SHA512 
f14f65de32206500f708523ee88d8d5e3d1fd40175f1a9cd24c7760c829e2de9dbcb05453022df8186836c49a57e4eae7f2e75ce6a5346a426114f4d610a8a84

diff --git a/dev-libs/softhsm/softhsm-2.3.0.ebuild 
b/dev-libs/softhsm/softhsm-2.3.0.ebuild
deleted file mode 100644
index 52c594d4609..000
--- a/dev-libs/softhsm/softhsm-2.3.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit ltprune
-
-DESCRIPTION="A software PKCS#11 implementation"
-HOMEPAGE="https://www.opendnssec.org/;
-SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
-
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="bindist libressl migration-tool test"
-SLOT="2"
-LICENSE="BSD"
-
-RDEPEND="
-   sys-devel/gcc:=[cxx]
-   migration-tool? ( dev-db/sqlite:3 )
-   !libressl? ( dev-libs/openssl:=[bindist=] )
-   libressl? ( dev-libs/libressl )
-   !=dev-libs/softhsm-2.0.0:0
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   test? ( dev-util/cppunit )
-"
-
-DOCS=(
-   NEWS
-   README.md
-)
-
-src_configure() {
-   econf \
-   --disable-static \
-   --localstatedir="${EROOT}var" \
-   --with-crypto-backend=openssl \
-   --disable-p11-kit \
-   $(use_enable !bindist ecc) \
-   $(use_enable !libressl gost) \
-   $(use_with migration-tool migrate)
-}
-
-src_install() {
-   default
-   prune_libtool_files --modules
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2018-05-10 Thread Alon Bar-Lev
commit: 1b429456d05d99d44acd1475efb9414fba235812
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Thu May 10 18:30:56 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Thu May 10 18:31:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b429456

dev-libs/softhsm: version bump

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/softhsm/Manifest |  1 +
 dev-libs/softhsm/softhsm-2.4.0.ebuild | 49 +++
 2 files changed, 50 insertions(+)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index c5b97747993..100a03a3173 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1 +1,2 @@
 DIST softhsm-2.3.0.tar.gz 992417 BLAKE2B 
dcb462a7d50be465c306e2208d2d446879ec093ce3a3233e338ba4df3b29a4f70050cd10ff513bff70ef37f98341230d061d48273a6fc54b668804311cb11bf8
 SHA512 
ef9ee41aa6eaeeb004d4ff5c78ca6e00895cc47e36551025a4422806eee8eead985cfd28476a867761a810f6957b0759edaac769bcdedf4ad974e426cfefce0f
+DIST softhsm-2.4.0.tar.gz 1042566 BLAKE2B 
01a0f4bdc589847c4a1f860c3e3f572644d874b11d7ab8e149e598fc123b75e898de9a46f73f5f2a107edcaeabdda29e4b9b6d54af5b95ad79a3c7b7b77b8bbf
 SHA512 
f14f65de32206500f708523ee88d8d5e3d1fd40175f1a9cd24c7760c829e2de9dbcb05453022df8186836c49a57e4eae7f2e75ce6a5346a426114f4d610a8a84

diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild 
b/dev-libs/softhsm/softhsm-2.4.0.ebuild
new file mode 100644
index 000..419485df825
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-2.4.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit ltprune
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="https://www.opendnssec.org/;
+SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
+
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="bindist libressl migration-tool test"
+SLOT="2"
+LICENSE="BSD"
+
+RDEPEND="
+   sys-devel/gcc:=[cxx]
+   migration-tool? ( dev-db/sqlite:3 )
+   !libressl? ( dev-libs/openssl:=[bindist=] )
+   libressl? ( dev-libs/libressl )
+   !=dev-libs/softhsm-2.0.0:0
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   test? ( dev-util/cppunit )
+"
+
+DOCS=(
+   NEWS
+   README.md
+)
+
+src_configure() {
+   econf \
+   --disable-static \
+   --localstatedir="${EROOT}var" \
+   --with-crypto-backend=openssl \
+   --disable-p11-kit \
+   $(use_enable !bindist ecc) \
+   $(use_enable !libressl gost) \
+   $(use_with migration-tool migrate)
+}
+
+src_install() {
+   default
+   keepdir "${EROOT}/var/lib/softhsm/tokens"
+   prune_libtool_files --modules
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2018-04-10 Thread Alon Bar-Lev
commit: d6e780a3b664497cc1eb029f579ca0e1dc5488a8
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue Apr 10 11:53:38 2018 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Tue Apr 10 19:24:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e780a3

dev-libs/softhsm: use HTTPS

 dev-libs/softhsm/softhsm-2.3.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.3.0.ebuild 
b/dev-libs/softhsm/softhsm-2.3.0.ebuild
index 4594e95330d..52c594d4609 100644
--- a/dev-libs/softhsm/softhsm-2.3.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,8 +6,8 @@ EAPI=6
 inherit ltprune
 
 DESCRIPTION="A software PKCS#11 implementation"
-HOMEPAGE="http://www.opendnssec.org/;
-SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
+HOMEPAGE="https://www.opendnssec.org/;
+SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz;
 
 KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="bindist libressl migration-tool test"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2018-03-28 Thread Matt Turner
commit: 113d9befa4ea9367616da7caa88634bfbfbd7031
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Mar 28 20:54:47 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar 28 20:54:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113d9bef

dev-libs/softhsm-2.3.0: added ~mips

 dev-libs/softhsm/softhsm-2.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.3.0.ebuild 
b/dev-libs/softhsm/softhsm-2.3.0.ebuild
index c3836c3fc9a..4594e95330d 100644
--- a/dev-libs/softhsm/softhsm-2.3.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.3.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/, dev-libs/softhsm/files/

2017-10-07 Thread Alon Bar-Lev
commit: 58657a205b43d9e5b6b50146bd881e6682563ca1
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Oct  7 07:42:02 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Oct  7 08:21:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58657a20

dev-libs/softhsm: cleanup

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-libs/softhsm/Manifest  |   1 -
 dev-libs/softhsm/files/softhsm-2.2.0-build.patch   | 251 -
 .../softhsm/files/softhsm-2.2.0-libressl.patch | 203 -
 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild   |  54 -
 4 files changed, 509 deletions(-)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index 2748890b6ba..45dc5ca6ea3 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1,2 +1 @@
-DIST softhsm-2.2.0.tar.gz 966806 SHA256 
eb6928ae08da44fca4135d84d6b79ad7345f408193208c54bf69f5b2e71f85f7 SHA512 
6ef17deef491f7298244a3d2ddefe25843fc17534c4e5f2e08927f05cafdaf05601beb953539fce5d34fa02fe355cbd4ab3aaabb6e5a106936b04c06aae9793c
 WHIRLPOOL 
9e2ead19b2091fc46c6cdf63d2aaa26ad21dfe7d69d047ea85b38d725576885c8a1c6656cbec9d79e480158a9b8f9a90d36cf3fad0a80af317b883ee59ffba06
 DIST softhsm-2.3.0.tar.gz 992417 SHA256 
5ed604c89a3a6ef9d7d1ee92c28a2c4b3cd1f86f302c808e2d12c8f39aa2c127 SHA512 
ef9ee41aa6eaeeb004d4ff5c78ca6e00895cc47e36551025a4422806eee8eead985cfd28476a867761a810f6957b0759edaac769bcdedf4ad974e426cfefce0f
 WHIRLPOOL 
adf718c757f2f1ab3bdc8dade04790e89fd5ef1e51d957b3506b8a89a61ef19cb5225805ed7a8e5c8073298f19e60a59b140339cc3693121cb21fbd15a670794

diff --git a/dev-libs/softhsm/files/softhsm-2.2.0-build.patch 
b/dev-libs/softhsm/files/softhsm-2.2.0-build.patch
deleted file mode 100644
index 83b6548371e..000
--- a/dev-libs/softhsm/files/softhsm-2.2.0-build.patch
+++ /dev/null
@@ -1,251 +0,0 @@
-From ae2fea013237e227ab62b52f9855a8f9dd8dcdbb Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev 
-Date: Fri, 27 Jan 2017 14:18:19 +0200
-Subject: [PATCH 1/2] build: add missing log dependency to test
-
-Signed-off-by: Alon Bar-Lev 

- src/lib/test/Makefile.am | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/lib/test/Makefile.am b/src/lib/test/Makefile.am
-index 339593e..4555ff2 100644
 a/src/lib/test/Makefile.am
-+++ b/src/lib/test/Makefile.am
-@@ -25,6 +25,7 @@ p11test_SOURCES =p11test.cpp \
-   AsymWrapUnwrapTests.cpp \
-   TestsBase.cpp \
-   TestsNoPINInitBase.cpp \
-+  ../common/log.cpp \
-   ../common/osmutex.cpp
- 
- p11test_LDADD =   ../libsofthsm2.la 
--- 
-2.10.2
-
-From c90ba51dd944c9e842e4743cf8dd9d5f4ea7bc5d Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev 
-Date: Fri, 27 Jan 2017 14:41:11 +0200
-Subject: [PATCH 2/2] build: tests: use pkg-config for cppunit
-
-do not execute cppunit-config over and over.
-move detection to autoconf.
-use standard pkg-config module of pkg-config instead
-of cppunit-config.
-
-Signed-off-by: Alon Bar-Lev 

- configure.ac  | 3 +++
- m4/acx_cppunit.m4 | 4 
- src/lib/crypto/test/Makefile.am   | 7 ---
- src/lib/data_mgr/test/Makefile.am | 7 ---
- src/lib/handle_mgr/test/Makefile.am   | 7 ---
- src/lib/object_store/test/Makefile.am | 7 ---
- src/lib/session_mgr/test/Makefile.am  | 7 ---
- src/lib/slot_mgr/test/Makefile.am | 7 ---
- src/lib/test/Makefile.am  | 7 ---
- 9 files changed, 35 insertions(+), 21 deletions(-)
- create mode 100644 m4/acx_cppunit.m4
-
-diff --git a/configure.ac b/configure.ac
-index 4ecabd6..7df0f73 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -117,6 +117,9 @@ ACX_VISIBILITY
- # If we should install the p11-kit module
- ACX_P11KIT
- 
-+# cppunit setetings
-+ACX_CPPUNIT
-+
- # Set full directory paths
- full_sysconfdir=`eval eval eval eval eval echo "${sysconfdir}" | sed 
"s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
- full_localstatedir=`eval eval eval eval eval echo "${localstatedir}" | sed 
"s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
-diff --git a/m4/acx_cppunit.m4 b/m4/acx_cppunit.m4
-new file mode 100644
-index 000..ff5b90e
 /dev/null
-+++ b/m4/acx_cppunit.m4
-@@ -0,0 +1,4 @@
-+AC_DEFUN([ACX_CPPUNIT],[
-+  PKG_PROG_PKG_CONFIG
-+  PKG_CHECK_MODULES([CPPUNIT], [cppunit], [have_cppunit=yes], 
[have_cppunit=no])
-+])
-diff --git a/src/lib/crypto/test/Makefile.am b/src/lib/crypto/test/Makefile.am
-index ca7e421..81c2ce6 100644
 a/src/lib/crypto/test/Makefile.am
-+++ b/src/lib/crypto/test/Makefile.am
-@@ -8,8 +8,9 @@ AM_CPPFLAGS =  -I$(srcdir)/.. \
-   -I$(srcdir)/../../object_store \
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-07-28 Thread Alon Bar-Lev
commit: 85a1c01ed47cf4844d9260fa5508a4fce3affc71
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Jul 28 08:32:46 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Jul 28 08:32:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a1c01e

dev-libs/softhsm: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-libs/softhsm/Manifest |  1 +
 dev-libs/softhsm/softhsm-2.3.0.ebuild | 48 +++
 2 files changed, 49 insertions(+)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index 810ddfab6f8..2748890b6ba 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1 +1,2 @@
 DIST softhsm-2.2.0.tar.gz 966806 SHA256 
eb6928ae08da44fca4135d84d6b79ad7345f408193208c54bf69f5b2e71f85f7 SHA512 
6ef17deef491f7298244a3d2ddefe25843fc17534c4e5f2e08927f05cafdaf05601beb953539fce5d34fa02fe355cbd4ab3aaabb6e5a106936b04c06aae9793c
 WHIRLPOOL 
9e2ead19b2091fc46c6cdf63d2aaa26ad21dfe7d69d047ea85b38d725576885c8a1c6656cbec9d79e480158a9b8f9a90d36cf3fad0a80af317b883ee59ffba06
+DIST softhsm-2.3.0.tar.gz 992417 SHA256 
5ed604c89a3a6ef9d7d1ee92c28a2c4b3cd1f86f302c808e2d12c8f39aa2c127 SHA512 
ef9ee41aa6eaeeb004d4ff5c78ca6e00895cc47e36551025a4422806eee8eead985cfd28476a867761a810f6957b0759edaac769bcdedf4ad974e426cfefce0f
 WHIRLPOOL 
adf718c757f2f1ab3bdc8dade04790e89fd5ef1e51d957b3506b8a89a61ef19cb5225805ed7a8e5c8073298f19e60a59b140339cc3693121cb21fbd15a670794

diff --git a/dev-libs/softhsm/softhsm-2.3.0.ebuild 
b/dev-libs/softhsm/softhsm-2.3.0.ebuild
new file mode 100644
index 000..c3836c3fc9a
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-2.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit ltprune
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="http://www.opendnssec.org/;
+SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
+
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="bindist libressl migration-tool test"
+SLOT="2"
+LICENSE="BSD"
+
+RDEPEND="
+   sys-devel/gcc:=[cxx]
+   migration-tool? ( dev-db/sqlite:3 )
+   !libressl? ( dev-libs/openssl:=[bindist=] )
+   libressl? ( dev-libs/libressl )
+   !=dev-libs/softhsm-2.0.0:0
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   test? ( dev-util/cppunit )
+"
+
+DOCS=(
+   NEWS
+   README.md
+)
+
+src_configure() {
+   econf \
+   --disable-static \
+   --localstatedir="${EROOT}var" \
+   --with-crypto-backend=openssl \
+   --disable-p11-kit \
+   $(use_enable !bindist ecc) \
+   $(use_enable !libressl gost) \
+   $(use_with migration-tool migrate)
+}
+
+src_install() {
+   default
+   prune_libtool_files --modules
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-06-26 Thread Alexis Ballier
commit: 8f25249e4224cfd4e8d1eee7eb53bb1ebbd5f0e2
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Jun 26 07:52:14 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Jun 26 07:52:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f25249e

dev-libs/softhsm: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index 217f4c996f5..653177b975f 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-03-25 Thread Alon Bar-Lev
commit: 58119993af953ec3130d89ad6cee927d7f795886
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Mar 25 17:41:55 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Mar 25 18:11:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58119993

dev-libs/softhsm: use ltprune

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index 25bc17c6400..217f4c996f5 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools eutils
+inherit autotools ltprune
 
 DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-03-21 Thread Matt Turner
commit: 1362ab9231500f913aacce143b36e44a90535d87
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 21 16:35:49 2017 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 21 18:11:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1362ab92

dev-libs/softhsm-2.2.0-r3: added ~ppc

 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index b324263dd5f..9f0cfa4f03e 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
 IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-03-21 Thread Matt Turner
commit: 2a770fe14cfcb790484e1cfff2ee122c7d6681a1
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 21 16:30:00 2017 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 21 18:11:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a770fe1

dev-libs/softhsm-2.2.0-r3: added ~sparc

 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index cc45234b9d3..b324263dd5f 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86"
 IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-03-21 Thread Matt Turner
commit: e882864b6aa32e558d11736970bca8e48f844430
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 21 16:29:54 2017 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 21 18:11:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e882864b

dev-libs/softhsm-2.2.0-r3: added ~alpha

 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index afe7fcf4305..3993fd1e3c3 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~x86"
 IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-03-21 Thread Matt Turner
commit: 59f2aa020b1cd3be1e1de1e06d6b6f388126502d
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 21 16:29:59 2017 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 21 18:11:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f2aa02

dev-libs/softhsm-2.2.0-r3: added ~ia64

 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index 3993fd1e3c3..cc45234b9d3 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha ~amd64 ~hppa ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~x86"
 IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-03-21 Thread Matt Turner
commit: f5ad8950687ab1c5438822681cb7ffb5e6605c53
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 21 16:35:50 2017 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 21 18:11:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5ad8950

dev-libs/softhsm-2.2.0-r3: added ~ppc64

 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index 9f0cfa4f03e..25bc17c6400 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-03-02 Thread Alon Bar-Lev
commit: 376d0dabd2f2abbc1e3f5eea7613a3f8e94c2500
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Thu Mar  2 14:01:43 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Thu Mar  2 18:59:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=376d0dab

dev-libs/softhsm: cleanup

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/softhsm/Manifest|  3 ---
 dev-libs/softhsm/softhsm-1.3.6.ebuild| 35 --
 dev-libs/softhsm/softhsm-1.3.7.ebuild| 35 --
 dev-libs/softhsm/softhsm-2.0.0-r1.ebuild | 36 ---
 dev-libs/softhsm/softhsm-2.2.0.ebuild| 37 
 5 files changed, 146 deletions(-)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index 4230439adc6..810ddfab6f8 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1,4 +1 @@
-DIST softhsm-1.3.6.tar.gz 435893 SHA256 
e39ac8e851220edd2b2afbe4d9e06d956bccc20bc72752740eabf95692359486 SHA512 
fa344b298da6f15a616eaaa90e9e2153cb48ee1a5d4c3089a4195080efc5d15cccf27536279206587f8e1a55ac1b3745303712797296aba560be5ca958783b70
 WHIRLPOOL 
6451e039d31932306627f6af23041dbd7d386d1b137eb529332f45ce523ae0c61b736876815ca614a8ec54b0dbae9d83b510bbf126dafd17cbf6d12c745ed7a8
-DIST softhsm-1.3.7.tar.gz 438437 SHA256 
d12d6456a85561266d9da427565f3ee3746a35df6670d5e6be75de253c2810a4 SHA512 
287400b981b7b420a300593129696e4739afe085a8106047ef429bc741d205bed214386b422572327c3bda63f0fb1b7558bb4d30d184ca3ec2ba9900153f075d
 WHIRLPOOL 
47e66a8ae7f85b6505bdd751114a1594bc2e4b7bea71c6681bf77e8b7cc226d3515d9bdbd74ef0327899257d1844722c95446115f22724474f03cee0a99ca4f3
-DIST softhsm-2.0.0.tar.gz 936954 SHA256 
eae8065f6c472af24f4c056d6728edda0fd34306f41a818697f765a6a662338d SHA512 
1db5b79bc59707d97a3c8ba5306d6778cd02d7049a6b294ef5e60214ef7b1dcc4d51405cc32f3720443d9477377e8b04b68d6cee143731f87b6357e4e5565fe2
 WHIRLPOOL 
014213f4501145c493ad4c22d0cfd262f7ca8693c3d13ca74d34bd7b24f85cf60a5117d0869e7544d9d61b0473b676e582ea41bdeba647427ffc1067def9f8f7
 DIST softhsm-2.2.0.tar.gz 966806 SHA256 
eb6928ae08da44fca4135d84d6b79ad7345f408193208c54bf69f5b2e71f85f7 SHA512 
6ef17deef491f7298244a3d2ddefe25843fc17534c4e5f2e08927f05cafdaf05601beb953539fce5d34fa02fe355cbd4ab3aaabb6e5a106936b04c06aae9793c
 WHIRLPOOL 
9e2ead19b2091fc46c6cdf63d2aaa26ad21dfe7d69d047ea85b38d725576885c8a1c6656cbec9d79e480158a9b8f9a90d36cf3fad0a80af317b883ee59ffba06

diff --git a/dev-libs/softhsm/softhsm-1.3.6.ebuild 
b/dev-libs/softhsm/softhsm-1.3.6.ebuild
deleted file mode 100644
index 6f1131b2fa7..000
--- a/dev-libs/softhsm/softhsm-1.3.6.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="A software PKCS#11 implementation"
-HOMEPAGE="http://www.opendnssec.org/;
-SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
-
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-SLOT="0"
-LICENSE="BSD"
-
-RDEPEND="
-   dev-db/sqlite:3
-   >=dev-libs/botan-1.10.1[threads]
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( AUTHORS NEWS )
-
-src_configure() {
-   econf \
-   --disable-static \
-   --localstatedir=/var \
-   --with-botan="${EPREFIX}/usr/" \
-   $(use_enable amd64 64bit) \
-   $(use debug && echo "--with-loglevel=4")
-}
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete
-}

diff --git a/dev-libs/softhsm/softhsm-1.3.7.ebuild 
b/dev-libs/softhsm/softhsm-1.3.7.ebuild
deleted file mode 100644
index ea4cc6fe518..000
--- a/dev-libs/softhsm/softhsm-1.3.7.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="A software PKCS#11 implementation"
-HOMEPAGE="http://www.opendnssec.org/;
-SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
-
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-SLOT="0"
-LICENSE="BSD"
-
-RDEPEND="
-   dev-db/sqlite:3
-   dev-libs/botan[threads]
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( AUTHORS NEWS )
-
-src_configure() {
-   econf \
-   --disable-static \
-   --localstatedir=/var \
-   --with-botan="${EPREFIX}/usr/" \
-   $(use_enable amd64 64bit) \
-   $(use debug && echo "--with-loglevel=4")
-}
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete
-}

diff --git a/dev-libs/softhsm/softhsm-2.0.0-r1.ebuild 
b/dev-libs/softhsm/softhsm-2.0.0-r1.ebuild
deleted file mode 100644
index 3d86f74bdde..000
--- a/dev-libs/softhsm/softhsm-2.0.0-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="A software PKCS#11 implementation"
-HOMEPAGE="http://www.opendnssec.org/;

[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-02-11 Thread Alon Bar-Lev
commit: caac5cdf480ef051efd6a4f48a3eaa9d654c4975
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Feb 11 02:44:01 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Feb 11 02:44:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caac5cdf

dev-libs/softhsm: sqlight is only for migration

Package-Manager: portage-2.3.3

 dev-libs/softhsm/softhsm-2.2.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index c0e2a04a0e..e36d50e4ab 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -11,13 +11,13 @@ HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="bindist libressl +migration-tool test"
+IUSE="bindist libressl migration-tool test"
 SLOT="2"
 LICENSE="BSD"
 
 RDEPEND="
sys-devel/gcc:=[cxx]
-   dev-db/sqlite:3
+   migration-tool? ( dev-db/sqlite:3 )
!libressl? ( dev-libs/openssl:=[bindist=] )
libressl? ( dev-libs/libressl )
!=dev-libs/softhsm-2.0.0:0



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-02-10 Thread Alon Bar-Lev
commit: 64d9e19a8899c2a9d8e748c6fa3746bb16e025f5
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Feb 10 22:27:10 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Feb 10 22:27:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d9e19a

dev-libs/softhsm: fix local state directory

Package-Manager: portage-2.3.3

 dev-libs/softhsm/{softhsm-2.2.0-r2.ebuild => softhsm-2.2.0-r3.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
similarity index 93%
rename from dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
rename to dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
index c5bccd7825..c0e2a04a0e 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r3.ebuild
@@ -41,10 +41,11 @@ src_prepare() {
 src_configure() {
econf \
--disable-static \
+   --localstatedir="${EROOT}var" \
--with-crypto-backend=openssl \
--disable-p11-kit \
$(use_enable !bindist ecc) \
-   $(use_enable !libressl ghost) \
+   $(use_enable !libressl gost) \
$(use_with migration-tool migrate)
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-02-04 Thread Alon Bar-Lev
commit: 843d98b00de4ba61fba666af1e78bc01b5b5deb9
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Feb  4 21:07:49 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Feb  4 21:40:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=843d98b0

dev-libs/softhsm: improve use_enable usage

Package-Manager: portage-2.3.3

 dev-libs/softhsm/softhsm-2.2.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
index 6dad3b0..c5bccd7 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
@@ -43,8 +43,8 @@ src_configure() {
--disable-static \
--with-crypto-backend=openssl \
--disable-p11-kit \
-   $(use bindist && echo --disable-ecc || echo --enable-ecc) \
-   $(use libressl && echo --disable-gost || echo --enable-gost) \
+   $(use_enable !bindist ecc) \
+   $(use_enable !libressl ghost) \
$(use_with migration-tool migrate)
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/files/, dev-libs/softhsm/

2017-01-28 Thread Alon Bar-Lev
commit: 2e4b8b8b4af526bb6821edcc68e6dd5077364a0f
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Jan 28 19:45:48 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Jan 28 19:46:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e4b8b8b

dev-libs/softhsm: support libressl

Package-Manager: portage-2.3.3

 .../softhsm/files/softhsm-2.2.0-libressl.patch | 203 +
 dev-libs/softhsm/softhsm-2.2.0-r2.ebuild   |   1 +
 2 files changed, 204 insertions(+)

diff --git a/dev-libs/softhsm/files/softhsm-2.2.0-libressl.patch 
b/dev-libs/softhsm/files/softhsm-2.2.0-libressl.patch
new file mode 100644
index ..c8b6237
--- /dev/null
+++ b/dev-libs/softhsm/files/softhsm-2.2.0-libressl.patch
@@ -0,0 +1,203 @@
+From 13ed52e65f6f07f2c0c2aa70604298c9f983693d Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev 
+Date: Sat, 28 Jan 2017 21:09:05 +0200
+Subject: [PATCH] crypto: openssl: libressl support
+
+Signed-off-by: Alon Bar-Lev 
+---
+ m4/acx_openssl_gost.m4   | 2 +-
+ src/lib/crypto/OSSLComp.cpp  | 2 +-
+ src/lib/crypto/OSSLComp.h| 2 +-
+ src/lib/crypto/OSSLCryptoFactory.cpp | 2 +-
+ src/lib/crypto/OSSLDHPrivateKey.cpp  | 2 +-
+ src/lib/crypto/OSSLDHPublicKey.cpp   | 2 +-
+ src/lib/crypto/OSSLDSAPrivateKey.cpp | 2 +-
+ src/lib/crypto/OSSLDSAPublicKey.cpp  | 2 +-
+ src/lib/crypto/OSSLECDH.cpp  | 2 +-
+ src/lib/crypto/OSSLECDSA.cpp | 4 ++--
+ src/lib/crypto/OSSLRSAPrivateKey.cpp | 2 +-
+ src/lib/crypto/OSSLRSAPublicKey.cpp  | 2 +-
+ win32/Configure.py   | 2 +-
+ 13 files changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/m4/acx_openssl_gost.m4 b/m4/acx_openssl_gost.m4
+index 2a949f2..dca489b 100644
+--- a/m4/acx_openssl_gost.m4
 b/m4/acx_openssl_gost.m4
+@@ -22,7 +22,7 @@ AC_DEFUN([ACX_OPENSSL_GOST],[
+   OpenSSL_add_all_algorithms();
+ 
+   /* Load engines */
+-  #if OPENSSL_VERSION_NUMBER < 0x1010L
++  #if OPENSSL_VERSION_NUMBER < 0x1010L || 
defined(LIBRESSL_VERSION_NUMBER)
+   ENGINE_load_builtin_engines();
+   #else
+   
OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN | OPENSSL_INIT_LOAD_CONFIG, 
NULL);
+diff --git a/src/lib/crypto/OSSLComp.cpp b/src/lib/crypto/OSSLComp.cpp
+index 31333f6..ede710b 100644
+--- a/src/lib/crypto/OSSLComp.cpp
 b/src/lib/crypto/OSSLComp.cpp
+@@ -34,7 +34,7 @@
+ #include "OSSLComp.h"
+ #include 
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+ 
+ /*
+  * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
+diff --git a/src/lib/crypto/OSSLComp.h b/src/lib/crypto/OSSLComp.h
+index 71d6c21..4bced32 100644
+--- a/src/lib/crypto/OSSLComp.h
 b/src/lib/crypto/OSSLComp.h
+@@ -36,7 +36,7 @@
+ #include "config.h"
+ #include 
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+ 
+ #include 
+ #include 
+diff --git a/src/lib/crypto/OSSLCryptoFactory.cpp 
b/src/lib/crypto/OSSLCryptoFactory.cpp
+index cd7f9d3..41134df 100644
+--- a/src/lib/crypto/OSSLCryptoFactory.cpp
 b/src/lib/crypto/OSSLCryptoFactory.cpp
+@@ -134,7 +134,7 @@ OSSLCryptoFactory::OSSLCryptoFactory()
+ 
+ #ifdef WITH_GOST
+   // Load engines
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+   ENGINE_load_builtin_engines();
+ #else
+   OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN |
+diff --git a/src/lib/crypto/OSSLDHPrivateKey.cpp 
b/src/lib/crypto/OSSLDHPrivateKey.cpp
+index 4c1b9c3..5571a88 100644
+--- a/src/lib/crypto/OSSLDHPrivateKey.cpp
 b/src/lib/crypto/OSSLDHPrivateKey.cpp
+@@ -210,7 +210,7 @@ void OSSLDHPrivateKey::createOSSLKey()
+   }
+ 
+   // Use the OpenSSL implementation and not any engine
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+ 
+ #ifdef WITH_FIPS
+   if (FIPS_mode())
+diff --git a/src/lib/crypto/OSSLDHPublicKey.cpp 
b/src/lib/crypto/OSSLDHPublicKey.cpp
+index 78820e1..e261726 100644
+--- a/src/lib/crypto/OSSLDHPublicKey.cpp
 b/src/lib/crypto/OSSLDHPublicKey.cpp
+@@ -151,7 +151,7 @@ void OSSLDHPublicKey::createOSSLKey()
+   }
+ 
+   // Use the OpenSSL implementation and not any engine
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
+ 
+ #ifdef WITH_FIPS
+   if (FIPS_mode())
+diff --git a/src/lib/crypto/OSSLDSAPrivateKey.cpp 
b/src/lib/crypto/OSSLDSAPrivateKey.cpp
+index 2192fad..527e041 100644
+--- a/src/lib/crypto/OSSLDSAPrivateKey.cpp
 b/src/lib/crypto/OSSLDSAPrivateKey.cpp
+@@ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-01-28 Thread Alon Bar-Lev
commit: e5ee9e88dfb23cd4ea176df67eab9fecbff31398
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Jan 28 11:18:27 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Jan 28 11:18:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ee9e88

dev-libs/softhsm: force revbump

Package-Manager: portage-2.3.3

 dev-libs/softhsm/{softhsm-2.2.0-r1.ebuild => softhsm-2.2.0-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r2.ebuild
similarity index 100%
rename from dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
rename to dev-libs/softhsm/softhsm-2.2.0-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-01-28 Thread Alon Bar-Lev
commit: e5b8bfac1bd3781c6b84cc778149d51150635403
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Sat Jan 28 11:04:52 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Sat Jan 28 11:05:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b8bfac

dev-libs/softhsm: fix algo use

Package-Manager: portage-2.3.3

 dev-libs/softhsm/softhsm-2.2.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
index 8a91277..69ffb23 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
@@ -42,8 +42,8 @@ src_configure() {
--disable-static \
--with-crypto-backend=openssl \
--disable-p11-kit \
-   $(use_enable bindist ecc) \
-   $(use libressl && echo --disable-ghost) \
+   $(use bindist && echo --disable-ecc || echo --enable-ecc) \
+   $(use libressl && echo --disable-gost || echo --enable-gost) \
$(use_with migration-tool migrate)
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-01-27 Thread Alon Bar-Lev
commit: 7e75de00aef9af5dd25725d761bf791c12a64e5f
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Jan 27 18:21:25 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Jan 27 18:21:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e75de00

dev-libs/softhsm: disable ghost for libressl

disable ecc for bindist

Bug: 607416

Package-Manager: portage-2.3.3

 dev-libs/softhsm/softhsm-2.2.0-r1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
index 0b92129..8a91277 100644
--- a/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0-r1.ebuild
@@ -11,14 +11,14 @@ HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="libressl +migration-tool test"
+IUSE="bindist libressl +migration-tool test"
 SLOT="2"
 LICENSE="BSD"
 
 RDEPEND="
sys-devel/gcc:=[cxx]
dev-db/sqlite:3
-   !libressl? ( dev-libs/openssl:= )
+   !libressl? ( dev-libs/openssl:=[bindist=] )
libressl? ( dev-libs/libressl )
!=dev-libs/softhsm-2.0.0:0
 "
@@ -42,6 +42,8 @@ src_configure() {
--disable-static \
--with-crypto-backend=openssl \
--disable-p11-kit \
+   $(use_enable bindist ecc) \
+   $(use libressl && echo --disable-ghost) \
$(use_with migration-tool migrate)
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/files/, dev-libs/softhsm/

2017-01-27 Thread Alon Bar-Lev
commit: 53682956e536011485062b36d5baf21da9a70391
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Fri Jan 27 13:04:36 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Fri Jan 27 13:18:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53682956

dev-libs/softhsm: fixups

take ownership (crypto)
move to openssl backend instead of botan
fix dependencies.
bump eapi.
more...

Bug: 604742
Bug: 604746
Bug: 605212
Bug: 604748

Package-Manager: portage-2.3.3

 dev-libs/softhsm/files/softhsm-2.2.0-build.patch | 251 +++
 dev-libs/softhsm/metadata.xml|   5 +-
 dev-libs/softhsm/softhsm-2.2.0-r1.ebuild |  51 +
 3 files changed, 305 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/files/softhsm-2.2.0-build.patch 
b/dev-libs/softhsm/files/softhsm-2.2.0-build.patch
new file mode 100644
index ..83b6548
--- /dev/null
+++ b/dev-libs/softhsm/files/softhsm-2.2.0-build.patch
@@ -0,0 +1,251 @@
+From ae2fea013237e227ab62b52f9855a8f9dd8dcdbb Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev 
+Date: Fri, 27 Jan 2017 14:18:19 +0200
+Subject: [PATCH 1/2] build: add missing log dependency to test
+
+Signed-off-by: Alon Bar-Lev 
+---
+ src/lib/test/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/test/Makefile.am b/src/lib/test/Makefile.am
+index 339593e..4555ff2 100644
+--- a/src/lib/test/Makefile.am
 b/src/lib/test/Makefile.am
+@@ -25,6 +25,7 @@ p11test_SOURCES =p11test.cpp \
+   AsymWrapUnwrapTests.cpp \
+   TestsBase.cpp \
+   TestsNoPINInitBase.cpp \
++  ../common/log.cpp \
+   ../common/osmutex.cpp
+ 
+ p11test_LDADD =   ../libsofthsm2.la 
+-- 
+2.10.2
+
+From c90ba51dd944c9e842e4743cf8dd9d5f4ea7bc5d Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev 
+Date: Fri, 27 Jan 2017 14:41:11 +0200
+Subject: [PATCH 2/2] build: tests: use pkg-config for cppunit
+
+do not execute cppunit-config over and over.
+move detection to autoconf.
+use standard pkg-config module of pkg-config instead
+of cppunit-config.
+
+Signed-off-by: Alon Bar-Lev 
+---
+ configure.ac  | 3 +++
+ m4/acx_cppunit.m4 | 4 
+ src/lib/crypto/test/Makefile.am   | 7 ---
+ src/lib/data_mgr/test/Makefile.am | 7 ---
+ src/lib/handle_mgr/test/Makefile.am   | 7 ---
+ src/lib/object_store/test/Makefile.am | 7 ---
+ src/lib/session_mgr/test/Makefile.am  | 7 ---
+ src/lib/slot_mgr/test/Makefile.am | 7 ---
+ src/lib/test/Makefile.am  | 7 ---
+ 9 files changed, 35 insertions(+), 21 deletions(-)
+ create mode 100644 m4/acx_cppunit.m4
+
+diff --git a/configure.ac b/configure.ac
+index 4ecabd6..7df0f73 100644
+--- a/configure.ac
 b/configure.ac
+@@ -117,6 +117,9 @@ ACX_VISIBILITY
+ # If we should install the p11-kit module
+ ACX_P11KIT
+ 
++# cppunit setetings
++ACX_CPPUNIT
++
+ # Set full directory paths
+ full_sysconfdir=`eval eval eval eval eval echo "${sysconfdir}" | sed 
"s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
+ full_localstatedir=`eval eval eval eval eval echo "${localstatedir}" | sed 
"s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
+diff --git a/m4/acx_cppunit.m4 b/m4/acx_cppunit.m4
+new file mode 100644
+index 000..ff5b90e
+--- /dev/null
 b/m4/acx_cppunit.m4
+@@ -0,0 +1,4 @@
++AC_DEFUN([ACX_CPPUNIT],[
++  PKG_PROG_PKG_CONFIG
++  PKG_CHECK_MODULES([CPPUNIT], [cppunit], [have_cppunit=yes], 
[have_cppunit=no])
++])
+diff --git a/src/lib/crypto/test/Makefile.am b/src/lib/crypto/test/Makefile.am
+index ca7e421..81c2ce6 100644
+--- a/src/lib/crypto/test/Makefile.am
 b/src/lib/crypto/test/Makefile.am
+@@ -8,8 +8,9 @@ AM_CPPFLAGS =  -I$(srcdir)/.. \
+   -I$(srcdir)/../../object_store \
+   -I$(srcdir)/../../session_mgr \
+   -I$(srcdir)/../../slot_mgr \
+-  @CRYPTO_INCLUDES@ \
+-  `cppunit-config --cflags`
++  @CRYPTO_INCLUDES@
++
++AM_CFLAGS =   @CPPUNIT_CFLAGS@
+ 
+ check_PROGRAMS =  cryptotest
+ 
+@@ -32,7 +33,7 @@ cryptotest_SOURCES = cryptotest.cpp \
+ 
+ cryptotest_LDADD =../../libsofthsm_convarch.la
+ 
+-cryptotest_LDFLAGS =  @CRYPTO_LIBS@ -no-install `cppunit-config 
--libs`
++cryptotest_LDFLAGS =  @CRYPTO_LIBS@ @CPPUNIT_LIBS@ -no-install
+ 
+ TESTS =   cryptotest
+ 
+diff --git a/src/lib/data_mgr/test/Makefile.am 
b/src/lib/data_mgr/test/Makefile.am
+index 27b4fbd..944224c 100644
+--- a/src/lib/data_mgr/test/Makefile.am
 b/src/lib/data_mgr/test/Makefile.am
+@@ -8,8 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2017-01-05 Thread Jeroen Roovers
commit: 3521647f8c384c881cc37312866c0a1e4cdb8c1f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Jan  5 12:53:41 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Jan  5 12:55:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3521647f

dev-libs/softhsm: Mark ~hppa (bug #604690).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 dev-libs/softhsm/softhsm-2.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.2.0.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0.ebuild
index f0aec47..8c57b94 100644
--- a/dev-libs/softhsm/softhsm-2.2.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,7 +8,7 @@ DESCRIPTION="A software PKCS#11 implementation"
 HOMEPAGE="http://www.opendnssec.org/;
 SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~x86"
 IUSE="debug +migration-tool"
 SLOT="2"
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2016-12-17 Thread Marc Schiffbauer
commit: 508d22ca0c09af51e3d9ffcea6fd1752ea187a1c
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Sun Dec 18 02:36:18 2016 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Sun Dec 18 02:36:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=508d22ca

dev-libs/softhsm: bump version

Package-Manager: portage-2.3.2

 dev-libs/softhsm/Manifest |  1 +
 dev-libs/softhsm/softhsm-2.2.0.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index 3aba458..4230439 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1,3 +1,4 @@
 DIST softhsm-1.3.6.tar.gz 435893 SHA256 
e39ac8e851220edd2b2afbe4d9e06d956bccc20bc72752740eabf95692359486 SHA512 
fa344b298da6f15a616eaaa90e9e2153cb48ee1a5d4c3089a4195080efc5d15cccf27536279206587f8e1a55ac1b3745303712797296aba560be5ca958783b70
 WHIRLPOOL 
6451e039d31932306627f6af23041dbd7d386d1b137eb529332f45ce523ae0c61b736876815ca614a8ec54b0dbae9d83b510bbf126dafd17cbf6d12c745ed7a8
 DIST softhsm-1.3.7.tar.gz 438437 SHA256 
d12d6456a85561266d9da427565f3ee3746a35df6670d5e6be75de253c2810a4 SHA512 
287400b981b7b420a300593129696e4739afe085a8106047ef429bc741d205bed214386b422572327c3bda63f0fb1b7558bb4d30d184ca3ec2ba9900153f075d
 WHIRLPOOL 
47e66a8ae7f85b6505bdd751114a1594bc2e4b7bea71c6681bf77e8b7cc226d3515d9bdbd74ef0327899257d1844722c95446115f22724474f03cee0a99ca4f3
 DIST softhsm-2.0.0.tar.gz 936954 SHA256 
eae8065f6c472af24f4c056d6728edda0fd34306f41a818697f765a6a662338d SHA512 
1db5b79bc59707d97a3c8ba5306d6778cd02d7049a6b294ef5e60214ef7b1dcc4d51405cc32f3720443d9477377e8b04b68d6cee143731f87b6357e4e5565fe2
 WHIRLPOOL 
014213f4501145c493ad4c22d0cfd262f7ca8693c3d13ca74d34bd7b24f85cf60a5117d0869e7544d9d61b0473b676e582ea41bdeba647427ffc1067def9f8f7
+DIST softhsm-2.2.0.tar.gz 966806 SHA256 
eb6928ae08da44fca4135d84d6b79ad7345f408193208c54bf69f5b2e71f85f7 SHA512 
6ef17deef491f7298244a3d2ddefe25843fc17534c4e5f2e08927f05cafdaf05601beb953539fce5d34fa02fe355cbd4ab3aaabb6e5a106936b04c06aae9793c
 WHIRLPOOL 
9e2ead19b2091fc46c6cdf63d2aaa26ad21dfe7d69d047ea85b38d725576885c8a1c6656cbec9d79e480158a9b8f9a90d36cf3fad0a80af317b883ee59ffba06

diff --git a/dev-libs/softhsm/softhsm-2.2.0.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0.ebuild
new file mode 100644
index ..3aa06a0
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-2.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="http://www.opendnssec.org/;
+SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
+
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +migration-tool"
+SLOT="2"
+LICENSE="BSD"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-libs/botan[threads,-bindist]
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( NEWS README.md )
+
+src_configure() {
+   econf \
+   --disable-static \
+   --localstatedir=/var \
+   --with-botan="${EPREFIX}/usr/" \
+   $(use_with migration-tool migrate) \
+   $(use_enable amd64 64bit) \
+   $(use debug && echo "--with-loglevel=4")
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2016-12-17 Thread Marc Schiffbauer
commit: 725b43296899f75b43f2b685c5dda4e7e1a95d5b
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Sun Dec 18 02:54:00 2016 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Sun Dec 18 02:54:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725b4329

dev-libs/softhsm: add blocker to 2.0.0:0

Package-Manager: portage-2.3.2

 dev-libs/softhsm/softhsm-2.2.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/softhsm/softhsm-2.2.0.ebuild 
b/dev-libs/softhsm/softhsm-2.2.0.ebuild
index 3aa06a0..f0aec47 100644
--- a/dev-libs/softhsm/softhsm-2.2.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.2.0.ebuild
@@ -16,6 +16,7 @@ LICENSE="BSD"
 RDEPEND="
dev-db/sqlite:3
dev-libs/botan[threads,-bindist]
+   !=dev-libs/softhsm-2.0.0:0
 "
 DEPEND="${RDEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2016-12-17 Thread Marc Schiffbauer
commit: 5b1c82b3ff033137da150a63282a980d98465e17
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Sun Dec 18 02:18:31 2016 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Sun Dec 18 02:18:55 2016 +
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 @@

msch...@gentoo.org

+   
+   
+   Build db migration tool
+   
+   
 

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")
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2016-02-24 Thread Marc Schiffbauer
commit: 9f9e449eb41d5a27b81332dbb0660b6759ab55d9
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Wed Feb 24 14:39:34 2016 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Wed Feb 24 14:39:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9e449e

dev-libs/softhsm: Added botan[-bindist] dep, should fix #562804

Package-Manager: portage-2.2.27

 dev-libs/softhsm/softhsm-2.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/softhsm/softhsm-2.0.0.ebuild 
b/dev-libs/softhsm/softhsm-2.0.0.ebuild
index dc1cee0..4572953 100644
--- a/dev-libs/softhsm/softhsm-2.0.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,7 +15,7 @@ LICENSE="BSD"
 
 RDEPEND="
dev-db/sqlite:3
-   dev-libs/botan[threads]
+   dev-libs/botan[threads,-bindist]
 "
 DEPEND="${RDEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2015-10-04 Thread Marc Schiffbauer
commit: 3641f81cd0e0f6dcdd47f80f554eec5b9ec727db
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Sun Oct  4 13:52:01 2015 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Sun Oct  4 13:52:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3641f81c

dev-libs/softhsm: bump version

Package-Manager: portage-2.2.22

 dev-libs/softhsm/Manifest |  1 +
 dev-libs/softhsm/softhsm-2.0.0.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index d8b4441..3aba458 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1,2 +1,3 @@
 DIST softhsm-1.3.6.tar.gz 435893 SHA256 
e39ac8e851220edd2b2afbe4d9e06d956bccc20bc72752740eabf95692359486 SHA512 
fa344b298da6f15a616eaaa90e9e2153cb48ee1a5d4c3089a4195080efc5d15cccf27536279206587f8e1a55ac1b3745303712797296aba560be5ca958783b70
 WHIRLPOOL 
6451e039d31932306627f6af23041dbd7d386d1b137eb529332f45ce523ae0c61b736876815ca614a8ec54b0dbae9d83b510bbf126dafd17cbf6d12c745ed7a8
 DIST softhsm-1.3.7.tar.gz 438437 SHA256 
d12d6456a85561266d9da427565f3ee3746a35df6670d5e6be75de253c2810a4 SHA512 
287400b981b7b420a300593129696e4739afe085a8106047ef429bc741d205bed214386b422572327c3bda63f0fb1b7558bb4d30d184ca3ec2ba9900153f075d
 WHIRLPOOL 
47e66a8ae7f85b6505bdd751114a1594bc2e4b7bea71c6681bf77e8b7cc226d3515d9bdbd74ef0327899257d1844722c95446115f22724474f03cee0a99ca4f3
+DIST softhsm-2.0.0.tar.gz 936954 SHA256 
eae8065f6c472af24f4c056d6728edda0fd34306f41a818697f765a6a662338d SHA512 
1db5b79bc59707d97a3c8ba5306d6778cd02d7049a6b294ef5e60214ef7b1dcc4d51405cc32f3720443d9477377e8b04b68d6cee143731f87b6357e4e5565fe2
 WHIRLPOOL 
014213f4501145c493ad4c22d0cfd262f7ca8693c3d13ca74d34bd7b24f85cf60a5117d0869e7544d9d61b0473b676e582ea41bdeba647427ffc1067def9f8f7

diff --git a/dev-libs/softhsm/softhsm-2.0.0.ebuild 
b/dev-libs/softhsm/softhsm-2.0.0.ebuild
new file mode 100644
index 000..dc1cee0
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-2.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="http://www.opendnssec.org/;
+SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
+
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+SLOT="0"
+LICENSE="BSD"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-libs/botan[threads]
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( NEWS README.md )
+
+src_configure() {
+   econf \
+   --disable-static \
+   --localstatedir=/var \
+   --with-botan="${EPREFIX}/usr/" \
+   $(use_enable amd64 64bit) \
+   $(use debug && echo "--with-loglevel=4")
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2015-10-04 Thread Marc Schiffbauer
commit: 2bd38cc1cd9e41439d1921478d628e60e35760bd
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Sun Oct  4 13:29:44 2015 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Sun Oct  4 13:29:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd38cc1

dev-libs/softhsm: remove old version

 dev-libs/softhsm/Manifest |  1 -
 dev-libs/softhsm/softhsm-1.3.5.ebuild | 36 ---
 2 files changed, 37 deletions(-)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index 2dfa037..cae839d 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1,2 +1 @@
-DIST softhsm-1.3.5.tar.gz 440157 SHA256 
28b5062a13450faf6099fcb82d25d21f0ac7d202ba31ec85e943246cdcf87ebd SHA512 
8da873d84ce3f554ff90975f2c37750c24ee4b254b480a203bfe600d2314ae1aba4d67b96bc9c5cb6787f592e597551e850a84ee36046f408aea7d5d5d7c8787
 WHIRLPOOL 
d01878dbf17d4e06305df23826bc07fff535c9e9734be376ef2d0a99891ddca0bdd1689285e199a6f81143d38c55334c8df9969470cc0098724fb5d24871ad92
 DIST softhsm-1.3.6.tar.gz 435893 SHA256 
e39ac8e851220edd2b2afbe4d9e06d956bccc20bc72752740eabf95692359486 SHA512 
fa344b298da6f15a616eaaa90e9e2153cb48ee1a5d4c3089a4195080efc5d15cccf27536279206587f8e1a55ac1b3745303712797296aba560be5ca958783b70
 WHIRLPOOL 
6451e039d31932306627f6af23041dbd7d386d1b137eb529332f45ce523ae0c61b736876815ca614a8ec54b0dbae9d83b510bbf126dafd17cbf6d12c745ed7a8

diff --git a/dev-libs/softhsm/softhsm-1.3.5.ebuild 
b/dev-libs/softhsm/softhsm-1.3.5.ebuild
deleted file mode 100644
index 8431790..000
--- a/dev-libs/softhsm/softhsm-1.3.5.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-DESCRIPTION="A software PKCS#11 implementation"
-HOMEPAGE="http://www.opendnssec.org/;
-SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
-
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-SLOT="0"
-LICENSE="BSD"
-
-RDEPEND="
-   dev-db/sqlite:3
-   >=dev-libs/botan-1.10.1[threads]
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( AUTHORS NEWS README )
-
-src_configure() {
-   econf \
-   --disable-static \
-   --localstatedir=/var \
-   --with-botan="${EPREFIX}/usr/" \
-   $(use_enable amd64 64bit) \
-   $(use debug && echo "--with-loglevel=4")
-}
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/

2015-10-04 Thread Marc Schiffbauer
commit: e784d4c83b8316d78ca46b3f3285e18c3f4aeadb
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Sun Oct  4 13:30:47 2015 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Sun Oct  4 13:30:47 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e784d4c8

dev-libs/softhsm: added new version

Package-Manager: portage-2.2.22

 dev-libs/softhsm/Manifest |  1 +
 dev-libs/softhsm/softhsm-1.3.7.ebuild | 36 +++
 2 files changed, 37 insertions(+)

diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index cae839d..d8b4441 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1 +1,2 @@
 DIST softhsm-1.3.6.tar.gz 435893 SHA256 
e39ac8e851220edd2b2afbe4d9e06d956bccc20bc72752740eabf95692359486 SHA512 
fa344b298da6f15a616eaaa90e9e2153cb48ee1a5d4c3089a4195080efc5d15cccf27536279206587f8e1a55ac1b3745303712797296aba560be5ca958783b70
 WHIRLPOOL 
6451e039d31932306627f6af23041dbd7d386d1b137eb529332f45ce523ae0c61b736876815ca614a8ec54b0dbae9d83b510bbf126dafd17cbf6d12c745ed7a8
+DIST softhsm-1.3.7.tar.gz 438437 SHA256 
d12d6456a85561266d9da427565f3ee3746a35df6670d5e6be75de253c2810a4 SHA512 
287400b981b7b420a300593129696e4739afe085a8106047ef429bc741d205bed214386b422572327c3bda63f0fb1b7558bb4d30d184ca3ec2ba9900153f075d
 WHIRLPOOL 
47e66a8ae7f85b6505bdd751114a1594bc2e4b7bea71c6681bf77e8b7cc226d3515d9bdbd74ef0327899257d1844722c95446115f22724474f03cee0a99ca4f3

diff --git a/dev-libs/softhsm/softhsm-1.3.7.ebuild 
b/dev-libs/softhsm/softhsm-1.3.7.ebuild
new file mode 100644
index 000..9b6e5df
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-1.3.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="http://www.opendnssec.org/;
+SRC_URI="http://www.opendnssec.org/files/source/${P}.tar.gz;
+
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+SLOT="0"
+LICENSE="BSD"
+
+RDEPEND="
+   dev-db/sqlite:3
+   dev-libs/botan[threads]
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS )
+
+src_configure() {
+   econf \
+   --disable-static \
+   --localstatedir=/var \
+   --with-botan="${EPREFIX}/usr/" \
+   $(use_enable amd64 64bit) \
+   $(use debug && echo "--with-loglevel=4")
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete
+}