Compare commits

...

No commits in common. "c8" and "c8-beta" have entirely different histories.
c8 ... c8-beta

2 changed files with 1 additions and 32 deletions

View File

@ -1,22 +0,0 @@
http://www.dest-unreach.org/socat/contrib/socat-secadv9.html
--- socat-1.8.0.1/readline.sh 2019-04-04 10:59:55.000000000 +0200
+++ socat-1.8.0.2/readline.sh 2024-12-06 11:44:17.376502570 +0100
@@ -22,9 +22,15 @@
else
HISTOPT=
fi
-mkdir -p /tmp/$USER || exit 1
#
#
-exec socat -d readline"$HISTOPT",noecho='[Pp]assword:' exec:"$PROGRAM",sigint,pty,setsid,ctty,raw,echo=0,stderr 2>/tmp/$USER/stderr2
+if test -w .; then
+ STDERR=./socat-readline.${1##*/}.log
+ rm -f $STDERR
+else
+ STDERR=/dev/null
+fi
+
+exec socat -d readline"$HISTOPT",noecho='[Pp]assword:' exec:"$PROGRAM",sigint,pty,setsid,ctty,raw,echo=0,stderr 2>$STDERR

View File

@ -3,14 +3,12 @@
Summary: Bidirectional data relay between two data channels ('netcat++') Summary: Bidirectional data relay between two data channels ('netcat++')
Name: socat Name: socat
Version: 1.7.4.1 Version: 1.7.4.1
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2 License: GPLv2
Url: http://www.dest-unreach.org/socat/ Url: http://www.dest-unreach.org/socat/
Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz Source: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.gz
Group: Applications/Internet Group: Applications/Internet
Patch1: socat-1.7.4.4-CVE-2024-54661.patch
BuildRequires: openssl-devel readline-devel ncurses-devel BuildRequires: openssl-devel readline-devel ncurses-devel
BuildRequires: autoconf kernel-headers > 2.6.18 BuildRequires: autoconf kernel-headers > 2.6.18
# for make test # for make test
@ -29,8 +27,6 @@ line editor (readline), a program, or a combination of two of these.
iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8 iconv -f iso8859-1 -t utf-8 CHANGES > CHANGES.utf8
mv CHANGES.utf8 CHANGES mv CHANGES.utf8 CHANGES
%autopatch -p1
%build %build
%configure \ %configure \
--enable-help --enable-stdio \ --enable-help --enable-stdio \
@ -69,11 +65,6 @@ export OD_C=/usr/bin/od
%doc %{_mandir}/man1/* %doc %{_mandir}/man1/*
%changelog %changelog
* Tue Jun 3 2025 Stepan Broz <sbroz@redhat.com> - 1.7.4.1-2
- add fix for CVE-2024-54661
Resolves: RHEL-70095
- switch to autopatch, remove unused patches
* Tue Mar 30 2021 Paul Wouters <pwouters@redhat.com> - 1.7.4.1-1 * Tue Mar 30 2021 Paul Wouters <pwouters@redhat.com> - 1.7.4.1-1
- Resolves: rhbz#1805132 socat does not recognize IP addresses of the SAN extensions in ssl mode - Resolves: rhbz#1805132 socat does not recognize IP addresses of the SAN extensions in ssl mode
- Resolves: rhbz#1870279 Transfer via socat fails with openssl enabled - Resolves: rhbz#1870279 Transfer via socat fails with openssl enabled