From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryptsetup/
Date: Mon, 13 May 2019 15:15:20 +0000 (UTC) [thread overview]
Message-ID: <1557760513.22d3fbf7721ec935ea503c9eb10c775a22f96e84.polynomial-c@gentoo> (raw)
commit: 22d3fbf7721ec935ea503c9eb10c775a22f96e84
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 15:14:43 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon May 13 15:15:13 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d3fbf7
sys-fs/cryptsetup: Respect libressl USE flag
Closes: https://bugs.gentoo.org/678200
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild | 11 +++++++++--
sys-fs/cryptsetup/cryptsetup-2.2.0_rc0.ebuild | 11 +++++++++--
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild b/sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild
index a4271834ba8..095fb0b3fc6 100644
--- a/sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild
+++ b/sys-fs/cryptsetup/cryptsetup-2.1.0.ebuild
@@ -13,7 +13,9 @@ LICENSE="GPL-2+"
SLOT="0/12" # libcryptsetup.so version
[[ ${PV} != *_rc* ]] && \
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
-CRYPTO_BACKENDS="gcrypt kernel nettle +openssl"
+# cryptsetup does _not_ have a libressl backend. We only have this for REQUIRED_USE
+# and change "libressl" to "openssl" in our econf call.
+CRYPTO_BACKENDS="gcrypt kernel libressl nettle +openssl"
# we don't support nss since it doesn't allow cryptsetup to be built statically
# and it's missing ripemd160 support so it can't provide full backward compatibility
IUSE="${CRYPTO_BACKENDS} +argon2 libressl +luks1_default nls pwquality reencrypt static static-libs +udev urandom"
@@ -79,6 +81,11 @@ src_configure() {
ewarn "userspace crypto libraries."
fi
+ local x cryptobackend
+ for x in ${CRYPTO_BACKENDS//+/} ; do
+ use ${x} && cryptobackend="${x/libressl/openssl}"
+ done
+
local myeconfargs=(
--disable-internal-argon2
--enable-shared
@@ -86,7 +93,7 @@ src_configure() {
# for later use
--with-default-luks-format=LUKS$(usex luks1_default 1 2)
--with-tmpfilesdir="${EPREFIX%/}/usr/lib/tmpfiles.d"
- --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done)
+ --with-crypto_backend=${cryptobackend}
$(use_enable argon2 libargon2)
$(use_enable nls)
$(use_enable pwquality)
diff --git a/sys-fs/cryptsetup/cryptsetup-2.2.0_rc0.ebuild b/sys-fs/cryptsetup/cryptsetup-2.2.0_rc0.ebuild
index 457a33aa1fb..e0142bdc521 100644
--- a/sys-fs/cryptsetup/cryptsetup-2.2.0_rc0.ebuild
+++ b/sys-fs/cryptsetup/cryptsetup-2.2.0_rc0.ebuild
@@ -13,7 +13,9 @@ LICENSE="GPL-2+"
SLOT="0/12" # libcryptsetup.so version
[[ ${PV} != *_rc* ]] && \
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-CRYPTO_BACKENDS="gcrypt kernel nettle +openssl"
+# cryptsetup does _not_ have a libressl backend. We only have this for REQUIRED_USE
+# and change "libressl" to "openssl" in our econf call.
+CRYPTO_BACKENDS="gcrypt kernel libressl nettle +openssl"
# we don't support nss since it doesn't allow cryptsetup to be built statically
# and it's missing ripemd160 support so it can't provide full backward compatibility
IUSE="${CRYPTO_BACKENDS} +argon2 libressl +luks1_default nls pwquality reencrypt static static-libs +udev urandom"
@@ -79,6 +81,11 @@ src_configure() {
ewarn "userspace crypto libraries."
fi
+ local x cryptobackend
+ for x in ${CRYPTO_BACKENDS//+/} ; do
+ use ${x} && cryptobackend="${x/libressl/openssl}"
+ done
+
local myeconfargs=(
--disable-internal-argon2
--enable-shared
@@ -86,7 +93,7 @@ src_configure() {
# for later use
--with-default-luks-format=LUKS$(usex luks1_default 1 2)
--with-tmpfilesdir="${EPREFIX%/}/usr/lib/tmpfiles.d"
- --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done)
+ --with-crypto_backend=${cryptobackend}
$(use_enable argon2 libargon2)
$(use_enable nls)
$(use_enable pwquality)
next reply other threads:[~2019-05-13 15:15 UTC|newest]
Thread overview: 231+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-13 15:15 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-22 7:54 [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryptsetup/ Sam James
2025-01-12 14:22 Sam James
2025-01-12 13:48 Sam James
2025-01-12 13:00 Sam James
2024-12-24 5:06 Sam James
2024-09-22 16:46 Sam James
2024-09-22 8:25 Sam James
2024-09-18 6:36 Arthur Zamarin
2024-09-18 6:36 Arthur Zamarin
2024-09-18 2:56 Sam James
2024-09-18 2:56 Sam James
2024-09-18 2:46 Sam James
2024-09-18 2:46 Sam James
2024-09-17 23:52 Sam James
2024-08-14 22:03 Sam James
2024-07-24 17:08 Luca Barbato
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-07-17 4:31 Sam James
2024-06-24 1:48 Sam James
2024-06-07 14:21 Sam James
2023-12-28 4:04 Sam James
2023-06-14 2:55 Sam James
2023-04-29 11:44 Arthur Zamarin
2023-04-23 22:24 Sam James
2023-04-23 21:08 Sam James
2023-04-23 20:54 Sam James
2023-04-23 20:43 Sam James
2023-04-23 20:22 Sam James
2023-04-23 20:05 Sam James
2023-04-23 20:00 Sam James
2023-03-23 5:58 Sam James
2022-10-27 23:46 Sam James
2022-10-25 11:12 Sam James
2022-10-22 14:59 Arthur Zamarin
2022-10-21 6:48 Agostino Sarubbo
2022-10-21 6:48 Agostino Sarubbo
2022-10-20 21:15 Sam James
2022-10-20 19:05 Arthur Zamarin
2022-10-20 18:51 Arthur Zamarin
2022-10-15 3:11 Sam James
2022-05-19 2:03 Sam James
2022-05-12 17:59 Mike Gilbert
2022-05-08 16:12 WANG Xuerui
2022-03-21 23:48 Sam James
2022-02-07 20:07 Mike Gilbert
2022-01-27 19:05 Sam James
2022-01-26 19:33 Sam James
2022-01-26 19:27 Arthur Zamarin
2022-01-25 22:16 Sam James
2022-01-25 15:47 Sam James
2022-01-25 4:00 Sam James
2022-01-24 19:32 Sam James
2022-01-24 19:32 Sam James
2022-01-14 15:07 Sam James
2022-01-14 15:07 Sam James
2021-11-20 23:47 Mike Gilbert
2021-11-18 19:05 Lars Wendler
2021-10-03 11:28 David Seifert
2021-09-17 16:43 Mike Gilbert
2021-09-17 16:33 Mike Gilbert
2021-09-17 10:24 Lars Wendler
2021-09-07 17:37 Mike Gilbert
2021-08-19 8:53 Lars Wendler
2021-08-19 8:53 Lars Wendler
2021-07-31 22:17 Sam James
2021-07-30 18:20 Lars Wendler
2021-07-30 8:47 Lars Wendler
2021-07-13 4:02 Sam James
2021-07-06 21:31 Sergei Trofimovich
2021-07-06 18:02 Sam James
2021-07-06 4:14 Sam James
2021-07-05 6:59 Agostino Sarubbo
2021-07-05 6:58 Agostino Sarubbo
2021-07-05 6:58 Agostino Sarubbo
2021-07-04 22:17 Sam James
2021-07-04 19:41 Robin H. Johnson
2021-07-04 19:41 Robin H. Johnson
2021-07-04 11:05 Lars Wendler
2021-06-14 9:19 David Seifert
2021-05-28 18:55 Lars Wendler
2021-05-13 13:55 David Seifert
2021-04-29 18:28 Mikle Kolyada
2021-04-28 8:22 Lars Wendler
2021-03-11 18:03 Lars Wendler
2021-03-11 17:33 Lars Wendler
2021-03-11 17:33 Lars Wendler
2021-02-16 12:30 Sam James
2021-02-15 8:39 Sam James
2021-02-14 14:53 Sam James
2021-02-12 9:57 Sam James
2021-02-10 16:29 Sergei Trofimovich
2021-02-09 22:52 Sam James
2021-02-09 6:16 Sam James
2021-02-09 6:15 Sam James
2021-02-09 6:15 Sam James
2020-09-04 9:05 Lars Wendler
2020-05-29 8:51 Lars Wendler
2020-05-20 15:52 Mart Raudsepp
2020-05-18 16:46 Sergei Trofimovich
2020-05-18 12:37 Agostino Sarubbo
2020-05-17 10:06 Sergei Trofimovich
2020-05-17 9:55 Sergei Trofimovich
2020-05-15 20:30 Sergei Trofimovich
2020-05-15 16:58 Lars Wendler
2020-05-15 13:47 Mikle Kolyada
2020-05-15 13:47 Mikle Kolyada
2020-05-15 13:47 Mikle Kolyada
2020-05-01 13:23 Thomas Deutschmann
2020-04-09 17:38 Göktürk Yüksek
2020-04-08 6:10 Mart Raudsepp
2020-03-13 17:44 Lars Wendler
2020-02-15 10:03 David Seifert
2020-02-14 18:09 Sergei Trofimovich
2020-02-13 13:03 Agostino Sarubbo
2020-02-11 12:25 Michał Górny
2020-02-11 11:30 Agostino Sarubbo
2020-02-11 10:55 Agostino Sarubbo
2020-02-11 8:43 Agostino Sarubbo
2020-02-10 8:16 Agostino Sarubbo
2020-02-07 19:58 Sergei Trofimovich
2020-02-07 12:12 Agostino Sarubbo
2020-02-07 10:52 Agostino Sarubbo
2020-02-06 17:50 Lars Wendler
2020-01-17 13:18 Lars Wendler
2019-11-02 10:17 Lars Wendler
2019-10-27 15:31 Michał Górny
2019-10-27 0:59 Thomas Deutschmann
2019-10-26 20:35 Sergei Trofimovich
2019-10-05 18:56 Michał Górny
2019-09-22 7:01 Matt Turner
2019-09-13 18:24 Mikle Kolyada
2019-09-13 17:27 Agostino Sarubbo
2019-09-09 17:10 Agostino Sarubbo
2019-09-09 8:01 Agostino Sarubbo
2019-09-09 8:00 Agostino Sarubbo
2019-09-09 7:59 Agostino Sarubbo
2019-09-09 6:54 Agostino Sarubbo
2019-09-08 19:55 Aaron Bauman
2019-09-08 19:15 Thomas Deutschmann
2019-09-06 18:07 Lars Wendler
2019-08-27 7:28 Lars Wendler
2019-08-16 18:06 Lars Wendler
2019-07-31 9:04 Agostino Sarubbo
2019-07-18 10:04 Agostino Sarubbo
2019-07-18 10:03 Agostino Sarubbo
2019-06-21 8:05 Lars Wendler
2019-05-13 9:48 Mikle Kolyada
2019-05-13 1:41 Thomas Deutschmann
2019-05-12 22:03 Sergei Trofimovich
2019-05-12 21:57 Sergei Trofimovich
2019-05-10 4:41 Markus Meier
2019-05-07 6:26 Sergei Trofimovich
2019-05-06 7:48 Lars Wendler
2019-05-06 7:48 Lars Wendler
2019-04-15 23:55 Aaron Bauman
2019-04-08 13:23 Mikle Kolyada
2019-03-16 14:10 Mikle Kolyada
2019-03-16 14:10 Mikle Kolyada
2019-02-17 17:36 Mikle Kolyada
2019-02-10 22:48 Lars Wendler
2019-01-12 23:20 Sergei Trofimovich
2019-01-12 23:07 Sergei Trofimovich
2019-01-08 21:32 Jeroen Roovers
2018-12-03 23:41 Lars Wendler
2018-12-03 23:41 Lars Wendler
2018-11-18 10:52 Sergei Trofimovich
2018-11-18 10:52 Sergei Trofimovich
2018-10-28 22:42 Lars Wendler
2018-10-28 22:42 Lars Wendler
2018-08-04 8:07 Lars Wendler
2018-07-20 21:38 Thomas Deutschmann
2018-07-20 21:38 Thomas Deutschmann
2018-07-20 21:38 Thomas Deutschmann
2018-05-05 1:07 Lars Wendler
2018-05-05 1:07 Lars Wendler
2018-03-08 9:06 Lars Wendler
2018-01-29 15:51 Tobias Klausmann
2018-01-21 20:08 Lars Wendler
2018-01-10 6:19 Markus Meier
2018-01-02 17:21 Thomas Deutschmann
2017-12-26 22:40 Sergei Trofimovich
2017-12-25 11:01 Sergei Trofimovich
2017-12-23 22:41 Sergei Trofimovich
2017-12-22 14:01 Jason Zaman
2017-12-21 10:33 Sergei Trofimovich
2017-12-19 15:49 Thomas Deutschmann
2017-12-19 12:36 Lars Wendler
2017-12-19 12:36 Lars Wendler
2017-12-15 22:40 Thomas Deutschmann
2017-12-15 22:28 Lars Wendler
2017-12-15 21:50 Thomas Deutschmann
2017-12-13 18:37 Lars Wendler
2017-12-12 22:04 Lars Wendler
2017-11-06 10:44 Lars Wendler
2017-10-11 7:47 Lars Wendler
2017-07-09 11:01 Alexis Ballier
2017-06-17 22:07 Lars Wendler
2017-05-18 23:37 Michael Weber
2017-05-16 13:05 Agostino Sarubbo
2017-05-12 17:56 Tobias Klausmann
2017-05-12 14:55 Agostino Sarubbo
2017-05-06 13:16 Markus Meier
2017-05-06 10:01 Jeroen Roovers
2017-05-04 15:55 Agostino Sarubbo
2017-05-03 15:16 Lars Wendler
2017-05-03 14:56 Agostino Sarubbo
2017-05-03 8:49 Lars Wendler
2017-03-16 9:49 Lars Wendler
2016-12-21 22:54 Thomas Deutschmann
2016-10-30 19:21 Lars Wendler
2016-10-30 19:21 Lars Wendler
2016-09-04 10:21 Tobias Klausmann
2016-08-14 19:34 Markus Meier
2016-08-04 8:32 Jeroen Roovers
2016-08-04 8:28 Jeroen Roovers
2016-06-04 18:39 Lars Wendler
2016-06-04 18:39 Lars Wendler
2016-02-28 20:37 Lars Wendler
2016-02-28 20:37 Lars Wendler
2015-12-15 8:14 Patrice Clement
2015-11-04 16:57 Lars Wendler
2015-11-04 5:41 Lars Wendler
2015-10-05 9:08 Julian Ospald
2015-09-08 20:54 Lars Wendler
2015-09-08 20:54 Lars Wendler
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=1557760513.22d3fbf7721ec935ea503c9eb10c775a22f96e84.polynomial-c@gentoo \
--to=polynomial-c@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