From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/
Date: Mon, 15 Apr 2024 08:02:27 +0000 (UTC) [thread overview]
Message-ID: <1713168085.cbb9e3501494ab725ed8b5f90d4edaa14fea2d1f.sam@gentoo> (raw)
commit: cbb9e3501494ab725ed8b5f90d4edaa14fea2d1f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 15 07:56:04 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 15 08:01:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb9e350
dev-libs/softhsm: EAPI 8, pull in various correctness fixes from Fedora
* EAPI 8
* Pull in various memory safety & OpenSSL 3 fixes from Fedora (upstream
is inactive)
* Filter LTO which also causes tests to fail in addition to the above
Closes: https://bugs.gentoo.org/867637
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/softhsm/Manifest | 1 +
dev-libs/softhsm/softhsm-2.6.1-r3.ebuild | 61 ++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
index ecf0dc98c3eb..cd1921ec4c2c 100644
--- a/dev-libs/softhsm/Manifest
+++ b/dev-libs/softhsm/Manifest
@@ -1 +1,2 @@
+DIST softhsm-2.6.1-patches.tar.xz 7460 BLAKE2B e9c5496ff1a79121ab62e77ab6541a1678d4254395622aaf76c4b8fdcabbd6144caba5c171e28744ae181169826d2523c9ddf73859ca9ca6bb7a5fdf36a8ea8e SHA512 35330e969d7de532f3b6a0821dc5faa40726dcdd9c62f5e78d05cfec1c35057e183dba0ed638388f3d0ad1bd536b4fbb3cc1ff060e133109cee9681c8ac48052
DIST softhsm-2.6.1.tar.gz 1066766 BLAKE2B 0295c5f40235c8abd8879a8c6f7fbe8e8d686ee03355006e9c90c0f2f7135eaf6794a3d39febda1b1ed6e5d48dcacb1e14dae85fb0efb884d0d719bfc6624b92 SHA512 e77137096ff2ac2f5396971efbaa2007188855a8f723cb511182c6c5e5a353b3f98297442758e77a18c3a378c0ca3fce8abe090977f0f4f8d526de204fd523fb
diff --git a/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
new file mode 100644
index 000000000000..80d7204cd4f4
--- /dev/null
+++ b/dev-libs/softhsm/softhsm-2.6.1-r3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+DESCRIPTION="A software PKCS#11 implementation"
+HOMEPAGE="https://www.opendnssec.org/"
+SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-2.6.1-patches.tar.xz"
+
+LICENSE="BSD"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~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 )
+
+PATCHES=(
+ "${WORKDIR}"/${PN}-2.6.1-patches/${PN}-2.6.1-onexit.patch
+ "${WORKDIR}"/${PN}-2.6.1-patches/${PN}-2.6.1-openssl3-tests.patch
+ "${WORKDIR}"/${PN}-2.6.1-patches/${PN}-2.6.1-uninitialised.patch
+ "${WORKDIR}"/${PN}-2.6.1-patches/${PN}-2.6.1-prevent-global-deleted-objects-access.patch
+)
+
+src_configure() {
+ # Test failures with LTO (bug #867637)
+ append-flags -fno-strict-aliasing
+ filter-lto
+
+ econf \
+ --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
+}
next reply other threads:[~2024-04-15 8:02 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-15 8:02 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-10 21:18 [gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/ Petr Vaněk
2024-04-15 9:00 Arthur Zamarin
2024-04-15 9:00 Arthur Zamarin
2024-04-15 9:00 Arthur Zamarin
2024-04-15 8:45 Arthur Zamarin
2024-04-15 8:43 Arthur Zamarin
2024-04-15 8:29 Arthur Zamarin
2024-04-15 8:29 Arthur Zamarin
2024-04-15 8:17 Sam James
2023-08-05 11:36 Arthur Zamarin
2022-05-19 10:35 WANG Xuerui
2021-12-16 0:09 Sam James
2021-12-03 4:50 Sam James
2021-07-28 18:41 Marek Szuba
2021-05-02 15:38 Mikle Kolyada
2021-03-10 1:24 Sam James
2020-10-18 15:29 Mikle Kolyada
2020-10-18 15:29 Mikle Kolyada
2020-09-28 20:43 Sam James
2020-08-14 20:42 Matt Turner
2019-03-20 22:00 Alon Bar-Lev
2019-01-07 19:15 Lars Wendler
2019-01-04 20:12 Alon Bar-Lev
2018-10-19 16:12 Alon Bar-Lev
2018-09-27 23:55 Alon Bar-Lev
2018-08-14 16:02 Alon Bar-Lev
2018-05-10 18:31 Alon Bar-Lev
2018-04-10 19:24 Alon Bar-Lev
2018-03-28 20:55 Matt Turner
2017-07-28 8:33 Alon Bar-Lev
2017-06-26 7:54 Alexis Ballier
2017-03-25 18:11 Alon Bar-Lev
2017-03-21 18:11 Matt Turner
2017-03-21 18:11 Matt Turner
2017-03-21 18:11 Matt Turner
2017-03-21 18:11 Matt Turner
2017-03-21 18:11 Matt Turner
2017-03-02 18:59 Alon Bar-Lev
2017-02-11 11:12 Alon Bar-Lev
2017-02-11 0:09 Alon Bar-Lev
2017-02-04 21:40 Alon Bar-Lev
2017-01-28 11:18 Alon Bar-Lev
2017-01-28 11:05 Alon Bar-Lev
2017-01-27 18:42 Alon Bar-Lev
2017-01-05 12:56 Jeroen Roovers
2016-12-18 2:54 Marc Schiffbauer
2016-12-18 2:54 Marc Schiffbauer
2016-12-18 2:19 Marc Schiffbauer
2016-02-24 14:39 Marc Schiffbauer
2015-10-04 14:02 Marc Schiffbauer
2015-10-04 13:31 Marc Schiffbauer
2015-10-04 13:31 Marc Schiffbauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1713168085.cbb9e3501494ab725ed8b5f90d4edaa14fea2d1f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox