Hello community, here is the log from the commit of package dictd for openSUSE:Factory checked in at 2020-02-20 14:54:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dictd (Old) and /work/SRC/openSUSE:Factory/.dictd.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dictd" Thu Feb 20 14:54:24 2020 rev:3 rq:776456 version:1.12.1+git.1579902294.78aa097 Changes: -------- --- /work/SRC/openSUSE:Factory/dictd/dictd.changes 2019-06-19 21:05:08.642332916 +0200 +++ /work/SRC/openSUSE:Factory/.dictd.new.26092/dictd.changes 2020-02-20 14:54:27.858180216 +0100 @@ -1,0 +2,11 @@ +Wed Feb 19 11:15:40 UTC 2020 - Matej Cepl <[email protected]> + +- Update to version 1.12.1+git.1579902294.78aa097: + * Replace inet_ntoa with gethostbyname for checking -lnsl library. It seems recent IssumOS has inet_ntoa in libc. + * test/dictzip_test.in: use @AWK@ instead of awk + * test/dictzip_test.in: avoid printing binary \0. This fixes test on some systems + * Fix test/dictzip_test regression test with broken busybox-1.30 AWK implementation. Use AWK set to ./configure script + * dictfmt: fix overlap of memcpy(3) (overlap of source and destination pointers) Use memmove(3) instead of memcpy(3). This fixes test fail on Linux/musl. + * Fix build on Solaris-10 + +------------------------------------------------------------------- Old: ---- dictd-1.12.1+git.1555438032.190d8c6.tar.xz New: ---- dictd-1.12.1+git.1579902294.78aa097.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dictd.spec ++++++ --- /var/tmp/diff_new_pack.K7D7N8/_old 2020-02-20 14:54:28.526181526 +0100 +++ /var/tmp/diff_new_pack.K7D7N8/_new 2020-02-20 14:54:28.530181535 +0100 @@ -1,7 +1,7 @@ # # spec file for package dictd # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: dictd -Version: 1.12.1+git.1555438032.190d8c6 +Version: 1.12.1+git.1579902294.78aa097 Release: 0 Summary: DICT protocol (RFC 2229) server and command-line client License: GPL-1.0-or-later AND Zlib AND MIT @@ -35,8 +35,8 @@ BuildRequires: libdbi-devel BuildRequires: libmaa-devel BuildRequires: libtool -BuildRequires: pkgconfig(systemd) BuildRequires: zlib-devel +BuildRequires: pkgconfig(systemd) # libtool-ltdl-devel byacc %if 0%{?suse_version} BuildRequires: systemd-rpm-macros ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.K7D7N8/_old 2020-02-20 14:54:28.558181590 +0100 +++ /var/tmp/diff_new_pack.K7D7N8/_new 2020-02-20 14:54:28.558181590 +0100 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/cheusov/dictd</param> - <param name="changesrevision">1c167244d9227e7944f85dfc45bed613c07cefb5</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">78aa097ad20e4ff14f8b73b8c546d57507932a1f</param></service></servicedata> \ No newline at end of file ++++++ dictd-1.12.1+git.1555438032.190d8c6.tar.xz -> dictd-1.12.1+git.1579902294.78aa097.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dictd-1.12.1+git.1555438032.190d8c6/configure.in new/dictd-1.12.1+git.1579902294.78aa097/configure.in --- old/dictd-1.12.1+git.1555438032.190d8c6/configure.in 2019-04-16 20:07:12.000000000 +0200 +++ new/dictd-1.12.1+git.1579902294.78aa097/configure.in 2020-01-24 22:44:54.000000000 +0100 @@ -113,9 +113,9 @@ ]) AC_CHECK_LIB(socket,main) -AC_CHECK_LIB(c,inet_ntoa, +AC_CHECK_LIB(c,gethostbyname, [true], - [AC_CHECK_LIB(nsl,inet_ntoa)]) + [AC_CHECK_LIB(nsl,gethostbyname)]) echo . echo Checking for header files @@ -148,6 +148,8 @@ AC_CHECK_FUNC(daemon,, [AC_LIBOBJ([daemon3])]) +AC_FUNC_ALLOCA + AC_REPLACE_FUNCS(setenv) AC_CHECK_FUNCS(putenv) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dictd-1.12.1+git.1555438032.190d8c6/dictfmt.c new/dictd-1.12.1+git.1579902294.78aa097/dictfmt.c --- old/dictd-1.12.1+git.1555438032.190d8c6/dictfmt.c 2019-04-16 20:07:12.000000000 +0200 +++ new/dictd-1.12.1+git.1579902294.78aa097/dictfmt.c 2020-01-24 22:44:54.000000000 +0100 @@ -438,7 +438,9 @@ if (spc && prev_spc){ }else{ - memcpy (t, h, len); + if (t != h){ + memmove(t, h, len); + } t += len; } h += len; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dictd-1.12.1+git.1555438032.190d8c6/test/dictzip_test.in new/dictd-1.12.1+git.1579902294.78aa097/test/dictzip_test.in --- old/dictd-1.12.1+git.1555438032.190d8c6/test/dictzip_test.in 2019-04-16 20:07:12.000000000 +0200 +++ new/dictd-1.12.1+git.1579902294.78aa097/test/dictzip_test.in 2020-01-24 22:44:54.000000000 +0100 @@ -13,16 +13,15 @@ # return 0 # fi - awk -v sz="$1" ' + @AWK@ -v sz="$1" ' BEGIN { - c = 0 + c = 1 for (i=0; i < sz; ++i) { printf "%c", c ++c if (c == 253) # not 256 - c = 0 + c = 1 } - exit 0 }' } @@ -44,7 +43,7 @@ gen_regions (){ # $1 - size # $2 - step - awk -v size="$1" -v step="$2" ' + @AWK@ -v size="$1" -v step="$2" ' BEGIN { for (i=0; i < size; i += step) for (j=i+step; j <= size; j += step)
