include $(TOPDIR)/rules.mk
PKG_NAME:=socat
-PKG_VERSION:=1.8.0.0
-PKG_RELEASE:=2
+PKG_VERSION:=1.8.0.3
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download
-PKG_HASH:=e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7
+PKG_HASH:=01eb017361d95bb3a6941e840b59e4463a3fabf92df4154ed02b16a2ed6a0095
PKG_LICENSE:=GPL-2.0-or-later OpenSSL
--disable-readline \
--enable-termios
-## procan.c fails to compile when ccache is enabled
-MAKE_FLAGS += CC="$(TARGET_CC_NOCACHE)"
-
ifneq ($(CONFIG_SOCAT_SSL),y)
CONFIGURE_ARGS+= --disable-openssl
endif
--- a/xio-openssl.c
+++ b/xio-openssl.c
@@ -8,6 +8,8 @@
- #if WITH_OPENSSL /* make this address configure dependend */
+ #if WITH_OPENSSL /* make this address configure dependent */
#include <openssl/conf.h>
#include <openssl/x509v3.h>
+#include <openssl/dh.h>