Hello community, here is the log from the commit of package hxtools for openSUSE:Factory checked in at 2017-05-03 15:58:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hxtools (Old) and /work/SRC/openSUSE:Factory/.hxtools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "hxtools" Wed May 3 15:58:43 2017 rev:33 rq:492584 version:20170430 Changes: -------- --- /work/SRC/openSUSE:Factory/hxtools/hxtools.changes 2017-02-05 18:35:15.948064702 +0100 +++ /work/SRC/openSUSE:Factory/.hxtools.new/hxtools.changes 2017-05-03 15:58:46.190845107 +0200 @@ -1,0 +2,7 @@ +Sun Apr 30 10:26:23 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 20170430 + * build: make build result time-invariant + * sysinfo: avoid printing garbage display sizes + +------------------------------------------------------------------- Old: ---- hxtools-20170114.tar.asc hxtools-20170114.tar.xz New: ---- hxtools-20170430.tar.asc hxtools-20170430.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hxtools.spec ++++++ --- /var/tmp/diff_new_pack.ij0p2C/_old 2017-05-03 15:58:47.010729361 +0200 +++ /var/tmp/diff_new_pack.ij0p2C/_new 2017-05-03 15:58:47.014728796 +0200 @@ -17,7 +17,7 @@ Name: hxtools -Version: 20170114 +Version: 20170430 Release: 0 Summary: Collection of day-to-day tools (binaries) License: GPL-2.0+ and WTFPL @@ -40,7 +40,6 @@ BuildRequires: pkgconfig(mount) >= 2.20 BuildRequires: pkgconfig(xcb) >= 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build - Requires: %name-scripts = %version Recommends: %name-man = %version Recommends: hardlink @@ -294,7 +293,7 @@ %_bindir/pmap_dirty %_bindir/sysinfo %dir %hldir -%hldir/netload +%hldir/hxnetload %hldir/paddrspacesize %hldir/proc_stat_signal_decode ++++++ hxtools-20170114.tar.xz -> hxtools-20170430.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/LICENSES.txt new/hxtools-20170430/LICENSES.txt --- old/hxtools-20170114/LICENSES.txt 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/LICENSES.txt 2017-04-30 12:17:42.000000000 +0200 @@ -4,7 +4,7 @@ sadmin/ldif-duplicate-attrs WTFPL-2.0+ sadmin/ldif-leading-spaces WTFPL-2.0+ sadmin/logontime WTFPL-2.0+ -sadmin/netload WTFPL-2.0+ +sadmin/hxnetload WTFPL-2.0+ sadmin/ofl WTFPL-2.0+ sadmin/pmap_dirty WTFPL-2.0+ sadmin/printcaps WTFPL-2.0+ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/configure new/hxtools-20170430/configure --- old/hxtools-20170114/configure 2017-01-14 20:05:02.488443193 +0100 +++ new/hxtools-20170430/configure 2017-04-30 12:19:52.487934081 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for hxtools 20170114. +# Generated by GNU Autoconf 2.69 for hxtools 20170430. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ # Identity of this package. PACKAGE_NAME='hxtools' PACKAGE_TARNAME='hxtools' -PACKAGE_VERSION='20170114' -PACKAGE_STRING='hxtools 20170114' +PACKAGE_VERSION='20170430' +PACKAGE_STRING='hxtools 20170430' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1308,7 +1308,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 hxtools 20170114 to adapt to many kinds of systems. +\`configure' configures hxtools 20170430 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1374,7 +1374,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of hxtools 20170114:";; + short | recursive ) echo "Configuration of hxtools 20170430:";; esac cat <<\_ACEOF @@ -1494,7 +1494,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -hxtools configure 20170114 +hxtools configure 20170430 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2078,7 +2078,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by hxtools $as_me 20170114, which was +It was created by hxtools $as_me 20170430, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2943,7 +2943,7 @@ # Define the identity of the package. PACKAGE='hxtools' - VERSION='20170114' + VERSION='20170430' cat >>confdefs.h <<_ACEOF @@ -6336,7 +6336,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by hxtools $as_me 20170114, which was +This file was extended by hxtools $as_me 20170430, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -6402,7 +6402,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -hxtools config.status 20170114 +hxtools config.status 20170430 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/configure.ac new/hxtools-20170430/configure.ac --- old/hxtools-20170114/configure.ac 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/configure.ac 2017-04-30 12:17:42.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT([hxtools], [20170114]) +AC_INIT([hxtools], [20170430]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) AC_PROG_INSTALL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/doc/Makefile.am new/hxtools-20170430/doc/Makefile.am --- old/hxtools-20170114/doc/Makefile.am 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/doc/Makefile.am 2017-04-30 12:17:42.000000000 +0200 @@ -30,7 +30,7 @@ mailsplit.1 \ man2html.1 \ mod2opus.1 \ - netload.8 \ + hxnetload.8 \ ofl.1 \ pegrep.1 \ peicon.1 \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/doc/Makefile.in new/hxtools-20170430/doc/Makefile.in --- old/hxtools-20170114/doc/Makefile.in 2017-01-14 20:05:03.132443204 +0100 +++ new/hxtools-20170430/doc/Makefile.in 2017-04-30 12:19:53.123933598 +0200 @@ -283,7 +283,7 @@ mailsplit.1 \ man2html.1 \ mod2opus.1 \ - netload.8 \ + hxnetload.8 \ ofl.1 \ pegrep.1 \ peicon.1 \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/doc/hxnetload.8 new/hxtools-20170430/doc/hxnetload.8 --- old/hxtools-20170114/doc/hxnetload.8 1970-01-01 01:00:00.000000000 +0100 +++ new/hxtools-20170430/doc/hxnetload.8 2017-04-30 12:17:42.000000000 +0200 @@ -0,0 +1,22 @@ +.TH netload 8 "2008-02-06" "hxtools" "hxtools" +.SH Name +.PP +netload \(em show utilization of network interface +.SH Syntax +.PP +\fBnetload\fP \fIdevice\fP [\fIinterval\fP] +.SH Description +.PP +Shows the current bandwidth utilization of \fIdevice\fP using an average over +\fIinterval\fP seconds. +.SH Options +.TP +\fIdevice\fP +Device to look at. +.TP +\fIinterval\fP +Intervals to collect data over, in seconds. If greater than 50000, the value +is interpreted as microseconds instead. Defaults to 1 second. +.SH See also +.PP +\fBhxtools\fP(7) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/doc/hxtools.7 new/hxtools-20170430/doc/hxtools.7 --- old/hxtools-20170114/doc/hxtools.7 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/doc/hxtools.7 2017-04-30 12:17:42.000000000 +0200 @@ -77,7 +77,7 @@ .PP \fBmod2opus\fP(1) \(en wrapper for tracker module/MIDI to Opus transcoding .PP -\fBnetload\fP(8) \(en show utilization of network interface +\fBhxnetload\fP(8) \(en show utilization of network interface .PP \fBofl\fP(1) \(en open file lister .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/doc/netload.8 new/hxtools-20170430/doc/netload.8 --- old/hxtools-20170114/doc/netload.8 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/doc/netload.8 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -.TH netload 8 "2008-02-06" "hxtools" "hxtools" -.SH Name -.PP -netload \(em show utilization of network interface -.SH Syntax -.PP -\fBnetload\fP \fIdevice\fP [\fIinterval\fP] -.SH Description -.PP -Shows the current bandwidth utilization of \fIdevice\fP using an average over -\fIinterval\fP seconds. -.SH Options -.TP -\fIdevice\fP -Device to look at. -.TP -\fIinterval\fP -Intervals to collect data over, in seconds. If greater than 50000, the value -is interpreted as microseconds instead. Defaults to 1 second. -.SH See also -.PP -\fBhxtools\fP(7) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/kbd/Makefile.am new/hxtools-20170430/kbd/Makefile.am --- old/hxtools-20170114/kbd/Makefile.am 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/kbd/Makefile.am 2017-04-30 12:17:42.000000000 +0200 @@ -21,7 +21,7 @@ dist_unimap_DATA = cp437AB.uni EXTRA_DIST = ahnv.bdf mux.bdf rhx.bdf tosh.bdf -BDFTOPCF = ${AM_V_GEN} bdftopcf <"$<" | gzip -9c >"$@" +BDFTOPCF = ${AM_V_GEN} bdftopcf <"$<" | gzip -9cn >"$@" ahnv.pcf.gz: ahnv.bdf ${BDFTOPCF} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/kbd/Makefile.in new/hxtools-20170430/kbd/Makefile.in --- old/hxtools-20170114/kbd/Makefile.in 2017-01-14 20:05:03.152443205 +0100 +++ new/hxtools-20170430/kbd/Makefile.in 2017-04-30 12:19:53.147933579 +0200 @@ -270,7 +270,7 @@ unimapdir = ${kbddatadir}/unimaps dist_unimap_DATA = cp437AB.uni EXTRA_DIST = ahnv.bdf mux.bdf rhx.bdf tosh.bdf -BDFTOPCF = ${AM_V_GEN} bdftopcf <"$<" | gzip -9c >"$@" +BDFTOPCF = ${AM_V_GEN} bdftopcf <"$<" | gzip -9cn >"$@" all: all-am .SUFFIXES: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/sadmin/Makefile.am new/hxtools-20170430/sadmin/Makefile.am --- old/hxtools-20170114/sadmin/Makefile.am 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/sadmin/Makefile.am 2017-04-30 12:17:42.000000000 +0200 @@ -25,7 +25,7 @@ logontime \ ldif-duplicate-attrs \ ldif-leading-spaces \ - netload \ + hxnetload \ recursive_lower \ vcsaview diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/sadmin/Makefile.in new/hxtools-20170430/sadmin/Makefile.in --- old/hxtools-20170114/sadmin/Makefile.in 2017-01-14 20:05:03.192443206 +0100 +++ new/hxtools-20170430/sadmin/Makefile.in 2017-04-30 12:19:53.187933549 +0200 @@ -336,7 +336,7 @@ logontime \ ldif-duplicate-attrs \ ldif-leading-spaces \ - netload \ + hxnetload \ recursive_lower \ vcsaview diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/sadmin/hxnetload new/hxtools-20170430/sadmin/hxnetload --- old/hxtools-20170114/sadmin/hxnetload 1970-01-01 01:00:00.000000000 +0100 +++ new/hxtools-20170430/sadmin/hxnetload 2017-04-30 12:17:42.000000000 +0200 @@ -0,0 +1,52 @@ +#!/bin/bash +# +# netload +# written by Jan Engelhardt, 2002-2007 +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the WTF Public License version 2 or +# (at your option) any later version. +# +# NOTE: This script uses /proc/net/dev. Note that TX counters are NOT updated +# for vmnet-bridge traffic! +# + +if [ -z "$1" ]; then + echo "Usage: $0 <device> [interval]"; + exit 1; +fi + +if [ -z "$2" ]; then + sleeper=sleep; + wait=1; +elif [ "$2" -ge 50000 ]; then + sleeper=usleep; + wait="$2"; +else + sleeper=sleep; + wait="$2"; +fi; + +while :; do + cat /proc/net/dev | grep " $1" | cut -f 2 -d:; + "$sleeper" $wait; +done | perl -pe '$|=1;s/.*://' | while read rxcnt rxpkt c d e f g h txcnt txpkt; do + if [ "$all" != "" ]; then + now="`cat /proc/uptime | cut -f 1 -d " " | sed s/"\."//g`"; + [ $[$now-$oldtm] -eq 0 ] && continue; + rxbytes=$[($rxcnt-$oldrx)*100/($now-$oldtm)]; + rxint=$[$rxbytes/1024]; + rxfrac=$[$rxbytes-($rxbytes/1024*1024)]; + + txbytes=$[($txcnt-$oldtx)*100/($now-$oldtm)]; + txint=$[$txbytes/1024]; + txfrac=$[$txbytes-($txbytes/1024*1024)]; + + printf "\r\e[2K"" IN: %9d.%03d KB/s OUT: %9d.%03d KB/s" \ + $rxint $rxfrac $txint $txfrac; + fi; + all=$[$rxcnt+$txcnt]; + oldrx=$rxcnt; + oldtx=$txcnt; + oldtm="`cat /proc/uptime | cut -f 1 -d " " | sed s/"\."//g`"; +done; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/sadmin/netload new/hxtools-20170430/sadmin/netload --- old/hxtools-20170114/sadmin/netload 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/sadmin/netload 1970-01-01 01:00:00.000000000 +0100 @@ -1,52 +0,0 @@ -#!/bin/bash -# -# netload -# written by Jan Engelhardt, 2002-2007 -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the WTF Public License version 2 or -# (at your option) any later version. -# -# NOTE: This script uses /proc/net/dev. Note that TX counters are NOT updated -# for vmnet-bridge traffic! -# - -if [ -z "$1" ]; then - echo "Usage: $0 <device> [interval]"; - exit 1; -fi - -if [ -z "$2" ]; then - sleeper=sleep; - wait=1; -elif [ "$2" -ge 50000 ]; then - sleeper=usleep; - wait="$2"; -else - sleeper=sleep; - wait="$2"; -fi; - -while :; do - cat /proc/net/dev | grep " $1" | cut -f 2 -d:; - "$sleeper" $wait; -done | perl -pe '$|=1;s/.*://' | while read rxcnt rxpkt c d e f g h txcnt txpkt; do - if [ "$all" != "" ]; then - now="`cat /proc/uptime | cut -f 1 -d " " | sed s/"\."//g`"; - [ $[$now-$oldtm] -eq 0 ] && continue; - rxbytes=$[($rxcnt-$oldrx)*100/($now-$oldtm)]; - rxint=$[$rxbytes/1024]; - rxfrac=$[$rxbytes-($rxbytes/1024*1024)]; - - txbytes=$[($txcnt-$oldtx)*100/($now-$oldtm)]; - txint=$[$txbytes/1024]; - txfrac=$[$txbytes-($txbytes/1024*1024)]; - - printf "\r\e[2K"" IN: %9d.%03d KB/s OUT: %9d.%03d KB/s" \ - $rxint $rxfrac $txint $txfrac; - fi; - all=$[$rxcnt+$txcnt]; - oldrx=$rxcnt; - oldtx=$txcnt; - oldtm="`cat /proc/uptime | cut -f 1 -d " " | sed s/"\."//g`"; -done; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/sdevel/spec-beautifier new/hxtools-20170430/sdevel/spec-beautifier --- old/hxtools-20170114/sdevel/spec-beautifier 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/sdevel/spec-beautifier 2017-04-30 12:17:42.000000000 +0200 @@ -74,7 +74,7 @@ s<\%($IDNAME)> <\%{$1}>g; # Upgrade macros to newer forms - if (m<\%{_initrddir}>g) { + if (m<\%\{_initrddir\}>g) { print STDERR "$s->{pos}: Try not to use \%_initrddir (this was a typo introduced in rpm) anymore, use \%_initddir. NOTE: SLES11 does not know the new variable yet.\n"; } s<\%\{_usr\}> <\%{_prefix}>g; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hxtools-20170114/suser/sysinfo.c new/hxtools-20170430/suser/sysinfo.c --- old/hxtools-20170114/suser/sysinfo.c 2017-01-14 20:04:54.000000000 +0100 +++ new/hxtools-20170430/suser/sysinfo.c 2017-04-30 12:17:42.000000000 +0200 @@ -325,13 +325,17 @@ conn = xcb_connect(NULL, NULL); if (conn == NULL) return; + if (xcb_connection_has_error(conn)) + goto out; setup = xcb_get_setup(conn); if (setup == NULL) goto out; iter = xcb_setup_roots_iterator(setup); screen = iter.data; - sib->display_width = screen->width_in_pixels; - sib->display_height = screen->height_in_pixels; + if (screen != NULL) { + sib->display_width = screen->width_in_pixels; + sib->display_height = screen->height_in_pixels; + } out: xcb_disconnect(conn); #endif