* [Buildroot] [PATCH 1/1] package/libtorrent-rasterbar: openssl is optional, not mandatory
@ 2022-10-31 23:13 Fabrice Fontaine
2022-11-01 20:19 ` Thomas Petazzoni via buildroot
2022-11-13 17:03 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-10-31 23:13 UTC (permalink / raw)
To: buildroot; +Cc: Philipp Richter, Fabrice Fontaine
openssl is optional, not mandatory, since the addition of the package in
commit 0393f5d34433e34e49ff7ce0fb998735453ed4fc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libtorrent-rasterbar/Config.in | 1 -
package/libtorrent-rasterbar/libtorrent-rasterbar.mk | 9 ++++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/package/libtorrent-rasterbar/Config.in b/package/libtorrent-rasterbar/Config.in
index fe9a9fc027..459edc1be5 100644
--- a/package/libtorrent-rasterbar/Config.in
+++ b/package/libtorrent-rasterbar/Config.in
@@ -18,7 +18,6 @@ config BR2_PACKAGE_LIBTORRENT_RASTERBAR
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
select BR2_PACKAGE_BOOST
select BR2_PACKAGE_BOOST_SYSTEM
- select BR2_PACKAGE_OPENSSL
help
libtorrent is a feature complete C++ bittorrent implementation
focusing on efficiency and scalability.
diff --git a/package/libtorrent-rasterbar/libtorrent-rasterbar.mk b/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
index 914e0cbca3..085b38343c 100644
--- a/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
+++ b/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
@@ -11,7 +11,7 @@ LIBTORRENT_RASTERBAR_LICENSE = BSD-3-Clause
LIBTORRENT_RASTERBAR_LICENSE_FILES = COPYING
LIBTORRENT_RASTERBAR_CPE_ID_VENDOR = libtorrent
LIBTORRENT_RASTERBAR_CPE_ID_PRODUCT = libtorrent
-LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost openssl
+LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost
LIBTORRENT_RASTERBAR_INSTALL_STAGING = YES
LIBTORRENT_RASTERBAR_CONF_OPTS = \
--with-boost-libdir=$(STAGING_DIR)/usr/lib \
@@ -37,4 +37,11 @@ else
LIBTORRENT_RASTERBAR_CONF_OPTS += --without-libiconv
endif
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBTORRENT_RASTERBAR_DEPENDENCIES += openssl
+LIBTORRENT_RASTERBAR_CONF_OPTS += --enable-encryption
+else
+LIBTORRENT_RASTERBAR_CONF_OPTS += --disable-encryption
+endif
+
$(eval $(autotools-package))
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libtorrent-rasterbar: openssl is optional, not mandatory
2022-10-31 23:13 [Buildroot] [PATCH 1/1] package/libtorrent-rasterbar: openssl is optional, not mandatory Fabrice Fontaine
@ 2022-11-01 20:19 ` Thomas Petazzoni via buildroot
2022-11-13 17:03 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-01 20:19 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Philipp Richter, buildroot
On Tue, 1 Nov 2022 00:13:33 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> openssl is optional, not mandatory, since the addition of the package in
> commit 0393f5d34433e34e49ff7ce0fb998735453ed4fc
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/libtorrent-rasterbar/Config.in | 1 -
> package/libtorrent-rasterbar/libtorrent-rasterbar.mk | 9 ++++++++-
> 2 files changed, 8 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libtorrent-rasterbar: openssl is optional, not mandatory
2022-10-31 23:13 [Buildroot] [PATCH 1/1] package/libtorrent-rasterbar: openssl is optional, not mandatory Fabrice Fontaine
2022-11-01 20:19 ` Thomas Petazzoni via buildroot
@ 2022-11-13 17:03 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-11-13 17:03 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Philipp Richter, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> openssl is optional, not mandatory, since the addition of the package in
> commit 0393f5d34433e34e49ff7ce0fb998735453ed4fc
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2022.08.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-13 17:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-31 23:13 [Buildroot] [PATCH 1/1] package/libtorrent-rasterbar: openssl is optional, not mandatory Fabrice Fontaine
2022-11-01 20:19 ` Thomas Petazzoni via buildroot
2022-11-13 17:03 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox