diff -u -r --new-file yp-tools-2.0/ChangeLog yp-tools-2.1/ChangeLog --- yp-tools-2.0/ChangeLog Tue May 19 18:33:20 1998 +++ yp-tools-2.1/ChangeLog Thu May 28 21:40:34 1998 @@ -1,3 +1,13 @@ +1998-05-28 Thorsten Kukuk + + * src/ypmatch.c (main): Return 1 if entry not found. Reported by + Klaus Steinberger . + +1998-05-26 Thorsten Kukuk + + * src/domainname.c (main): Don't print `\n` if we set the domainname. + Reported by Richard Gooch + 1998-05-19 Thorsten Kukuk * release version 2.0 diff -u -r --new-file yp-tools-2.0/NEWS yp-tools-2.1/NEWS --- yp-tools-2.0/NEWS Sun May 17 12:38:37 1998 +++ yp-tools-2.1/NEWS Sat Aug 8 15:50:50 1998 @@ -6,6 +6,11 @@ . +Version 2.1 + +* Minor bug fix release + + Version 2.0 * domainname uses getdomainname, ypdomainname yp_get_default_domain diff -u -r --new-file yp-tools-2.0/README yp-tools-2.1/README --- yp-tools-2.0/README Sun May 17 12:41:25 1998 +++ yp-tools-2.1/README Sat Aug 8 15:53:56 1998 @@ -1,5 +1,5 @@ -This is version 2.0 of a collection of NIS client tools. +This is version 2.1 of a collection of NIS client tools. See the file COPYING for copying restrictions. @@ -19,10 +19,10 @@ or from the main ftp server: -ftp://ftp.kernel.org/pub/linux/utils/net/NIS/beta/yp-tools-2.0.tar.gz +ftp://ftp.kernel.org/pub/linux/utils/net/NIS/beta/yp-tools-2.1.tar.gz You should use ypbind 3.3 with the ypbind-3.3-glibc3.diff patch -from ftp.kernel.org or ypbind-mt 1.2 or greater. +from ftp.kernel.org or ypbind-mt 1.3 or greater. Don't forget to edit /etc/nsswitch.conf, or install the version from the etc directory for NIS. diff -u -r --new-file yp-tools-2.0/THANKS yp-tools-2.1/THANKS --- yp-tools-2.0/THANKS Tue May 19 17:26:58 1998 +++ yp-tools-2.1/THANKS Thu May 28 18:23:36 1998 @@ -3,6 +3,7 @@ people: Arnim Frithjof Brestrich brest@rumms.uni-mannheim.de +Richard Gooch Richard.Gooch@atnf.csiro.au Klaus Steinberger Klaus.Steinberger@Physik.Uni-Muenchen.DE Raymond Wu rwu@ml.com diff -u -r --new-file yp-tools-2.0/configure yp-tools-2.1/configure --- yp-tools-2.0/configure Sun May 17 12:46:18 1998 +++ yp-tools-2.1/configure Sat Aug 8 15:54:08 1998 @@ -696,7 +696,7 @@ PACKAGE=yp-tools -VERSION=2.0 +VERSION=2.1 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } diff -u -r --new-file yp-tools-2.0/configure.in yp-tools-2.1/configure.in --- yp-tools-2.0/configure.in Sun May 17 12:44:56 1998 +++ yp-tools-2.1/configure.in Sat Aug 8 15:49:54 1998 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/ypcat.c) -AM_INIT_AUTOMAKE(yp-tools, 2.0) +AM_INIT_AUTOMAKE(yp-tools, 2.1) AM_CONFIG_HEADER(config.h) AC_PREFIX_DEFAULT(/usr) Binary files yp-tools-2.0/po/de.gmo and yp-tools-2.1/po/de.gmo differ diff -u -r --new-file yp-tools-2.0/po/de.po yp-tools-2.1/po/de.po --- yp-tools-2.0/po/de.po Tue May 19 19:53:39 1998 +++ yp-tools-2.1/po/de.po Sat Aug 8 15:58:28 1998 @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: yp-tools 2.0\n" -"POT-Creation-Date: 1998-05-19 17:28+0200\n" +"POT-Creation-Date: 1998-08-08 15:48+0200\n" "PO-Revision-Date: 1998-05-19 18:02+02:00\n" "Last-Translator: Thorsten Kukuk \n" "Language-Team: No Language-Team in the moment\n" diff -u -r --new-file yp-tools-2.0/po/yp-tools.pot yp-tools-2.1/po/yp-tools.pot --- yp-tools-2.0/po/yp-tools.pot Tue May 19 17:28:21 1998 +++ yp-tools-2.1/po/yp-tools.pot Sat Aug 8 15:48:15 1998 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 1998-05-19 17:28+0200\n" +"POT-Creation-Date: 1998-08-08 15:48+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff -u -r --new-file yp-tools-2.0/src/domainname.c yp-tools-2.1/src/domainname.c --- yp-tools-2.0/src/domainname.c Sun May 17 18:59:20 1998 +++ yp-tools-2.1/src/domainname.c Thu May 28 18:23:36 1998 @@ -162,30 +162,33 @@ return 1; } } - else if (use_nis) + else { - char *domainname; - int error; - - if ((error = yp_get_default_domain (&domainname)) != 0) + if (use_nis) { - fputs (yperr_string (error), stderr); - fputs ("\n", stderr); - return 1; + char *domainname; + int error; + + if ((error = yp_get_default_domain (&domainname)) != 0) + { + fputs (yperr_string (error), stderr); + fputs ("\n", stderr); + return 1; + } + fputs (domainname, stdout); } - fputs (domainname, stdout); - } - else - { - char buf[256]; - if (getdomainname (buf, 256) < 0) + else { - perror ("getdomainname"); - return 1; + char buf[256]; + if (getdomainname (buf, 256) < 0) + { + perror ("getdomainname"); + return 1; + } + fputs (buf, stdout); } - fputs (buf, stdout); + fputs ("\n", stdout); } - fputs ("\n", stdout); return 0; } diff -u -r --new-file yp-tools-2.0/src/ypmatch.c yp-tools-2.1/src/ypmatch.c --- yp-tools-2.0/src/ypmatch.c Sun May 10 18:36:34 1998 +++ yp-tools-2.1/src/ypmatch.c Thu May 28 21:37:14 1998 @@ -202,7 +202,7 @@ default: fprintf (stderr, _("Can't match key %s in map %s. Reason: %s\n"), argv[i], map, yperr_string (res)); - break; + return 1; } } } diff -u -r --new-file yp-tools-2.0/yp-tools.spec yp-tools-2.1/yp-tools.spec --- yp-tools-2.0/yp-tools.spec Tue May 19 19:52:24 1998 +++ yp-tools-2.1/yp-tools.spec Sat Aug 8 15:51:21 1998 @@ -1,6 +1,6 @@ Summary: NIS (YP) clients Name: yp-tools -Version: 2.0 +Version: 2.1 Release: 1 Copyright: GPL Group: Networking/Utilities @@ -23,6 +23,9 @@ %changelog +* Sat Aug 08 1998 Thorsten Kukuk +- Update to 2.1 release + * Tue May 19 1998 Thorsten Kukuk - Update to 2.0 release