Hello community, here is the log from the commit of package fping for openSUSE:Factory checked in at 2012-10-17 07:13:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fping (Old) and /work/SRC/openSUSE:Factory/.fping.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fping", Maintainer is "vdziewie...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/fping/fping.changes 2012-09-14 12:16:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fping.new/fping.changes 2012-10-17 07:13:24.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Oct 16 09:52:22 UTC 2012 - pu...@suse.com + +- update to 3.4 + * Revert "Output statistics to stdout instead of stderr", because + it breaks tools assuming the output goes to stderr + +------------------------------------------------------------------- Old: ---- fping-3.3.tar.gz New: ---- fping-3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fping.spec ++++++ --- /var/tmp/diff_new_pack.68qm7a/_old 2012-10-17 07:13:25.000000000 +0200 +++ /var/tmp/diff_new_pack.68qm7a/_new 2012-10-17 07:13:25.000000000 +0200 @@ -18,7 +18,7 @@ Name: fping Url: http://www.fping.org -Version: 3.3 +Version: 3.4 Release: 0 Summary: A program to ping multiple hosts License: MIT ++++++ fping-3.3.tar.gz -> fping-3.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fping-3.3/ChangeLog new/fping-3.4/ChangeLog --- old/fping-3.3/ChangeLog 2012-08-19 23:04:59.000000000 +0200 +++ new/fping-3.4/ChangeLog 2012-09-04 09:31:40.000000000 +0200 @@ -1,3 +1,8 @@ +2012-09-04 David Schweikert <da...@schweikert.ch> + * Version 3.4 + * Revert "Output statistics to stdout instead of stderr", because it breaks + tools assuming the output goes to stderr + 2012-08-19 David Schweikert <da...@schweikert.ch> * Version 3.3 * Do not output icmp errors with -q (#1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fping-3.3/configure new/fping-3.4/configure --- old/fping-3.3/configure 2012-08-19 23:03:22.000000000 +0200 +++ new/fping-3.4/configure 2012-09-04 09:32:24.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.67 for fping 3.3. +# Generated by GNU Autoconf 2.67 for fping 3.4. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -549,8 +549,8 @@ # Identity of this package. PACKAGE_NAME='fping' PACKAGE_TARNAME='fping' -PACKAGE_VERSION='3.3' -PACKAGE_STRING='fping 3.3' +PACKAGE_VERSION='3.4' +PACKAGE_STRING='fping 3.4' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1252,7 +1252,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures fping 3.3 to adapt to many kinds of systems. +\`configure' configures fping 3.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1323,7 +1323,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of fping 3.3:";; + short | recursive ) echo "Configuration of fping 3.4:";; esac cat <<\_ACEOF @@ -1414,7 +1414,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -fping configure 3.3 +fping configure 3.4 generated by GNU Autoconf 2.67 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1779,7 +1779,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by fping $as_me 3.3, which was +It was created by fping $as_me 3.4, which was generated by GNU Autoconf 2.67. Invocation command line was $ $0 $@ @@ -2749,7 +2749,7 @@ # Define the identity of the package. PACKAGE='fping' - VERSION='3.3' + VERSION='3.4' cat >>confdefs.h <<_ACEOF @@ -4857,7 +4857,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by fping $as_me 3.3, which was +This file was extended by fping $as_me 3.4, which was generated by GNU Autoconf 2.67. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4923,7 +4923,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -fping config.status 3.3 +fping config.status 3.4 configured by $0, generated by GNU Autoconf 2.67, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fping-3.3/configure.ac new/fping-3.4/configure.ac --- old/fping-3.3/configure.ac 2012-08-19 23:03:14.000000000 +0200 +++ new/fping-3.4/configure.ac 2012-09-04 09:32:00.000000000 +0200 @@ -3,7 +3,7 @@ dnl Minimum Autoconf version required. AC_PREREQ(2.59) -AC_INIT([fping],[3.3]) +AC_INIT([fping],[3.4]) dnl make ipv4 and ipv6 options AC_ARG_ENABLE([ipv4], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fping-3.3/src/fping.c new/fping-3.4/src/fping.c --- old/fping-3.3/src/fping.c 2012-08-16 13:58:36.000000000 +0200 +++ new/fping-3.4/src/fping.c 2012-09-04 09:27:51.000000000 +0200 @@ -1305,39 +1305,39 @@ fflush( stdout ); if( verbose_flag || per_recv_flag ) - fprintf( stdout, "\n" ); + fprintf( stderr, "\n" ); for( i = 0; i < num_hosts; i++ ) { h = table[i]; - fprintf( stdout, "%s%s :", h->host, h->pad ); + fprintf( stderr, "%s%s :", h->host, h->pad ); if( report_all_rtts_flag ) { for( j = 0; j < h->num_sent; j++ ) { if( ( resp = h->resp_times[j] ) >= 0 ) - fprintf( stdout, " %d.%02d", resp / 100, resp % 100 ); + fprintf( stderr, " %d.%02d", resp / 100, resp % 100 ); else - fprintf( stdout, " -" ); + fprintf( stderr, " -" ); }/* FOR */ - fprintf( stdout, "\n" ); + fprintf( stderr, "\n" ); }/* IF */ else { if( h->num_recv <= h->num_sent ) { - fprintf( stdout, " xmt/rcv/%%loss = %d/%d/%d%%", + fprintf( stderr, " xmt/rcv/%%loss = %d/%d/%d%%", h->num_sent, h->num_recv, h->num_sent > 0 ? ( ( h->num_sent - h->num_recv ) * 100 ) / h->num_sent : 0 ); }/* IF */ else { - fprintf( stdout, " xmt/rcv/%%return = %d/%d/%d%%", + fprintf( stderr, " xmt/rcv/%%return = %d/%d/%d%%", h->num_sent, h->num_recv, ( ( h->num_recv * 100 ) / h->num_sent ) ); @@ -1346,13 +1346,13 @@ if( h->num_recv ) { avg = h->total_time / h->num_recv; - fprintf( stdout, ", min/avg/max = %s", sprint_tm( h->min_reply ) ); - fprintf( stdout, "/%s", sprint_tm( avg ) ); - fprintf( stdout, "/%s", sprint_tm( h->max_reply ) ); + fprintf( stderr, ", min/avg/max = %s", sprint_tm( h->min_reply ) ); + fprintf( stderr, "/%s", sprint_tm( avg ) ); + fprintf( stderr, "/%s", sprint_tm( h->max_reply ) ); }/* IF */ - fprintf(stdout, "\n"); + fprintf(stderr, "\n"); }/* ELSE */ @@ -1362,11 +1362,11 @@ for( j = 0; j < h->num_sent; j++ ) { if( ( resp = h->sent_times[j] ) >= 0 ) - fprintf( stdout, " %s", sprint_tm( resp ) ); + fprintf( stderr, " %s", sprint_tm( resp ) ); else - fprintf( stdout, " -" ); + fprintf( stderr, " -" ); - fprintf( stdout, "\n" ); + fprintf( stderr, "\n" ); }/* FOR */ }/* IF */ @@ -1409,27 +1409,27 @@ fflush( stdout ); if( verbose_flag || per_recv_flag ) - fprintf( stdout, "\n" ); + fprintf( stderr, "\n" ); curr_tm = localtime( ( time_t* )¤t_time.tv_sec ); - fprintf( stdout, "[%2.2d:%2.2d:%2.2d]\n", curr_tm->tm_hour, + fprintf( stderr, "[%2.2d:%2.2d:%2.2d]\n", curr_tm->tm_hour, curr_tm->tm_min, curr_tm->tm_sec ); for( i = 0; i < num_hosts; i++ ) { h = table[i]; - fprintf( stdout, "%s%s :", h->host, h->pad ); + fprintf( stderr, "%s%s :", h->host, h->pad ); if( h->num_recv_i <= h->num_sent_i ) { - fprintf( stdout, " xmt/rcv/%%loss = %d/%d/%d%%", + fprintf( stderr, " xmt/rcv/%%loss = %d/%d/%d%%", h->num_sent_i, h->num_recv_i, h->num_sent_i > 0 ? ( ( h->num_sent_i - h->num_recv_i ) * 100 ) / h->num_sent_i : 0 ); }/* IF */ else { - fprintf( stdout, " xmt/rcv/%%return = %d/%d/%d%%", + fprintf( stderr, " xmt/rcv/%%return = %d/%d/%d%%", h->num_sent_i, h->num_recv_i, h->num_sent_i > 0 ? ( ( h->num_recv_i * 100 ) / h->num_sent_i ) : 0 ); @@ -1438,13 +1438,13 @@ if( h->num_recv_i ) { avg = h->total_time_i / h->num_recv_i; - fprintf( stdout, ", min/avg/max = %s", sprint_tm( h->min_reply_i ) ); - fprintf( stdout, "/%s", sprint_tm( avg ) ); - fprintf( stdout, "/%s", sprint_tm( h->max_reply_i ) ); + fprintf( stderr, ", min/avg/max = %s", sprint_tm( h->min_reply_i ) ); + fprintf( stderr, "/%s", sprint_tm( avg ) ); + fprintf( stderr, "/%s", sprint_tm( h->max_reply_i ) ); }/* IF */ - fprintf( stdout, "\n" ); + fprintf( stderr, "\n" ); h->num_sent_i = h->num_recv_i = h->max_reply_i = h->min_reply_i = h->total_time_i = 0; @@ -1471,17 +1471,17 @@ void print_global_stats( void ) { fflush( stdout ); - fprintf( stdout, "\n" ); - fprintf( stdout, " %7d targets\n", num_hosts ); - fprintf( stdout, " %7d alive\n", num_alive ); - fprintf( stdout, " %7d unreachable\n" ,num_unreachable ); - fprintf( stdout, " %7d unknown addresses\n", num_noaddress ); - fprintf( stdout, "\n" ); - fprintf( stdout, " %7d timeouts (waiting for response)\n", num_timeout ); - fprintf( stdout, " %7d ICMP Echos sent\n", num_pingsent ); - fprintf( stdout, " %7d ICMP Echo Replies received\n", num_pingreceived ); - fprintf( stdout, " %7d other ICMP received\n", num_othericmprcvd ); - fprintf( stdout, "\n" ); + fprintf( stderr, "\n" ); + fprintf( stderr, " %7d targets\n", num_hosts ); + fprintf( stderr, " %7d alive\n", num_alive ); + fprintf( stderr, " %7d unreachable\n" ,num_unreachable ); + fprintf( stderr, " %7d unknown addresses\n", num_noaddress ); + fprintf( stderr, "\n" ); + fprintf( stderr, " %7d timeouts (waiting for response)\n", num_timeout ); + fprintf( stderr, " %7d ICMP Echos sent\n", num_pingsent ); + fprintf( stderr, " %7d ICMP Echo Replies received\n", num_pingreceived ); + fprintf( stderr, " %7d other ICMP received\n", num_othericmprcvd ); + fprintf( stderr, "\n" ); if( total_replies == 0 ) { @@ -1492,13 +1492,13 @@ }/* IF */ - fprintf( stdout, " %s ms (min round trip time)\n", sprint_tm( min_reply ) ); - fprintf( stdout, " %s ms (avg round trip time)\n", + fprintf( stderr, " %s ms (min round trip time)\n", sprint_tm( min_reply ) ); + fprintf( stderr, " %s ms (avg round trip time)\n", sprint_tm( ( int )( sum_replies / total_replies ) ) ); - fprintf( stdout, " %s ms (max round trip time)\n", sprint_tm( max_reply ) ); - fprintf( stdout, " %.3f sec (elapsed real time)\n", + fprintf( stderr, " %s ms (max round trip time)\n", sprint_tm( max_reply ) ); + fprintf( stderr, " %12.3f sec (elapsed real time)\n", timeval_diff( &end_time, &start_time ) / 100000.0 ); - fprintf( stdout, "\n" ); + fprintf( stderr, "\n" ); } /* print_global_stats() */ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org