diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-22 19:23:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-22 19:23:43 +0000 |
| commit | 0b0b3c7211a5babe3bbead4c42ce496bf247ae1d (patch) | |
| tree | 15870dcf3073d694ec924114c89e50ec369de302 /dev-libs/softhsm | |
| parent | af94af37af925aa5c904f8d0cf1b76c5177dcf3a (diff) | |
| download | baldeagleos-repo-0b0b3c7211a5babe3bbead4c42ce496bf247ae1d.tar.gz baldeagleos-repo-0b0b3c7211a5babe3bbead4c42ce496bf247ae1d.tar.xz baldeagleos-repo-0b0b3c7211a5babe3bbead4c42ce496bf247ae1d.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/softhsm')
| -rw-r--r-- | dev-libs/softhsm/Manifest | 2 | ||||
| -rw-r--r-- | dev-libs/softhsm/softhsm-2.6.0.ebuild | 45 | ||||
| -rw-r--r-- | dev-libs/softhsm/softhsm-2.7.0.ebuild (renamed from dev-libs/softhsm/softhsm-2.6.1-r1.ebuild) | 33 |
3 files changed, 21 insertions, 59 deletions
diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest index b37499a568aa..6db02b989c0d 100644 --- a/dev-libs/softhsm/Manifest +++ b/dev-libs/softhsm/Manifest @@ -1,2 +1,2 @@ -DIST softhsm-2.6.0.tar.gz 1061748 BLAKE2B af2b8eb6494c6a07ae5d8b982d2dec8d0829734e2b177ed933867fd531ea4aa63b2077841996f740e6481b1f05e6d3d3ec9c348eb7ee8cc8ed144ddbbe2186e6 SHA512 9d70fd05817a9ea4b0c8acad5f9f2a33ce38115414e84e5f43ec433a6f07440ea29c3b81ae5150ee7f324080c4603951406fa22052f4b6dbcc0c4e5cfd3e1723 DIST softhsm-2.6.1.tar.gz 1066766 BLAKE2B 0295c5f40235c8abd8879a8c6f7fbe8e8d686ee03355006e9c90c0f2f7135eaf6794a3d39febda1b1ed6e5d48dcacb1e14dae85fb0efb884d0d719bfc6624b92 SHA512 e77137096ff2ac2f5396971efbaa2007188855a8f723cb511182c6c5e5a353b3f98297442758e77a18c3a378c0ca3fce8abe090977f0f4f8d526de204fd523fb +DIST softhsm-2.7.0.tar.gz 564143 BLAKE2B a7c1234ddf6008dd8131440f7dd6437943dcdab93e3bc51770f366c60a025aba6df2e61409aea2e75003db7412216a68180013cdaeba71909c82e28554cd9e58 SHA512 8f24d513cbc4bebe9e244dc1231409cd42ee38de3e1ad72f98e74231a5efdeb0bd9b08197ba7885318bc3d44ebd4c7afb36ca2e236875031147fba118278f277 diff --git a/dev-libs/softhsm/softhsm-2.6.0.ebuild b/dev-libs/softhsm/softhsm-2.6.0.ebuild deleted file mode 100644 index 9b2533f235dd..000000000000 --- a/dev-libs/softhsm/softhsm-2.6.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2021 Liguros 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" -} diff --git a/dev-libs/softhsm/softhsm-2.6.1-r1.ebuild b/dev-libs/softhsm/softhsm-2.7.0.ebuild index d46163e47d5e..fdad8cdba6a6 100644 --- a/dev-libs/softhsm/softhsm-2.6.1-r1.ebuild +++ b/dev-libs/softhsm/softhsm-2.7.0.ebuild @@ -1,10 +1,12 @@ -# Copyright 2021-2022 Liguros Authors +# Copyright 2021-2026 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit cmake + DESCRIPTION="A software PKCS#11 implementation" -HOMEPAGE="https://www.opendnssec.org/" -SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz" +HOMEPAGE="https://www.softhsm.org/ https://github.com/softhsm/SoftHSMv2" +SRC_URI="https://github.com/softhsm/SoftHSMv2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="bindist gost libressl migration-tool test" @@ -13,8 +15,8 @@ SLOT="2" LICENSE="BSD" RDEPEND="migration-tool? ( dev-db/sqlite:3= ) - !libressl? ( dev-libs/openssl:0=[bindist=] ) - libressl? ( >=dev-libs/libressl-3.5.0:= ) + !libressl? ( dev-libs/openssl:= ) + libressl? ( dev-libs/botan:2 ) !~dev-libs/softhsm-2.0.0:0" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig @@ -26,17 +28,22 @@ DOCS=( README.md ) +S=${WORKDIR}/SoftHSMv2-${PV} + PATCHES="${FILESDIR}/OSSLECDSA.patch" 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) + local mycmakeargs=( + -DENABLE_STATIC=off + -DWITH_CRYPTO_BACKEND=$(usex libressl botan openssl) + -DENABLE_P11_KIT=off + -DCMAKE_INSTALL_LOCALSTATEDIR="${EROOT}/var" + -DENABLE_ECC=$(use_x !bindist on off) + -DENABLE_GOST=$(use_x gost on off) + -DWITH_MIGRATE=$(use_x migration-tool on off) + ) + + cmake_src_configure } src_install() { |
