Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package socat for openSUSE:Factory checked 
in at 2024-05-02 23:42:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/socat (Old)
 and      /work/SRC/openSUSE:Factory/.socat.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "socat"

Thu May  2 23:42:56 2024 rev:46 rq:1171319 version:1.8.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/socat/socat.changes      2022-04-16 
00:14:13.253646829 +0200
+++ /work/SRC/openSUSE:Factory/.socat.new.1880/socat.changes    2024-05-03 
00:11:00.517875362 +0200
@@ -1,0 +2,41 @@
+Wed May  1 18:50:03 UTC 2024 - Georg Pfuetzenreuter 
<mail+...@georg-pfuetzenreuter.net>
+
+- Update to 1.8.0.0:
+    * Support for network namespaces (option netns)
+    * TCP client now automatically tries all addresses (IPv4 and IPv6) 
provided by nameserver until success
+    * Implementation of POSIX message queue (mq) control and access on Linux 
(addresses POSIXMQ-READ and following)
+    * New wrapper script socat-chain.sh allows to stack two addresses, 
e.g.HTTP proxy connect over SSL
+    * New script socat-mux.sh allows n-to-1 / 1-to-n communications
+    * New script socat-broker.sh allows group communications
+    * Experimental socks5 client feature
+    * Address ACCEPT-FD for systemd "inetd" mode
+    * UDP-Lite and DCCP address types
+    * Addresses SOCKETPAIR and SHELL
+    * New option bind-tmpname allows forked off children to bind UNIX domain 
client sockets to random unique pathes
+    * New option retrieve-vlan (with INTERFACE addresses) now makes kernel 
keep VLAN tags in incoming packets
+    * Simple statistics output with Socat option --statistics and with SIGUSR1
+    * A couple of new options, many fixes and corrections, see file CHANGES
+
+- Drop socat-common-fixes.patch (no longer necessary)
+- Refactor socat-ignore-tests-failure-boo1078346.patch (test suite no longer 
exits at this stage)
+- Add socat-test-dhparam fixture (reduce build load and time)
+- Add socat-test-without-tty.patch for testing without tty.
+
+- Note: This version introduces "socat1", linking to "socat"
+- Note: This version introduces additional shell scripts, those are shipped in 
a new "socat-extra" subpackage
+
+-------------------------------------------------------------------
+Tue Dec  6 13:46:41 UTC 2022 - Paolo Stivanin <i...@paolostivanin.com>
+
+- Update to 1.7.4.4:
+  * FIX: In error.c msg2() there was a stack overflow on long 
messages: The
+    terminating \0 Byte was written behind the last position.
+  * FIX: UDP-RECVFROM with fork sometimes terminated when multiple 
packets
+    arrived.
+  * FIX: a couple of weaknesses and errors when accessing invalid or
+    incompatible file system entries with UNIX domain, file, and 
generic
+    addresses.
+  * FIX: bad parser error message on "socat /tmp/x\"x/x -"
+- Drop socat-fix-asan-error.patch
+
+-------------------------------------------------------------------

Old:
----
  socat-1.7.4.3.tar.gz
  socat-common-fixes.patch
  socat-fix-asan-error.patch

New:
----
  socat-1.8.0.0.tar.gz
  socat-test-dhparam
  socat-test-without-tty.patch

BETA DEBUG BEGIN:
  Old:
- Drop socat-common-fixes.patch (no longer necessary)
- Refactor socat-ignore-tests-failure-boo1078346.patch (test suite no longer 
exits at this stage)
  Old:  * FIX: bad parser error message on "socat /tmp/x\"x/x -"
- Drop socat-fix-asan-error.patch
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:- Add socat-test-dhparam fixture (reduce build load and time)
- Add socat-test-without-tty.patch for testing without tty.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ socat.spec ++++++
--- /var/tmp/diff_new_pack.rcYTGT/_old  2024-05-03 00:11:13.810359959 +0200
+++ /var/tmp/diff_new_pack.rcYTGT/_new  2024-05-03 00:11:13.810359959 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package socat
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2010 Pascal Bleser <pascal.ble...@opensuse.org>
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           socat
-Version:        1.7.4.3
+Version:        1.8.0.0
 Release:        0
 Summary:        Multipurpose relay for bidirectional data transfer
 License:        MIT AND SUSE-GPL-2.0-with-openssl-exception
@@ -26,9 +26,12 @@
 URL:            http://www.dest-unreach.org/socat/
 Source:         
http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz
 Source1:        %{name}.changes
+Source2:        socat-test-dhparam
+# TODO: as of 1.8.0.0, test.sh supports "--expect-fail <code>", this should be 
used
+#       instead of ignoring all test failures
 Patch1:         socat-ignore-tests-failure-boo1078346.patch
-Patch2:         socat-common-fixes.patch
-Patch3:         socat-fix-asan-error.patch
+# Support build environments without a TTY
+Patch2:         socat-test-without-tty.patch
 BuildRequires:  iputils
 BuildRequires:  net-tools
 BuildRequires:  openssl-devel
@@ -53,6 +56,16 @@
 file descriptor (stdin etc.), the GNU line editor, a program, or a
 combination of two of these.
 
+%package extra
+Summary:        Additional scripts for socat
+Requires:       %{name} = %{version}
+
+%description extra
+This ships the following scripts:
+- socat-broker.sh
+- socat-chain.sh
+- socat-mux.sh
+
 %prep
 %autosetup
 sed 's|#! %{_bindir}/env bash|#!%{_bindir}/bash|' -i proxyecho.sh readline.sh
@@ -74,6 +87,9 @@
        %{buildroot}/%{_mandir}/man1
 %make_install
 
+# avoid expensive dhparam generation on every build with enabled checks
+cp %{SOURCE2} testcert.dh
+
 %check
 export TERM=ansi
 # use a small but safe subset of all tests
@@ -91,7 +107,14 @@
 %license COPYING COPYING.OpenSSL
 %doc BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY 
VERSION examples
 %{_bindir}/socat
+%{_bindir}/socat1
 %{_bindir}/procan
 %{_bindir}/filan
 %{_mandir}/man1/socat.1%{?ext_man}
+%{_mandir}/man1/socat1.1%{?ext_man}
+
+%files extra
+%{_bindir}/socat-broker.sh
+%{_bindir}/socat-chain.sh
+%{_bindir}/socat-mux.sh
 

++++++ socat-1.7.4.3.tar.gz -> socat-1.8.0.0.tar.gz ++++++
++++ 61540 lines of diff (skipped)

++++++ socat-ignore-tests-failure-boo1078346.patch ++++++
--- /var/tmp/diff_new_pack.rcYTGT/_old  2024-05-03 00:11:14.046368563 +0200
+++ /var/tmp/diff_new_pack.rcYTGT/_new  2024-05-03 00:11:14.050368709 +0200
@@ -1,26 +1,11 @@
-From: Michel Normand <norm...@linux.vnet.ibm.com>
-Subject: socat ignore tests failure boo1078346
-Date: Wed, 31 Jan 2018 10:19:54 +0100
-
-socat ignore flaky tests failure boo1078346
-for PowerPC and S390
-
-Signed-off-by: Michel Normand <norm...@linux.vnet.ibm.com>
----
- test.sh |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: socat-1.7.4.1/test.sh
-===================================================================
---- socat-1.7.4.1.orig/test.sh
-+++ socat-1.7.4.1/test.sh
-@@ -15042,7 +15042,7 @@ if [ "$numCANT" -gt 0 ]; then
+--- a/test.sh  2023-11-13 20:31:08.000000000 +0100
++++ b/test.sh  2024-05-01 21:16:36.479550579 +0200
+@@ -19239,6 +19239,7 @@
  fi
  if [ "$numFAIL" -gt 0 ]; then
      echo "FAILED: $listFAIL"
--    exit 1
-+    uname -p | grep -qE 'ppc|s390' && { echo "ignore flaky failures, bypass 
boo#1078346"; exit 0; } || exit 1
++    uname -p | grep -qE 'ppc|s390' && { echo "ignore flaky failures, bypass 
boo#1078346"; exit 0; } && exit
  fi
- exit 0
  
+ if [ -z "$OPT_EXPECT_FAIL" ]; then
 

++++++ socat-test-dhparam ++++++
-----BEGIN DH PARAMETERS-----
MIIBDAKCAQEAi07zA4IHy7z3zO1Z80pW4ODsfoGkK37EimJ1mxg16W2EaskIHSO1
phICWQFxHJVamtLDdxgcH6FIUw6oznkkkpKqhd3iRQbb4vV0T3bxe7595ic+l5Cb
9pnh90PW5//CxSen5tgsdGAqWvzybupGcN1TlTEyNsfL/By4J9l5p6btmtpdMbqO
AgUpZzkQQvUw+WBNBcqImcH3PIM69yzHQJw5fxE67h/upDyaqJh25PKMmGpOwBVP
QDzmNx0znB/Hop+1YUJJjiuCnFJLSvLacLjHB3sg70EIuG9Kaw4Krrblf3YP5SjY
002fW2pSR0A8wIKtjc0ApZHgK7Xad3SpHwIBAgICAOE=
-----END DH PARAMETERS-----

++++++ socat-test-without-tty.patch ++++++
--- a/test.sh   2023-11-13 20:31:08.000000000 +0100
+++ b/test.sh   2024-05-01 21:25:27.709337509 +0200
@@ -16054,9 +16054,15 @@
 pid0=$!
 relsleep 2
 TTY=$(tty |sed 's|/dev/||')
-pkill -USR1 -t $TTY socat || { echo "pkill -t $TTY -USR1 socat"; }
+if [ "$TTY" = 'not a tty' ]
+then
+   TTY=''
+else
+   TTY="-t $TTY"
+fi
+pkill -USR1 $TTY socat || { echo "pkill $TTY -USR1 socat"; }
 relsleep 1
-pkill -t $TTY socat
+pkill $TTY socat
 wait
 if [ "$(grep STATISTICS "${te}0" |wc -l)" -eq 2 ]; then
     $PRINTF "$OK\n"

Reply via email to