summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2015-06-18 16:16:57 -0500
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-06-30 10:49:46 +0200
commit50359bc3adcf811fca99cf29942a884af2180d1a (patch)
tree1d61f733da5988e016a970b466d0d66866b9b596 /rules
parent3693400a4c637b23b2d2a3b5ea81c0d68b13ee13 (diff)
downloadptxdist-50359bc3adcf811fca99cf29942a884af2180d1a.tar.gz
ptxdist-50359bc3adcf811fca99cf29942a884af2180d1a.tar.xz
socat: added openssl option
Added an option to enable openssl in socat. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/socat.in15
-rw-r--r--rules/socat.make2
2 files changed, 14 insertions, 3 deletions
diff --git a/rules/socat.in b/rules/socat.in
index e94c72e8e..ce137155a 100644
--- a/rules/socat.in
+++ b/rules/socat.in
@@ -1,13 +1,24 @@
## SECTION=networking
-config SOCAT
+menuconfig SOCAT
tristate
select LIBC_RT
select LIBC_UTIL
- prompt "socat"
+ select OPENSSL if SOCAT_OPENSSL
+ prompt "socat "
help
Socat (for SOcket CAT) establishes two bidirectional byte streams and
transfers data between them. Data channels may be files, pipes, devices
(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 7eebb9b64..bd2ba0773 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 \