1
0
mirror of https://github.com/moparisthebest/socat synced 2024-12-21 22:48:48 -05:00

version 1.7.1.2

This commit is contained in:
Gerhard Rieger 2010-01-10 15:20:37 +01:00
parent 2ebedc0457
commit 07db31f7ac
6 changed files with 28 additions and 6 deletions

View File

@ -1,4 +1,6 @@
####################### V 1.7.1.2:
corrections: corrections:
user-late and group-late, when applied to a pty, affected the system user-late and group-late, when applied to a pty, affected the system
device /dev/ptmx instead of the pty (thanks to Matthew Cloke for device /dev/ptmx instead of the pty (thanks to Matthew Cloke for

2
README
View File

@ -75,7 +75,7 @@ install
Get the tarball and extract it: Get the tarball and extract it:
gtar xzf socat.tar.gz gtar xzf socat.tar.gz
cd socat-1.7.1.1 cd socat-1.7.1.2
./configure ./configure
make make
su su

View File

@ -1 +1 @@
"1.7.1.1+64bit+userlate+reneg+sockshtons+subsigchld+sockaddrll" "1.7.1.2"

View File

@ -10,7 +10,7 @@ def(Filan)(0)(bf(Filan))
def(procan)(0)(bf(procan)) def(procan)(0)(bf(procan))
def(Procan)(0)(bf(Procan)) def(Procan)(0)(bf(Procan))
manpage(socat)(1)(May 2009)()() manpage(socat)(1)(Jan 2010)()()
whenhtml( whenhtml(
label(CONTENTS) label(CONTENTS)

View File

@ -1,6 +1,6 @@
%define majorver 1.7 %define majorver 1.7
%define minorver 1.1 %define minorver 1.2
Summary: socat - multipurpose relay Summary: socat - multipurpose relay
Name: socat Name: socat

24
test.sh
View File

@ -10076,7 +10076,17 @@ case "$TESTS" in
TEST="$NAME: OpenSSL connections survives renogotiation" TEST="$NAME: OpenSSL connections survives renogotiation"
# connect with s_client to socat ssl-l; force a renog, then transfer data. When # connect with s_client to socat ssl-l; force a renog, then transfer data. When
# data is passed the test succeeded # data is passed the test succeeded
if ! eval $NUMCOND; then :; else if ! eval $NUMCOND; then :;
elif ! testaddrs openssl >/dev/null; then
$PRINTF "test $F_n $TEST... ${YELLOW}OPENSSL not available${NORMAL}\n" $N
numCANT=$((numCANT+1))
elif ! type openssl >/dev/null 2>&1; then
$PRINTF "test $F_n $TEST... ${YELLOW}openssl executable not available${NORMAL}\n" $N
numCANT=$((numCANT+1))
elif ! testaddrs tcp ip4 >/dev/null || ! runsip4 >/dev/null; then
$PRINTF "test $F_n $TEST... ${YELLOW}TCP/IPv4 not available${NORMAL}\n" $N
numCANT=$((numCANT+1))
else
tf="$td/test$N.stdout" tf="$td/test$N.stdout"
te="$td/test$N.stderr" te="$td/test$N.stderr"
tdiff="$td/test$N.diff" tdiff="$td/test$N.diff"
@ -10118,7 +10128,17 @@ TEST="$NAME: OpenSSL connections do not block after renogotiation"
# connect with s_client to socat ssl-l; force a renog, then transfer data from # connect with s_client to socat ssl-l; force a renog, then transfer data from
# socat to the peer. When data is passed this means that the former ssl read no # socat to the peer. When data is passed this means that the former ssl read no
# longer blocks and the test succeeds # longer blocks and the test succeeds
if ! eval $NUMCOND; then :; else if ! eval $NUMCOND; then :;
elif ! testaddrs openssl >/dev/null; then
$PRINTF "test $F_n $TEST... ${YELLOW}OPENSSL not available${NORMAL}\n" $N
numCANT=$((numCANT+1))
elif ! type openssl >/dev/null 2>&1; then
$PRINTF "test $F_n $TEST... ${YELLOW}openssl executable not available${NORMAL}\n" $N
numCANT=$((numCANT+1))
elif ! testaddrs tcp ip4 >/dev/null || ! runsip4 >/dev/null; then
$PRINTF "test $F_n $TEST... ${YELLOW}TCP/IPv4 not available${NORMAL}\n" $N
numCANT=$((numCANT+1))
else
tf="$td/test$N.stdout" tf="$td/test$N.stdout"
te="$td/test$N.stderr" te="$td/test$N.stderr"
tdiff="$td/test$N.diff" tdiff="$td/test$N.diff"