From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/uftp: openssl is optional, not mandatory
Date: Tue, 19 Mar 2019 21:46:42 +0100 [thread overview]
Message-ID: <20190319204642.28920-3-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20190319204642.28920-1-fontaine.fabrice@gmail.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/uftp/Config.in | 1 -
package/uftp/uftp.mk | 6 +++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/package/uftp/Config.in b/package/uftp/Config.in
index ca6e5f9a05..b88fb03ae2 100644
--- a/package/uftp/Config.in
+++ b/package/uftp/Config.in
@@ -3,7 +3,6 @@ config BR2_PACKAGE_UFTP
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR
- select BR2_PACKAGE_OPENSSL
help
Encrypted UDP based FTP with multicast.
diff --git a/package/uftp/uftp.mk b/package/uftp/uftp.mk
index 1f75a5bac8..b8d4359da3 100644
--- a/package/uftp/uftp.mk
+++ b/package/uftp/uftp.mk
@@ -6,13 +6,17 @@
UFTP_VERSION = 4.9.9
UFTP_SITE = http://sourceforge.net/projects/uftp-multicast/files/source-tar
-UFTP_DEPENDENCIES = openssl
UFTP_LICENSE = GPL-3.0+
UFTP_LICENSE_FILES = LICENSE.txt
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+UFTP_DEPENDENCIES += openssl
ifeq ($(BR2_STATIC_LIBS),y)
UFTP_MAKE_OPTS += CRYPT_LIB='-lssl -lcrypto -lz'
endif
+else
+UFTP_MAKE_OPTS += NO_ENCRYPTION=1
+endif
define UFTP_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(UFTP_MAKE_OPTS)
--
2.14.1
next prev parent reply other threads:[~2019-03-19 20:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-19 20:46 [Buildroot] [PATCH 1/3] package/uftp: needs MMU, threads and wchar Fabrice Fontaine
2019-03-19 20:46 ` [Buildroot] [PATCH 2/3] package/uftp: fix openssl static linking Fabrice Fontaine
2019-03-19 20:59 ` Thomas Petazzoni
2019-03-19 20:46 ` Fabrice Fontaine [this message]
2019-03-19 21:04 ` [Buildroot] [PATCH 1/3] package/uftp: needs MMU, threads and wchar Thomas Petazzoni
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=20190319204642.28920-3-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@busybox.net \
/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