pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/socat



Module Name:    pkgsrc
Committed By:   leot
Date:           Fri Dec 12 11:20:55 UTC 2025

Modified Files:
        pkgsrc/net/socat: Makefile distinfo

Log Message:
socat: Update to 1.8.1.0

Changes:
1.8.1.0:
Features:
- Implemented new address STALL that never sends data or EOF, and never
  gets ready to write data.
- Added option termios-setflags (setflags) to set the termios tcflags.
- Added address TEXT that takes a string from command line as input data;
  output is sent to STDOUT.
- Added option ipv6-multicast-loop (ipv6-mcloop, mcloop6).
- Added option interface-mtu (if-mtu) to set the MTU of TUN and INTERFACE
  addresses.
- Address SHELL now can be used without argument to provide an
  interactive shell.
- Added SOCKS5 client user,password authentication with (old socks4)
  option socksuser and new option sockspass
- Added option ipv6-mtu-discover.
- New option tiocswinsz (winsz) (pre)sets size of pseudo terminal (PTY).
- Filan queries and prints terminal size (window size) using
  ioctl(TIOCGWINSZ).
- Filan: new option -W keeps it running and makes it print the FD infos
  on SIGWINCH, useful for watching changes of terminal size (window
  size).
- Filan tries to show more info on dynamic file descriptor states
  (FIONREAD etc.)
- Program invocation (EXEC, SHELL, SYSTEM) with option pty now support
  option symbolic-link (link).

Corrections:
- Fixed possible SIGSEGV after failed getprotobynumber_r() .
- Fixed minor issues with child process counter.
- Address EXEC had a realloc() based heap overflow when the sub command
  had 8 components and had length 48..63 bytes. On some versions of
  FreeBSD, NetBSD and MacOSX this could produce a failure:
  E execvp("", "", "arg1", "arg2", ...): No such file or directory
- Socat crashed with addresses like IP-RECV:17 because some routine
  assumed existance of a bind address as with UDP.
- PTY generated per /dev/ptmx (or /dev/ptc) instead of openpty() might
  not have gotten all address options (esp.AIX).
- In version 1.8.0.3 SOCKS4 and SOCKS4a without option sockdport failed
  with something like:
  E getaddrinfo(...): Servname not supported for ai_socktype
- SOCKS4 addresses could SIGSEGV when peer sent TCP-RST during initial
  dialog.
- Option posixmq-priority had been implemented as boolean and thus only
  the values 0 or 1 were applied.
- Address POSIXMQ now refuses bidirectional mode to prevent unwanted
  flushing of queue; use POSIXMQ-BIDIRECTIONAL when needed.
- Deactivated explicit printing of newline on empty READLINE input line.
- When CREATE is used in read-only context it now refuses to truncate or
  create file.
- Fixed bind option with VSOCK: do not try to resolve vsock id
  (regression after 1.8.0.0).
- EXEC with leading space tried to invoke program with empty name.
  Now it skips leading space.
- Socat with options -v or -x showed incorrect timestamps (microseconds
  in decimal position of nanoseconds).
- Address GOPEN per default applies the O_APPEND flag; however, the
  option o-append=0 had no effect.
- Options min-proto-version and max-proto-version were documented but
  available only as openssl-min-proto-version etc.
  Now bother forms are documented and available.

Porting:
- Changed Ioctl() request from int to unsigned long to prevent ioctl
  sign-extension console warnings on 32bit BSD systems.
  And see htps://bugzilla.kernel.org/show_bug.cgi?id=42705 for discussion.
- PTYs on Solaris require use of STREAMs.
- Modifications for: gcc -std=c99 --pedantic


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/net/socat/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/net/socat/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/socat/Makefile
diff -u pkgsrc/net/socat/Makefile:1.57 pkgsrc/net/socat/Makefile:1.58
--- pkgsrc/net/socat/Makefile:1.57      Tue Aug 26 15:14:56 2025
+++ pkgsrc/net/socat/Makefile   Fri Dec 12 11:20:55 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.57 2025/08/26 15:14:56 leot Exp $
+# $NetBSD: Makefile,v 1.58 2025/12/12 11:20:55 leot Exp $
 
-DISTNAME=      socat-1.8.0.3
+DISTNAME=      socat-1.8.1.0
 CATEGORIES=    net
 MASTER_SITES=  http://www.dest-unreach.org/socat/download/
 

Index: pkgsrc/net/socat/distinfo
diff -u pkgsrc/net/socat/distinfo:1.40 pkgsrc/net/socat/distinfo:1.41
--- pkgsrc/net/socat/distinfo:1.40      Tue Aug 26 15:14:56 2025
+++ pkgsrc/net/socat/distinfo   Fri Dec 12 11:20:55 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.40 2025/08/26 15:14:56 leot Exp $
+$NetBSD: distinfo,v 1.41 2025/12/12 11:20:55 leot Exp $
 
-BLAKE2s (socat-1.8.0.3.tar.gz) = bc2b614c67665c3798fd5866291b37ee12a8fd5b9cb82dbf241046c17a3832a1
-SHA512 (socat-1.8.0.3.tar.gz) = 600a3387e9756e0937d2db49de9066df03d9818e4042da6b72109d1b5688dd72352754773a19bd2558fe93ec6a8a73e80e7cf2602fd915960f66c403fd89beef
-Size (socat-1.8.0.3.tar.gz) = 744553 bytes
+BLAKE2s (socat-1.8.1.0.tar.gz) = a06c12c3b13f0cc5f9fe61b53f15630cb1938e7c028030185c90a4fb91a340e4
+SHA512 (socat-1.8.1.0.tar.gz) = 16cb7d3425fb844b07b8837b7a3604967c146b4bc8bbc9db0431dadb07f176c981106fa6bbbad88ce61a61d0078146d34855fb2f75d414d7c67f3600f1e036a6
+Size (socat-1.8.1.0.tar.gz) = 766385 bytes



Home | Main Index | Thread Index | Old Index