Hello community, here is the log from the commit of package yp-tools for openSUSE:Factory checked in at 2018-03-30 11:59:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yp-tools (Old) and /work/SRC/openSUSE:Factory/.yp-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yp-tools" Fri Mar 30 11:59:16 2018 rev:30 rq:591643 version:4.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/yp-tools/yp-tools.changes 2018-02-25 11:33:05.330821145 +0100 +++ /work/SRC/openSUSE:Factory/.yp-tools.new/yp-tools.changes 2018-03-30 11:59:19.451304429 +0200 @@ -1,0 +2,7 @@ +Tue Mar 27 15:43:48 CEST 2018 - [email protected] + +- Update to version 4.2.3 + - Re-add yptest [issues/#4] + - Lower compiler warnings [bsc#1084633] + +------------------------------------------------------------------- Old: ---- yp-tools-4.2.2.tar.bz2 New: ---- yp-tools-4.2.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yp-tools.spec ++++++ --- /var/tmp/diff_new_pack.gLJhIM/_old 2018-03-30 11:59:20.035283311 +0200 +++ /var/tmp/diff_new_pack.gLJhIM/_new 2018-03-30 11:59:20.039283166 +0200 @@ -17,13 +17,13 @@ Name: yp-tools -Version: 4.2.2 +Version: 4.2.3 Release: 0 Summary: Network Information Service (YP) client utilities License: GPL-2.0 AND LGPL-2.1 Group: Productivity/Networking/NIS -URL: http://www.linux-nis.org/ -Source: http://www.linux-nis.org/download/yp-tools/yp-tools-%{version}.tar.bz2 +URL: https://github.com/thkukuk/yp-tools +Source: yp-tools-%{version}.tar.bz2 Source1: match_printcap Source2: yp-tools.conf BuildRequires: fdupes @@ -91,5 +91,6 @@ %{_sbindir}/yppoll %{_sbindir}/ypset %{_sbindir}/yp_dump_binding +%{_sbindir}/yptest %changelog ++++++ yp-tools-4.2.2.tar.bz2 -> yp-tools-4.2.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/ChangeLog new/yp-tools-4.2.3/ChangeLog --- old/yp-tools-4.2.2/ChangeLog 2016-03-14 16:18:03.000000000 +0100 +++ new/yp-tools-4.2.3/ChangeLog 2016-04-05 12:39:59.000000000 +0200 @@ -3,6 +3,7 @@ * release version 4.2.2 * lib/yp_all_host.c: Revert last change. + * src/yppoll.c: Use callrpc instead of rpc_call. * release version 4.2.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/NEWS new/yp-tools-4.2.3/NEWS --- old/yp-tools-4.2.2/NEWS 2016-03-14 16:18:19.000000000 +0100 +++ new/yp-tools-4.2.3/NEWS 2018-03-27 15:47:31.000000000 +0200 @@ -4,8 +4,13 @@ Please send bug reports, questions and suggestions to <[email protected]>. +Version 4.2.3 +* Adjustements for newer gcc versions +* Re-add yptest + Version 4.2.2 * Revert removal of netdb.h +* yppoll: Replace IPv4 only code with IPv6 functions Version 4.2.1 * Fix configure checks if sunrpc code in glibc is marked as deprecated diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/aclocal.m4 new/yp-tools-4.2.3/aclocal.m4 --- old/yp-tools-4.2.2/aclocal.m4 2016-03-14 16:18:23.000000000 +0100 +++ new/yp-tools-4.2.3/aclocal.m4 2018-03-27 15:05:51.000000000 +0200 @@ -375,10 +375,9 @@ # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], -[dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/configure new/yp-tools-4.2.3/configure --- old/yp-tools-4.2.2/configure 2016-03-14 16:18:24.000000000 +0100 +++ new/yp-tools-4.2.3/configure 2018-03-27 15:05:54.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for yp-tools 4.2.2. +# Generated by GNU Autoconf 2.69 for yp-tools 4.2.3. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='yp-tools' PACKAGE_TARNAME='yp-tools' -PACKAGE_VERSION='4.2.2' -PACKAGE_STRING='yp-tools 4.2.2' +PACKAGE_VERSION='4.2.3' +PACKAGE_STRING='yp-tools 4.2.3' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1359,7 +1359,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 yp-tools 4.2.2 to adapt to many kinds of systems. +\`configure' configures yp-tools 4.2.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1429,7 +1429,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of yp-tools 4.2.2:";; + short | recursive ) echo "Configuration of yp-tools 4.2.3:";; esac cat <<\_ACEOF @@ -1555,7 +1555,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -yp-tools configure 4.2.2 +yp-tools configure 4.2.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1978,7 +1978,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by yp-tools $as_me 4.2.2, which was +It was created by yp-tools $as_me 4.2.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2528,8 +2528,8 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in @@ -2842,7 +2842,7 @@ # Define the identity of the package. PACKAGE='yp-tools' - VERSION='4.2.2' + VERSION='4.2.3' cat >>confdefs.h <<_ACEOF @@ -4522,7 +4522,7 @@ fi -test -n "$GCC" && WARNFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror" +test -n "$GCC" && WARNFLAGS="-Wall" ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -15407,7 +15407,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by yp-tools $as_me 4.2.2, which was +This file was extended by yp-tools $as_me 4.2.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15473,7 +15473,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -yp-tools config.status 4.2.2 +yp-tools config.status 4.2.3 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/yp-tools-4.2.2/configure.ac new/yp-tools-4.2.3/configure.ac --- old/yp-tools-4.2.2/configure.ac 2016-03-14 16:17:41.000000000 +0100 +++ new/yp-tools-4.2.3/configure.ac 2018-03-27 15:05:25.000000000 +0200 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(yp-tools, 4.2.2, [email protected]) +AC_INIT(yp-tools, 4.2.3, [email protected]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/ypcat.c]) AM_CONFIG_HEADER(config.h) @@ -55,8 +55,7 @@ AC_GNU_SOURCE AM_PROG_CC_C_O dnl If we're using gcc, we want warning flags -dnl test -n "$GCC" && WARNFLAGS="-Wall" -test -n "$GCC" && WARNFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror" +test -n "$GCC" && WARNFLAGS="-Wall" AC_SUBST(WARNFLAGS) AC_PROG_CPP AC_ISC_POSIX diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/etc/Makefile.in new/yp-tools-4.2.3/etc/Makefile.in --- old/yp-tools-4.2.2/etc/Makefile.in 2016-03-14 16:18:23.000000000 +0100 +++ new/yp-tools-4.2.3/etc/Makefile.in 2018-03-27 15:05:54.000000000 +0200 @@ -314,9 +314,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits etc/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu etc/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnits etc/Makefile + $(AUTOMAKE) --gnu etc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/lib/Makefile.in new/yp-tools-4.2.3/lib/Makefile.in --- old/yp-tools-4.2.2/lib/Makefile.in 2016-03-14 16:18:23.000000000 +0100 +++ new/yp-tools-4.2.3/lib/Makefile.in 2018-03-27 15:05:54.000000000 +0200 @@ -354,9 +354,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits lib/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnits lib/Makefile + $(AUTOMAKE) --gnu lib/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/lib/xdrfile-test.c new/yp-tools-4.2.3/lib/xdrfile-test.c --- old/yp-tools-4.2.2/lib/xdrfile-test.c 2016-01-20 16:42:15.000000000 +0100 +++ new/yp-tools-4.2.3/lib/xdrfile-test.c 2018-03-27 15:17:12.000000000 +0200 @@ -14,6 +14,12 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#if defined(HAVE_YPBIND3) + #include <errno.h> #include <unistd.h> #include <string.h> @@ -128,3 +134,13 @@ return 0; } + +#else /* defined(HAVE_YPBIND3) */ + +int +main (void) +{ + return 77; +} + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/lib/ypbind3_binding_dup.c new/yp-tools-4.2.3/lib/ypbind3_binding_dup.c --- old/yp-tools-4.2.2/lib/ypbind3_binding_dup.c 2016-03-07 17:45:58.000000000 +0100 +++ new/yp-tools-4.2.3/lib/ypbind3_binding_dup.c 2018-03-16 15:48:15.000000000 +0100 @@ -19,6 +19,7 @@ #if defined(HAVE_YPBIND3) +#include <string.h> #include <rpcsvc/yp_prot.h> #include "internal.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/man/Makefile.in new/yp-tools-4.2.3/man/Makefile.in --- old/yp-tools-4.2.2/man/Makefile.in 2016-03-14 16:18:23.000000000 +0100 +++ new/yp-tools-4.2.3/man/Makefile.in 2018-03-27 15:05:54.000000000 +0200 @@ -332,9 +332,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits man/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnits man/Makefile + $(AUTOMAKE) --gnu man/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ Binary files old/yp-tools-4.2.2/po/de.gmo and new/yp-tools-4.2.3/po/de.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/po/de.po new/yp-tools-4.2.3/po/de.po --- old/yp-tools-4.2.2/po/de.po 2016-03-14 16:39:45.000000000 +0100 +++ new/yp-tools-4.2.3/po/de.po 2018-03-27 15:42:30.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: yp-tools 2.5\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2016-03-14 16:39+0100\n" +"POT-Creation-Date: 2018-03-27 15:42+0200\n" "PO-Revision-Date: 2004-06-21 14:24+02:00\n" "Last-Translator: Thorsten Kukuk <[email protected]>\n" "Language-Team: No Language-Team in the moment\n" @@ -35,7 +35,7 @@ # , c-format #: src/domainname.c:45 src/ypcat.c:42 src/ypmatch.c:43 src/yppasswd.c:67 -#: src/yppoll.c:50 src/ypset.c:54 src/yptest.c:51 src/ypwhich.c:59 +#: src/yppoll.c:50 src/ypset.c:54 src/yptest.c:58 src/ypwhich.c:59 #, c-format msgid "" "Copyright (C) %s Thorsten Kukuk.\n" @@ -61,19 +61,19 @@ #: src/domainname.c:65 src/domainname.c:78 src/ypcat.c:72 src/ypmatch.c:70 #: src/yppasswd.c:102 src/yppasswd.c:113 src/yppasswd.c:125 src/yppoll.c:75 -#: src/ypset.c:77 src/yptest.c:81 src/ypwhich.c:89 +#: src/ypset.c:77 src/yptest.c:88 src/ypwhich.c:89 msgid " -?, --help Give this help list\n" msgstr " -?, --help Gib diese Hilfe aus\n" #: src/domainname.c:66 src/domainname.c:79 src/ypcat.c:73 src/ypmatch.c:71 #: src/yppasswd.c:103 src/yppasswd.c:114 src/yppasswd.c:126 src/yppoll.c:76 -#: src/ypset.c:78 src/yptest.c:82 src/ypwhich.c:90 +#: src/ypset.c:78 src/yptest.c:89 src/ypwhich.c:90 msgid " --usage Give a short usage message\n" msgstr " --usage Gib eine kurze Aufruf Hilfe aus\n" #: src/domainname.c:67 src/domainname.c:80 src/ypcat.c:74 src/ypmatch.c:72 #: src/yppasswd.c:104 src/yppasswd.c:115 src/yppasswd.c:127 src/yppoll.c:77 -#: src/ypset.c:79 src/yptest.c:83 src/ypwhich.c:91 +#: src/ypset.c:79 src/yptest.c:90 src/ypwhich.c:91 msgid " --version Print program version\n" msgstr " --version Gib Programm Version Information aus\n" @@ -85,13 +85,13 @@ msgstr "%s - Setze oder zeige den Namen der aktuellen NIS Domain an\n" #: src/domainname.c:88 src/ypcat.c:83 src/ypmatch.c:82 src/yppasswd.c:141 -#: src/yppoll.c:87 src/ypset.c:89 src/yptest.c:92 src/ypwhich.c:101 +#: src/yppoll.c:87 src/ypset.c:89 src/yptest.c:99 src/ypwhich.c:101 #, c-format msgid "Try `%s --help' or `%s --usage' for more information.\n" msgstr "Versuche \"%s --help\" oder \"%s --usage\" f�r mehr Informationen.\n" # , c-format -#: src/ypcat.c:47 src/yptest.c:56 +#: src/ypcat.c:47 src/yptest.c:63 #, c-format msgid "Written by %s.\n" msgstr "Implementiert von %s.\n" @@ -109,11 +109,11 @@ "\n" #: src/ypcat.c:63 src/ypmatch.c:64 src/yppoll.c:73 src/ypset.c:74 -#: src/yptest.c:72 src/ypwhich.c:80 +#: src/yptest.c:79 src/ypwhich.c:80 msgid " -d domain Use 'domain' instead of the default domain\n" msgstr " -d domain Benutze \"domain\" anstelle der default Domain\n" -#: src/ypcat.c:65 src/yptest.c:74 +#: src/ypcat.c:65 src/yptest.c:81 msgid " -h hostname Query ypserv on 'hostname' instead the current one\n" msgstr " -h Rechner Frage den ypserv Prozess auf \"Rechner\"\n" @@ -670,7 +670,7 @@ msgstr "Kann Addresse f�r �%s� nicht finden\n" # , c-format -#: src/ypset.c:136 src/yptest.c:184 src/yptest.c:198 +#: src/ypset.c:136 src/yptest.c:203 src/yptest.c:218 #, c-format msgid "can't yp_bind: Reason: %s\n" msgstr "" @@ -683,115 +683,115 @@ msgid "Cannot ypset for domain %s on host %s.\n" msgstr "Kann die Domain %s auf dem Rechner �%s� nicht setzen.\n" -#: src/yptest.c:62 +#: src/yptest.c:69 msgid "Usage: yptest [-q] [-d domain] [-h hostname] [-m map] [-u user]\n" msgstr "Aufruf: yptest [-q] [-d Domain] [-h Rechner] [-m Map] [-u Benutzer]\n" -#: src/yptest.c:70 +#: src/yptest.c:77 msgid "" "yptest - call different NIS routines to test configuration\n" "\n" msgstr "yptest - Test die NIS Konfiguration durch aufruf von NIS Funktionen\n" -#: src/yptest.c:76 +#: src/yptest.c:83 msgid " -m map Use this existing map for tests\n" msgstr " -m map Benutze diese existierende Map f�r die Tests\n" -#: src/yptest.c:77 +#: src/yptest.c:84 msgid " -u user Use the existing NIS user 'user' for tests\n" msgstr "" " -u Benutzer Benutze den existierenden NIS Benutzer f�r die Tests\n" -#: src/yptest.c:79 +#: src/yptest.c:86 msgid " -q Be quiet, don't print messages\n" msgstr " -q Gib keine Meldungen aus\n" -#: src/yptest.c:191 +#: src/yptest.c:210 #, c-format msgid "Used NIS server: %s\n" msgstr "Benutze NIS Server: %s\n" -#: src/yptest.c:326 +#: src/yptest.c:347 msgid "ERROR: domainname is not set!\n" msgstr "FEHLER: Der Domainname ist nicht gesetzt!\n" -#: src/yptest.c:331 +#: src/yptest.c:352 msgid "WARNING: domainname is not set!\n" msgstr "WARNUNG: Der Domainname ist nicht gesetzt!\n" -#: src/yptest.c:335 +#: src/yptest.c:356 #, c-format msgid "Configured domainname is \"%s\"\n" msgstr "Der konfiguriertet Domainname ist \"%s\"\n" -#: src/yptest.c:340 +#: src/yptest.c:361 #, c-format msgid "Domainname which will be used due the test: \"%s\"\n" msgstr "Der Domainname, welcher benutzt wird f�r die Tests, ist \"%s\"\n" -#: src/yptest.c:347 +#: src/yptest.c:368 #, c-format msgid "Use Protocol V1: " msgstr "" -#: src/yptest.c:349 +#: src/yptest.c:370 #, c-format msgid "ypbind procotcol v1 test failed\n" msgstr "" -#: src/yptest.c:351 +#: src/yptest.c:372 #, c-format msgid "Use Protocol V2: " msgstr "" -#: src/yptest.c:353 +#: src/yptest.c:374 #, c-format msgid "ypbind procotcol v2 test failed\n" msgstr "" -#: src/yptest.c:355 +#: src/yptest.c:377 #, c-format msgid "Use Protocol V3:\n" msgstr "" -#: src/yptest.c:357 +#: src/yptest.c:379 #, c-format msgid "ypbind procotcol v3 test failed\n" msgstr "" -#: src/yptest.c:371 src/yptest.c:391 src/yptest.c:418 src/yptest.c:441 -#: src/yptest.c:461 src/yptest.c:487 src/yptest.c:509 +#: src/yptest.c:394 src/yptest.c:414 src/yptest.c:441 src/yptest.c:464 +#: src/yptest.c:484 src/yptest.c:510 src/yptest.c:532 #, c-format msgid "ERROR: No running ypbind\n" msgstr "FEHLER: ypbind ist nicht am laufen\n" -#: src/yptest.c:375 +#: src/yptest.c:398 #, c-format msgid "WARNING: %s (Map %s, key %s)\n" msgstr "WARNUNG: %s (Map %s, Schl�ssel %s)\n" -#: src/yptest.c:395 src/yptest.c:424 src/yptest.c:445 src/yptest.c:465 -#: src/yptest.c:513 +#: src/yptest.c:418 src/yptest.c:447 src/yptest.c:468 src/yptest.c:488 +#: src/yptest.c:536 #, c-format msgid "WARNING: %s (Map %s)\n" msgstr "WARNUNG: %s (Map %s)\n" -#: src/yptest.c:404 +#: src/yptest.c:427 #, c-format msgid "-- skipped --\n" msgstr "-- �bersprungen --\n" -#: src/yptest.c:491 +#: src/yptest.c:514 #, c-format msgid "WARNING: %s\n" msgstr "WARNUNG: %s\n" -#: src/yptest.c:521 +#: src/yptest.c:544 #, c-format msgid "All tests passed\n" msgstr "Alle Tests bestanden\n" -#: src/yptest.c:523 +#: src/yptest.c:546 #, c-format msgid "%d tests failed\n" msgstr "%d Tests schlugen fehl\n" Binary files old/yp-tools-4.2.2/po/sv.gmo and new/yp-tools-4.2.3/po/sv.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/po/sv.po new/yp-tools-4.2.3/po/sv.po --- old/yp-tools-4.2.2/po/sv.po 2016-03-14 16:39:45.000000000 +0100 +++ new/yp-tools-4.2.3/po/sv.po 2018-03-27 15:42:31.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: yp-tools 2.9\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2016-03-14 16:39+0100\n" +"POT-Creation-Date: 2018-03-27 15:42+0200\n" "PO-Revision-Date: 2006-11-12 17:34+0100\n" "Last-Translator: Daniel Nylander <[email protected]>\n" "Language-Team: Swedish <[email protected]>\n" @@ -32,7 +32,7 @@ msgstr "Använd \"%s\"\tför kartan \"%s\"\n" #: src/domainname.c:45 src/ypcat.c:42 src/ypmatch.c:43 src/yppasswd.c:67 -#: src/yppoll.c:50 src/ypset.c:54 src/yptest.c:51 src/ypwhich.c:59 +#: src/yppoll.c:50 src/ypset.c:54 src/yptest.c:58 src/ypwhich.c:59 #, c-format msgid "" "Copyright (C) %s Thorsten Kukuk.\n" @@ -59,19 +59,19 @@ #: src/domainname.c:65 src/domainname.c:78 src/ypcat.c:72 src/ypmatch.c:70 #: src/yppasswd.c:102 src/yppasswd.c:113 src/yppasswd.c:125 src/yppoll.c:75 -#: src/ypset.c:77 src/yptest.c:81 src/ypwhich.c:89 +#: src/ypset.c:77 src/yptest.c:88 src/ypwhich.c:89 msgid " -?, --help Give this help list\n" msgstr " -?, --help Visa den här hjälplistan\n" #: src/domainname.c:66 src/domainname.c:79 src/ypcat.c:73 src/ypmatch.c:71 #: src/yppasswd.c:103 src/yppasswd.c:114 src/yppasswd.c:126 src/yppoll.c:76 -#: src/ypset.c:78 src/yptest.c:82 src/ypwhich.c:90 +#: src/ypset.c:78 src/yptest.c:89 src/ypwhich.c:90 msgid " --usage Give a short usage message\n" msgstr " --usage Visa ett kort användningsmeddelande\n" #: src/domainname.c:67 src/domainname.c:80 src/ypcat.c:74 src/ypmatch.c:72 #: src/yppasswd.c:104 src/yppasswd.c:115 src/yppasswd.c:127 src/yppoll.c:77 -#: src/ypset.c:79 src/yptest.c:83 src/ypwhich.c:91 +#: src/ypset.c:79 src/yptest.c:90 src/ypwhich.c:91 msgid " --version Print program version\n" msgstr " --version Skriv ut programversion\n" @@ -85,12 +85,12 @@ "\n" #: src/domainname.c:88 src/ypcat.c:83 src/ypmatch.c:82 src/yppasswd.c:141 -#: src/yppoll.c:87 src/ypset.c:89 src/yptest.c:92 src/ypwhich.c:101 +#: src/yppoll.c:87 src/ypset.c:89 src/yptest.c:99 src/ypwhich.c:101 #, c-format msgid "Try `%s --help' or `%s --usage' for more information.\n" msgstr "Prova \"%s --help\" eller \"%s --usage\" för mer information.\n" -#: src/ypcat.c:47 src/yptest.c:56 +#: src/ypcat.c:47 src/yptest.c:63 #, c-format msgid "Written by %s.\n" msgstr "Skrivet av %s.\n" @@ -108,11 +108,11 @@ "\n" #: src/ypcat.c:63 src/ypmatch.c:64 src/yppoll.c:73 src/ypset.c:74 -#: src/yptest.c:72 src/ypwhich.c:80 +#: src/yptest.c:79 src/ypwhich.c:80 msgid " -d domain Use 'domain' instead of the default domain\n" msgstr " -d domän Använd \"domän\" istället för standarddomänen\n" -#: src/ypcat.c:65 src/yptest.c:74 +#: src/ypcat.c:65 src/yptest.c:81 msgid " -h hostname Query ypserv on 'hostname' instead the current one\n" msgstr "" " -h värdnamn Fråga ypserv på \"värdnamn\" istället för den aktuella\n" @@ -639,7 +639,7 @@ msgid "can't find IPv4 address for %s\n" msgstr "kan inte hitta adress för %s\n" -#: src/ypset.c:136 src/yptest.c:184 src/yptest.c:198 +#: src/ypset.c:136 src/yptest.c:203 src/yptest.c:218 #, c-format msgid "can't yp_bind: Reason: %s\n" msgstr "kan inte yp_bind: Anledning: %s\n" @@ -649,12 +649,12 @@ msgid "Cannot ypset for domain %s on host %s.\n" msgstr "Kan inte ypset för domänen %s på värden %s.\n" -#: src/yptest.c:62 +#: src/yptest.c:69 msgid "Usage: yptest [-q] [-d domain] [-h hostname] [-m map] [-u user]\n" msgstr "" "Användning: yptest [-q] [-d domän] [-h värdnamn] [-m karta] [-u användare]\n" -#: src/yptest.c:70 +#: src/yptest.c:77 msgid "" "yptest - call different NIS routines to test configuration\n" "\n" @@ -662,106 +662,106 @@ "yptest - anropa andra NIS-rutiner för att testa konfigurationen\n" "\n" -#: src/yptest.c:76 +#: src/yptest.c:83 msgid " -m map Use this existing map for tests\n" msgstr " -m karta Använd denna existerande karta för tester\n" -#: src/yptest.c:77 +#: src/yptest.c:84 msgid " -u user Use the existing NIS user 'user' for tests\n" msgstr "" " -u användare Använd den existerande NIS-användaren \"användare\" för " "tester\n" -#: src/yptest.c:79 +#: src/yptest.c:86 msgid " -q Be quiet, don't print messages\n" msgstr " -q Var tyst, skriv inte ut meddelanden\n" -#: src/yptest.c:191 +#: src/yptest.c:210 #, c-format msgid "Used NIS server: %s\n" msgstr "Använd NIS-server: %s\n" -#: src/yptest.c:326 +#: src/yptest.c:347 msgid "ERROR: domainname is not set!\n" msgstr "FEL: domainname är inte inställt!\n" -#: src/yptest.c:331 +#: src/yptest.c:352 msgid "WARNING: domainname is not set!\n" msgstr "VARNING: domainname är inte inställt!\n" -#: src/yptest.c:335 +#: src/yptest.c:356 #, c-format msgid "Configured domainname is \"%s\"\n" msgstr "Konfigurerat domainname är \"%s\"\n" -#: src/yptest.c:340 +#: src/yptest.c:361 #, c-format msgid "Domainname which will be used due the test: \"%s\"\n" msgstr "Domainname som kommer att användas för testet: \"%s\"\n" -#: src/yptest.c:347 +#: src/yptest.c:368 #, c-format msgid "Use Protocol V1: " msgstr "" -#: src/yptest.c:349 +#: src/yptest.c:370 #, c-format msgid "ypbind procotcol v1 test failed\n" msgstr "" -#: src/yptest.c:351 +#: src/yptest.c:372 #, c-format msgid "Use Protocol V2: " msgstr "" -#: src/yptest.c:353 +#: src/yptest.c:374 #, c-format msgid "ypbind procotcol v2 test failed\n" msgstr "" -#: src/yptest.c:355 +#: src/yptest.c:377 #, c-format msgid "Use Protocol V3:\n" msgstr "" -#: src/yptest.c:357 +#: src/yptest.c:379 #, c-format msgid "ypbind procotcol v3 test failed\n" msgstr "" -#: src/yptest.c:371 src/yptest.c:391 src/yptest.c:418 src/yptest.c:441 -#: src/yptest.c:461 src/yptest.c:487 src/yptest.c:509 +#: src/yptest.c:394 src/yptest.c:414 src/yptest.c:441 src/yptest.c:464 +#: src/yptest.c:484 src/yptest.c:510 src/yptest.c:532 #, c-format msgid "ERROR: No running ypbind\n" msgstr "FEL: Ingen körande ypbind\n" -#: src/yptest.c:375 +#: src/yptest.c:398 #, c-format msgid "WARNING: %s (Map %s, key %s)\n" msgstr "VARNING: %s (Karta %s, nyckel %s)\n" -#: src/yptest.c:395 src/yptest.c:424 src/yptest.c:445 src/yptest.c:465 -#: src/yptest.c:513 +#: src/yptest.c:418 src/yptest.c:447 src/yptest.c:468 src/yptest.c:488 +#: src/yptest.c:536 #, c-format msgid "WARNING: %s (Map %s)\n" msgstr "VARNING: %s (Karta %s)\n" -#: src/yptest.c:404 +#: src/yptest.c:427 #, c-format msgid "-- skipped --\n" msgstr "-- hoppade över --\n" -#: src/yptest.c:491 +#: src/yptest.c:514 #, c-format msgid "WARNING: %s\n" msgstr "VARNING: %s\n" -#: src/yptest.c:521 +#: src/yptest.c:544 #, c-format msgid "All tests passed\n" msgstr "Alla tester klarades av\n" -#: src/yptest.c:523 +#: src/yptest.c:546 #, c-format msgid "%d tests failed\n" msgstr "%d tester misslyckades\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/po/yp-tools.pot new/yp-tools-4.2.3/po/yp-tools.pot --- old/yp-tools-4.2.2/po/yp-tools.pot 2016-03-14 16:39:45.000000000 +0100 +++ new/yp-tools-4.2.3/po/yp-tools.pot 2018-03-27 15:42:30.000000000 +0200 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: yp-tools 4.2.2\n" +"Project-Id-Version: yp-tools 4.2.3\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2016-03-14 16:39+0100\n" +"POT-Creation-Date: 2018-03-27 15:42+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" @@ -33,7 +33,7 @@ msgstr "" #: src/domainname.c:45 src/ypcat.c:42 src/ypmatch.c:43 src/yppasswd.c:67 -#: src/yppoll.c:50 src/ypset.c:54 src/yptest.c:51 src/ypwhich.c:59 +#: src/yppoll.c:50 src/ypset.c:54 src/yptest.c:58 src/ypwhich.c:59 #, c-format msgid "" "Copyright (C) %s Thorsten Kukuk.\n" @@ -54,19 +54,19 @@ #: src/domainname.c:65 src/domainname.c:78 src/ypcat.c:72 src/ypmatch.c:70 #: src/yppasswd.c:102 src/yppasswd.c:113 src/yppasswd.c:125 src/yppoll.c:75 -#: src/ypset.c:77 src/yptest.c:81 src/ypwhich.c:89 +#: src/ypset.c:77 src/yptest.c:88 src/ypwhich.c:89 msgid " -?, --help Give this help list\n" msgstr "" #: src/domainname.c:66 src/domainname.c:79 src/ypcat.c:73 src/ypmatch.c:71 #: src/yppasswd.c:103 src/yppasswd.c:114 src/yppasswd.c:126 src/yppoll.c:76 -#: src/ypset.c:78 src/yptest.c:82 src/ypwhich.c:90 +#: src/ypset.c:78 src/yptest.c:89 src/ypwhich.c:90 msgid " --usage Give a short usage message\n" msgstr "" #: src/domainname.c:67 src/domainname.c:80 src/ypcat.c:74 src/ypmatch.c:72 #: src/yppasswd.c:104 src/yppasswd.c:115 src/yppasswd.c:127 src/yppoll.c:77 -#: src/ypset.c:79 src/yptest.c:83 src/ypwhich.c:91 +#: src/ypset.c:79 src/yptest.c:90 src/ypwhich.c:91 msgid " --version Print program version\n" msgstr "" @@ -78,12 +78,12 @@ msgstr "" #: src/domainname.c:88 src/ypcat.c:83 src/ypmatch.c:82 src/yppasswd.c:141 -#: src/yppoll.c:87 src/ypset.c:89 src/yptest.c:92 src/ypwhich.c:101 +#: src/yppoll.c:87 src/ypset.c:89 src/yptest.c:99 src/ypwhich.c:101 #, c-format msgid "Try `%s --help' or `%s --usage' for more information.\n" msgstr "" -#: src/ypcat.c:47 src/yptest.c:56 +#: src/ypcat.c:47 src/yptest.c:63 #, c-format msgid "Written by %s.\n" msgstr "" @@ -99,11 +99,11 @@ msgstr "" #: src/ypcat.c:63 src/ypmatch.c:64 src/yppoll.c:73 src/ypset.c:74 -#: src/yptest.c:72 src/ypwhich.c:80 +#: src/yptest.c:79 src/ypwhich.c:80 msgid " -d domain Use 'domain' instead of the default domain\n" msgstr "" -#: src/ypcat.c:65 src/yptest.c:74 +#: src/ypcat.c:65 src/yptest.c:81 msgid " -h hostname Query ypserv on 'hostname' instead the current one\n" msgstr "" @@ -578,7 +578,7 @@ msgid "can't find IPv4 address for %s\n" msgstr "" -#: src/ypset.c:136 src/yptest.c:184 src/yptest.c:198 +#: src/ypset.c:136 src/yptest.c:203 src/yptest.c:218 #, c-format msgid "can't yp_bind: Reason: %s\n" msgstr "" @@ -588,114 +588,114 @@ msgid "Cannot ypset for domain %s on host %s.\n" msgstr "" -#: src/yptest.c:62 +#: src/yptest.c:69 msgid "Usage: yptest [-q] [-d domain] [-h hostname] [-m map] [-u user]\n" msgstr "" -#: src/yptest.c:70 +#: src/yptest.c:77 msgid "" "yptest - call different NIS routines to test configuration\n" "\n" msgstr "" -#: src/yptest.c:76 +#: src/yptest.c:83 msgid " -m map Use this existing map for tests\n" msgstr "" -#: src/yptest.c:77 +#: src/yptest.c:84 msgid " -u user Use the existing NIS user 'user' for tests\n" msgstr "" -#: src/yptest.c:79 +#: src/yptest.c:86 msgid " -q Be quiet, don't print messages\n" msgstr "" -#: src/yptest.c:191 +#: src/yptest.c:210 #, c-format msgid "Used NIS server: %s\n" msgstr "" -#: src/yptest.c:326 +#: src/yptest.c:347 msgid "ERROR: domainname is not set!\n" msgstr "" -#: src/yptest.c:331 +#: src/yptest.c:352 msgid "WARNING: domainname is not set!\n" msgstr "" -#: src/yptest.c:335 +#: src/yptest.c:356 #, c-format msgid "Configured domainname is \"%s\"\n" msgstr "" -#: src/yptest.c:340 +#: src/yptest.c:361 #, c-format msgid "Domainname which will be used due the test: \"%s\"\n" msgstr "" -#: src/yptest.c:347 +#: src/yptest.c:368 #, c-format msgid "Use Protocol V1: " msgstr "" -#: src/yptest.c:349 +#: src/yptest.c:370 #, c-format msgid "ypbind procotcol v1 test failed\n" msgstr "" -#: src/yptest.c:351 +#: src/yptest.c:372 #, c-format msgid "Use Protocol V2: " msgstr "" -#: src/yptest.c:353 +#: src/yptest.c:374 #, c-format msgid "ypbind procotcol v2 test failed\n" msgstr "" -#: src/yptest.c:355 +#: src/yptest.c:377 #, c-format msgid "Use Protocol V3:\n" msgstr "" -#: src/yptest.c:357 +#: src/yptest.c:379 #, c-format msgid "ypbind procotcol v3 test failed\n" msgstr "" -#: src/yptest.c:371 src/yptest.c:391 src/yptest.c:418 src/yptest.c:441 -#: src/yptest.c:461 src/yptest.c:487 src/yptest.c:509 +#: src/yptest.c:394 src/yptest.c:414 src/yptest.c:441 src/yptest.c:464 +#: src/yptest.c:484 src/yptest.c:510 src/yptest.c:532 #, c-format msgid "ERROR: No running ypbind\n" msgstr "" -#: src/yptest.c:375 +#: src/yptest.c:398 #, c-format msgid "WARNING: %s (Map %s, key %s)\n" msgstr "" -#: src/yptest.c:395 src/yptest.c:424 src/yptest.c:445 src/yptest.c:465 -#: src/yptest.c:513 +#: src/yptest.c:418 src/yptest.c:447 src/yptest.c:468 src/yptest.c:488 +#: src/yptest.c:536 #, c-format msgid "WARNING: %s (Map %s)\n" msgstr "" -#: src/yptest.c:404 +#: src/yptest.c:427 #, c-format msgid "-- skipped --\n" msgstr "" -#: src/yptest.c:491 +#: src/yptest.c:514 #, c-format msgid "WARNING: %s\n" msgstr "" -#: src/yptest.c:521 +#: src/yptest.c:544 #, c-format msgid "All tests passed\n" msgstr "" -#: src/yptest.c:523 +#: src/yptest.c:546 #, c-format msgid "%d tests failed\n" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/src/Makefile.am new/yp-tools-4.2.3/src/Makefile.am --- old/yp-tools-4.2.2/src/Makefile.am 2016-03-08 13:16:33.000000000 +0100 +++ new/yp-tools-4.2.3/src/Makefile.am 2018-03-27 15:41:20.000000000 +0200 @@ -16,8 +16,7 @@ EXTRA_PROGRAMS = domainname bin_PROGRAMS = ypwhich ypmatch ypcat yppasswd @DOMAINNAME@ -sbin_PROGRAMS = yppoll ypset yp_dump_binding -check_PROGRAMS = yptest +sbin_PROGRAMS = yppoll ypset yp_dump_binding yptest yppasswd_SOURCES = yppasswd.c yppasswd_xdr.c yppasswd_LDADD = ${LDADD} @LIBCRYPT@ @LIBCRACK@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/src/Makefile.in new/yp-tools-4.2.3/src/Makefile.in --- old/yp-tools-4.2.2/src/Makefile.in 2016-03-14 16:18:23.000000000 +0100 +++ new/yp-tools-4.2.3/src/Makefile.in 2018-03-27 15:42:28.000000000 +0200 @@ -88,8 +88,7 @@ bin_PROGRAMS = ypwhich$(EXEEXT) ypmatch$(EXEEXT) ypcat$(EXEEXT) \ yppasswd$(EXEEXT) @DOMAINNAME@ sbin_PROGRAMS = yppoll$(EXEEXT) ypset$(EXEEXT) \ - yp_dump_binding$(EXEEXT) -check_PROGRAMS = yptest$(EXEEXT) + yp_dump_binding$(EXEEXT) yptest$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/mkinstalldirs $(top_srcdir)/depcomp @@ -387,9 +386,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits src/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnits src/Makefile + $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -457,31 +456,6 @@ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list - -installcheck-binPROGRAMS: $(bin_PROGRAMS) - bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \ - case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \ - *" $$p "* | *" $(srcdir)/$$p "*) continue;; \ - esac; \ - f=`echo "$$p" | \ - sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - for opt in --help --version; do \ - if "$(DESTDIR)$(bindir)/$$f" $$opt >c$${pid}_.out \ - 2>c$${pid}_.err </dev/null \ - && test -n "`cat c$${pid}_.out`" \ - && test -z "`cat c$${pid}_.err`"; then :; \ - else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \ - done; \ - done; rm -f c$${pid}_.???; exit $$bad - -clean-checkPROGRAMS: - @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list install-sbinPROGRAMS: $(sbin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ @@ -532,22 +506,6 @@ echo " rm -f" $$list; \ rm -f $$list -installcheck-sbinPROGRAMS: $(sbin_PROGRAMS) - bad=0; pid=$$$$; list="$(sbin_PROGRAMS)"; for p in $$list; do \ - case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \ - *" $$p "* | *" $(srcdir)/$$p "*) continue;; \ - esac; \ - f=`echo "$$p" | \ - sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - for opt in --help --version; do \ - if "$(DESTDIR)$(sbindir)/$$f" $$opt >c$${pid}_.out \ - 2>c$${pid}_.err </dev/null \ - && test -n "`cat c$${pid}_.out`" \ - && test -z "`cat c$${pid}_.err`"; then :; \ - else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \ - done; \ - done; rm -f c$${pid}_.???; exit $$bad - domainname$(EXEEXT): $(domainname_OBJECTS) $(domainname_DEPENDENCIES) $(EXTRA_domainname_DEPENDENCIES) @rm -f domainname$(EXEEXT) $(AM_V_CCLD)$(LINK) $(domainname_OBJECTS) $(domainname_LDADD) $(LIBS) @@ -739,7 +697,6 @@ fi; \ done check-am: all-am - $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) check: check-am all-am: Makefile $(PROGRAMS) installdirs: @@ -779,8 +736,8 @@ @echo "it deletes files that may require special tools to rebuild." clean: clean-am -clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ - clean-libtool clean-sbinPROGRAMS mostlyclean-am +clean-am: clean-binPROGRAMS clean-generic clean-libtool \ + clean-sbinPROGRAMS mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) @@ -827,7 +784,7 @@ install-ps-am: -installcheck-am: installcheck-binPROGRAMS installcheck-sbinPROGRAMS +installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) @@ -849,25 +806,23 @@ uninstall-am: uninstall-binPROGRAMS uninstall-sbinPROGRAMS -.MAKE: check-am install-am install-exec-am install-strip +.MAKE: install-am install-exec-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ - clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ - clean-libtool clean-sbinPROGRAMS cscopelist-am ctags ctags-am \ - distclean distclean-compile distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-exec-hook install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-sbinPROGRAMS install-strip installcheck \ - installcheck-am installcheck-binPROGRAMS \ - installcheck-sbinPROGRAMS installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ - uninstall-sbinPROGRAMS + clean-binPROGRAMS clean-generic clean-libtool \ + clean-sbinPROGRAMS cscopelist-am ctags ctags-am distclean \ + distclean-compile distclean-generic distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-binPROGRAMS install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-exec-hook install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-binPROGRAMS uninstall-sbinPROGRAMS install-exec-hook: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/src/yp_dump_binding.c new/yp-tools-4.2.3/src/yp_dump_binding.c --- old/yp-tools-4.2.2/src/yp_dump_binding.c 2016-03-08 17:44:06.000000000 +0100 +++ new/yp-tools-4.2.3/src/yp_dump_binding.c 2018-03-16 15:48:15.000000000 +0100 @@ -26,6 +26,7 @@ #include <libintl.h> #include <locale.h> #include <getopt.h> +#include <string.h> #include <sys/stat.h> #include <arpa/inet.h> #include <rpcsvc/ypclnt.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yp-tools-4.2.2/src/yptest.c new/yp-tools-4.2.3/src/yptest.c --- old/yp-tools-4.2.2/src/yptest.c 2015-04-24 12:40:32.000000000 +0200 +++ new/yp-tools-4.2.3/src/yptest.c 2018-03-27 15:35:22.000000000 +0200 @@ -1,4 +1,4 @@ -/* Copyright (C) 2001, 2002, 2013, 2014 Thorsten Kukuk +/* Copyright (C) 2001, 2002, 2013, 2014, 2018 Thorsten Kukuk This file is part of the yp-tools. Author: Thorsten Kukuk <[email protected]> @@ -38,6 +38,13 @@ #define _(String) gettext (String) #endif +#if !defined(HAVE_YPBIND3) +#define ypbind2_resp ypbind_resp +#define xdr_ypbind2_resp xdr_ypbind_resp +#define ypbind2_error ypbind_respbody.ypbind_error +#define ypbind2_addr ypbind_respbody.ypbind_bindinfo.ypbind_binding_addr +#endif + extern int yp_maplist (const char *, struct ypmaplist **); static int be_quiet = 0; @@ -93,6 +100,8 @@ program, program); } +#if defined(HAVE_YPBIND3) + static void dump_nconf (struct netconfig *nconf, char *prefix) { @@ -129,6 +138,7 @@ printf ("ypbind_hi_vers: %lu\n", (u_long) ypb3->ypbind_hi_vers); printf ("ypbind_lo_vers: %lu\n", (u_long) ypb3->ypbind_lo_vers); } +#endif /* bind to a special host and print the name ypbind running on this host is bound to */ @@ -136,7 +146,9 @@ print_bindhost (const char *domain, const char *hostname, int vers) { struct ypbind2_resp yp_r2; +#if defined(HAVE_YPBIND3) struct ypbind3_resp yp_r3; +#endif struct timeval tv; CLIENT *client; int ret; @@ -155,17 +167,24 @@ } memset (&yp_r2, 0, sizeof (yp_r2)); +#if defined(HAVE_YPBIND3) memset (&yp_r3, 0, sizeof (yp_r3)); +#endif tv.tv_sec = 15; tv.tv_usec = 0; + +#if defined(HAVE_YPBIND3) if (vers == 1 || vers == 2) +#endif ret = clnt_call (client, YPBINDPROC_DOMAIN, (xdrproc_t) xdr_domainname, (caddr_t) &domain, (xdrproc_t) xdr_ypbind2_resp, (caddr_t) &yp_r2, tv); +#if defined(HAVE_YPBIND3) else ret = clnt_call (client, YPBINDPROC_DOMAIN, (xdrproc_t) xdr_domainname, (caddr_t) &domain, (xdrproc_t) xdr_ypbind3_resp, (caddr_t) &yp_r3, tv); +#endif if (ret != RPC_SUCCESS) { @@ -190,6 +209,7 @@ if (!be_quiet) printf (_("Used NIS server: %s\n"), inet_ntoa (yp_r2.ypbind2_addr)); } +#if defined(HAVE_YPBIND3) else { if (yp_r3.ypbind_status != YPBIND_SUCC_VAL) @@ -203,6 +223,7 @@ if (!be_quiet) ypbind3_binding_dump (yp_r3.ypbind3_bindinfo); } +#endif } clnt_destroy (client); @@ -351,10 +372,12 @@ printf (_("Use Protocol V2: ")); if (print_bindhost (domainname, hostname, 2)) fprintf (stderr, _("ypbind procotcol v2 test failed\n")); +#if defined(HAVE_YPBIND3) if (!be_quiet) printf (_("Use Protocol V3:\n")); if (print_bindhost (domainname, hostname, 3)) fprintf (stderr, _("ypbind procotcol v3 test failed\n")); +#endif if (!be_quiet) printf ("\nTest 3: yp_match\n");
