Hello community,

here is the log from the commit of package ypserv for openSUSE:Factory checked 
in at 2013-11-07 09:15:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ypserv (Old)
 and      /work/SRC/openSUSE:Factory/.ypserv.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ypserv"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ypserv/ypserv.changes    2013-04-19 
10:04:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ypserv.new/ypserv.changes       2013-11-07 
09:15:40.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Nov  6 15:15:08 CET 2013 - ku...@suse.de
+
+- Update to version 2.32
+  - Update autoconf/automake
+  - ypserv: remove broken SIGHUP support.
+  - /var/yp/Makefile: read MINUID/MINGID from /etc/login.defs
+- Remove old sysv init scripts
+
+-------------------------------------------------------------------

Old:
----
  yppasswdd.init
  ypserv-2.31.diff
  ypserv-2.31.tar.bz2
  ypserv.init
  ypxfrd.init

New:
----
  ypserv-2.32.diff
  ypserv-2.32.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ypserv.spec ++++++
--- /var/tmp/diff_new_pack.rGUEFT/_old  2013-11-07 09:15:41.000000000 +0100
+++ /var/tmp/diff_new_pack.rGUEFT/_new  2013-11-07 09:15:41.000000000 +0100
@@ -25,7 +25,7 @@
 Requires:       make
 Requires:       rpcbind
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Version:        2.31
+Version:        2.32
 Release:        0
 Url:            http://www.linux-nis.org/nis/ypserv/
 Summary:        YP - (NIS)-Server
@@ -33,9 +33,6 @@
 Group:          Productivity/Networking/NIS
 PreReq:         %insserv_prereq %fillup_prereq
 Source:         ypserv-%{version}.tar.bz2
-Source1:        ypserv.init
-Source2:        yppasswdd.init
-Source3:        ypxfrd.init
 Source4:        sysconfig.ypserv
 Source5:        SuSEfirewall2.ypserv
 Source6:        ypserv.service
@@ -71,7 +68,6 @@
 make
 
 %install
-mkdir -p $RPM_BUILD_ROOT/etc/init.d
 mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services
 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
 mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/yp
@@ -83,9 +79,6 @@
 #install contrib/ypslave $RPM_BUILD_ROOT/usr/sbin/
 install -m 644 etc/ypserv.conf $RPM_BUILD_ROOT/etc/
 install -m 644 etc/securenets $RPM_BUILD_ROOT/var/yp
-install -m 755 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/ypserv
-install -m 755 %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/yppasswdd
-install -m 755 %SOURCE3 $RPM_BUILD_ROOT/etc/init.d/ypxfrd
 # install sysconfig.ypserv
 install -m 644 %SOURCE4 $RPM_BUILD_ROOT/var/adm/fillup-templates/
 # install SuSEfirewall2 service script
@@ -126,9 +119,6 @@
 %defattr(-,root,root)
 %doc NEWS README TODO COPYING ChangeLog
 /var/adm/fillup-templates/sysconfig.ypserv
-%config /etc/init.d/yppasswdd
-%config /etc/init.d/ypserv
-%config /etc/init.d/ypxfrd
 %config(noreplace) /var/yp/Makefile
 %config(noreplace) /var/yp/securenets
 %config(noreplace) /etc/ypserv.conf

++++++ ypserv-2.31.diff -> ypserv-2.32.diff ++++++

++++++ ypserv-2.31.tar.bz2 -> ypserv-2.32.tar.bz2 ++++++
++++ 6487 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/ChangeLog new/ypserv-2.32/ChangeLog
--- old/ypserv-2.31/ChangeLog   2013-04-11 11:26:51.000000000 +0200
+++ new/ypserv-2.32/ChangeLog   2013-11-06 15:03:52.000000000 +0100
@@ -1,3 +1,25 @@
+2013-11-06  Thorsten Kukuk  <ku...@suse.de>
+
+       * release version 2.32
+
+       * ypserv/ypserv.c: Remove sig_hup, ignore SIG_HUP.
+       * ypserv/ypserv.8.xml: Remove SIG HUP section.
+       * lib/yp_db.c: fix return value for tcbdbopen in error case.
+       Patch by Edgar Hoch, RHBZ#1004110
+
+       * scripts/ypMakefile.in: Read MINUID/MINGID from /etc/login.defs
+       Patch by Honza Horak, RHBZ#1004090
+
+2013-10-07  Thorsten Kukuk  <ku...@suse.de>
+
+       * yppush/yppush.8.xml: Fix typo (reported by
+        Masatake YAMATO <yam...@redhat.com>).
+
+2013-07-22  Thorsten Kukuk  <ku...@suse.de>
+
+       * lib/ypserv_conf.c (load_ypserv_conf): Use int instead
+       of c because of fgetc/EOF.
+
 2013-04-11  Thorsten Kukuk  <ku...@suse.de>
 
        * release version 2.31
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/Makefile.am new/ypserv-2.32/Makefile.am
--- old/ypserv-2.31/Makefile.am 2012-05-30 14:21:30.000000000 +0200
+++ new/ypserv-2.32/Makefile.am 2013-11-06 15:11:30.000000000 +0100
@@ -8,7 +8,7 @@
 
 CLEANFILES = *~
 
-M4_FILES = $(shell ls $(srcdir)/m4/*.m4)
+M4_FILES = m4/jh_path_xml_catalog.m4
 EXTRA_DIST = $(M4_FILES) conf_post.h
 
 ACLOCAL_AMFLAGS = -I m4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/NEWS new/ypserv-2.32/NEWS
--- old/ypserv-2.31/NEWS        2013-04-11 11:26:39.000000000 +0200
+++ new/ypserv-2.32/NEWS        2013-11-06 15:14:13.000000000 +0100
@@ -5,6 +5,11 @@
 Please send bug reports, questions and suggestions to <ku...@linux-nis.org>.
 
 
+Version 2.32
+* Update autoconf/automake
+* ypserv: remove broken SIGHUP support.
+* /var/yp/Makefile: read MINUID/MINGID from /etc/login.defs
+
 Version 2.31
 * Fix build failures
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/config.h.in new/ypserv-2.32/config.h.in
--- old/ypserv-2.31/config.h.in 2013-04-11 11:27:02.000000000 +0200
+++ new/ypserv-2.32/config.h.in 2013-11-06 15:07:38.000000000 +0100
@@ -1,4 +1,4 @@
-/* config.h.in.  Generated from configure.in by autoheader.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
 
 /* Define if building universal (internal helper macro) */
 #undef AC_APPLE_UNIVERSAL_BUILD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/configure.ac new/ypserv-2.32/configure.ac
--- old/ypserv-2.31/configure.ac        1970-01-01 01:00:00.000000000 +0100
+++ new/ypserv-2.32/configure.ac        2013-11-06 15:04:05.000000000 +0100
@@ -0,0 +1,389 @@
+#
+# Copyright (C) 1999-2013 Thorsten Kukuk <ku...@linux-nis.org>
+#
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT([ypserv],[2.32],[ku...@linux-nis.org])
+AM_INIT_AUTOMAKE
+AC_CONFIG_SRCDIR([ypserv/ypserv.c])
+AC_CONFIG_HEADERS([config.h])
+AC_PREFIX_DEFAULT(/usr)
+AH_BOTTOM([#include <conf_post.h>])
+
+AC_SUBST(PACKAGE)
+AC_SUBST(VERSION)
+
+dnl Some hacks...
+test "${prefix}" = "NONE" && prefix="/usr"
+if test ${prefix} = '/usr'
+then
+dnl If we use /usr as prefix, use /etc for ypserv.conf
+       if test ${sysconfdir} = '${prefix}/etc'
+       then
+          sysconfdir="/etc"
+       fi
+dnl If we use /usr as prefix, use /usr/share/man for manual pages
+       if test ${mandir} = '${prefix}/man'
+       then
+          mandir='${prefix}/share/man'
+       fi
+fi
+dnl Change libexec to lib/yp
+if test ${libexecdir} = '${exec_prefix}/libexec'
+then
+  libexecdir='${exec_prefix}/lib/yp'
+  if test "${exec_prefix}" = "NONE"
+  then
+    YPBINDIR=/usr/lib/yp
+  else
+    YPBINDIR=${exec_prefix}/lib/yp
+  fi
+else
+  YPBINDIR=${libexecdir}
+fi
+AC_SUBST(YPBINDIR)
+
+dnl Location of the NIS maps.  default: /var/yp
+AC_ARG_ENABLE([ypmapdir],
+       AS_HELP_STRING([--enable-ypmapdir=path],
+               [Location of NIS maps (default=/var/yp)]),
+              YPMAPDIR=$enableval, YPMAPDIR=/var/yp)
+AC_SUBST(YPMAPDIR)
+
+
+if test ${sbindir} = '${exec_prefix}/sbin'
+then
+  if test "${exec_prefix}" = "NONE"
+  then
+    SBINDIR=/usr/sbin
+  else
+    SBINDIR=${exec_prefix}/sbin
+  fi
+else
+  SBINDIR=${sbindir}
+fi
+AC_SUBST(SBINDIR)
+
+dnl Checks for programs.
+AC_PROG_CC
+AC_SEARCH_LIBS([strerror],[cposix])
+AC_PROG_CPP
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+AC_PROG_RANLIB
+AM_PROG_CC_C_O
+AC_USE_SYSTEM_EXTENSIONS
+
+if eval "test x$GCC = xyes"; then
+  for flag in \
+      -pedantic \
+      -W \
+      -Wall \
+      -Wbad-function-cast \
+      -Wcast-align \
+      -Wcast-qual \
+      -Wmissing-declarations \
+      -Wmissing-prototypes \
+      -Wpointer-arith \
+      -Wreturn-type \
+      -Wstrict-prototypes
+  do
+    JAPHAR_GREP_CFLAGS($flag, [ CFLAGS="$CFLAGS $flag" ])
+  done
+fi
+
+AC_ARG_ENABLE(pie,AS_HELP_STRING([--disable-pie],
+                       [Disable position-independent executeables (PIE)]),
+       USE_PIE=$enableval, USE_PIE=yes)
+
+AC_CACHE_CHECK(for -fpie, libc_cv_fpie, [dnl
+  cat > conftest.c <<EOF
+int foo;
+main () { return 0;}
+EOF
+  if test "$USE_PIE" = "yes" &&
+       AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
+                              -o conftest conftest.c 1>&AS_MESSAGE_LOG_FD])
+  then
+    libc_cv_fpie=yes
+    PIE_CFLAGS="-fpie"
+    PIE_LDFLAGS="-pie"
+  else
+    libc_cv_fpie=no
+    PIE_CFLAGS=""
+    PIE_LDFLAGS=""
+  fi
+  rm -f conftest*])
+AC_SUBST(libc_cv_fpie)
+AC_SUBST(PIE_CFLAGS)
+AC_SUBST(PIE_LDFLAGS)
+
+AM_WITH_DMALLOC
+AM_WITH_EFENCE
+
+dnl Check for big or little endian system
+AC_C_BIGENDIAN
+dnl Check for 64bit systems
+AC_CHECK_SIZEOF(long)
+
+dnl Search a awk program
+AC_PATH_PROGS(AWK, mawk gawk nawk awk, ERROR)
+if test $AWK = ERROR
+then
+   echo " "
+   echo "ERROR: You must have at last one of the following programs:"
+   echo "       mawk, gawk, nawk or awk !"
+   echo " "
+   exit
+fi
+
+dnl Search the bash
+AC_PATH_PROGS(BASH, bash /sbin/sh, /bin/sh)
+
+dnl Search make
+AC_PATH_PROGS(MAKE, gmake make, "", $PATH:/usr/ccs/bin:/usr/local/bin)
+if test x$MAKE = x
+then
+   echo " "
+   echo "Warning: No make on this system?"
+   echo " "
+   exit
+fi
+AC_SUBST(MAKE)
+
+dnl Check for aliases path
+AC_PATH_PROG(ALIASES, aliases, /etc/mail/aliases, /etc/mail:/etc)
+
+
+
+dnl Should we use a gethostbyname after gethostname to use FQDN ? default yes
+AC_ARG_ENABLE(fqdn, AS_HELP_STRING([--disable-fqdn],
+                       [Always use FQDN (default=yes)]),
+              USE_PARAM_FQDN=$enableval, USE_PARAM_FQDN=yes)
+if test "$USE_PARAM_FQDN" = "no"; then
+  USE_FQDN=0
+else
+  USE_FQDN=1
+fi
+AC_SUBST(USE_FQDN)
+
+dnl Should we allow root to change a password with yppasswd ? default: yes
+AC_ARG_ENABLE([checkroot],AS_HELP_STRING([--disable-checkroot],
+       [Disable check for root password (default=yes)]),
+              CHECKROOT=$enableval, CHECKROOT=yes)
+AC_SUBST(CHECKROOT)
+
+# Check for --with-dbmliborder
+dbmliborder="gdbm ndbm qdbm tokyocabinet"
+AC_MSG_CHECKING(for --with-dbmliborder)
+AC_ARG_WITH(dbmliborder,
+            AS_HELP_STRING([--with-dbmliborder=db1:db2:...], [order to check 
db backends for dbm. Valid value is a colon separated string with the backend 
names `ndbm', `gdbm', `qdbm' and `tokyocabinet'.]),
+[
+if test x$with_dbmliborder = xyes
+then
+  AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
+else
+  dbmliborder=`echo $with_dbmliborder | sed 's/:/ /g'`
+  for db in $dbmliborder; do
+    if test x$db != xndbm && test x$db != xgdbm && test x$db != xqdbm && test 
x$db != xtokyocabinet
+    then
+      AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
+    fi
+  done
+fi])
+AC_MSG_RESULT($with_dbmliborder)
+
+# find which dbm we have
+for db in $dbmliborder; do
+  if test x$db = xqdbm
+  then
+    AC_CHECK_LIB(qdbm,gdbm_open,LIBDBM="$( pkg-config --libs qdbm )" ; 
CFLAGS="$( pkg-config --cflags qdbm ) $CFLAGS",LIBDBM="")
+    if test x"" != x"${LIBDBM}"
+    then
+      AC_DEFINE(HAVE_LIBQDBM, 1, [Use qdbm library as database])
+      libdb_parameter=yes
+      break
+    fi
+  elif test x$db = xgdbm
+  then
+    AC_CHECK_LIB(gdbm,gdbm_open,LIBDBM="-lgdbm",LIBDBM="")
+    if test x"" != x"${LIBDBM}"
+    then
+      AC_DEFINE(HAVE_LIBGDBM, 1, [Use gdbm library as database])
+      libdb_parameter=yes
+      break
+    fi
+  elif test x$db = xtokyocabinet
+  then
+    AC_CHECK_LIB(tokyocabinet,tcbdbopen,LIBDBM="-ltokyocabinet",LIBDBM="")
+    if test x"" != x"${LIBDBM}"
+    then
+      AC_DEFINE(HAVE_LIBTC, 1, [Use tokyocabinet library as database])
+      libdb_parameter=yes
+      break
+    fi
+  elif test x$db = xndbm 
+  then
+    AC_CHECK_FUNCS(dbm_open)
+    if test x$ac_cv_func_dbm_open = xyes
+    then
+      AC_DEFINE(HAVE_NDBM, 1, [Use ndbm library as database])
+      libdb_parameter=yes
+      break
+    fi
+  fi
+done
+AC_SUBST(LIBDBM)
+
+if test x$libdb_parameter != xyes
+then
+  echo "
+
+ You need the GNU GDBM, QDBM, Tokyo Cabinet or the Solaris NDBM functions for 
this package !"
+  echo ""
+  echo ""
+  exit
+fi
+
+AC_CHECK_LIB(xcrypt,crypt,LIBCRYPT="-lxcrypt",LIBCRYPT="")
+if test -z "$LIBCRYPT" ; then
+  AC_CHECK_LIB(crypt,crypt,LIBCRYPT="-lcrypt",LIBCRYPT="")
+  AC_CHECK_HEADERS(crypt.h)
+else
+  AC_CHECK_HEADERS(xcrypt.h crypt.h)
+fi
+AC_SUBST(LIBCRYPT)
+
+USE_SLP=0
+AC_CHECK_LIB(slp,SLPReg,LIBSLP="-lslp",LIBSLP="")
+AC_SUBST(LIBSLP)
+if test -n "$LIBSLP" ; then
+       AC_CHECK_HEADERS(slp.h)
+        if test "$ac_cv_header_slp_h" = yes; then
+         USE_SLP=1
+       fi
+fi
+AC_SUBST(USE_SLP)
+
+AC_CHECK_FUNCS(getrpcport)
+if test "$ac_cv_func_getrpcport" = no; then
+       AC_CHECK_LIB([rpcsvc], [getrpcport],
+                    [ac_cv_func_getrpcport=yes; LIBS="-lrpcsvc $LIBS"])
+fi
+
+USE_SD_NOTIFY=0
+AC_SUBST(USE_SD_NOTIFY)
+AC_CHECK_LIB(systemd-daemon,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd-daemon",
+       LIBSYSTEMD_DAEMON="")
+if test -n "$LIBSYSTEMD_DAEMON" ; then
+       AC_CHECK_HEADERS(systemd/sd-daemon.h)
+       if test "$ac_cv_header_systemd_sd_daemon_h" = yes; then
+          USE_SD_NOTIFY=1
+        fi
+fi
+AC_SUBST(USE_SD_NOTIFY)
+AC_SUBST(LIBSYSTEMD_DAEMON)
+
+AC_CHECK_LIB(nsl,gethostbyname)
+AC_CHECK_LIB(socket,socket)
+AC_CHECK_LIB(resolv, res_gethostbyname, RESOLV="-lresolv", RESOLV="")
+if test x$RESOLV != x
+then
+       AC_DEFINE(HAVE_RES_GETHOSTBYNAME, 1, [Define if you have the 
res_gethostbyname function.])
+else
+       AC_CHECK_LIB(resolv+, gethostbyname, RESOLV="-lresolv+", RESOLV="")
+fi
+AC_SUBST(RESOLV)
+
+dnl Checks for header files.
+AC_HEADER_DIRENT
+AC_HEADER_STDC
+AC_HEADER_SYS_WAIT
+AC_CHECK_HEADERS(fcntl.h paths.h sys/file.h sys/time.h syslog.h unistd.h)
+AC_CHECK_HEADERS(getopt.h shadow.h rpc/clnt_soc.h rpc/svc_soc.h)
+AC_CHECK_HEADERS(netinet/in.h alloca.h)
+AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE(in_addr_t,int,[Define to int if you don't 
have in_addr_t])],[#include <netinet/in.h>])
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_C_INLINE
+AC_C___ATTRIBUTE__
+TYPE_SOCKLEN_T
+AC_TYPE_PID_T
+AC_TYPE_SIZE_T
+AC_HEADER_TIME
+
+dnl Checks if resultproc_t has been defined
+AC_MSG_CHECKING(for resultproc_t in rpc/clnt.h)
+AC_EGREP_HEADER(resultproc_t,rpc/clnt.h,\
+       AC_DEFINE(HAVE_RESULTPROC_T, 1, [Define if the systems has the 
resultproc_t type.]) AC_MSG_RESULT(yes),\
+       AC_MSG_RESULT(no))
+AC_MSG_CHECKING(for resultproc_t in rpc/pmap_clnt.h)
+AC_EGREP_HEADER(resultproc_t,rpc/pmap_clnt.h,\
+       AC_DEFINE(HAVE_RESULTPROC_T) AC_MSG_RESULT(yes),\
+       AC_MSG_RESULT(no))
+
+dnl Checks for library functions.
+AC_FUNC_MEMCMP
+AC_FUNC_VPRINTF
+AC_CHECK_FUNCS(setenv putenv)
+AC_CHECK_FUNCS(fgetpwent putpwent fgetgrent getspnam)
+AC_CHECK_FUNCS(inet_aton inet_pton vsyslog lckpwdf)
+AC_CHECK_FUNCS(strdup strndup strerror strstr strsep stpcpy)
+AC_CHECK_FUNCS(snprintf asprintf)
+AC_CHECK_FUNCS(gethostname gettimeofday select socket uname getopt_long)
+AC_CHECK_FUNCS(_rpc_dtablesize getdtablesize)
+AC_CHECK_FUNCS(svc_getcaller svc_getrpccaller getline getdelim)
+AC_CHECK_FUNCS(xdr_domainname xdr_ypxfrstat xdr_ypresp_xfr xdr_ypreq_xfr)
+AC_CHECK_FUNCS(xdr_ypmap_parms xdr_ypreq_nokey xdr_ypresp_master xdr_mapname)
+AC_CHECK_FUNCS(xdr_peername xdr_ypstat xdr_ypbind_binding xdr_yppushresp_xfr)
+AC_CHECK_FUNCS(xdr_yppush_status)
+
+dnl
+dnl Check for xsltproc
+dnl
+enable_man=yes
+AC_PATH_PROG([XSLTPROC], [xsltproc])
+if test -z "$XSLTPROC"; then
+     enable_man=no
+fi
+AC_PATH_PROG([XMLLINT], [xmllint],[/bin/true])
+dnl check for DocBook DTD and stylesheets in the local catalog.
+JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.3//EN],
+                [DocBook XML DTD V4.3], [], enable_man=no)
+JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
+                [DocBook XSL Stylesheets], [], enable_man=no)
+AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno)
+
+AC_CONFIG_FILES([Makefile
+       lib/Makefile etc/Makefile ypserv/Makefile
+       ypxfr/Makefile yppush/Makefile makedbm/Makefile mknetid/Makefile
+       revnetgroup/Makefile rpc.yppasswdd/Makefile rpc.ypxfrd/Makefile
+       yphelper/Makefile scripts/Makefile scripts/ypxfr_1perhour
+       scripts/ypxfr_1perday scripts/ypxfr_2perday scripts/pwupdate
+       scripts/create_printcap scripts/match_printcap
+       scripts/ypinit scripts/ypMakefile])
+AC_OUTPUT
+
+echo "
+Configuration:
+
+  Source code location:   ${srcdir}
+  Compiler:               ${CC}
+  Compiler flags:         ${CFLAGS}
+  Preprocessor:                  ${CPP}
+  Preprocessor flags:     ${CPPFLAGS}
+  Libraries:             ${LIBS} ${LIBDBM} ${LIBCRYPT} ${LIBSYSTEMD_DAEMON}
+  Awk:                    ${AWK}
+  Shell:                 ${BASH}
+  NIS map dir:            ${YPMAPDIR}
+  Install path prefix:    ${prefix}"
+if test ${sysconfdir} != '${prefix}/etc'
+then
+  echo "  Install ypserv.conf in:  ${sysconfdir}"
+else
+  echo "  Install ypserv.conf in:  ${prefix}/etc"
+fi
+  echo "  Allow root password:     ${CHECKROOT}"
+  echo "  Use FQDN as master name: ${USE_FQDN}"
+  echo "  Notify systemd:         ${USE_SD_NOTIFY}"
+echo ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/configure.in new/ypserv-2.32/configure.in
--- old/ypserv-2.31/configure.in        2013-04-11 11:26:22.000000000 +0200
+++ new/ypserv-2.32/configure.in        1970-01-01 01:00:00.000000000 +0100
@@ -1,389 +0,0 @@
-#
-# Copyright (C) 1999-2013 Thorsten Kukuk <ku...@linux-nis.org>
-#
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT([ypserv],[2.31],[ku...@linux-nis.org])
-AM_INIT_AUTOMAKE
-AC_CONFIG_SRCDIR([ypserv/ypserv.c])
-AC_CONFIG_HEADERS([config.h])
-AC_PREFIX_DEFAULT(/usr)
-AH_BOTTOM([#include <conf_post.h>])
-
-AC_SUBST(PACKAGE)
-AC_SUBST(VERSION)
-
-dnl Some hacks...
-test "${prefix}" = "NONE" && prefix="/usr"
-if test ${prefix} = '/usr'
-then
-dnl If we use /usr as prefix, use /etc for ypserv.conf
-       if test ${sysconfdir} = '${prefix}/etc'
-       then
-          sysconfdir="/etc"
-       fi
-dnl If we use /usr as prefix, use /usr/share/man for manual pages
-       if test ${mandir} = '${prefix}/man'
-       then
-          mandir='${prefix}/share/man'
-       fi
-fi
-dnl Change libexec to lib/yp
-if test ${libexecdir} = '${exec_prefix}/libexec'
-then
-  libexecdir='${exec_prefix}/lib/yp'
-  if test "${exec_prefix}" = "NONE"
-  then
-    YPBINDIR=/usr/lib/yp
-  else
-    YPBINDIR=${exec_prefix}/lib/yp
-  fi
-else
-  YPBINDIR=${libexecdir}
-fi
-AC_SUBST(YPBINDIR)
-
-dnl Location of the NIS maps.  default: /var/yp
-AC_ARG_ENABLE([ypmapdir],
-       AS_HELP_STRING([--enable-ypmapdir=path],
-               [Location of NIS maps (default=/var/yp)]),
-              YPMAPDIR=$enableval, YPMAPDIR=/var/yp)
-AC_SUBST(YPMAPDIR)
-
-
-if test ${sbindir} = '${exec_prefix}/sbin'
-then
-  if test "${exec_prefix}" = "NONE"
-  then
-    SBINDIR=/usr/sbin
-  else
-    SBINDIR=${exec_prefix}/sbin
-  fi
-else
-  SBINDIR=${sbindir}
-fi
-AC_SUBST(SBINDIR)
-
-dnl Checks for programs.
-AC_PROG_CC
-AC_SEARCH_LIBS([strerror],[cposix])
-AC_PROG_CPP
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
-AC_PROG_RANLIB
-AM_PROG_CC_C_O
-AC_USE_SYSTEM_EXTENSIONS
-
-if eval "test x$GCC = xyes"; then
-  for flag in \
-      -pedantic \
-      -W \
-      -Wall \
-      -Wbad-function-cast \
-      -Wcast-align \
-      -Wcast-qual \
-      -Wmissing-declarations \
-      -Wmissing-prototypes \
-      -Wpointer-arith \
-      -Wreturn-type \
-      -Wstrict-prototypes
-  do
-    JAPHAR_GREP_CFLAGS($flag, [ CFLAGS="$CFLAGS $flag" ])
-  done
-fi
-
-AC_ARG_ENABLE(pie,AS_HELP_STRING([--disable-pie],
-                       [Disable position-independent executeables (PIE)]),
-       USE_PIE=$enableval, USE_PIE=yes)
-
-AC_CACHE_CHECK(for -fpie, libc_cv_fpie, [dnl
-  cat > conftest.c <<EOF
-int foo;
-main () { return 0;}
-EOF
-  if test "$USE_PIE" = "yes" &&
-       AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
-                              -o conftest conftest.c 1>&AS_MESSAGE_LOG_FD])
-  then
-    libc_cv_fpie=yes
-    PIE_CFLAGS="-fpie"
-    PIE_LDFLAGS="-pie"
-  else
-    libc_cv_fpie=no
-    PIE_CFLAGS=""
-    PIE_LDFLAGS=""
-  fi
-  rm -f conftest*])
-AC_SUBST(libc_cv_fpie)
-AC_SUBST(PIE_CFLAGS)
-AC_SUBST(PIE_LDFLAGS)
-
-AM_WITH_DMALLOC
-AM_WITH_EFENCE
-
-dnl Check for big or little endian system
-AC_C_BIGENDIAN
-dnl Check for 64bit systems
-AC_CHECK_SIZEOF(long)
-
-dnl Search a awk program
-AC_PATH_PROGS(AWK, mawk gawk nawk awk, ERROR)
-if test $AWK = ERROR
-then
-   echo " "
-   echo "ERROR: You must have at last one of the following programs:"
-   echo "       mawk, gawk, nawk or awk !"
-   echo " "
-   exit
-fi
-
-dnl Search the bash
-AC_PATH_PROGS(BASH, bash /sbin/sh, /bin/sh)
-
-dnl Search make
-AC_PATH_PROGS(MAKE, gmake make, "", $PATH:/usr/ccs/bin:/usr/local/bin)
-if test x$MAKE = x
-then
-   echo " "
-   echo "Warning: No make on this system?"
-   echo " "
-   exit
-fi
-AC_SUBST(MAKE)
-
-dnl Check for aliases path
-AC_PATH_PROG(ALIASES, aliases, /etc/mail/aliases, /etc/mail:/etc)
-
-
-
-dnl Should we use a gethostbyname after gethostname to use FQDN ? default yes
-AC_ARG_ENABLE(fqdn, AS_HELP_STRING([--disable-fqdn],
-                       [Always use FQDN (default=yes)]),
-              USE_PARAM_FQDN=$enableval, USE_PARAM_FQDN=yes)
-if test "$USE_PARAM_FQDN" = "no"; then
-  USE_FQDN=0
-else
-  USE_FQDN=1
-fi
-AC_SUBST(USE_FQDN)
-
-dnl Should we allow root to change a password with yppasswd ? default: yes
-AC_ARG_ENABLE([checkroot],AS_HELP_STRING([--disable-checkroot],
-       [Disable check for root password (default=yes)]),
-              CHECKROOT=$enableval, CHECKROOT=yes)
-AC_SUBST(CHECKROOT)
-
-# Check for --with-dbmliborder
-dbmliborder="gdbm ndbm qdbm tokyocabinet"
-AC_MSG_CHECKING(for --with-dbmliborder)
-AC_ARG_WITH(dbmliborder,
-            AS_HELP_STRING([--with-dbmliborder=db1:db2:...], [order to check 
db backends for dbm. Valid value is a colon separated string with the backend 
names `ndbm', `gdbm', `qdbm' and `tokyocabinet'.]),
-[
-if test x$with_dbmliborder = xyes
-then
-  AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
-else
-  dbmliborder=`echo $with_dbmliborder | sed 's/:/ /g'`
-  for db in $dbmliborder; do
-    if test x$db != xndbm && test x$db != xgdbm && test x$db != xqdbm && test 
x$db != xtokyocabinet
-    then
-      AC_MSG_ERROR([proper usage is --with-dbmliborder=db1:db2:...])
-    fi
-  done
-fi])
-AC_MSG_RESULT($with_dbmliborder)
-
-# find which dbm we have
-for db in $dbmliborder; do
-  if test x$db = xqdbm
-  then
-    AC_CHECK_LIB(qdbm,gdbm_open,LIBDBM="$( pkg-config --libs qdbm )" ; 
CFLAGS="$( pkg-config --cflags qdbm ) $CFLAGS",LIBDBM="")
-    if test x"" != x"${LIBDBM}"
-    then
-      AC_DEFINE(HAVE_LIBQDBM, 1, [Use qdbm library as database])
-      libdb_parameter=yes
-      break
-    fi
-  elif test x$db = xgdbm
-  then
-    AC_CHECK_LIB(gdbm,gdbm_open,LIBDBM="-lgdbm",LIBDBM="")
-    if test x"" != x"${LIBDBM}"
-    then
-      AC_DEFINE(HAVE_LIBGDBM, 1, [Use gdbm library as database])
-      libdb_parameter=yes
-      break
-    fi
-  elif test x$db = xtokyocabinet
-  then
-    AC_CHECK_LIB(tokyocabinet,tcbdbopen,LIBDBM="-ltokyocabinet",LIBDBM="")
-    if test x"" != x"${LIBDBM}"
-    then
-      AC_DEFINE(HAVE_LIBTC, 1, [Use tokyocabinet library as database])
-      libdb_parameter=yes
-      break
-    fi
-  elif test x$db = xndbm 
-  then
-    AC_CHECK_FUNCS(dbm_open)
-    if test x$ac_cv_func_dbm_open = xyes
-    then
-      AC_DEFINE(HAVE_NDBM, 1, [Use ndbm library as database])
-      libdb_parameter=yes
-      break
-    fi
-  fi
-done
-AC_SUBST(LIBDBM)
-
-if test x$libdb_parameter != xyes
-then
-  echo "
-
- You need the GNU GDBM, QDBM, Tokyo Cabinet or the Solaris NDBM functions for 
this package !"
-  echo ""
-  echo ""
-  exit
-fi
-
-AC_CHECK_LIB(xcrypt,crypt,LIBCRYPT="-lxcrypt",LIBCRYPT="")
-if test -z "$LIBCRYPT" ; then
-  AC_CHECK_LIB(crypt,crypt,LIBCRYPT="-lcrypt",LIBCRYPT="")
-  AC_CHECK_HEADERS(crypt.h)
-else
-  AC_CHECK_HEADERS(xcrypt.h crypt.h)
-fi
-AC_SUBST(LIBCRYPT)
-
-USE_SLP=0
-AC_CHECK_LIB(slp,SLPReg,LIBSLP="-lslp",LIBSLP="")
-AC_SUBST(LIBSLP)
-if test -n "$LIBSLP" ; then
-       AC_CHECK_HEADERS(slp.h)
-        if test "$ac_cv_header_slp_h" = yes; then
-         USE_SLP=1
-       fi
-fi
-AC_SUBST(USE_SLP)
-
-AC_CHECK_FUNCS(getrpcport)
-if test "$ac_cv_func_getrpcport" = no; then
-       AC_CHECK_LIB([rpcsvc], [getrpcport],
-                    [ac_cv_func_getrpcport=yes; LIBS="-lrpcsvc $LIBS"])
-fi
-
-USE_SD_NOTIFY=0
-AC_SUBST(USE_SD_NOTIFY)
-AC_CHECK_LIB(systemd-daemon,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd-daemon",
-       LIBSYSTEMD_DAEMON="")
-if test -n "$LIBSYSTEMD_DAEMON" ; then
-       AC_CHECK_HEADERS(systemd/sd-daemon.h)
-       if test "$ac_cv_header_systemd_sd_daemon_h" = yes; then
-          USE_SD_NOTIFY=1
-        fi
-fi
-AC_SUBST(USE_SD_NOTIFY)
-AC_SUBST(LIBSYSTEMD_DAEMON)
-
-AC_CHECK_LIB(nsl,gethostbyname)
-AC_CHECK_LIB(socket,socket)
-AC_CHECK_LIB(resolv, res_gethostbyname, RESOLV="-lresolv", RESOLV="")
-if test x$RESOLV != x
-then
-       AC_DEFINE(HAVE_RES_GETHOSTBYNAME, 1, [Define if you have the 
res_gethostbyname function.])
-else
-       AC_CHECK_LIB(resolv+, gethostbyname, RESOLV="-lresolv+", RESOLV="")
-fi
-AC_SUBST(RESOLV)
-
-dnl Checks for header files.
-AC_HEADER_DIRENT
-AC_HEADER_STDC
-AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(fcntl.h paths.h sys/file.h sys/time.h syslog.h unistd.h)
-AC_CHECK_HEADERS(getopt.h shadow.h rpc/clnt_soc.h rpc/svc_soc.h)
-AC_CHECK_HEADERS(netinet/in.h alloca.h)
-AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE(in_addr_t,int,[Define to int if you don't 
have in_addr_t])],[#include <netinet/in.h>])
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-AC_C_INLINE
-AC_C___ATTRIBUTE__
-TYPE_SOCKLEN_T
-AC_TYPE_PID_T
-AC_TYPE_SIZE_T
-AC_HEADER_TIME
-
-dnl Checks if resultproc_t has been defined
-AC_MSG_CHECKING(for resultproc_t in rpc/clnt.h)
-AC_EGREP_HEADER(resultproc_t,rpc/clnt.h,\
-       AC_DEFINE(HAVE_RESULTPROC_T, 1, [Define if the systems has the 
resultproc_t type.]) AC_MSG_RESULT(yes),\
-       AC_MSG_RESULT(no))
-AC_MSG_CHECKING(for resultproc_t in rpc/pmap_clnt.h)
-AC_EGREP_HEADER(resultproc_t,rpc/pmap_clnt.h,\
-       AC_DEFINE(HAVE_RESULTPROC_T) AC_MSG_RESULT(yes),\
-       AC_MSG_RESULT(no))
-
-dnl Checks for library functions.
-AC_FUNC_MEMCMP
-AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(setenv putenv)
-AC_CHECK_FUNCS(fgetpwent putpwent fgetgrent getspnam)
-AC_CHECK_FUNCS(inet_aton inet_pton vsyslog lckpwdf)
-AC_CHECK_FUNCS(strdup strndup strerror strstr strsep stpcpy)
-AC_CHECK_FUNCS(snprintf asprintf)
-AC_CHECK_FUNCS(gethostname gettimeofday select socket uname getopt_long)
-AC_CHECK_FUNCS(_rpc_dtablesize getdtablesize)
-AC_CHECK_FUNCS(svc_getcaller svc_getrpccaller getline getdelim)
-AC_CHECK_FUNCS(xdr_domainname xdr_ypxfrstat xdr_ypresp_xfr xdr_ypreq_xfr)
-AC_CHECK_FUNCS(xdr_ypmap_parms xdr_ypreq_nokey xdr_ypresp_master xdr_mapname)
-AC_CHECK_FUNCS(xdr_peername xdr_ypstat xdr_ypbind_binding xdr_yppushresp_xfr)
-AC_CHECK_FUNCS(xdr_yppush_status)
-
-dnl
-dnl Check for xsltproc
-dnl
-enable_man=yes
-AC_PATH_PROG([XSLTPROC], [xsltproc])
-if test -z "$XSLTPROC"; then
-     enable_man=no
-fi
-AC_PATH_PROG([XMLLINT], [xmllint],[/bin/true])
-dnl check for DocBook DTD and stylesheets in the local catalog.
-JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.3//EN],
-                [DocBook XML DTD V4.3], [], enable_man=no)
-JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
-                [DocBook XSL Stylesheets], [], enable_man=no)
-AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno)
-
-AC_CONFIG_FILES([Makefile
-       lib/Makefile etc/Makefile ypserv/Makefile
-       ypxfr/Makefile yppush/Makefile makedbm/Makefile mknetid/Makefile
-       revnetgroup/Makefile rpc.yppasswdd/Makefile rpc.ypxfrd/Makefile
-       yphelper/Makefile scripts/Makefile scripts/ypxfr_1perhour
-       scripts/ypxfr_1perday scripts/ypxfr_2perday scripts/pwupdate
-       scripts/create_printcap scripts/match_printcap
-       scripts/ypinit scripts/ypMakefile])
-AC_OUTPUT
-
-echo "
-Configuration:
-
-  Source code location:   ${srcdir}
-  Compiler:               ${CC}
-  Compiler flags:         ${CFLAGS}
-  Preprocessor:                  ${CPP}
-  Preprocessor flags:     ${CPPFLAGS}
-  Libraries:             ${LIBS} ${LIBDBM} ${LIBCRYPT} ${LIBSYSTEMD_DAEMON}
-  Awk:                    ${AWK}
-  Shell:                 ${BASH}
-  NIS map dir:            ${YPMAPDIR}
-  Install path prefix:    ${prefix}"
-if test ${sysconfdir} != '${prefix}/etc'
-then
-  echo "  Install ypserv.conf in:  ${sysconfdir}"
-else
-  echo "  Install ypserv.conf in:  ${prefix}/etc"
-fi
-  echo "  Allow root password:     ${CHECKROOT}"
-  echo "  Use FQDN as master name: ${USE_FQDN}"
-  echo "  Notify systemd:         ${USE_SD_NOTIFY}"
-echo ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/lib/Makefile.am new/ypserv-2.32/lib/Makefile.am
--- old/ypserv-2.31/lib/Makefile.am     2013-04-09 16:38:20.000000000 +0200
+++ new/ypserv-2.32/lib/Makefile.am     2013-11-06 15:08:28.000000000 +0100
@@ -15,7 +15,7 @@
 
 DEFS = @DEFS@ -D_REENTRANT=1 -DCONFDIR=\"$(sysconfdir)\" -DUSE_SLP=@USE_SLP@ \
        -DUSE_SD_NOTIFY=@USE_SD_NOTIFY@
-INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 AM_CFLAGS = @PIE_CFLAGS@
 
 libyp_a_SOURCES = log_msg.c ypserv_conf.c ypxfrd_xdr.c \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/lib/yp_db.c new/ypserv-2.32/lib/yp_db.c
--- old/ypserv-2.31/lib/yp_db.c 2013-04-10 16:42:21.000000000 +0200
+++ new/ypserv-2.32/lib/yp_db.c 2013-11-06 14:57:35.000000000 +0100
@@ -181,6 +181,12 @@
        }
       else if (debug_flag)
        log_msg ("\t\t->Returning OK!");
+      if ( !isok )
+       {
+         /* DB not successful opened. Close database object and set return 
value to NULL. */
+         tcbdbdel (dbp);
+         dbp = NULL;
+       }
     }
   else
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/lib/ypserv_conf.c new/ypserv-2.32/lib/ypserv_conf.c
--- old/ypserv-2.31/lib/ypserv_conf.c   2013-04-10 16:42:29.000000000 +0200
+++ new/ypserv-2.32/lib/ypserv_conf.c   2013-07-22 17:00:40.000000000 +0200
@@ -1,4 +1,4 @@
-/* Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2006, 2008, 
2011 Thorsten Kukuk
+/* Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2006, 2008, 
2011, 2013 Thorsten Kukuk
    Author: Thorsten Kukuk <ku...@suse.de>
 
    The YP Server is free software; you can redistribute it and/or
@@ -169,7 +169,8 @@
 load_ypserv_conf (const char *path)
 {
   FILE *in;
-  char c, *cp;
+  int c;
+  char *cp;
   char buf1[1025], buf2[1025] = "", buf3[1025];
   long line = 0;
   conffile_t *ptr = NULL, *work = NULL;
@@ -184,7 +185,7 @@
       return NULL;
     }
 
-  while ((c = fgetc (in)) != (char) EOF)
+  while ((c = fgetc (in)) != EOF)
     {                          /*while */
       line++;
       switch (tolower (c))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/makedbm/Makefile.am new/ypserv-2.32/makedbm/Makefile.am
--- old/ypserv-2.31/makedbm/Makefile.am 2007-10-01 14:12:29.000000000 +0200
+++ new/ypserv-2.32/makedbm/Makefile.am 2013-11-06 15:08:58.000000000 +0100
@@ -8,7 +8,7 @@
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPBINDIR=\"$(libexecdir)\" \
        -DCONFDIR=\"$(sysconfdir)\" -DYPMAPDIR=\"/var/yp\" \
        -DUSE_FQDN=@USE_FQDN@
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 CLEANFILES = *~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/mknetid/Makefile.am new/ypserv-2.32/mknetid/Makefile.am
--- old/ypserv-2.31/mknetid/Makefile.am 2006-08-02 14:39:44.000000000 +0200
+++ new/ypserv-2.32/mknetid/Makefile.am 2013-11-06 15:09:06.000000000 +0100
@@ -8,7 +8,7 @@
 
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPBINDIR=\"$(libexecdir)\" \
        -DCONFDIR=\"$(sysconfdir)\" -DYPMAPDIR=\"/var/yp\"
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 CLEANFILES = *~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/revnetgroup/Makefile.am new/ypserv-2.32/revnetgroup/Makefile.am
--- old/ypserv-2.31/revnetgroup/Makefile.am     2006-08-02 14:54:29.000000000 
+0200
+++ new/ypserv-2.32/revnetgroup/Makefile.am     2013-11-06 15:09:13.000000000 
+0100
@@ -8,7 +8,7 @@
 
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPBINDIR=\"$(libexecdir)\" \
        -DCONFDIR=\"$(sysconfdir)\" -DYPMAPDIR=\"/var/yp\"
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 CLEANFILES = *~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/rpc.yppasswdd/Makefile.am 
new/ypserv-2.32/rpc.yppasswdd/Makefile.am
--- old/ypserv-2.31/rpc.yppasswdd/Makefile.am   2013-04-11 11:25:34.000000000 
+0200
+++ new/ypserv-2.32/rpc.yppasswdd/Makefile.am   2013-11-06 15:09:19.000000000 
+0100
@@ -9,7 +9,7 @@
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPBINDIR=\"$(libexecdir)\" \
        -DCONFDIR=\"$(sysconfdir)\" -DYPMAPDIR=\"@YPMAPDIR@\" \
        -DUSE_FQDN=@USE_FQDN@
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 CLEANFILES = *~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/rpc.ypxfrd/Makefile.am new/ypserv-2.32/rpc.ypxfrd/Makefile.am
--- old/ypserv-2.31/rpc.ypxfrd/Makefile.am      2013-04-09 16:38:20.000000000 
+0200
+++ new/ypserv-2.32/rpc.ypxfrd/Makefile.am      2013-11-06 15:09:26.000000000 
+0100
@@ -9,7 +9,7 @@
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPBINDIR=\"$(libexecdir)\" \
        -DCONFDIR=\"$(sysconfdir)\" -DYPMAPDIR=\"@YPMAPDIR@\" \
        -DUSE_FQDN=@USE_FQDN@ -DXFRBLOCKSIZE=65535
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 CLEANFILES = *~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/scripts/ypMakefile.in new/ypserv-2.32/scripts/ypMakefile.in
--- old/ypserv-2.31/scripts/ypMakefile.in       2012-01-27 15:53:03.000000000 
+0100
+++ new/ypserv-2.32/scripts/ypMakefile.in       2013-11-06 15:00:12.000000000 
+0100
@@ -37,8 +37,8 @@
 # the passwd file. If no entry is found, this shadow entry is
 # ignored.
 # MINGID is the lowest gid that will be included in the group maps.
-MINUID=500
-MINGID=500
+MINUID=$(shell TMP=`egrep '^UID_MIN\s+[0-9]+' /etc/login.defs|sed -e 
's/^UID_MIN//'` ; [ -n "$$TMP" ] && echo "$$TMP" || echo 1000)
+MINGID=$(shell TMP=`egrep '^GID_MIN\s+[0-9]+' /etc/login.defs|sed -e 
's/^GID_MIN//'` ; [ -n "$$TMP" ] && echo "$$TMP" || echo 1000)
 
 # Should we merge the passwd file with the shadow file ?
 # MERGE_PASSWD=true|false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/yphelper/Makefile.am new/ypserv-2.32/yphelper/Makefile.am
--- old/ypserv-2.31/yphelper/Makefile.am        2009-05-12 11:57:16.000000000 
+0200
+++ new/ypserv-2.32/yphelper/Makefile.am        2013-11-06 15:09:35.000000000 
+0100
@@ -5,7 +5,7 @@
 
 localedir = $(datadir)/locale
 
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPBINDIR=\"$(libexecdir)\" \
        -DCONFDIR=\"$(sysconfdir)\" -DYPMAPDIR=\"/var/yp\" \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/yppush/Makefile.am new/ypserv-2.32/yppush/Makefile.am
--- old/ypserv-2.31/yppush/Makefile.am  2009-04-02 14:15:35.000000000 +0200
+++ new/ypserv-2.32/yppush/Makefile.am  2013-11-06 15:09:41.000000000 +0100
@@ -8,7 +8,7 @@
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPBINDIR=\"$(libexecdir)\" \
        -DCONFDIR=\"$(sysconfdir)\" -DYPMAPDIR=\"/var/yp\" \
        -DUSE_FQDN=@USE_FQDN@
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 CLEANFILES = *~ ${MANS}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/yppush/yppush.8 new/ypserv-2.32/yppush/yppush.8
--- old/ypserv-2.31/yppush/yppush.8     2013-04-10 15:39:18.000000000 +0200
+++ new/ypserv-2.32/yppush/yppush.8     2013-10-07 14:31:44.000000000 +0200
@@ -2,12 +2,12 @@
 .\"     Title: yppush
 .\"    Author: [see the "AUTHOR" section]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 04/10/2013
+.\"      Date: 10/07/2013
 .\"    Manual: NIS Reference Manual
 .\"    Source: NIS Reference Manual
 .\"  Language: English
 .\"
-.TH "YPPUSH" "8" "04/10/2013" "NIS Reference Manual" "NIS Reference Manual"
+.TH "YPPUSH" "8" "10/07/2013" "NIS Reference Manual" "NIS Reference Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -49,7 +49,7 @@
 \fBypservers\fR
 within the
 \fIdomain\&.\fR
-A destination host (or a list of hosts with multiple \-h commands) can also be 
specified on the command line\&. A "transfer map" request is sent to the NIS 
serger at each slave, along with the information needed by the transfer agent 
ypxfr(8) to callback to yppush, which may be printed the result to stderr\&. 
Messages are also printed when a transfer is not possible; for instance when 
the request message is undeliverable\&.
+A destination host (or a list of hosts with multiple \-h commands) can also be 
specified on the command line\&. A "transfer map" request is sent to the NIS 
server at each slave, along with the information needed by the transfer agent 
ypxfr(8) to callback to yppush, which may be printed the result to stderr\&. 
Messages are also printed when a transfer is not possible; for instance when 
the request message is undeliverable\&.
 .PP
 To specify a port number or use any other
 \fByppush\fR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/yppush/yppush.8.xml new/ypserv-2.32/yppush/yppush.8.xml
--- old/ypserv-2.31/yppush/yppush.8.xml 2012-01-27 15:55:29.000000000 +0100
+++ new/ypserv-2.32/yppush/yppush.8.xml 2013-10-07 14:30:58.000000000 +0200
@@ -53,7 +53,7 @@
 <emphasis remap='I'>domain.</emphasis>
 A destination host (or a list of hosts with multiple -h commands)
 can also be specified on the command line.
-A "transfer map" request is sent to the NIS serger at each slave, along
+A "transfer map" request is sent to the NIS server at each slave, along
 with the information needed by the transfer agent ypxfr(8) to callback
 to yppush, which may be printed the result to stderr. Messages are
 also printed when a transfer is not possible; for instance when the request
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/ypserv/Makefile.am new/ypserv-2.32/ypserv/Makefile.am
--- old/ypserv-2.31/ypserv/Makefile.am  2013-04-09 16:38:20.000000000 +0200
+++ new/ypserv-2.32/ypserv/Makefile.am  2013-11-06 15:09:53.000000000 +0100
@@ -7,7 +7,7 @@
 
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPBINDIR=\"$(libexecdir)\" \
        -DYPMAPDIR=\"@YPMAPDIR@\" -DUSE_FQDN=@USE_FQDN@ -DUSE_SLP=@USE_SLP@
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 CLEANFILES = *~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/ypserv/ypserv.8 new/ypserv-2.32/ypserv/ypserv.8
--- old/ypserv-2.31/ypserv/ypserv.8     2013-04-10 10:30:53.000000000 +0200
+++ new/ypserv-2.32/ypserv/ypserv.8     2013-11-06 13:56:25.000000000 +0100
@@ -1,13 +1,22 @@
 '\" t
 .\"     Title: ypserv
 .\"    Author: [see the "AUTHOR" section]
-.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\"      Date: 01/27/2010
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
+.\"      Date: 11/06/2013
 .\"    Manual: NIS Reference Manual
 .\"    Source: NIS Reference Manual
 .\"  Language: English
 .\"
-.TH "YPSERV" "8" "01/27/2010" "NIS Reference Manual" "NIS Reference Manual"
+.TH "YPSERV" "8" "11/06/2013" "NIS Reference Manual" "NIS Reference Manual"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
 .\" -----------------------------------------------------------------
 .\" * set default formatting
 .\" -----------------------------------------------------------------
@@ -22,7 +31,7 @@
 ypserv \- NIS Server
 .SH "SYNOPSIS"
 .HP \w'\fB/usr/sbin/ypserv\fR\ 'u
-\fB/usr/sbin/ypserv\fR [\-d\] [\-p\ \fIport\fR] [\-f|\-\-foreground]
+\fB/usr/sbin/ypserv\fR [\-d\ [\fIpath\fR]] [\-p\ \fIport\fR]
 .SH "DESCRIPTION"
 .PP
 .\" ypserv: ypserv \(em NIS server process
@@ -58,11 +67,15 @@
 /etc/ypserv\&.conf\&.
 .SH "OPTIONS"
 .PP
-\fB\-d\fR, \fB\-\-debug
+\fB\-d\fR, \fB\-\-debug \fR[\fIpath\fR]
 .RS 4
 Causes the server to run in debugging mode\&. Normally,
 \fBypserv\fR
 reports only errors (access violations, dbm failures) using the syslog(3) 
facility\&. In debug mode, the server does not background itself and prints 
extra status messages to stderr for each request that it revceives\&.
+\fBpath\fR
+is an optionally parameter\&.
+\fBypserv\fR
+is using this directory instead of /var/yp
 .RE
 .PP
 \fB\-p\fR, \fB\-\-port\fR \fIport\fR
@@ -75,11 +88,6 @@
 .RS 4
 Prints the version number
 .RE
-.PP
-\fB\-f\fR, \fB\-\-foreground\fR
-.RS 4
-will not put itself into background\&.
-.RE
 .SH "SECURITY"
 .PP
 In general, any remote user can issue an RPC to
@@ -96,7 +104,6 @@
 .PP
 A sample securenets file might look like this:
 .RS 4
-
 .sp
 .if n \{\
 .RS 4
@@ -129,14 +136,9 @@
 .PP
 In the
 /etc/ypserv\&.conf
-you could specify some access rules for special maps and hosts\&. But it is 
not very secure, it makes the life only a little bit harder for a potential 
hacker\&. If a mapname doesn\'t match a rule, ypserv will look for the 
YP_SECURE key in the map\&. If it exists, ypserv will only allow requests on a 
reserved port\&.
+you could specify some access rules for special maps and hosts\&. But it is 
not very secure, it makes the life only a little bit harder for a potential 
hacker\&. If a mapname doesn\*(Aqt match a rule, ypserv will look for the 
YP_SECURE key in the map\&. If it exists, ypserv will only allow requests on a 
reserved port\&.
 .PP
 For security reasons, ypserv will only accept ypproc_xfr requests for updating 
maps from the same master server as the old one\&. This means, you have to 
reinstall the slave servers if you change the master server for a map\&.
-.SH "BUGS"
-.PP
-Sending the signal
-\fBSIGHUP\fR
-to the server can lead to a deadlock or crash\&.
 .SH "FILES"
 .PP
 /etc/ypserv\&.conf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/ypserv/ypserv.8.xml new/ypserv-2.32/ypserv/ypserv.8.xml
--- old/ypserv-2.31/ypserv/ypserv.8.xml 2010-01-27 13:07:03.000000000 +0100
+++ new/ypserv-2.32/ypserv/ypserv.8.xml 2013-11-06 13:55:14.000000000 +0100
@@ -164,11 +164,6 @@
 for a map.</para>
 </refsect1>
 
-<refsect1 id='bugs'><title>BUGS</title>
-<para>Sending the signal <emphasis remap='B'>SIGHUP</emphasis> to the server 
can lead to
-a deadlock or crash.</para>
-</refsect1>
-
 <refsect1 id='files'><title>FILES</title>
 <variablelist remap='TP'>
   <varlistentry>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/ypserv/ypserv.c new/ypserv-2.32/ypserv/ypserv.c
--- old/ypserv-2.31/ypserv/ypserv.c     2013-04-10 16:43:16.000000000 +0200
+++ new/ypserv-2.32/ypserv/ypserv.c     2013-11-06 13:54:41.000000000 +0100
@@ -286,22 +286,6 @@
   exit (0);
 }
 
-/* Reload securenets and config file */
-static void
-sig_hup (int sig UNUSED)
-{
-  int save_errno = errno;
-  int old_cached_filehandles = cached_filehandles;
-
-  load_securenets ();
-  load_config ();
-  /* Don't allow to decrease the number of max. cached files with
-     SIGHUP.  */
-  if (cached_filehandles < old_cached_filehandles)
-    cached_filehandles = old_cached_filehandles;
-  errno = save_errno;
-}
-
 /* Clean up after child processes signal their termination. */
 static void
 sig_child (int sig UNUSED)
@@ -467,9 +451,9 @@
   signal (SIGTERM, sig_quit);
   signal (SIGINT, sig_quit);
   /*
-   * If we get a SIGHUP, reload the securenets and config file.
+   * Ignore SIGHUP, it's not safe and we cannot reload all variables
    */
-  signal (SIGHUP, sig_hup);
+  signal (SIGHUP, SIG_IGN);
   /*
    * If we get a SIGUSR1, enable/disable debuging.
    */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/ypserv-2.31/ypxfr/Makefile.am new/ypserv-2.32/ypxfr/Makefile.am
--- old/ypserv-2.31/ypxfr/Makefile.am   2009-04-02 15:01:30.000000000 +0200
+++ new/ypserv-2.32/ypxfr/Makefile.am   2013-11-06 15:10:08.000000000 +0100
@@ -6,7 +6,7 @@
 localedir = $(datadir)/locale
 
 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DYPMAPDIR=\"@YPMAPDIR@\"
-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir) -I$(top_builddir) -I$(srcdir)
 
 CLEANFILES = *~
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to