socat icon indicating copy to clipboard operation
socat copied to clipboard

Question: plan to submit the patches to the upstream?

Open AkihiroSuda opened this issue 5 years ago • 9 comments

Hi @runsisi

It would be great if your patches can get merged in the socat upstream: http://www.dest-unreach.org/socat/

Do you have a plan to submit the patches to the upstream?

AkihiroSuda avatar Oct 28 '20 07:10 AkihiroSuda

☝️ Would be really great to have SOCKS5 support upstream @runsisi

maciejsszmigiero avatar Feb 16 '21 14:02 maciejsszmigiero

The upstream repo has a socat2 branch with socks5 support.

mmraz avatar May 27 '21 20:05 mmraz

The last commit to socat2 branch was 5 years ago (2016-01-29) : https://repo.or.cz/socat.git/shortlog/refs/heads/socat2

AkihiroSuda avatar May 27 '21 20:05 AkihiroSuda

I submitted PR #3 to get this repo current to version 1.7.4.1. Also available in my fork at mmraz/socat

mmraz avatar May 28 '21 21:05 mmraz

I've also needed this, so did some work on it. Hope it helps somebody.

TODO/Status:

  • [ ] gather and publish these information on a single page somewhere
  • [x] Mirror https://git.rlab.io/forks/socat (Almost same as @mmraz 's one, but rebased to upstream.)
  • [x] Alpine Package / APKBuild (based on alpine edge): https://git.rlab.io/system/alpinelinux/rports/-/tree/master/rlab/socat
    • Prebuilt x86_64 package here => https://git.rlab.io/forks/socat/-/releases/tag-1.7.4.3-rlab1-socks5
    • [ ] CI builds
    • [ ] arm64 builds
  • [x] Container image => dkr.rlab.io/system/dockerized/socat:latest ( x86_64 only )
    • Source: https://git.rlab.io/system/dockerized/socat
    • [ ] arm64 build
    • [ ] multi-arch manifest
  • [ ] prepare a status table
  • [ ] signed packages (Alpinelinux)
  • [ ] try upstreaming
    • Hopefully someone in my team might do

furkanmustafa avatar Mar 17 '22 06:03 furkanmustafa

@furkanmustafa Do you know what the current build commands are? The commands used in the README.md don't work like that anymore...

Franky1 avatar Jul 25 '22 15:07 Franky1

@Franky1 I'm not aware of recent changes, but..

It looks like normal drill of ./configure && make && sudo make install is supposed to work .. :thinking:

furkanmustafa avatar Jul 25 '22 16:07 furkanmustafa

@furkanmustafa Ok, maybe i am too unexperienced with linux, but there is no ./configure script in the sources?

Franky1 avatar Jul 25 '22 16:07 Franky1

Ah... yes. you're right. It's available in released source tarballs.

If you clone the source here, you will need to use autoconf (from autotools package?) to generate configure script first.

More on topic;

  • https://stackoverflow.com/questions/10999549/how-do-i-create-a-configure-script
  • https://thoughtbot.com/blog/the-magic-behind-configure-make-make-install
  • https://www.gnu.org/software/autoconf/

( Once you can build it successfully, this could deserve a documentation contribution to the upstream here http://www.dest-unreach.org/socat/ ) ( Also, further discussion of building socat might be considered off-topic here )

furkanmustafa avatar Jul 25 '22 16:07 furkanmustafa