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:           Thu Aug 17 21:55:22 UTC 2023

Modified Files:
        pkgsrc/net/socat: Makefile distinfo
Removed Files:
        pkgsrc/net/socat/patches: patch-sysutils.c patch-xio-openssl.c
            patch-xio-socket.c

Log Message:
socat: Update to 1.7.4.4

pkgsrc changes:
- Remove patch-sysutils.c, patch-xio-openssl.c, patch-xio-socket.c: applied
  upstream

Changes:
1.7.4.4
=======
Corrections:
 - In error.c msg2() there was a stack overflow on long messages: The
   terminating \0 Byte was written behind the last position.
   Thanks to Martin Liška for sending the address sanitizer report.
 - UDP-RECVFROM with fork sometimes terminated when multiple packets
   arrived. This issue was introduced with a bug fix in version 1.7.4.0.
   Reason was not handling EAGAIN on recvmsg().
   Thanks to Jamie McQuillan for reporting this issue.
 - Address TCP with options connect-timeout and retry terminated
   immediately when a connection attempt failed on network error or
   connection refused.
   Test: TCP_TIMEOUT_RETRY
   Thanks to Kamil Holubicki for reporting this issue.
 - There were a couple of weaknesses and errors when accessing invalid or
   incompatible file system entries with UNIX domain, file, and generic
   addresses.
   For example, UNIX-CONNECT, when using a non matching socktype, failed
   with -1 and did not print an error message, instead of printing an
   error message and exiting with rc=1.
   Thanks to Paul Wise for reporting and analyzing the case of accessing
   a left over socket entry with GOPEN.
 - The rawer option failed because it tried to clear CREAD.
 - UDP-SEND and UPD-SENDTO with option lowport always bound to port 1
   instead of a free port in range 640..1023
 - Fixed bad parser error message on "socat /tmp/x\"x/x -"
 - Tightened syntax checks to detect numerical arguments that are missing
   or have trailing garbage.
 - ctype(3) functions need there arguments to be unsigned char.
   Thanks to Taylor R Campbell for sending a patch.
 - Filan library uses Socats diag/error message system and therefore had
   always the signal handler messages socket pair open. This fix avoids
   this socketpair in standalone Filan.
 - Corrected printf format for type socklen_t in two places.

Porting:
 - OpenSSL, at least 1.1 on Ubuntu, crashed with SIGSEGV under certain
   conditions: client connection to server with certificate with empty
   subject, and pressing ^C after successful connect.
   This crash is now prevented by setting OPENSSL_INIT_NO_ATEXIT.
   Thanks to Martin Dorey for reporting and analyzing this issue, and for
   providing an environment for reproduction.
 - Socat failed to compile on platforms that have
   IP_ADD_SOURCE_MEMBERSHIP but not struct ip_mreq_source
   Thanks to Justin Yackoski for sending a patch.
 - configure.ac's detection of getprotobynumber_r() variant did not
   recognize if this function does not exist, e.g. on Musl libc.
   Thanks to Alexander Kanavin and Baruch Siach for sending patches.
 - Corrected message format when no strftime() is available; improved
   handling of very long host or program names
 - Solaris requires that termios options are always applied to the slave
   side of PTY.
 - Fixed ancillary messages on Solaris.
 - Filan: Solaris has the open file path infos in /proc/<pid>/path/
   Thanks to Andy Fiddaman to directing me to the patch.
 - Filan now recognizes and prints Solaris doors and event ports.
 - Solaris derivatives no longer need librt for clock_gettime()
   Thanks to Andy Fiddaman to directing me to the patch.

Building:
 - Failure during building documentation, e.g. due to missing Yodl
   packages, now does not let the build process fail.
   Feature requested by Seyhun.

Features:
 - Filan prints target of symlink when appropriate
 - VSOCK-LISTEN now generates environment variables SOCAT_PEERADDR,
   SOCAT_PEERPORT, SOCAT_SOCKADDR, SOCAT_SOCKPORT
   New address aliases VSOCK, VSOCK-L

Documentation:
 - Fixed typo in doc/socat-tun.html and link in README.
   Thanks to William Suthers for reporting.
 - Fixed hard coded path in docu examples.
   Thanks to Jakub Wilk for sending a patch.
 - Updated doc/socat-openssltunnel.html: 2048 bits, commonname

Testing:
 - Unset SOCAT_MAIN_WAIT on informational Socat calls
 - SOCAT=socat used ./socat instead of the version derived by $PATH
 - Do not try VSOCK_ECHO test when feature is not compiled in.
 - Fixed logging of test 220 TUNINTERFACE
   Musl libc refuses to execve() shell scripts, 2 tests needed to be
   adapted.
 - Musl libc has FOPEN_MAX=1000 which made bash dumping core on test
   EXCEED_FOPEN_MAX.
 - Added tests for failures of UNIX socket and GOPEN accesses to non
   matching file system entries.
 - On RHEL-9 SCTP support requires installation of package
   kernel-modules-extra. test.sh now detects when SCTP is missing in
   kernel and reacts with warnings instead of errors.
 - VSOCK loopback still does not seem to work even in kernel 5.13, so just
   issue warning on "No such device".


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/net/socat/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/net/socat/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/net/socat/patches/patch-sysutils.c \
    pkgsrc/net/socat/patches/patch-xio-openssl.c \
    pkgsrc/net/socat/patches/patch-xio-socket.c

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.48 pkgsrc/net/socat/Makefile:1.49
--- pkgsrc/net/socat/Makefile:1.48      Sat Jul 23 15:40:33 2022
+++ pkgsrc/net/socat/Makefile   Thu Aug 17 21:55:22 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.48 2022/07/23 15:40:33 leot Exp $
+# $NetBSD: Makefile,v 1.49 2023/08/17 21:55:22 leot Exp $
 
-DISTNAME=      socat-1.7.4.3
+DISTNAME=      socat-1.7.4.4
 CATEGORIES=    net
 MASTER_SITES=  http://www.dest-unreach.org/socat/download/
 

Index: pkgsrc/net/socat/distinfo
diff -u pkgsrc/net/socat/distinfo:1.35 pkgsrc/net/socat/distinfo:1.36
--- pkgsrc/net/socat/distinfo:1.35      Sat Jul 23 15:40:33 2022
+++ pkgsrc/net/socat/distinfo   Thu Aug 17 21:55:22 2023
@@ -1,11 +1,8 @@
-$NetBSD: distinfo,v 1.35 2022/07/23 15:40:33 leot Exp $
+$NetBSD: distinfo,v 1.36 2023/08/17 21:55:22 leot Exp $
 
-BLAKE2s (socat-1.7.4.3.tar.gz) = 4fadaae253185c23ce27765d3bbe6744889d8b9f1cc660bc7ebff939916d1d9f
-SHA512 (socat-1.7.4.3.tar.gz) = 81cb34c245052b6a0ae38a711591358460b6070957af4a9eeb11a3cadb4aff184eeaedabbc7ecdc7fdf21a6126c06f90f19b24a87ce74b30bfd60a3879181046
-Size (socat-1.7.4.3.tar.gz) = 655520 bytes
+BLAKE2s (socat-1.7.4.4.tar.gz) = 2850639e1f7b53439d56bae0195922b276ed3679cd4686fa9d75803b55a56610
+SHA512 (socat-1.7.4.4.tar.gz) = 709fd393642d4249152d75add4d489ea76e6118c9e6740e796f029e8c5ddd4f5c9218d587977fc57ada640f635a996cbbe4055275236a169881bb2be1d3e5df9
+Size (socat-1.7.4.4.tar.gz) = 662968 bytes
 SHA1 (patch-config.h.in) = e0cb8c4075ca96863e458f1c2384dc7a6b69e928
 SHA1 (patch-configure) = ba75b5f192c1359220bea019fa50603b2b5c7c3a
 SHA1 (patch-sysincludes.h) = d48307ade6bc82bea946920e7336bc5329714c08
-SHA1 (patch-sysutils.c) = 03ae8b81f0277d8dbbdf82e5b215d7099b25cc36
-SHA1 (patch-xio-openssl.c) = 26745eff5eab745ac45eb04b2243b0bc4bfd6b8d
-SHA1 (patch-xio-socket.c) = f36e6ccc3a659ec9d6d7ce4e470d8b874fe8f6ff



Home | Main Index | Thread Index | Old Index