From 8cf683ef1f7dda0e75cd7c347b630da058722c43 Mon Sep 17 00:00:00 2001 From: Paper Date: Sat, 2 Jan 2021 12:27:00 +0100 Subject: [PATCH] socat: add option to enable openssl-method allows users to specify the TLS/SSL protocol version --- srcpkgs/socat/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/socat/template b/srcpkgs/socat/template index a163d2099c0..d819696ecad 100644 --- a/srcpkgs/socat/template +++ b/srcpkgs/socat/template @@ -4,7 +4,7 @@ version=1.7.3.4 revision=2 build_style=gnu-configure configure_args="--disable-libwrap --enable-fips - ac_cv_have_z_modifier=yes" + $(vopt_if opensslmethod --enable-openssl-method) ac_cv_have_z_modifier=yes" makedepends="readline-devel libressl-devel" short_desc="Relay for bidirectional data transfer between two independent channels" maintainer="q66 " @@ -13,6 +13,9 @@ homepage="http://www.dest-unreach.org/socat/" distfiles="http://www.dest-unreach.org/socat/download/socat-${version}.tar.bz2" checksum=972374ca86f65498e23e3259c2ee1b8f9dbeb04d12c2a78c0c9b5d1cb97dfdfc +build_options="opensslmethod" +desc_option_opensslmethod="Enable openssl-method" + case "$XBPS_TARGET_MACHINE" in *-musl) CFLAGS="-D_LINUX_IF_ETHER_H";; esac