mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] socat: added openssl option
Date: Wed, 1 Jul 2015 10:07:21 +0200	[thread overview]
Message-ID: <20150701080721.GD30833@pengutronix.de> (raw)
In-Reply-To: <1434662217-1864-1-git-send-email-george.mccollister@gmail.com>

On Thu, Jun 18, 2015 at 04:16:57PM -0500, George McCollister wrote:
> Added an option to enable openssl in socat.
> 

Thanks, applied.

Michael

> 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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2015-07-01  6:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 21:16 George McCollister
2015-07-01  8:07 ` Michael Olbrich [this message]

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=20150701080721.GD30833@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --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