From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- dev-libs/softhsm/Manifest | 2 ++ dev-libs/softhsm/softhsm-2.6.1.ebuild | 46 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-libs/softhsm/softhsm-2.6.1.ebuild (limited to 'dev-libs/softhsm') diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest index dc14d7944343..a6230eea1182 100644 --- a/dev-libs/softhsm/Manifest +++ b/dev-libs/softhsm/Manifest @@ -1,4 +1,6 @@ AUX softhsm-2.5.0-libressl.patch 1046 BLAKE2B e647878998493606d9941f1b4683be8f072f5c5779fb6aa6606857a12af7aa0228d349b722813449ed33a026ea5e8bec9b0e6235ac6c271f34c61fca7eafb4b4 SHA512 23c8048ef08417422194eb84d4581b4a1c443de6917608f953cdcb5b2433446272d937e05eabc6bae17d88061a0b3aa997355b7b47e71702dc52d69223972809 DIST softhsm-2.5.0.tar.gz 1078439 BLAKE2B f96f9e08f3ea568daccb64a5de94ac91b5efcee3dea09f460e98491e7fcdca1277ed52c339a2ec10dac2f78c9e7e44fe5c4a7d36c58e97afba6e749979d4d7e0 SHA512 a1e686729196dc25591eb3da57c2c8ea8494ed274ba711842b2dcae696f477a202acda13a975b8fb1eb68e8e44a79e839dbbc6ba500cab02ad13072c660752d9 +DIST softhsm-2.6.1.tar.gz 1066766 BLAKE2B 0295c5f40235c8abd8879a8c6f7fbe8e8d686ee03355006e9c90c0f2f7135eaf6794a3d39febda1b1ed6e5d48dcacb1e14dae85fb0efb884d0d719bfc6624b92 SHA512 e77137096ff2ac2f5396971efbaa2007188855a8f723cb511182c6c5e5a353b3f98297442758e77a18c3a378c0ca3fce8abe090977f0f4f8d526de204fd523fb EBUILD softhsm-2.5.0.ebuild 1112 BLAKE2B bec60391d1bd029ad7904113fb97acd9a1407cf355463f0a958ca6faeecda12e59cfde0ac4fc727d63d607936cb7b13e8beb7493eaeada5f179ded9490bb115f SHA512 56c3ddfadaeb674d1f9e56473729f8d99667933357a8fbc366384d5efa264f7edc8a1faafed0066848c52c9956e8cae92ff14bda340ea14bdc24ded7adc345e5 +EBUILD softhsm-2.6.1.ebuild 1064 BLAKE2B 9593218c5058cf0e159fea27287492bb335ff728f1f012bbce29314678879d6414a8d0ca20f7f14b7ff76322e3efd6b3586d1ba0b33143aaefa849b3487bf9bd SHA512 784945f1962fcbd19ded377344c3aefa69f21032780902507b32fad09fc17dcfe9f541a837c4c600852d98cb71b49d5d9bc66858ce5d68da8933ab6bc4e1804a MISC metadata.xml 292 BLAKE2B 273da0cfca0f98179144303c91b631ff47844748840f99b6bf1ece28ec442191e950756308242c25f4f27ab907674cdbd6efc88a4af1887676eb878d01b73f7c SHA512 7b3d1e2e5adc04c50256ea1f98490787cc0d2ff33af13462501cb5e08f482de3ce6da60d3026d5aacd1f46075915d1cc5c37206d398c61176ca7a023adae693d 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 000000000000..41a1b769e854 --- /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" +} -- cgit v1.2.3