From: George McCollister <george.mccollister@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] socat: added openssl option
Date: Thu, 18 Jun 2015 16:16:57 -0500 [thread overview]
Message-ID: <1434662217-1864-1-git-send-email-george.mccollister@gmail.com> (raw)
Added an option to enable openssl in socat.
Signed-off-by: George McCollister <george.mccollister@gmail.com>
---
rules/socat.in | 14 +++++++++++++-
rules/socat.make | 2 +-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/rules/socat.in b/rules/socat.in
index e94c72e..da8d1eb 100644
--- a/rules/socat.in
+++ b/rules/socat.in
@@ -1,9 +1,11 @@
## SECTION=networking
-config SOCAT
+menuconfig SOCAT
tristate
select LIBC_RT
select LIBC_UTIL
+ select OPENSSL if SOCAT_OPENSSL
+ select OPENSSL_SHARED if SOCAT_OPENSSL
prompt "socat"
help
Socat (for SOcket CAT) establishes two bidirectional byte streams and
@@ -11,3 +13,13 @@ config SOCAT
(terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP,
SSL). It provides forking, logging and tracing, different modes for
interprocess communication and many more options.
+
+if SOCAT
+
+config SOCAT_OPENSSL
+ bool
+ prompt "openssl support"
+ help
+ Include openssl support.
+
+endif
diff --git a/rules/socat.make b/rules/socat.make
index 7eebb9b..bd2ba07 100644
--- a/rules/socat.make
+++ b/rules/socat.make
@@ -60,7 +60,7 @@ SOCAT_CONF_OPT := \
--enable-pty \
--enable-ext2 \
--disable-readline \
- --disable-openssl \
+ --$(call ptx/endis, PTXCONF_SOCAT_OPENSSL)-openssl \
--disable-fips \
--enable-tun \
--enable-sycls \
--
2.4.3
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2015-06-18 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 21:16 George McCollister [this message]
2015-07-01 8:07 ` Michael Olbrich
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=1434662217-1864-1-git-send-email-george.mccollister@gmail.com \
--to=george.mccollister@gmail.com \
--cc=ptxdist@pengutronix.de \
/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