From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/open62541/
Date: Thu, 25 Jul 2024 10:10:26 +0000 (UTC) [thread overview]
Message-ID: <1721768162.a638457dfddb69c54c961112a49b2137a8bb02d9.davidroman@gentoo> (raw)
commit: a638457dfddb69c54c961112a49b2137a8bb02d9
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Jul 19 17:27:04 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 23 20:56:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a638457d
dev-libs/open62541: fix encryption backend selection behavior
- The build system supports at most one backend (with preference for
mbedtls over openssl if both are selected). Let's model that with
REQUIRED_USE="?? ( mbedtls openssl )"
- Removal of redundant "encryption" USE flag fixes incorrect
dependencies when backend USE flags are enabled but the encryption USE
flag is disabled.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
dev-libs/open62541/metadata.xml | 11 ++++-------
dev-libs/open62541/open62541-1.4.2.ebuild | 10 ++++------
2 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/dev-libs/open62541/metadata.xml b/dev-libs/open62541/metadata.xml
index fd0da5f21..c2b9267f3 100644
--- a/dev-libs/open62541/metadata.xml
+++ b/dev-libs/open62541/metadata.xml
@@ -17,18 +17,15 @@
systems.
</longdescription>
<use>
- <flag name="encryption">
- Enable encryption support
- </flag>
<flag name="mbedtls">
- Use mbedtls for encryption
+ Enable encryption support using <pkg>net-libs/mbedtls</pkg>
+ </flag>
+ <flag name="openssl">
+ Enable encryption support using <pkg>dev-libs/openssl</pkg>
</flag>
<flag name="pubsub">
Enable OPC/UA Pub/Sub extensions
</flag>
- <flag name="openssl">
- Use openssl for encryption
- </flag>
<flag name="tools">
Build additional shell tools
</flag>
diff --git a/dev-libs/open62541/open62541-1.4.2.ebuild b/dev-libs/open62541/open62541-1.4.2.ebuild
index 48b4eddc1..1fb7eb285 100644
--- a/dev-libs/open62541/open62541-1.4.2.ebuild
+++ b/dev-libs/open62541/open62541-1.4.2.ebuild
@@ -14,13 +14,13 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="doc encryption examples mbedtls pubsub openssl tools"
+IUSE="doc examples mbedtls pubsub openssl tools"
# Requires network access
RESTRICT="test"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
- encryption? ( || ( mbedtls openssl ) )
+ ?? ( mbedtls openssl )
"
BDEPEND="
@@ -55,10 +55,8 @@ src_configure() {
-DUA_FORCE_WERROR=OFF
)
- if use encryption; then
- use mbedtls && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=MBEDTLS)
- use openssl && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=OPENSSL)
- fi
+ use mbedtls && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=MBEDTLS)
+ use openssl && mycmakeargs+=(-DUA_ENABLE_ENCRYPTION=OPENSSL)
cmake_src_configure
}
next reply other threads:[~2024-07-25 10:10 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 10:10 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-21 12:04 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/open62541/ David Roman
2025-02-18 14:01 David Roman
2025-02-18 14:01 David Roman
2025-02-06 9:25 David Roman
2025-02-06 9:25 David Roman
2024-12-02 10:48 David Roman
2024-12-02 10:48 David Roman
2024-10-12 18:59 David Roman
2024-10-12 18:59 David Roman
2024-10-08 10:23 David Roman
2024-10-08 10:23 David Roman
2024-09-08 16:32 David Roman
2024-09-08 16:32 David Roman
2024-08-07 10:33 Lucio Sauer
2024-08-07 10:33 Lucio Sauer
2024-07-25 10:10 David Roman
2024-07-14 17:47 Florian Schmaus
2024-07-14 17:47 Florian Schmaus
2024-06-04 12:26 David Roman
2024-06-04 12:26 David Roman
2024-04-14 15:13 Julien Roy
2023-12-21 6:32 Viorel Munteanu
2023-12-21 6:32 Viorel Munteanu
2023-10-15 22:23 Haelwenn Monnier
2023-10-15 22:23 Haelwenn Monnier
2023-09-24 0:33 David Roman
2023-09-24 0:33 David Roman
2023-09-24 0:33 David Roman
2023-05-19 18:51 Viorel Munteanu
2023-05-19 18:51 Viorel Munteanu
2022-08-24 15:52 Ronny Gutbrod
2021-04-08 17:21 Andrew Ammerlaan
2020-05-31 17:00 Andrew Ammerlaan
2020-05-01 9:59 Andrew Ammerlaan
2020-05-01 9:59 Andrew Ammerlaan
2020-04-04 21:18 Haelwenn Monnier
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=1721768162.a638457dfddb69c54c961112a49b2137a8bb02d9.davidroman@gentoo \
--to=davidroman96@gmail.com \
--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