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:           Tue Aug 26 15:14:56 UTC 2025

Modified Files:
        pkgsrc/net/socat: Makefile distinfo

Log Message:
socat: Update to 1.8.0.3

Changes:
1.8.0.3:
Security:
- readline.sh has new option -lf <logfile> for stderr. If this option is
  not given it logs to a file in . (cwd) only when . is not writable by
  other users.

Corrections:
- Fixed display of option phases in help output.
- filan -s  displayed "(stream)" instead of "tcp" with addresses
  (regression).
- Fixed a bug that made ignoreeof fail in 1.8.0.0 and 1.8.0.1;
  corrected test IGNOREEOF.
  Thanks to Rusty Bird for the precise problem report.
- Fixed the regression introduced with version 1.8.0.1 that in socks5
  addresses the explicit socksport (2nd address parameter) was ignored.
  Thanks to Jakub Fišer for reporting this bug.
- Do not log simple successful write with NOTICE level.
- On partial write to not poll with sleep() but use select()/poll().
- Partial write situations respect total inactivity timeout when
  nonblocking.
- Fixed a bug that could lead to error "xiopoll(...): Bad file descriptor"
  or to undefined behaviour before terminating Socat with addresses EXEC,
  SYSTEM, or SHELL.
- Option ip-add-source-membership did not work.
  Thanks to Duncan Sands and others for reporting this issue and sending
  the fix.
- Option ip-add-membership with only two parameters crashed or failed
  when malloc() does not initialize memory with zeros.
  Thanks to Nicolas Cavallari for reporting and fixing this bug.
- The readline() library function does not output the newline of empty
  input lines. Changed Socat to explicitly print the newline in this
  case.
- Fixed implementation of options o-creat, o-excl, and o-cloexec with
  POSIXMQ-* addresses.
  POSIXMQ addresses are no longer experimental.
- With version 1.8.0.0, and with 1.8.0.1 and option -0, the following
  command failed:
  socat UDP-LISTEN:1234,fork,reuseaddr,bind=127.0.0.1 -
  Message: "E xioopen_ipdgram_listen(): unknown address family 0":
  Thanks to Brian Woo for reporting this issue.
  Test: UDP_LISTEN_BIND4
- Protected SSL_connect() from SIGCHLD,SIGUSR1.
- Nanosleep() trace output now in decimal form.
- UNIX-LISTEN with bind option terminated with INTERNAL error, this is
  now handled properly.
  Test: UNIX_L_BIND
- Removed unused bytes variable from gettimestamp(), corrected #elsif,
  and socks4 record length.
  Thanks to clang-18 and gcc-13.
- Address TCP-CONNECT, when target address resolves to both IPv4 and
  IPv6, now tries to take into account bind address for protocol
  selection.
- Reworked and harmonized ipapp client addresses.
  Tests: TCP_CONNECT_RETRY SCTP_CONNECT_RETRY DCCP_CONNECT_RETRY
  OPENSSL_CONNECT_RETRY SOCKS4_RETRY SOCKS5_CONNECT_RETRY
  PROXY_CONNECT_RETRY
- Socks and proxy clients now also support option max-children.
  Tests: TCP_CONNECT_MAXCHILDREN SCTP_CONNECT_MAXCHILDREN
  DCCP_CONNECT_MAXCHILDREN OPENSSL_CONNECT_MAXCHILDREN
  SOCKS4_MAXCHILDREN SOCKS5_CONNECT_MAXCHILDREN PROXY_CONNECT_MAXCHILDREN
- On failure of getpwuid() (used in options su and su-d) now consider
  errno.
- When IP4 was completed deconfigured, UDP6-RECVFROM with range option
  failed.
- Fixed preprocessor directives in macro invocation.
  Thanks to Mario de Weerd for reporting this issue.
- CONNECT addresses could use a wrong IPPROTO when getaddrinfo() does not
  support the selected one (at least on Debian-4 with SCTP).
- socat -h (help) did not show option groups POSIXMQ, SCTP, DCCP, and
  UDPLITE of addresses.

Features:
- POSIXMQ-RECV now takes option o-nonblock; this, in combination with -T,
  makes it possible to terminate Socat in case the queue is empty.
- New option posixmq-flush (mq-flush) for POSIXMQ addresses empties the
  queue before starting to transfer data.
  Test: LINUX_POSIXMQ_FLUSH
- New options posixmq-maxmsg, posixmq-msgsize.
  Tests: POSIXMQ_MAXMSG POSIXMQ_MSGSIZE
- POSIXMQ is now an alias for POSIXMQ-BIDIRECTIONAL. It can also be used
  in unidirectional context.
- Procan uses getresuid() and getresgid() when available, to determine
  the saved set-user-ID.
- Procan prints more C-defines, esp.O_*, AI_*, EAI_*; __GLIBC__;
  prints some C-defines in oct and hex;
  added option -V
- Procan tells if char is signed or unsigned
- Socat now prints an info message when implicitly setting SO_REUSEADDR.
  Thanks to Michael Renner for this suggestion.
- Added generic options setsockopt-socket and setsockopt-connected that
  are applied after socket() or when connected.
- POSIXMQ addresses now print a warning when options posixmq-maxmsg or
  posixmq-msgsize were not applied.
- New address POSIXMQ-WRITE does the same as POSIXMQ-SEND, as counterpart
  of POSIXMQ-READ.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/net/socat/Makefile
cvs rdiff -u -r1.39 -r1.40 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.56 pkgsrc/net/socat/Makefile:1.57
--- pkgsrc/net/socat/Makefile:1.56      Sun Jan 19 17:46:10 2025
+++ pkgsrc/net/socat/Makefile   Tue Aug 26 15:14:56 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2025/01/19 17:46:10 leot Exp $
+# $NetBSD: Makefile,v 1.57 2025/08/26 15:14:56 leot Exp $
 
-DISTNAME=      socat-1.8.0.2
+DISTNAME=      socat-1.8.0.3
 CATEGORIES=    net
 MASTER_SITES=  http://www.dest-unreach.org/socat/download/
 

Index: pkgsrc/net/socat/distinfo
diff -u pkgsrc/net/socat/distinfo:1.39 pkgsrc/net/socat/distinfo:1.40
--- pkgsrc/net/socat/distinfo:1.39      Sun Jan 19 17:46:10 2025
+++ pkgsrc/net/socat/distinfo   Tue Aug 26 15:14:56 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2025/01/19 17:46:10 leot Exp $
+$NetBSD: distinfo,v 1.40 2025/08/26 15:14:56 leot Exp $
 
-BLAKE2s (socat-1.8.0.2.tar.gz) = ef101a0bb643ddddc87396f1ca57fc30cf4b4be1113bdbb4664950e9733b3408
-SHA512 (socat-1.8.0.2.tar.gz) = c0a04e697f03da35d8c630de038e837c544e4dc77dd5bfbe73198d88b2d21727d9062114c1c50925daa264178f3317bc11c5504d1358ab7b3e8bce15e3e2dff9
-Size (socat-1.8.0.2.tar.gz) = 724311 bytes
+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



Home | Main Index | Thread Index | Old Index