Modify

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#11416 closed enhancement (invalid)

socat : update to 1.7.2.0, add option for ssl support

Reported by: raver@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: socat ssl Cc:

Description

Hi,

socat v1.7.1.3 fails to build with most recent revisions.

In file included from sysincludes.h:162:0,
                 from socat.c:11:
/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/sys-include/linux/ext2_fs.h:178:41: error: unknown type name 'umode_t'
make[3]: *** [socat.o] Error 1

I tried instead the latest version (1.7.2.0) with success. I had however to remove the '502-no_sslv2.patch' patch to get it done. The 'OPENSSL_NO_SSL2' flag seems to be replaced by these - 'HAVE_SSLv2_client_method' and 'HAVE_SSLv2_server_method' - so maybe the patch isn't needed anymore.

I also propose a new feature: an option to enable SSL support. See 'Makefile' and 'Config.in' files attached.

Best regards.

Attachments (3)

files.tar.gz (1.1 KB) - added by raver@… 6 years ago.
Makefile (1.5 KB) - added by raver@… 6 years ago.
socat-1.7.2.0.patch (3.2 KB) - added by the2masters 6 years ago.
I tried your proposed changes and I cannot select SOCAT_ENABLE_OPENSSL on make oldconfig, so something is missing here. Otherwise it compiles fine. For completeness I attached a patch with all your changes for easier review.

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by raver@…

comment:1 Changed 6 years ago by raver@…

Hi,
Previous Makefie had some errors that made this socat version being built without OpenSSL support.
So I submit a new new version which already works for me.
There's an issue I didn't solve yet. It's how to add libopenssl dependency.

Changed 6 years ago by raver@…

Changed 6 years ago by the2masters

I tried your proposed changes and I cannot select SOCAT_ENABLE_OPENSSL on make oldconfig, so something is missing here. Otherwise it compiles fine. For completeness I attached a patch with all your changes for easier review.

comment:2 Changed 6 years ago by raver@…

I tried your proposed changes and I cannot select SOCAT_ENABLE_OPENSSL on make oldconfig, so something is missing here.

Did you try 'make menuconfig' instead? I don't know if it make any difference.
BTW thanks for the patch.

comment:3 Changed 5 years ago by jogo

  • Resolution set to invalid
  • Status changed from new to closed

Please submit the patch to the mailing list according to SubmittingPatches. I'll close this ticket to keep trac mostly for actual bugs.

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.