Hello community, here is the log from the commit of package telnet for openSUSE:Factory checked in at Tue Jul 12 15:34:46 CEST 2011. -------- --- telnet/telnet.changes 2011-06-30 11:32:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/telnet/telnet.changes 2011-07-12 10:57:10.000000000 +0200 @@ -4,0 +5 @@ +- made manpage more clear about the -b option calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ telnet.spec ++++++ --- /var/tmp/diff_new_pack.9FjVSh/_old 2011-07-12 15:34:16.000000000 +0200 +++ /var/tmp/diff_new_pack.9FjVSh/_new 2011-07-12 15:34:16.000000000 +0200 @@ -24,7 +24,7 @@ Provides: nkitb:/usr/bin/telnet AutoReqProv: on Version: 1.2 -Release: 152 +Release: 154 Summary: A client program for the telnet remote login protocol BuildRequires: ncurses-devel Requires: netcfg @@ -35,6 +35,7 @@ Patch1: %{name}-bsd-1.2-suppress_hostname.patch Patch2: %{name}-bsd-%{version}-man-page.patch Patch3: telnet-bsd-1.2-no_gethostbyname.patch +#PATCH-FIX-UPSTREAM fix crash when using -b option bnc#700229 Patch4: telnet-bsd-1.2-hostalias.patch %description ++++++ telnet-bsd-1.2-hostalias.patch ++++++ --- /var/tmp/diff_new_pack.9FjVSh/_old 2011-07-12 15:34:16.000000000 +0200 +++ /var/tmp/diff_new_pack.9FjVSh/_new 2011-07-12 15:34:16.000000000 +0200 @@ -2,21 +2,47 @@ =================================================================== --- telnet-bsd-1.2.orig/telnet/commands.c +++ telnet-bsd-1.2/telnet/commands.c -@@ -2451,14 +2451,15 @@ tn (int argc, char *argv[]) +@@ -2450,17 +2450,21 @@ tn (int argc, char *argv[]) + error = getaddrinfo (aliasp, "0", &ahints, &ares); if (error) { - warn ("%s: %s", aliasp, gai_strerror (error)); + printf ("Couldn't get address for %s\n", aliasp); + warn ("%s: %s", aliasp, gai_strerror (error)); close (net); - freeaddrinfo (ares); -- continue; -+ return 0; ++ net = -1; + continue; } if (bind (net, ares->ai_addr, ares->ai_addrlen) < 0) { - perror (aliasp); + printf ("Couldn't bind to %s\n", aliasp); + perror (aliasp); close (net); /* dump descriptor */ - return 0; +- return 0; ++ net = -1; ++ freeaddrinfo (ares); ++ continue; } + freeaddrinfo (ares); + } +Index: telnet-bsd-1.2/telnet/telnet.1 +=================================================================== +--- telnet-bsd-1.2.orig/telnet/telnet.1 ++++ telnet-bsd-1.2/telnet/telnet.1 +@@ -121,12 +121,11 @@ The name used is that of the current use + .Xr getlogin 2 + if it agrees with the current user ID, + otherwise it is the name associated with the user ID. +-.It Fl b Ar hostalias ++.It Fl b Ar ip_address + Uses + .Xr bind 2 +-on the local socket to bind it to an aliased address (see +-.Xr ifconfig 8 +-and the ``alias'' specifier) or to the address of ++on the local socket to bind it to an aliased ip address ++or to the ip address of + another interface than the one naturally chosen by + .Xr connect 2 . + This can be useful when connecting to services which use IP addresses ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org