All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/easy-rsa: select the appropriate option for openssl binary
@ 2019-12-13 15:25 Thomas Petazzoni
  2019-12-13 15:37 ` Peter Korsgaard
  2019-12-23  8:12 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-12-13 15:25 UTC (permalink / raw)
  To: buildroot

Since openssl was converted to a virtual package,
BR2_PACKAGE_OPENSSL_BIN no longer exists: it was renamed to
BR2_PACKAGE_LIBOPENSSL_BIN, but easy-rsa was not changed accordingly.

easy-rsa needs to take into account the two providers of openssl, and
select the appropriate suboptions depending on which openssl
implementation was chosen.

Ideally, we would probably need a more elaborate option that ensures
easy-rsa doesn't have to know the details of which openssl
implementation is selected, but practically speaking with just two
providers of openssl at the moment, the proposed solution is good
enough.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/easy-rsa/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/easy-rsa/Config.in b/package/easy-rsa/Config.in
index 883d679e98..56db64a590 100644
--- a/package/easy-rsa/Config.in
+++ b/package/easy-rsa/Config.in
@@ -1,7 +1,8 @@
 config BR2_PACKAGE_EASY_RSA
 	bool "easy-rsa"
 	select BR2_PACKAGE_OPENSSL # runtime
-	select BR2_PACKAGE_OPENSSL_BIN
+	select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL
+	select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL
 	help
 	  Simple shell based CA utility
 
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/easy-rsa: select the appropriate option for openssl binary
  2019-12-13 15:25 [Buildroot] [PATCH] package/easy-rsa: select the appropriate option for openssl binary Thomas Petazzoni
@ 2019-12-13 15:37 ` Peter Korsgaard
  2019-12-23  8:12 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-12-13 15:37 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Since openssl was converted to a virtual package,
 > BR2_PACKAGE_OPENSSL_BIN no longer exists: it was renamed to
 > BR2_PACKAGE_LIBOPENSSL_BIN, but easy-rsa was not changed accordingly.

 > easy-rsa needs to take into account the two providers of openssl, and
 > select the appropriate suboptions depending on which openssl
 > implementation was chosen.

 > Ideally, we would probably need a more elaborate option that ensures
 > easy-rsa doesn't have to know the details of which openssl
 > implementation is selected, but practically speaking with just two
 > providers of openssl at the moment, the proposed solution is good
 > enough.

Agreed.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/easy-rsa: select the appropriate option for openssl binary
  2019-12-13 15:25 [Buildroot] [PATCH] package/easy-rsa: select the appropriate option for openssl binary Thomas Petazzoni
  2019-12-13 15:37 ` Peter Korsgaard
@ 2019-12-23  8:12 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-12-23  8:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Since openssl was converted to a virtual package,
 > BR2_PACKAGE_OPENSSL_BIN no longer exists: it was renamed to
 > BR2_PACKAGE_LIBOPENSSL_BIN, but easy-rsa was not changed accordingly.

 > easy-rsa needs to take into account the two providers of openssl, and
 > select the appropriate suboptions depending on which openssl
 > implementation was chosen.

 > Ideally, we would probably need a more elaborate option that ensures
 > easy-rsa doesn't have to know the details of which openssl
 > implementation is selected, but practically speaking with just two
 > providers of openssl at the moment, the proposed solution is good
 > enough.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed to 2019.02.x and 2019.11.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-23  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-13 15:25 [Buildroot] [PATCH] package/easy-rsa: select the appropriate option for openssl binary Thomas Petazzoni
2019-12-13 15:37 ` Peter Korsgaard
2019-12-23  8:12 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.