diff mbox series

[1/1] package/botan: add trousers optional dependency

Message ID 20231227113045.1141473-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/botan: add trousers optional dependency | expand

Commit Message

Fabrice Fontaine Dec. 27, 2023, 11:30 a.m. UTC
trousers is an optional dependency since version 1.11.26 and
https://github.com/randombit/botan/commit/1752f0d522eef9a4a703fccf702b4b026c1c1d01

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/botan/botan.mk | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Thomas Petazzoni Jan. 5, 2024, 1:01 p.m. UTC | #1
On Wed, 27 Dec 2023 12:30:45 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> trousers is an optional dependency since version 1.11.26 and
> https://github.com/randombit/botan/commit/1752f0d522eef9a4a703fccf702b4b026c1c1d01
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/botan/botan.mk | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas
Peter Korsgaard Jan. 12, 2024, 6 p.m. UTC | #2
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > trousers is an optional dependency since version 1.11.26 and
 > https://github.com/randombit/botan/commit/1752f0d522eef9a4a703fccf702b4b026c1c1d01

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2023.02.x and 2023.11.x, thanks.
diff mbox series

Patch

diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index 59fbc950b0..52019f36eb 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -67,6 +67,11 @@  BOTAN_DEPENDENCIES += sqlite
 BOTAN_CONF_OPTS += --with-sqlite
 endif
 
+ifeq ($(BR2_PACKAGE_TROUSERS),y)
+BOTAN_DEPENDENCIES += trousers
+BOTAN_CONF_OPTS += --with-tpm
+endif
+
 ifeq ($(BR2_PACKAGE_XZ),y)
 BOTAN_DEPENDENCIES += xz
 BOTAN_CONF_OPTS += --with-lzma