commit ypbind for openSUSE:Factory

2020-08-29 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2020-08-29 20:44:57

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new.3399 (New)


Package is "ypbind"

Sat Aug 29 20:44:57 2020 rev:58 rq:830462 version:2.7.2

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2020-02-03 
11:12:49.805830126 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new.3399/ypbind.changes  2020-08-29 
20:45:05.129533689 +0200
@@ -1,0 +2,11 @@
+Sat Aug 29 10:07:34 UTC 2020 - Thorsten Kukuk 
+
+- Use /usr/etc/default and /etc/default instead of sysconfig
+- Cleanup ypbind-systemd-pre
+
+---
+Sat Aug 29 07:06:40 UTC 2020 - Thorsten Kukuk 
+
+- Use /usr/libexec in ypbind.service
+
+---

New:

  ypbind.default



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.EYH8lI/_old  2020-08-29 20:45:06.033534067 +0200
+++ /var/tmp/diff_new_pack.EYH8lI/_new  2020-08-29 20:45:06.037534068 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ypbind
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018, 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Source2:ypbind.service
 Source3:ypbind-systemd-pre
 Source4:ypbind.conf
+Source5:ypbind.default
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libnsl) >= 1.0.1
 BuildRequires:  pkgconfig(libsystemd)
@@ -33,7 +34,7 @@
 Requires:   libnss_nis2
 Requires:   rpcbind
 Requires:   yp-tools
-Requires(post): %fillup_prereq
+Requires(post): /usr/bin/grep
 
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
@@ -51,10 +52,9 @@
 make  %{?_smp_mflags}
 
 %install
-mkdir -p %{buildroot}%{_fillupdir}
 %make_install
-# Install rc.config add-on
-install -m 644 etc/sysconfig.ypbind %{buildroot}%{_fillupdir}
+# Install default/ypbind
+install -D -m 644 %{SOURCE5}  %{buildroot}%{_prefix}/etc/default/ypbind
 # Create dummy yp.conf
 mkdir -p %{buildroot}%{_sysconfdir}
 touch %{buildroot}%{_sysconfdir}/yp.conf
@@ -73,9 +73,13 @@
 %service_add_pre ypbind.service
 
 %post
-%{fillup_only -n ypbind}
 %service_add_post ypbind.service
 %tmpfiles_create ypbind.conf
+if [ -f /etc/sysconfig/ypbind ]; then
+# migrate variables from sysconfig to default
+grep ^YPBIND_OPTIONS= /etc/sysconfig/ypbind > /etc/default/ypbind
+mv /etc/sysconfig/ypbind /etc/sysconfig/ypbind.rpmsave
+fi
 
 %preun
 %service_del_preun ypbind.service
@@ -90,7 +94,7 @@
 %license COPYING
 %doc NEWS README
 %ghost %config(noreplace) %{_sysconfdir}/yp.conf
-%{_fillupdir}/sysconfig.ypbind
+%{_prefix}/etc/default/
 %{_mandir}/man5/yp.conf.5%{ext_man}
 %{_mandir}/man8/ypbind.8%{ext_man}
 %{_sbindir}/ypbind

++ ypbind-systemd-pre ++
--- /var/tmp/diff_new_pack.EYH8lI/_old  2020-08-29 20:45:06.077534085 +0200
+++ /var/tmp/diff_new_pack.EYH8lI/_new  2020-08-29 20:45:06.077534085 +0200
@@ -1,32 +1,27 @@
 #!/bin/sh
 #
-# ypbind-domain
+# Setup proper domainname before starting ypbind daemon
 #
-# description: This is part of former ypbind init script, which is used 
-#  to setup proper domainname before starting ypbind daemon 
-#  itself.
 
-mydomain=`domainname`
-if [ "$mydomain" = "(none)" -o "x$mydomain" = "x" ]; then
+mydomain=$(domainname)
+if [ "$mydomain" = "(none)" ] || [ "x$mydomain" = "x" ]; then
test -f /etc/defaultdomain && {
read DOMAINNAME < /etc/defaultdomain
}
 
if [ "x$DOMAINNAME" != 'x' ]; then
-   echo "$DOMAINNAME\n"
-   domainname $DOMAINNAME
+   domainname "$DOMAINNAME"
else
-   echo "\nError: NIS domain not specified.\n"
+   echo "ERROR: NIS domain not specified." >&2
exit 1
fi
 fi
 
 ## If we don't have a yp.conf file, skip starting of
 ## ypbind and return with "program not configured"
-## if you add the -broadcast Option later, comment this out.
-if [ ! -f /etc/yp.conf -a ! -f /run/netconfig/yp.conf -a "$YPBIND_BROADCAST" 
!= "yes" ] ; then
+if [ ! -f /etc/yp.conf ] && [ ! -f /run/netconfig/yp.conf ] ; then
 # Tell the user this has skipped
-  echo -n " . . . . . . . . . . ${attn}yp.conf not found${norm}"
+  echo " ERROR: yp.conf not found" >&2
   exit 1
 fi
 

++ ypbind.default ++
# To overwrite variables, create a file /etc/default/ypbind with the 
# variables which should be changed.

# Extra optio

commit ypbind for openSUSE:Factory

2020-02-03 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2020-02-03 11:12:35

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new.26092 (New)


Package is "ypbind"

Mon Feb  3 11:12:35 2020 rev:57 rq:769012 version:2.7.2

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2019-07-30 
12:39:32.378932239 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new.26092/ypbind.changes 2020-02-03 
11:12:49.805830126 +0100
@@ -1,0 +2,18 @@
+Fri Jan 31 09:50:26 UTC 2020 - Thorsten Kukuk 
+
+- Update to version 2.7.2
+  - change /run/yp.conf to /run/netconfig/yp.conf
+
+---
+Thu Jan 30 08:25:34 UTC 2020 - Thorsten Kukuk 
+
+- ypbind-systemd-pre: fix path of second yp.conf
+
+---
+Wed Jan 29 12:18:32 UTC 2020 - Thorsten Kukuk 
+
+- Update to version 2.7.1
+  - try /run/yp.conf if /etc/yp.conf does not exist
+  - strip down /etc/sysconfig/ypbind to a generic option list only
+
+---

Old:

  ypbind-mt-2.6.1.tar.xz
  ypbind-systemd-exec
  ypbind-systemd-post

New:

  ypbind-mt-2.7.2.tar.xz



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.wLRf33/_old  2020-02-03 11:12:50.449830452 +0100
+++ /var/tmp/diff_new_pack.wLRf33/_new  2020-02-03 11:12:50.453830453 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:   ypbind
-Version:2.6.1
+Version:2.7.2
 Release:0
 Summary:NIS client daemon
 License:GPL-2.0-only
@@ -25,9 +25,7 @@
 Source: %{name}-mt-%{version}.tar.xz
 Source2:ypbind.service
 Source3:ypbind-systemd-pre
-Source4:ypbind-systemd-post
-Source5:ypbind-systemd-exec
-Source6:ypbind.conf
+Source4:ypbind.conf
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libnsl) >= 1.0.1
 BuildRequires:  pkgconfig(libsystemd)
@@ -66,12 +64,10 @@
 install -D -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/ypbind.service
 mkdir -p %{buildroot}%{_libexecdir}/ypbind
 install -m 755 %{SOURCE3} %{buildroot}%{_libexecdir}/ypbind/ypbind-systemd-pre
-install -m 755 %{SOURCE4} %{buildroot}%{_libexecdir}/ypbind/ypbind-systemd-post
-install -m 755 %{SOURCE5} %{buildroot}%{_libexecdir}/ypbind/ypbind-systemd-exec
 # create symlink for rcypbind
 ln -s /sbin/service %{buildroot}%{_sbindir}/rcypbind
 mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
-install -m 644 %{SOURCE6} %{buildroot}%{_prefix}/lib/tmpfiles.d/
+install -m 644 %{SOURCE4} %{buildroot}%{_prefix}/lib/tmpfiles.d/
 
 %pre
 %service_add_pre ypbind.service

++ ypbind-mt-2.6.1.tar.xz -> ypbind-mt-2.7.2.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-2.6.1/NEWS new/ypbind-mt-2.7.2/NEWS
--- old/ypbind-mt-2.6.1/NEWS2019-07-30 09:15:03.0 +0200
+++ new/ypbind-mt-2.7.2/NEWS2020-01-31 09:42:49.0 +0100
@@ -1,11 +1,20 @@
 ypbind-mt NEWS -- history of user-visible changes.
 
-Copyright (C) 1998-2019 Thorsten Kukuk
+Copyright (C) 1998-2020 Thorsten Kukuk
 
 Please send bug reports, questions and suggestions to .
 
+Version 2.7.2
+* Use /run/netconfig/yp.conf
+
+Version 2.7.1
+* Strip down /etc/sysconfig/ypbind
+
+Version 2.7.0
+* Try /run/yp.conf if /etc/yp.conf does not exist
+
 Version 2.6.1
-* Check if libc already provides gettid().
+* Check if libc already provides gettid()
 
 Version 2.6
 * Fix crash of ypbind on reload
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-2.6.1/configure 
new/ypbind-mt-2.7.2/configure
--- old/ypbind-mt-2.6.1/configure   2019-07-30 09:15:09.0 +0200
+++ new/ypbind-mt-2.7.2/configure   2020-01-31 09:43:02.0 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ypbind-mt 2.6.1.
+# Generated by GNU Autoconf 2.69 for ypbind-mt 2.7.2.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
 # Identity of this package.
 PACKAGE_NAME='ypbind-mt'
 PACKAGE_TARNAME='ypbind-mt'
-PACKAGE_VERSION='2.6.1'
-PACKAGE_STRING='ypbind-mt 2.6.1'
+PACKAGE_VERSION='2.7.2'
+PACKAGE_STRING='ypbind-mt 2.7.2'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1323,7 +1323,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 ypbind-mt 2.6.1 to adapt to many kinds of systems.
+\`configure' configures ypbind-mt 2.7.2 to adapt to many k

commit ypbind for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2019-07-30 12:39:31

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new.4126 (New)


Package is "ypbind"

Tue Jul 30 12:39:31 2019 rev:56 rq:719774 version:2.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2019-07-26 
17:34:58.668072723 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new.4126/ypbind.changes  2019-07-30 
12:39:32.378932239 +0200
@@ -1,0 +2,6 @@
+Tue Jul 30 07:58:23 UTC 2019 - Thorsten Kukuk 
+
+- Update to version 2.6.1
+  - check if libc provides already gettid()
+
+---

Old:

  ypbind-mt-2.6.tar.xz

New:

  ypbind-mt-2.6.1.tar.xz



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.2Miig9/_old  2019-07-30 12:39:35.806931669 +0200
+++ /var/tmp/diff_new_pack.2Miig9/_new  2019-07-30 12:39:35.806931669 +0200
@@ -15,21 +15,8 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-%if ! %{defined _fillupdir}
-  %define _fillupdir %{_localstatedir}/adm/fillup-templates
-%endif
-
-%define tmpfiles_remove() \
-if [ $1 -eq 0 ]; then \
-   [ -z "${TRANSACTIONAL_UPDATE}" -a -x /usr/bin/systemd-tmpfiles ] && \
-/usr/bin/systemd-tmpfiles --remove %{?*} || : \
-fi \
-%{nil}
-
-
 Name:   ypbind
-Version:2.6
+Version:2.6.1
 Release:0
 Summary:NIS client daemon
 License:GPL-2.0-only
@@ -96,7 +83,6 @@
 
 %preun
 %service_del_preun ypbind.service
-%tmpfiles_remove ypbind.conf
 
 %postun
 %service_del_postun ypbind.service

++ ypbind-mt-2.6.tar.xz -> ypbind-mt-2.6.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-2.6/NEWS new/ypbind-mt-2.6.1/NEWS
--- old/ypbind-mt-2.6/NEWS  2019-01-22 12:47:53.0 +0100
+++ new/ypbind-mt-2.6.1/NEWS2019-07-30 09:15:03.0 +0200
@@ -4,6 +4,9 @@
 
 Please send bug reports, questions and suggestions to .
 
+Version 2.6.1
+* Check if libc already provides gettid().
+
 Version 2.6
 * Fix crash of ypbind on reload
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-2.6/config.h.in 
new/ypbind-mt-2.6.1/config.h.in
--- old/ypbind-mt-2.6/config.h.in   2019-01-22 12:46:34.0 +0100
+++ new/ypbind-mt-2.6.1/config.h.in 2019-07-30 09:15:10.0 +0200
@@ -19,6 +19,9 @@
 /* Define if the GNU gettext() function is already present or preinstalled. */
 #undef HAVE_GETTEXT
 
+/* Define to 1 if gettid() is available */
+#undef HAVE_GETTID
+
 /* Define if you have the iconv() function and it works. */
 #undef HAVE_ICONV
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-2.6/configure new/ypbind-mt-2.6.1/configure
--- old/ypbind-mt-2.6/configure 2019-01-22 12:46:36.0 +0100
+++ new/ypbind-mt-2.6.1/configure   2019-07-30 09:15:09.0 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ypbind-mt 2.6.
+# Generated by GNU Autoconf 2.69 for ypbind-mt 2.6.1.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
 # Identity of this package.
 PACKAGE_NAME='ypbind-mt'
 PACKAGE_TARNAME='ypbind-mt'
-PACKAGE_VERSION='2.6'
-PACKAGE_STRING='ypbind-mt 2.6'
+PACKAGE_VERSION='2.6.1'
+PACKAGE_STRING='ypbind-mt 2.6.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1323,7 +1323,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 ypbind-mt 2.6 to adapt to many kinds of systems.
+\`configure' configures ypbind-mt 2.6.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1393,7 +1393,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
- short | recursive ) echo "Configuration of ypbind-mt 2.6:";;
+ short | recursive ) echo "Configuration of ypbind-mt 2.6.1:";;
esac
   cat <<\_ACEOF
 
@@ -1511,7 +1511,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-ypbind-mt configure 2.6
+ypbind-mt configure 2.6.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1876,7 +1876,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by ypbind-mt $as_me 2.6, which was
+It was created by ypbind-mt $as_me 2.6.1, which was
 generated by GNU 

commit ypbind for openSUSE:Factory

2019-07-26 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2019-07-26 17:34:54

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new.4126 (New)


Package is "ypbind"

Fri Jul 26 17:34:54 2019 rev:55 rq:718889 version:2.6

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2019-03-26 
15:46:05.380062365 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new.4126/ypbind.changes  2019-07-26 
17:34:58.668072723 +0200
@@ -1,0 +2,8 @@
+Fri Jul 26 12:53:18 UTC 2019 - matthias.gerst...@suse.com
+
+- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
+  firewalld, see [1].
+
+  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html
+
+---

Old:

  SuSEfirewall.ypbind



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.b14VCu/_old  2019-07-26 17:34:59.692072368 +0200
+++ /var/tmp/diff_new_pack.b14VCu/_new  2019-07-26 17:34:59.696072366 +0200
@@ -36,7 +36,6 @@
 Group:  Productivity/Networking/NIS
 URL:https://github.com/thkukuk/ypbind-mt/
 Source: %{name}-mt-%{version}.tar.xz
-Source1:SuSEfirewall.ypbind
 Source2:ypbind.service
 Source3:ypbind-systemd-pre
 Source4:ypbind-systemd-post
@@ -67,14 +66,12 @@
 make  %{?_smp_mflags}
 
 %install
-mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
 mkdir -p %{buildroot}%{_fillupdir}
 %make_install
-# Install SuSEfirewall2 service file
-install -m 644 %{SOURCE1} 
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
 # Install rc.config add-on
 install -m 644 etc/sysconfig.ypbind %{buildroot}%{_fillupdir}
 # Create dummy yp.conf
+mkdir -p %{buildroot}%{_sysconfdir}
 touch %{buildroot}%{_sysconfdir}/yp.conf
 # Create filelist with translatins
 %find_lang ypbind-mt
@@ -111,7 +108,6 @@
 %license COPYING
 %doc NEWS README
 %ghost %config(noreplace) %{_sysconfdir}/yp.conf
-%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
 %{_fillupdir}/sysconfig.ypbind
 %{_mandir}/man5/yp.conf.5%{ext_man}
 %{_mandir}/man8/ypbind.8%{ext_man}




commit ypbind for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2019-03-26 15:46:02

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new.25356 (New)


Package is "ypbind"

Tue Mar 26 15:46:02 2019 rev:54 rq:688687 version:2.6

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2019-01-24 
14:13:29.807356807 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new.25356/ypbind.changes 2019-03-26 
15:46:05.380062365 +0100
@@ -1,0 +2,18 @@
+Mon Mar 25 09:54:46 UTC 2019 - lnus...@suse.de
+
+- ypbind needs yp.conf to be present. So wait for network to be
+  online in case it's created by DHCP (boo#1129587)
+
+---
+Fri Feb 22 07:38:04 UTC 2019 - Franck Bui 
+
+- Drop use of $FIRST_ARG in .spec
+
+  The use of $FIRST_ARG was probably required because of the
+  %service_* rpm macros were playing tricks with the shell positional
+  parameters. This is bad practice and error prones so let's assume
+  that no macros should do that anymore and hence it's safe to assume
+  that positional parameters remains unchanged after any rpm macro
+  call.
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.6i7ubN/_old  2019-03-26 15:46:06.516061789 +0100
+++ /var/tmp/diff_new_pack.6i7ubN/_new  2019-03-26 15:46:06.520061787 +0100
@@ -21,8 +21,7 @@
 %endif
 
 %define tmpfiles_remove() \
-test -n "$FIRST_ARG" || FIRST_ARG="$1" \
-if [ "$FIRST_ARG" -eq 0 ]; then \
+if [ $1 -eq 0 ]; then \
[ -z "${TRANSACTIONAL_UPDATE}" -a -x /usr/bin/systemd-tmpfiles ] && \
 /usr/bin/systemd-tmpfiles --remove %{?*} || : \
 fi \

++ ypbind.service ++
--- /var/tmp/diff_new_pack.6i7ubN/_old  2019-03-26 15:46:06.592061750 +0100
+++ /var/tmp/diff_new_pack.6i7ubN/_new  2019-03-26 15:46:06.596061748 +0100
@@ -2,8 +2,8 @@
 Description=NIS/YP Clients to NIS Domain Binder
 Documentation=man:ypbind(8)
 Requires=rpcbind.service
-Wants=nss-user-lookup.target
-After=network.target rpcbind.service ypserv.service nss-lookup.target
+Wants=nss-user-lookup.target network-online.target
+After=network.target rpcbind.service ypserv.service nss-lookup.target 
network-online.target
 Before=systemd-user-sessions.service nss-user-lookup.target
 
 [Service]




commit ypbind for openSUSE:Factory

2019-01-24 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2019-01-24 14:13:28

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new.28833 (New)


Package is "ypbind"

Thu Jan 24 14:13:28 2019 rev:53 rq:667779 version:2.6

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2018-06-22 
13:29:14.012289339 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new.28833/ypbind.changes 2019-01-24 
14:13:29.807356807 +0100
@@ -1,0 +2,6 @@
+Tue Jan 22 12:49:08 CET 2019 - ku...@suse.de
+
+- Update to version 2.6
+  - fix crash on reload [bsc#1114640]
+
+---

Old:

  ypbind-mt-2.5.tar.xz

New:

  ypbind-mt-2.6.tar.xz



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.2hCTCZ/_old  2019-01-24 14:13:30.419356101 +0100
+++ /var/tmp/diff_new_pack.2hCTCZ/_new  2019-01-24 14:13:30.427356091 +0100
@@ -19,8 +19,18 @@
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
+
+%define tmpfiles_remove() \
+test -n "$FIRST_ARG" || FIRST_ARG="$1" \
+if [ "$FIRST_ARG" -eq 0 ]; then \
+   [ -z "${TRANSACTIONAL_UPDATE}" -a -x /usr/bin/systemd-tmpfiles ] && \
+/usr/bin/systemd-tmpfiles --remove %{?*} || : \
+fi \
+%{nil}
+
+
 Name:   ypbind
-Version:2.5
+Version:2.6
 Release:0
 Summary:NIS client daemon
 License:GPL-2.0-only
@@ -90,6 +100,7 @@
 
 %preun
 %service_del_preun ypbind.service
+%tmpfiles_remove ypbind.conf
 
 %postun
 %service_del_postun ypbind.service

++ ypbind-mt-2.5.tar.xz -> ypbind-mt-2.6.tar.xz ++
 3341 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/ypbind-mt-2.5/NEWS new/ypbind-mt-2.6/NEWS
--- old/ypbind-mt-2.5/NEWS  2018-06-04 12:02:43.0 +0200
+++ new/ypbind-mt-2.6/NEWS  2019-01-22 12:47:53.0 +0100
@@ -1,9 +1,12 @@
 ypbind-mt NEWS -- history of user-visible changes.
 
-Copyright (C) 1998-2018 Thorsten Kukuk
+Copyright (C) 1998-2019 Thorsten Kukuk
 
 Please send bug reports, questions and suggestions to .
 
+Version 2.6
+* Fix crash of ypbind on reload
+
 Version 2.5
 * Enhance yp.conf documentation about resolving hostnames
 
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/ypbind-mt-2.5/compile new/ypbind-mt-2.6/compile
--- old/ypbind-mt-2.5/compile   2018-06-04 12:02:52.0 +0200
+++ new/ypbind-mt-2.6/compile   2019-01-22 12:46:34.0 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2016-01-11.22; # UTC
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2017 Free Software Foundation, Inc.
 # Written by Tom Tromey .
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see .
+# along with this program.  If not, see .
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -340,7 +340,7 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'before-save-hook 'time-stamp)
+# eval: (add-hook 'write-file-hooks 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC0"
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/ypbind-mt-2.5/configure.ac new/ypbind-mt-2.6/configure.ac
--- old/ypbind-mt-2.5/configure.ac  2018-06-04 12:02:43.0 +0200
+++ new/ypbind-mt-2.6/configure.ac  2019-01-22 12:46:30.0 +0100
@@ -1,5 +1,5 @@
 dnl Process this file with autocon

commit ypbind for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2018-06-22 13:29:13

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Fri Jun 22 13:29:13 2018 rev:52 rq:613994 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2018-02-23 
15:32:13.761251987 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2018-06-22 
13:29:14.012289339 +0200
@@ -1,0 +2,6 @@
+Mon Jun  4 15:46:10 CEST 2018 - ku...@suse.de
+
+- Update to version 2.5
+  - enhance yp.conf manual page
+
+---

Old:

  ypbind-mt-2.4.tar.bz2

New:

  ypbind-mt-2.5.tar.xz



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.8aKVbr/_old  2018-06-22 13:29:14.744262286 +0200
+++ /var/tmp/diff_new_pack.8aKVbr/_new  2018-06-22 13:29:14.748262138 +0200
@@ -20,13 +20,13 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 Name:   ypbind
-Version:2.4
+Version:2.5
 Release:0
 Summary:NIS client daemon
 License:GPL-2.0-only
 Group:  Productivity/Networking/NIS
-URL:http://www.linux-nis.org/nis/ypbind-mt
-Source: 
http://www.linux-nis.org/download/%{name}-mt/%{name}-mt-%{version}.tar.bz2
+URL:https://github.com/thkukuk/ypbind-mt/
+Source: %{name}-mt-%{version}.tar.xz
 Source1:SuSEfirewall.ypbind
 Source2:ypbind.service
 Source3:ypbind-systemd-pre




commit ypbind for openSUSE:Factory

2018-02-23 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2018-02-23 15:31:49

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Fri Feb 23 15:31:49 2018 rev:51 rq:579486 version:2.4

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2017-11-30 
12:32:59.632965149 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2018-02-23 
15:32:13.761251987 +0100
@@ -1,0 +2,5 @@
+Fri Feb 23 10:35:22 UTC 2018 - ku...@suse.com
+
+- Use %license instead of %doc [bsc#1082318]
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.LFR8et/_old  2018-02-23 15:32:15.233198803 +0100
+++ /var/tmp/diff_new_pack.LFR8et/_new  2018-02-23 15:32:15.237198658 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ypbind
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,14 @@
 #
 
 
+%if ! %{defined _fillupdir}
+  %define _fillupdir %{_localstatedir}/adm/fillup-templates
+%endif
 Name:   ypbind
 Version:2.4
 Release:0
 Summary:NIS client daemon
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Productivity/Networking/NIS
 URL:http://www.linux-nis.org/nis/ypbind-mt
 Source: 
http://www.linux-nis.org/download/%{name}-mt/%{name}-mt-%{version}.tar.bz2
@@ -30,7 +33,7 @@
 Source4:ypbind-systemd-post
 Source5:ypbind-systemd-exec
 Source6:ypbind.conf
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libnsl) >= 1.0.1
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(libtirpc) >= 1.0.1
@@ -39,10 +42,6 @@
 Requires:   yp-tools
 Requires(post): %fillup_prereq
 
-%if ! %{defined _fillupdir}
-  %define _fillupdir /var/adm/fillup-templates
-%endif
-
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
 clients to an NIS domain and searches a new NIS server if the old one
@@ -99,7 +98,8 @@
 fi
 
 %files -f ypbind-mt.lang
-%doc NEWS README COPYING
+%license COPYING
+%doc NEWS README
 %ghost %config(noreplace) %{_sysconfdir}/yp.conf
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
 %{_fillupdir}/sysconfig.ypbind




commit ypbind for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2017-11-30 12:32:58

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Thu Nov 30 12:32:58 2017 rev:50 rq:544368 version:2.4

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2017-11-14 
14:07:09.889628735 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2017-11-30 
12:32:59.632965149 +0100
@@ -1,0 +2,6 @@
+Wed Nov 22 11:11:48 CET 2017 - ku...@suse.de
+
+- Prepare for new fillup location
+- Remove check for transactional-update, done in systemd macros now
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.P8ecL4/_old  2017-11-30 12:33:00.540932132 +0100
+++ /var/tmp/diff_new_pack.P8ecL4/_new  2017-11-30 12:33:00.544931986 +0100
@@ -39,6 +39,10 @@
 Requires:   yp-tools
 Requires(post): %fillup_prereq
 
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
 clients to an NIS domain and searches a new NIS server if the old one
@@ -56,12 +60,12 @@
 
 %install
 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
-mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
+mkdir -p %{buildroot}%{_fillupdir}
 %make_install
 # Install SuSEfirewall2 service file
 install -m 644 %{SOURCE1} 
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
 # Install rc.config add-on
-install -m 644 etc/sysconfig.ypbind 
%{buildroot}%{_localstatedir}/adm/fillup-templates/
+install -m 644 etc/sysconfig.ypbind %{buildroot}%{_fillupdir}
 # Create dummy yp.conf
 touch %{buildroot}%{_sysconfdir}/yp.conf
 # Create filelist with translatins
@@ -83,9 +87,7 @@
 %post
 %{fillup_only -n ypbind}
 %service_add_post ypbind.service
-if [ -z ${TRANSACTIONAL_UPDATE} ]; then
-  %tmpfiles_create ypbind.conf
-fi
+%tmpfiles_create ypbind.conf
 
 %preun
 %service_del_preun ypbind.service
@@ -100,7 +102,7 @@
 %doc NEWS README COPYING
 %ghost %config(noreplace) %{_sysconfdir}/yp.conf
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
-%{_localstatedir}/adm/fillup-templates/sysconfig.ypbind
+%{_fillupdir}/sysconfig.ypbind
 %{_mandir}/man5/yp.conf.5%{ext_man}
 %{_mandir}/man8/ypbind.8%{ext_man}
 %{_sbindir}/ypbind




commit ypbind for openSUSE:Factory

2017-11-14 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2017-11-14 14:06:57

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Tue Nov 14 14:06:57 2017 rev:49 rq:539862 version:2.4

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2017-10-13 
14:07:21.695250991 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2017-11-14 
14:07:09.889628735 +0100
@@ -1,0 +2,11 @@
+Wed Nov  8 13:49:37 CET 2017 - ku...@suse.de
+
+- Fix cleanup of /var/yp/binding dirctory on de-installation
+
+---
+Wed Nov  8 09:50:42 CET 2017 - ku...@suse.de
+
+- Use tmpfiles.d for /var/yp hierachy in preparation of read-only
+  root filesystem and transactional-updates
+
+---

New:

  ypbind.conf



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.xKpYL0/_old  2017-11-14 14:07:11.561567762 +0100
+++ /var/tmp/diff_new_pack.xKpYL0/_new  2017-11-14 14:07:11.561567762 +0100
@@ -22,26 +22,22 @@
 Summary:NIS client daemon
 License:GPL-2.0
 Group:  Productivity/Networking/NIS
-Url:http://www.linux-nis.org/nis/ypbind-mt
+URL:http://www.linux-nis.org/nis/ypbind-mt
 Source: 
http://www.linux-nis.org/download/%{name}-mt/%{name}-mt-%{version}.tar.bz2
 Source1:SuSEfirewall.ypbind
 Source2:ypbind.service
 Source3:ypbind-systemd-pre
 Source4:ypbind-systemd-post
 Source5:ypbind-systemd-exec
-BuildRequires:  pkgconfig
-Requires:   rpcbind
-Requires:   yp-tools
-Requires:   libnss_nis2
-Requires(pre):  %fillup_prereq
-%if 0%{?suse_version} >= 1310
+Source6:ypbind.conf
+BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(libnsl) >= 1.0.1
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(libtirpc) >= 1.0.1
-%else
-BuildRequires:  libnsl-devel >= 1.0.1
-BuildRequires:  libtirpc-devel >= 1.0.1
-%endif
+Requires:   libnss_nis2
+Requires:   rpcbind
+Requires:   yp-tools
+Requires(post): %fillup_prereq
 
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
@@ -61,7 +57,6 @@
 %install
 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
 mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
-mkdir -p %{buildroot}%{_localstatedir}/yp/binding
 %make_install
 # Install SuSEfirewall2 service file
 install -m 644 %{SOURCE1} 
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
@@ -79,6 +74,8 @@
 install -m 755 %{SOURCE5} %{buildroot}%{_libexecdir}/ypbind/ypbind-systemd-exec
 # create symlink for rcypbind
 ln -s /sbin/service %{buildroot}%{_sbindir}/rcypbind
+mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
+install -m 644 %{SOURCE6} %{buildroot}%{_prefix}/lib/tmpfiles.d/
 
 %pre
 %service_add_pre ypbind.service
@@ -86,18 +83,20 @@
 %post
 %{fillup_only -n ypbind}
 %service_add_post ypbind.service
+if [ -z ${TRANSACTIONAL_UPDATE} ]; then
+  %tmpfiles_create ypbind.conf
+fi
 
 %preun
 %service_del_preun ypbind.service
-if [ "$1" = "0" ]; then
-   test -d %{_localstatedir}/yp/binding && rm -f %{_localstatedir}/yp/binding/*
-fi
 
 %postun
 %service_del_postun ypbind.service
+if [ "$1" = "0" ]; then
+   test -d %{_localstatedir}/yp/binding && rm -rf %{_localstatedir}/yp/binding 
||:
+fi
 
 %files -f ypbind-mt.lang
-%defattr(-,root,root)
 %doc NEWS README COPYING
 %ghost %config(noreplace) %{_sysconfdir}/yp.conf
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
@@ -106,14 +105,9 @@
 %{_mandir}/man8/ypbind.8%{ext_man}
 %{_sbindir}/ypbind
 %{_sbindir}/rcypbind
-%dir %{_localstatedir}/yp
-%dir %{_localstatedir}/yp/binding
-%if 0%{?suse_version} >= 1310
 %{_unitdir}/ypbind.service
 %dir %{_libexecdir}/ypbind
 %{_libexecdir}/ypbind/*
-%else
-%config %{_initddir}/ypbind
-%endif
+%{_prefix}/lib/tmpfiles.d/ypbind.conf
 
 %changelog

++ ypbind.conf ++
d /var/yp 0755 - - -
d /var/yp/binding 0755 - - -



commit ypbind for openSUSE:Factory

2017-10-13 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2017-10-13 14:07:20

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Fri Oct 13 14:07:20 2017 rev:48 rq:532671 version:2.4

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2017-08-21 
11:34:05.887021275 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2017-10-13 
14:07:21.695250991 +0200
@@ -1,0 +2,5 @@
+Fri Oct  6 12:50:08 CEST 2017 - ku...@suse.de
+
+- Require libnss_nis2, else NIS accounts are never visible
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.5Uj29d/_old  2017-10-13 14:07:22.271225662 +0200
+++ /var/tmp/diff_new_pack.5Uj29d/_new  2017-10-13 14:07:22.271225662 +0200
@@ -32,6 +32,7 @@
 BuildRequires:  pkgconfig
 Requires:   rpcbind
 Requires:   yp-tools
+Requires:   libnss_nis2
 Requires(pre):  %fillup_prereq
 %if 0%{?suse_version} >= 1310
 BuildRequires:  pkgconfig(libnsl) >= 1.0.1




commit ypbind for openSUSE:Factory

2017-08-21 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2017-08-21 11:34:02

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Mon Aug 21 11:34:02 2017 rev:47 rq:515846 version:2.4

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2017-02-22 
13:46:28.676586965 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2017-08-21 
11:34:05.887021275 +0200
@@ -1,0 +2,5 @@
+Thu Aug 10 10:01:49 CEST 2017 - ku...@suse.de
+
+- Adjust list of to be installed docu files
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.ioE5fM/_old  2017-08-21 11:34:07.794752979 +0200
+++ /var/tmp/diff_new_pack.ioE5fM/_new  2017-08-21 11:34:07.798752416 +0200
@@ -97,7 +97,7 @@
 
 %files -f ypbind-mt.lang
 %defattr(-,root,root)
-%doc AUTHORS NEWS README THANKS
+%doc NEWS README COPYING
 %ghost %config(noreplace) %{_sysconfdir}/yp.conf
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
 %{_localstatedir}/adm/fillup-templates/sysconfig.ypbind




commit ypbind for openSUSE:Factory

2017-02-22 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2017-02-22 13:46:27

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2017-02-11 
01:32:29.358622136 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2017-02-22 
13:46:28.676586965 +0100
@@ -1,0 +2,9 @@
+Mon Feb 20 20:18:09 UTC 2017 - mplus...@suse.com
+
+- Some packaging cleanup:
+  * Use macro for configure and make install
+  * Build in parallel
+  * Drop no longer needed buildroot
+  * Run spec-cleaner
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.MPYFVH/_old  2017-02-22 13:46:29.184514635 +0100
+++ /var/tmp/diff_new_pack.MPYFVH/_new  2017-02-22 13:46:29.188514065 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ypbind
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,31 +17,30 @@
 
 
 Name:   ypbind
-PreReq: %fillup_prereq
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Version:2.4
 Release:0
-Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
 License:GPL-2.0
 Group:  Productivity/Networking/NIS
+Url:http://www.linux-nis.org/nis/ypbind-mt
+Source: 
http://www.linux-nis.org/download/%{name}-mt/%{name}-mt-%{version}.tar.bz2
+Source1:SuSEfirewall.ypbind
+Source2:ypbind.service
+Source3:ypbind-systemd-pre
+Source4:ypbind-systemd-post
+Source5:ypbind-systemd-exec
 BuildRequires:  pkgconfig
-%if %{suse_version} >= 1310
+Requires:   rpcbind
+Requires:   yp-tools
+Requires(pre):  %fillup_prereq
+%if 0%{?suse_version} >= 1310
+BuildRequires:  pkgconfig(libnsl) >= 1.0.1
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(libtirpc) >= 1.0.1
-BuildRequires:  pkgconfig(libnsl) >= 1.0.1
 %else
+BuildRequires:  libnsl-devel >= 1.0.1
 BuildRequires:  libtirpc-devel >= 1.0.1
-BuildRequires:  libnsl-devel => 1.0.1
 %endif
-Requires:   rpcbind
-Requires:   yp-tools
-Source: 
http://www.linux-nis.org/download/%name-mt/%name-mt-%version.tar.bz2
-Source1:SuSEfirewall.ypbind
-Source2:ypbind.service
-Source3:ypbind-systemd-pre
-Source4:ypbind-systemd-post
-Source5:ypbind-systemd-exec
 
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
@@ -55,31 +54,30 @@
 %setup -q -n ypbind-mt-%{version}
 
 %build
-export CFLAGS=$RPM_OPT_FLAGS
-./configure --mandir=%{_mandir} --prefix=%{_prefix} --disable-dbus-nm
-make
+%configure --disable-dbus-nm
+make  %{?_smp_mflags}
 
 %install
-mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services
-mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
-mkdir -p $RPM_BUILD_ROOT/var/yp/binding
-make install DESTDIR=$RPM_BUILD_ROOT
+mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
+mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
+mkdir -p %{buildroot}%{_localstatedir}/yp/binding
+%make_install
 # Install SuSEfirewall2 service file
-install -m 644 %SOURCE1 
$RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/ypbind
+install -m 644 %{SOURCE1} 
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ypbind
 # Install rc.config add-on
-install -m 644 etc/sysconfig.ypbind $RPM_BUILD_ROOT/var/adm/fillup-templates/
+install -m 644 etc/sysconfig.ypbind 
%{buildroot}%{_localstatedir}/adm/fillup-templates/
 # Create dummy yp.conf
-touch $RPM_BUILD_ROOT/etc/yp.conf
+touch %{buildroot}%{_sysconfdir}/yp.conf
 # Create filelist with translatins
-%{find_lang} ypbind-mt
+%find_lang ypbind-mt
 # Install systemd stuff
-install -D -m 644 %SOURCE2 %{buildroot}%{_unitdir}/ypbind.service
-mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/ypbind
-install -m 755 %SOURCE3 $RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-pre
-install -m 755 %SOURCE4 
$RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-post
-install -m 755 %SOURCE5 
$RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-exec
+install -D -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/ypbind.service
+mkdir -p %{buildroot}%{_libexecdir}/ypbind
+install -m 755 %{SOURCE3} %{buildroot}%{_libexecdir}/ypbind/ypbind-systemd-pre
+install -m 755 %{SOURCE4} %{buildroot}%{_libexecdir}/ypbind/ypbind-systemd-post
+install -m 755 %{SOURCE5} %{build

commit ypbind for openSUSE:Factory

2017-02-10 Thread root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2017-02-11 01:32:27

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2016-07-21 
07:53:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2017-02-11 
01:32:29.358622136 +0100
@@ -1,0 +2,5 @@
+Wed Feb  8 09:02:58 CET 2017 - ku...@suse.de
+
+- Remove wrong insserv requires and support for old init scripts
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.nkbSzm/_old  2017-02-11 01:32:30.850411598 +0100
+++ /var/tmp/diff_new_pack.nkbSzm/_new  2017-02-11 01:32:30.850411598 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   ypbind
-PreReq: %insserv_prereq %fillup_prereq
+PreReq: %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Version:2.4
 Release:0
@@ -72,7 +72,6 @@
 touch $RPM_BUILD_ROOT/etc/yp.conf
 # Create filelist with translatins
 %{find_lang} ypbind-mt
-%if %{suse_version} >= 1310
 # Install systemd stuff
 install -D -m 644 %SOURCE2 %{buildroot}%{_unitdir}/ypbind.service
 mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/ypbind
@@ -81,13 +80,7 @@
 install -m 755 %SOURCE5 
$RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-exec
 # create symlink for rcypbind
 ln -s /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcypbind
-%else
-mkdir -p $RPM_BUILD_ROOT/etc/init.d
-install -m 755 etc/ypbind.init $RPM_BUILD_ROOT/etc/init.d/ypbind
-ln -sf /etc/init.d/ypbind $RPM_BUILD_ROOT/usr/sbin/rcypbind
-%endif
 
-%if %{suse_version} >= 1310
 %pre
 %service_add_pre ypbind.service
 
@@ -103,22 +96,7 @@
 
 %postun
 %service_del_postun ypbind.service
-%else
-%post
-%{fillup_and_insserv ypbind}
 
-%preun
-%stop_on_removal ypbind
-if [ "$1" = "0" ]; then
-   rm -f var/yp/binding/*
-fi
-exit 0
-
-%postun
-%restart_on_update ypbind
-%insserv_cleanup
-exit 0
-%endif
 
 %files -f ypbind-mt.lang
 %defattr(-,root,root)




commit ypbind for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2016-07-21 07:53:36

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2016-07-07 
15:08:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2016-07-21 
07:53:38.0 +0200
@@ -1,0 +2,8 @@
+Wed Jul  6 07:04:29 UTC 2016 - f...@suse.com
+
+- Replace pkgconfig(libsystemd-daemon) with pkgconfig(libsystemd)
+
+  Nowadays pkgconfig(libsystemd) replaces all libsystemd-* libs, which
+  are obsolete.
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.uHmIiY/_old  2016-07-21 07:53:39.0 +0200
+++ /var/tmp/diff_new_pack.uHmIiY/_new  2016-07-21 07:53:39.0 +0200
@@ -27,7 +27,7 @@
 Group:  Productivity/Networking/NIS
 BuildRequires:  pkgconfig
 %if %{suse_version} >= 1310
-BuildRequires:  pkgconfig(libsystemd-daemon)
+BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(libtirpc) >= 1.0.1
 BuildRequires:  pkgconfig(libnsl) >= 1.0.1
 %else




commit ypbind for openSUSE:Factory

2016-07-07 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2016-07-07 15:08:23

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2016-04-11 
10:27:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2016-07-07 
15:08:24.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 20 13:22:32 CEST 2016 - ku...@suse.de
+
+- Remove syslog.target from ypbind.service file [bsc#983938]
+
+---



Other differences:
--
++ ypbind.service ++
--- /var/tmp/diff_new_pack.H4nDYU/_old  2016-07-07 15:08:25.0 +0200
+++ /var/tmp/diff_new_pack.H4nDYU/_new  2016-07-07 15:08:25.0 +0200
@@ -3,7 +3,7 @@
 Documentation=man:ypbind(8)
 Requires=rpcbind.service
 Wants=nss-user-lookup.target
-After=syslog.target network.target rpcbind.service ypserv.service 
nss-lookup.target
+After=network.target rpcbind.service ypserv.service nss-lookup.target
 Before=systemd-user-sessions.service nss-user-lookup.target
 
 [Service]




commit ypbind for openSUSE:Factory

2016-04-11 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2016-04-11 10:27:15

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2015-04-28 
20:42:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2016-04-11 
10:27:16.0 +0200
@@ -1,0 +2,17 @@
+Wed Mar  2 15:15:26 CET 2016 - ku...@suse.de
+
+- Update to ypbind-2.4
+  - fix broadcast option
+
+---
+Fri Feb 26 15:36:42 CET 2016 - ku...@suse.de
+
+- Don't abort if no NIS server could be found in a defined time.
+
+---
+Mon Feb 15 14:20:06 CET 2016 - ku...@suse.de
+
+- Update to ypbind-2.3
+  - use libnsl/libtirpc instead of libnis
+
+---
@@ -14,6 +30,0 @@
-

-Mon Nov 17 01:39:00 UTC 2014 - Led 
-
-- fix bashism in ypbind-systemd-post script
-- fix using 'echo' command in ypbind-systemd-pre script

Old:

  ypbind-mt-2.2.tar.bz2

New:

  ypbind-mt-2.4.tar.bz2



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.Zu3kpS/_old  2016-04-11 10:27:17.0 +0200
+++ /var/tmp/diff_new_pack.Zu3kpS/_new  2016-04-11 10:27:17.0 +0200
@@ -19,7 +19,7 @@
 Name:   ypbind
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Version:2.2
+Version:2.4
 Release:0
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
@@ -27,14 +27,13 @@
 Group:  Productivity/Networking/NIS
 BuildRequires:  pkgconfig
 %if %{suse_version} >= 1310
-BuildRequires:  pkgconfig(libnis) >= 2.99.3
 BuildRequires:  pkgconfig(libsystemd-daemon)
-BuildRequires:  pkgconfig(libtirpc)
+BuildRequires:  pkgconfig(libtirpc) >= 1.0.1
+BuildRequires:  pkgconfig(libnsl) >= 1.0.1
 %else
-BuildRequires:  libnis-devel
-BuildRequires:  libtirpc-devel
+BuildRequires:  libtirpc-devel >= 1.0.1
+BuildRequires:  libnsl-devel => 1.0.1
 %endif
-#BuildRequires:  libxml2-tools
 Requires:   rpcbind
 Requires:   yp-tools
 Source: 
http://www.linux-nis.org/download/%name-mt/%name-mt-%version.tar.bz2

++ ypbind-mt-2.2.tar.bz2 -> ypbind-mt-2.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-2.2/ChangeLog new/ypbind-mt-2.4/ChangeLog
--- old/ypbind-mt-2.2/ChangeLog 2014-12-04 14:49:57.0 +0100
+++ new/ypbind-mt-2.4/ChangeLog 2016-03-02 15:11:00.0 +0100
@@ -1,3 +1,28 @@
+2016-03-02  Thorsten Kukuk  
+
+   * release version 2.4
+
+2016-02-26  Thorsten Kukuk  
+
+   * src/serv_list.c (convert_v3_to_respv2): Log informal message,
+   if we don't have an IPv4 address, but got a request for it.
+
+2016-02-23  Thorsten Kukuk  
+
+   * src/serv_list.c (eachresult): Make sure server_name is never NULL.
+
+2016-02-15  Thorsten Kukuk  
+
+   * release version 2.3
+
+   * lib/Makefile.am: Include ypbind3* sources and header file.
+   * src/serv_list.c: Include ypbind3_binding.h.
+   * src/ypbind_server.c: Likewise.
+   * lib/host2ypbind3_binding.c: New.
+   * lib/ypbind3_binding.h: New.
+   * lib/ypbind3_binding_dup.c: New.
+   * lib/ypbind3_binding_free.c: New.
+
 2014-12-04  Thorsten Kukuk  
 
* release version 2.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-2.2/Makefile.in 
new/ypbind-mt-2.4/Makefile.in
--- old/ypbind-mt-2.2/Makefile.in   2014-12-04 14:53:31.0 +0100
+++ new/ypbind-mt-2.4/Makefile.in   2016-03-02 15:10:33.0 +0100
@@ -243,8 +243,8 @@
 MSGFMT = @MSGFMT@
 MSGFMT_015 = @MSGFMT_015@
 MSGMERGE = @MSGMERGE@
-NIS_CFLAGS = @NIS_CFLAGS@
-NIS_LIBS = @NIS_LIBS@
+NSL_CFLAGS = @NSL_CFLAGS@
+NSL_LIBS = @NSL_LIBS@
 OBJEXT = @OBJEXT@
 PACKAGE = @PACKAGE@
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-2.2/NEWS new/ypbind-mt-2.4/NEWS
--- old/ypbind-mt-2.2/NEWS  2014-12-04 14:55:20.0 +0100
+++ new/ypbind-mt-2.4/NEWS  2016-03-02 15:10:15.0 +0100
@@ -1,9 +1,15 @@
 ypbind-mt NEWS -- history of user-visible changes.
 
-Copyright (C) 1998-2014 Thorsten Kukuk
+Copyright (C) 1998-2016 Thorsten Kukuk
 
 Please send bug reports, questions and suggestions to .
 
+Version 2.4
+* Fix broadcast for new NIS server
+
+Ver

commit ypbind for openSUSE:Factory

2015-04-28 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2015-04-28 20:42:08

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2014-12-16 
14:47:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2015-04-28 
20:42:09.0 +0200
@@ -1,0 +2,14 @@
+Thu Dec  4 14:57:22 CET 2014 - ku...@suse.de
+
+- Update to ypbind-2.2
+  - fix handling of not reacheable NIS server
+  - check that the port of the NIS server hasn't changed
+
+---
+Mon Dec  1 16:20:33 CET 2014 - ku...@suse.de
+
+- Update to ypbind-2.1
+  - remove references to obsolete dbus feature
+  - use shorter timeouts
+
+---

Old:

  ypbind-mt-2.0.tar.bz2

New:

  ypbind-mt-2.2.tar.bz2



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.8uqiZI/_old  2015-04-28 20:42:10.0 +0200
+++ /var/tmp/diff_new_pack.8uqiZI/_new  2015-04-28 20:42:10.0 +0200
@@ -19,7 +19,7 @@
 Name:   ypbind
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Version:2.0
+Version:2.2
 Release:0
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
@@ -69,7 +69,6 @@
 install -m 644 %SOURCE1 
$RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/ypbind
 # Install rc.config add-on
 install -m 644 etc/sysconfig.ypbind $RPM_BUILD_ROOT/var/adm/fillup-templates/
-# Install SuSEconfig.ypclient
 # Create dummy yp.conf
 touch $RPM_BUILD_ROOT/etc/yp.conf
 # Create filelist with translatins

++ ypbind-mt-2.0.tar.bz2 -> ypbind-mt-2.2.tar.bz2 ++
 2681 lines of diff (skipped)




commit ypbind for openSUSE:Factory

2014-12-16 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2014-12-16 14:47:41

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2014-11-29 
08:39:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2014-12-16 
14:47:08.0 +0100
@@ -1,0 +2,6 @@
+Mon Nov 17 01:39:00 UTC 2014 - Led 
+
+- fix bashism in ypbind-systemd-post script
+- fix using 'echo' command in ypbind-systemd-pre script
+
+---



Other differences:
--
++ ypbind-systemd-post ++
--- /var/tmp/diff_new_pack.ZoTsDM/_old  2014-12-16 14:47:11.0 +0100
+++ /var/tmp/diff_new_pack.ZoTsDM/_new  2014-12-16 14:47:11.0 +0100
@@ -12,7 +12,7 @@
 if [ "$YPBIND_DBUS" = "no" ]; then
notfound=1
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
-  ypwhich &>/dev/null && { notfound=0 ; break; };
+  ypwhich >/dev/null 2>&1 && { notfound=0 ; break; };
   echo -n " ."
   sleep 1;
done

++ ypbind-systemd-pre ++
--- /var/tmp/diff_new_pack.ZoTsDM/_old  2014-12-16 14:47:11.0 +0100
+++ /var/tmp/diff_new_pack.ZoTsDM/_new  2014-12-16 14:47:11.0 +0100
@@ -13,10 +13,13 @@
}
 
if [ "x$DOMAINNAME" != 'x' ]; then
-   echo "$DOMAINNAME\n"
+   echo "$DOMAINNAME"
+   echo
domainname $DOMAINNAME
else
-   echo "\nError: NIS domain not specified.\n"
+   echo
+   echo "Error: NIS domain not specified."
+   echo
exit 1
fi
 fi

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



commit ypbind for openSUSE:Factory

2014-11-28 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2014-11-29 08:39:37

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2014-10-25 
08:32:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2014-11-29 
08:39:42.0 +0100
@@ -1,0 +2,37 @@
+Mon Nov  3 10:33:55 CET 2014 - ku...@suse.de
+
+- Update to ypbind-2.0
+  - final release with IPv6 support
+
+---
+Sat Nov  1 21:25:08 CET 2014 - ku...@suse.de
+
+- Update to ypbind-1-99.5
+  - disable workaround which could lead to a crash
+
+---
+Tue Oct 28 14:57:31 CET 2014 - ku...@suse.de
+
+- Update to ypbind-1.99.4
+  - ypbind protocol v3 fully implemented
+
+---
+Fri Oct 24 19:05:19 CEST 2014 - ku...@suse.de
+
+- Update to ypbind-1.99.3
+  - build against libnis/ti-rpc
+  - register with ypbind protocol version 3, too
+
+---
+Tue Oct 21 17:19:03 CEST 2014 - ku...@suse.de
+
+- Update to ypbind-1.99.2
+  - add check for localhost/IPv6
+
+---
+Mon Oct 20 16:13:46 CEST 2014 - ku...@suse.de
+
+- Update to ypbind-1.99.1
+  - register with IPv6 addresses, too.
+
+---

Old:

  ypbind-mt-1.38.tar.bz2

New:

  ypbind-mt-2.0.tar.bz2



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.OhlBjE/_old  2014-11-29 08:39:43.0 +0100
+++ /var/tmp/diff_new_pack.OhlBjE/_new  2014-11-29 08:39:43.0 +0100
@@ -17,25 +17,26 @@
 
 
 Name:   ypbind
-BuildRequires:  dbus-1-devel
-BuildRequires:  openslp-devel
-BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(libsystemd-daemon)
-%{?systemd_requires}
-BuildRequires:  dbus-1-glib-devel
-%if %{suse_version} > 1210
-BuildRequires:  libxml2-tools
-%endif
-Requires:   rpcbind
-Requires:   yp-tools
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Version:1.38
+Version:2.0
 Release:0
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
 License:GPL-2.0
 Group:  Productivity/Networking/NIS
+BuildRequires:  pkgconfig
+%if %{suse_version} >= 1310
+BuildRequires:  pkgconfig(libnis) >= 2.99.3
+BuildRequires:  pkgconfig(libsystemd-daemon)
+BuildRequires:  pkgconfig(libtirpc)
+%else
+BuildRequires:  libnis-devel
+BuildRequires:  libtirpc-devel
+%endif
+#BuildRequires:  libxml2-tools
+Requires:   rpcbind
+Requires:   yp-tools
 Source: 
http://www.linux-nis.org/download/%name-mt/%name-mt-%version.tar.bz2
 Source1:SuSEfirewall.ypbind
 Source2:ypbind.service
@@ -56,14 +57,13 @@
 
 %build
 export CFLAGS=$RPM_OPT_FLAGS
-./configure --mandir=%{_mandir} --prefix=%{_prefix} --enable-dbus-nm
+./configure --mandir=%{_mandir} --prefix=%{_prefix} --disable-dbus-nm
 make
 
 %install
 mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services
 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
 mkdir -p $RPM_BUILD_ROOT/var/yp/binding
-mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/ypbind
 make install DESTDIR=$RPM_BUILD_ROOT
 # Install SuSEfirewall2 service file
 install -m 644 %SOURCE1 
$RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/ypbind
@@ -74,14 +74,22 @@
 touch $RPM_BUILD_ROOT/etc/yp.conf
 # Create filelist with translatins
 %{find_lang} ypbind-mt
+%if %{suse_version} >= 1310
 # Install systemd stuff
 install -D -m 644 %SOURCE2 %{buildroot}%{_unitdir}/ypbind.service
+mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/ypbind
 install -m 755 %SOURCE3 $RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-pre
 install -m 755 %SOURCE4 
$RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-post
 install -m 755 %SOURCE5 
$RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-exec
 # create symlink for rcypbind
 ln -s /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcypbind
+%else
+mkdir -p $RPM_BUILD_ROOT/etc/init.d
+install -m 755 etc/ypbind.init $RPM_BUILD_ROOT/etc/init.d/ypbind
+ln -sf /etc/init.d/ypbind $RPM_BUILD_ROOT/usr/sbin/rcypbind
+%endif
 
+%if %{suse_version} >= 1310
 %pre
 %service_add_pre ypbind.service
 
@@ -97,6 +105,22 @@
 
 %postun
 %service_del_postun ypbind.service
+%else
+%post
+%{fillup_and_insserv ypbind}
+
+%preun
+%stop_on_removal ypbind
+if [ "$1" = "0" ]; then
+   rm -f var/yp/binding/*
+fi
+exit 0
+

commit ypbind for openSUSE:Factory

2014-10-24 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2014-10-25 08:32:34

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2014-07-26 
09:41:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2014-10-25 
08:32:39.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct 20 12:51:43 CEST 2014 - ku...@suse.de
+
+- Update to ypbind-1.38
+  - use pkg-config for systemd in configure script
+
+---

Old:

  ypbind-mt-1.37.2.tar.bz2

New:

  ypbind-mt-1.38.tar.bz2



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.24SQDr/_old  2014-10-25 08:32:40.0 +0200
+++ /var/tmp/diff_new_pack.24SQDr/_new  2014-10-25 08:32:40.0 +0200
@@ -30,7 +30,7 @@
 Requires:   yp-tools
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Version:1.37.2
+Version:1.38
 Release:0
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
@@ -56,7 +56,7 @@
 
 %build
 export CFLAGS=$RPM_OPT_FLAGS
-./configure --mandir=%{_mandir} --enable-dbus-nm
+./configure --mandir=%{_mandir} --prefix=%{_prefix} --enable-dbus-nm
 make
 
 %install

++ ypbind-mt-1.37.2.tar.bz2 -> ypbind-mt-1.38.tar.bz2 ++
 6819 lines of diff (skipped)

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



commit ypbind for openSUSE:Factory

2014-07-26 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2014-07-26 09:41:49

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2014-02-21 
07:01:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2014-07-26 
09:41:56.0 +0200
@@ -1,0 +2,19 @@
+Tue May 27 16:02:21 CEST 2014 - ku...@suse.de
+
+- Adjust for systemd changes
+
+---
+Tue Mar 25 11:21:40 UTC 2014 - wer...@suse.de
+
+- Avoid bad timings and timeouts if a shutdown was done by a remote
+  user via su and with autofs based home directory
+
+---
+Thu Mar  6 17:51:43 CET 2014 - ku...@suse.de
+
+- Update to ypbind-1.37.2
+  - fix detection of sd_notify()
+
+- ypbind-systemd-post: remove wrong leftover code from init script
+
+---

Old:

  ypbind-mt-1.37.1.tar.bz2

New:

  ypbind-mt-1.37.2.tar.bz2



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.Kw7cLu/_old  2014-07-26 09:41:57.0 +0200
+++ /var/tmp/diff_new_pack.Kw7cLu/_new  2014-07-26 09:41:57.0 +0200
@@ -20,7 +20,7 @@
 BuildRequires:  dbus-1-devel
 BuildRequires:  openslp-devel
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(libsystemd-daemon)
 %{?systemd_requires}
 BuildRequires:  dbus-1-glib-devel
 %if %{suse_version} > 1210
@@ -30,7 +30,7 @@
 Requires:   yp-tools
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Version:1.37.1
+Version:1.37.2
 Release:0
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon

++ ypbind-mt-1.37.1.tar.bz2 -> ypbind-mt-1.37.2.tar.bz2 ++
 2286 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/ypbind-mt-1.37.1/ChangeLog new/ypbind-mt-1.37.2/ChangeLog
--- old/ypbind-mt-1.37.1/ChangeLog  2013-04-10 10:33:10.0 +0200
+++ new/ypbind-mt-1.37.2/ChangeLog  2014-03-06 17:48:15.0 +0100
@@ -1,3 +1,13 @@
+2014-03-06  Thorsten Kukuk  
+
+   * release version 1.37.2
+
+   * configure.in: Add support for systemd >= 209
+
+2013-11-06  Thorsten Kukuk  
+
+   * man/ypbind.8.xml: Enhance some options.
+
 2013-04-09  Thorsten Kukuk  
 
* release version 1.37.1
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/ypbind-mt-1.37.1/NEWS new/ypbind-mt-1.37.2/NEWS
--- old/ypbind-mt-1.37.1/NEWS   2013-04-10 10:33:37.0 +0200
+++ new/ypbind-mt-1.37.2/NEWS   2014-03-06 17:49:17.0 +0100
@@ -1,9 +1,12 @@
 ypbind-mt NEWS -- history of user-visible changes.
 
-Copyright (C) 1998-2013 Thorsten Kukuk
+Copyright (C) 1998-2014 Thorsten Kukuk
 
 Please send bug reports, questions and suggestions to .
 
+Version 1.37.2
+* Add support for systemd >= 209
+
 Version 1.37.1
 * Revert sysconfig/ypbind changes
 
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/ypbind-mt-1.37.1/configure.in new/ypbind-mt-1.37.2/configure.in
--- old/ypbind-mt-1.37.1/configure.in   2013-04-10 10:33:18.0 +0200
+++ new/ypbind-mt-1.37.2/configure.in   2014-03-06 18:00:44.0 +0100
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/ypbind-mt.c)
-AM_INIT_AUTOMAKE(ypbind-mt, 1.37.1)
+AM_INIT_AUTOMAKE(ypbind-mt, 1.37.2)
 AM_CONFIG_HEADER(config.h)
 AC_PREFIX_DEFAULT(/usr)
 
@@ -107,6 +107,10 @@
 AC_SUBST(USE_SD_NOTIFY)
 AC_CHECK_LIB(systemd-daemon,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd-daemon",
LIBSYSTEMD_DAEMON="")
+if test -z "$LIBSYSTEMD_DAEMON" ; then
+   AC_CHECK_LIB(systemd,sd_notify,LIBSYSTEMD_DAEMON="-lsystemd",
+   LIBSYSTE

commit ypbind for openSUSE:Factory

2014-02-20 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2014-02-21 07:01:22

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2014-02-15 
08:07:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2014-02-21 
07:01:23.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb 20 16:52:05 CET 2014 - ku...@suse.de
+
+- Add ExecReload to ypbind.service for wicked
+
+---



Other differences:
--
++ ypbind.service ++
--- /var/tmp/diff_new_pack.H8YIXW/_old  2014-02-21 07:01:23.0 +0100
+++ /var/tmp/diff_new_pack.H8YIXW/_new  2014-02-21 07:01:23.0 +0100
@@ -12,6 +12,7 @@
 ExecStartPost=/usr/lib/ypbind/ypbind-systemd-post
 ExecStart=/usr/lib/ypbind/ypbind-systemd-exec
 ExecStopPost=/bin/sh -c "/bin/rm -f /var/yp/binding/* /var/run/ypbind.pid"
+ExecReload=/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target

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



commit ypbind for openSUSE:Factory

2014-02-14 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2014-02-15 08:07:58

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2013-07-29 
09:27:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2014-02-15 
08:07:59.0 +0100
@@ -1,0 +2,5 @@
+Fri Feb 14 14:50:48 CET 2014 - ku...@suse.de
+
+- Remove finally sysv init script
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.9pDvj1/_old  2014-02-15 08:07:59.0 +0100
+++ /var/tmp/diff_new_pack.9pDvj1/_new  2014-02-15 08:07:59.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ypbind
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -60,14 +60,11 @@
 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/var/yp/binding
 mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/ypbind
 make install DESTDIR=$RPM_BUILD_ROOT
-# Install init script
-install -m 755 etc/ypbind.init $RPM_BUILD_ROOT/etc/init.d/ypbind
 # Install SuSEfirewall2 service file
 install -m 644 %SOURCE1 
$RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/ypbind
 # Install rc.config add-on
@@ -105,7 +102,6 @@
 %defattr(-,root,root)
 %doc AUTHORS NEWS README THANKS
 %ghost %config(noreplace) /etc/yp.conf
-%config /etc/init.d/ypbind
 %config /etc/sysconfig/SuSEfirewall2.d/services/ypbind
 /var/adm/fillup-templates/sysconfig.ypbind
 %doc %{_mandir}/man5/yp.conf.5.gz

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



commit ypbind for openSUSE:Factory

2013-07-29 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2013-07-29 09:27:56

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2012-11-22 
17:40:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2013-07-29 
09:27:57.0 +0200
@@ -1,0 +2,33 @@
+Fri Jul 26 11:36:20 UTC 2013 - tchva...@suse.com
+
+- Fix download url to point to real place.
+
+---
+Fri Jul 26 11:21:31 UTC 2013 - tchva...@suse.com
+
+- Provide back rcypbind as symlink to /sbin/service
+
+---
+Wed Apr 10 11:34:39 CEST 2013 - ku...@suse.de
+
+- Update to ypbind-1.37.1
+  - revert sysconfig/ypbind changes
+- Fix the systemd script mess, create new ypbind-systemd-exec script
+- Revert removal of init script, breaks package update in running
+  system.
+
+---
+Tue Apr  9 16:10:39 CEST 2013 - ku...@suse.de
+
+- Update to ypbind-1.37
+  - simply sysconfig/ypbind
+  - new -rebind_interval option
+  - direct systemd support
+
+---
+Thu Apr  4 00:44:39 UTC 2013 - crrodrig...@opensuse.org
+
+- portmap --> rpcbind 
+- remove sysvinit support
+
+---

Old:

  ypbind-mt-1.35.tar.bz2

New:

  ypbind-mt-1.37.1.tar.bz2
  ypbind-systemd-exec



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.pkKsPF/_old  2013-07-29 09:27:58.0 +0200
+++ /var/tmp/diff_new_pack.pkKsPF/_new  2013-07-29 09:27:58.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ypbind
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,41 +16,32 @@
 #
 
 
-%if 0%{?suse_version} >= 1220
-%define with_systemd 1
-%else
-%define with_systemd 0
-%endif
-
 Name:   ypbind
 BuildRequires:  dbus-1-devel
 BuildRequires:  openslp-devel
 BuildRequires:  pkgconfig
-%if %{with_systemd}
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
-%endif
-%if %{suse_version} > 1010
 BuildRequires:  dbus-1-glib-devel
-%endif
 %if %{suse_version} > 1210
 BuildRequires:  libxml2-tools
 %endif
-Requires:   portmap
+Requires:   rpcbind
 Requires:   yp-tools
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Version:1.35
+Version:1.37.1
 Release:0
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
 License:GPL-2.0
 Group:  Productivity/Networking/NIS
-Source: 
ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
+Source: 
http://www.linux-nis.org/download/%name-mt/%name-mt-%version.tar.bz2
 Source1:SuSEfirewall.ypbind
 Source2:ypbind.service
 Source3:ypbind-systemd-pre
 Source4:ypbind-systemd-post
+Source5:ypbind-systemd-exec
 
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
@@ -73,6 +64,7 @@
 mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services
 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
 mkdir -p $RPM_BUILD_ROOT/var/yp/binding
+mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/ypbind
 make install DESTDIR=$RPM_BUILD_ROOT
 # Install init script
 install -m 755 etc/ypbind.init $RPM_BUILD_ROOT/etc/init.d/ypbind
@@ -81,45 +73,33 @@
 # Install rc.config add-on
 install -m 644 etc/sysconfig.ypbind $RPM_BUILD_ROOT/var/adm/fillup-templates/
 # Install SuSEconfig.ypclient
-ln -sf /etc/init.d/ypbind $RPM_BUILD_ROOT/usr/sbin/rcypbind
 # Create dummy yp.conf
 touch $RPM_BUILD_ROOT/etc/yp.conf
 # Create filelist with translatins
 %{find_lang} ypbind-mt
 # Install systemd stuff
-%if %{with_systemd}
 install -D -m 644 %SOURCE2 %{buildroot}%{_unitdir}/ypbind.service
-install -D -m 755 %SOURCE3 $RPM_BUILD_ROOT/usr/share/ypbind/ypbind-systemd-pre
-install -m 755 %SOURCE4 $RPM_BUILD_ROOT/usr/share/ypbind/ypbind-systemd-post
-%endif
-
-%if %{with_systemd}
+install -m 755 %SOURCE3 $RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-pre
+install -m 755 %SOURCE4 
$RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypbind-systemd-post
+install -m 755 %SOURCE5 
$RPM_BUILD_ROOT%{_libexecdir}/ypbind/ypb

commit ypbind for openSUSE:Factory

2012-11-22 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2012-11-22 17:40:27

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind", Maintainer is "ku...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2012-07-14 
13:19:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2012-11-22 
17:40:27.0 +0100
@@ -1,0 +2,6 @@
+Fri Oct 12 16:37:43 UTC 2012 - fcro...@suse.com
+
+- Set NIS domainname if not set already before starting ypbind
+  (bnc#716746).
+
+---



Other differences:
--
++ ypbind-systemd-pre ++
--- /var/tmp/diff_new_pack.iVQVhc/_old  2012-11-22 17:40:29.0 +0100
+++ /var/tmp/diff_new_pack.iVQVhc/_new  2012-11-22 17:40:29.0 +0100
@@ -6,6 +6,21 @@
 #  to setup proper domainname before starting ypbind daemon 
 #  itself.
 
+mydomain=`domainname`
+if [ "$mydomain" = "(none)" -o "x$mydomain" = "x" ]; then
+   test -f /etc/defaultdomain && {
+   read DOMAINNAME < /etc/defaultdomain
+   }
+
+   if [ "x$DOMAINNAME" != 'x' ]; then
+   echo "$DOMAINNAME\n"
+   domainname $DOMAINNAME
+   else
+   echo "\nError: NIS domain not specified.\n"
+   exit 1
+   fi
+fi
+
 ## If we don't have a /etc/yp.conf file, skip starting of
 ## ypbind and return with "program not configured"
 ## if you add the -broadcast Option later, comment this out.

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



commit ypbind for openSUSE:Factory

2012-07-14 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2012-07-14 13:18:59

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind", Maintainer is "ku...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2012-03-29 
07:50:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2012-07-14 
13:19:00.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul 10 15:26:38 UTC 2012 - tr...@suse.de
+
+- Add native systemd support (ypbind.service and friends).
+  bnc#769405
+
+---

New:

  ypbind-systemd-post
  ypbind-systemd-pre
  ypbind.service



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.ElEkOw/_old  2012-07-14 13:19:03.0 +0200
+++ /var/tmp/diff_new_pack.ElEkOw/_new  2012-07-14 13:19:03.0 +0200
@@ -16,10 +16,20 @@
 #
 
 
+%if 0%{?suse_version} >= 1220
+%define with_systemd 1
+%else
+%define with_systemd 0
+%endif
+
 Name:   ypbind
 BuildRequires:  dbus-1-devel
 BuildRequires:  openslp-devel
 BuildRequires:  pkgconfig
+%if %{with_systemd}
+BuildRequires:  systemd
+%{?systemd_requires}
+%endif
 %if %{suse_version} > 1010
 BuildRequires:  dbus-1-glib-devel
 %endif
@@ -38,6 +48,9 @@
 Group:  Productivity/Networking/NIS
 Source: 
ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
 Source1:SuSEfirewall.ypbind
+Source2:ypbind.service
+Source3:ypbind-systemd-pre
+Source4:ypbind-systemd-post
 
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
@@ -73,21 +86,40 @@
 touch $RPM_BUILD_ROOT/etc/yp.conf
 # Create filelist with translatins
 %{find_lang} ypbind-mt
+# Install systemd stuff
+%if %{with_systemd}
+install -D -m 644 %SOURCE2 %{buildroot}%{_unitdir}/ypbind.service
+install -D -m 755 %SOURCE3 $RPM_BUILD_ROOT/usr/share/ypbind/ypbind-systemd-pre
+install -m 755 %SOURCE4 $RPM_BUILD_ROOT/usr/share/ypbind/ypbind-systemd-post
+%endif
+
+%if %{with_systemd}
+
+%pre
+%service_add_pre ypbind.service
+%endif
 
 %post
 %{fillup_and_insserv ypbind}
+%if %{with_systemd}
+%service_add_post ypbind.service
+%endif
 
 %preun
 %stop_on_removal ypbind
+%if %{with_systemd}
+%service_del_preun ypbind.service
+%endif
 if [ "$1" = "0" ]; then
rm -f var/yp/binding/*
 fi
-exit 0
 
 %postun
 %restart_on_update ypbind
 %insserv_cleanup
-exit 0
+%if %{with_systemd}
+%service_del_postun ypbind.service
+%endif
 
 %files -f ypbind-mt.lang
 %defattr(-,root,root)
@@ -105,5 +137,10 @@
 #/usr/share/locale/de/LC_MESSAGES/ypbind-mt.mo
 %dir /var/yp
 %dir /var/yp/binding
+%if %{with_systemd}
+%{_unitdir}/ypbind.service
+%dir /usr/share/ypbind
+/usr/share/ypbind/*
+%endif
 
 %changelog

++ ypbind-systemd-post ++
#!/bin/sh
#
# ypbind-domain
#
# description: This is part of former ypbind init script, which is used 
#  to fix problems with the init scripts continuing even when 
#  we are really not bound yet to a server, and then things
#  that need NIS fail.
#

if [ "$YPBIND_DBUS" = "no" ]; then
# Only check if we don't use NetworkManager
if [ $? -eq 0 ]; then
notfound=1
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
ypwhich &>/dev/null && { notfound=0 ; break; };
echo -n " ."
sleep 1;
done
if [ $notfound -eq 1 ]; then
echo -n " ${warn}No NIS server found${norm}";
fi
else
exit 1
fi
fi

++ ypbind-systemd-pre ++
#!/bin/sh
#
# ypbind-domain
#
# description: This is part of former ypbind init script, which is used 
#  to setup proper domainname before starting ypbind daemon 
#  itself.

## If we don't have a /etc/yp.conf file, skip starting of
## ypbind and return with "program not configured"
## if you add the -broadcast Option later, comment this out.
if [ ! -f /etc/yp.conf -a "$YPBIND_BROADCAST" != "yes" ] ; then
# Tell the user this has skipped
  echo -n " . . . . . . . . . . ${attn}/etc/yp.conf not found${norm}"
  exit 1
fi

# evaluate the OPTIONS for ypbind-mt
OTHER_YPBIND_OPTS=""
test "$YPBIND_VERBOSE" = "yes" && OTHER_YPBIND_OPTS="-verbose 
$OTHER_YPBIND_OPTS"
test "$YPBIND_LOCAL_ONLY" = "yes" && OTHER_YPBIND_OPTS="-local-only 
$OTHER_YPBIND_OPTS"
test "$YPBIND_BROADCAST" = "yes" && OTHER_YPBIND_OPTS="-broadcast 
$OTHER_YPBIND_OPTS"
test "$YPBIND_BROKEN_SERVER" = "yes" && OTHER_YPBIND_OPTS="-broken-server 
$OTHER_YPBIND_OPTS"
test "X$YPBIND_PING_INTERVAL" != "X" && OTHER_YPBIND_OPTS="-ping-interval 
$YPBIND_PING_INTERVAL $OTHER_YPBIND_OPTS"
test "$YPB

commit ypbind for openSUSE:Factory

2012-03-28 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2012-03-29 07:50:12

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind", Maintainer is "ku...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2012-02-27 
18:38:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2012-03-29 
07:50:14.0 +0200
@@ -1,0 +2,5 @@
+Mon Mar 26 16:19:43 CEST 2012 - ku...@suse.de
+
+- Update to ypbind-1.35 (bug fix release)
+
+---

Old:

  ypbind-mt-1.33.tar.bz2
  ypbind-mt-update-networkmanager-interface-to-use-new-nm_state

New:

  ypbind-mt-1.35.tar.bz2



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.wBbPds/_old  2012-03-29 07:50:15.0 +0200
+++ /var/tmp/diff_new_pack.wBbPds/_new  2012-03-29 07:50:15.0 +0200
@@ -30,7 +30,7 @@
 Requires:   yp-tools
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Version:1.33
+Version:1.35
 Release:0
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
@@ -38,8 +38,6 @@
 Group:  Productivity/Networking/NIS
 Source: 
ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
 Source1:SuSEfirewall.ypbind
-#Patch:  ypbind-mt-%{version}.diff
-Patch1: ypbind-mt-update-networkmanager-interface-to-use-new-nm_state
 
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
@@ -49,16 +47,8 @@
 Ypbind must be running on any machines which are running NIS client
 programs.
 
-
-
-Authors:
-
-Thorsten Kukuk 
-
 %prep
 %setup -q -n ypbind-mt-%{version}
-#%patch
-%patch1 -p1
 
 %build
 export CFLAGS=$RPM_OPT_FLAGS

++ ypbind-mt-1.33.tar.bz2 -> ypbind-mt-1.35.tar.bz2 ++
 1649 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/ypbind-mt-1.33/COPYING new/ypbind-mt-1.35/COPYING
--- old/ypbind-mt-1.33/COPYING  2002-04-04 18:34:30.0 +0200
+++ new/ypbind-mt-1.35/COPYING  2011-08-31 15:13:21.0 +0200
@@ -2,7 +2,7 @@
   Version 2, June 1991
 
  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ 51 Franklin Street, Suite 500, Boston, MA 02110-1335  USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
@@ -305,7 +305,7 @@
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335  USA
 
 
 Also add information on how to contact you by electronic and paper mail.
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/ypbind-mt-1.33/ChangeLog new/ypbind-mt-1.35/ChangeLog
--- old/ypbind-mt-1.33/ChangeLog2011-04-29 16:33:49.0 +0200
+++ new/ypbind-mt-1.35/ChangeLog2012-03-23 13:49:37.0 +0100
@@ -1,4 +1,33 @@
-2011-04-29  Thorsten Kukuk  
+2012-03-23  Thorsten Kukuk  
+
+   * release version 1.35
+
+   * src/ypbind_dbus_nm.c: Adjust to new NetworkManager [bnc#698030].
+   Patch by Jeff Mahoney .
+
+   * src/serv_list.c (remove_bindingfile): make sure
+   last.host is NULL.
+   Based on patch from Honza Horak .
+
+2011-08-31  Thorsten Kukuk  
+
+   * release version 1.34
+
+   * src/serv_list.c: Fix memcpy usage.
+   Patch by Sebastian Koch .
+
+   * src/ypbind-mt.c: Add -n/-forground option for systemd.
+   * man/ypbind.8.xml: Document -n/-forground option.
+   Based on patch by Honza Horak .
+
+2011-08-31  Thorsten Kukuk  
+
+   * Adjust FSF address.
+   Patch by Honza Horak 
+
+2011-04-29  Thorsten Kukuk  
+
+   * release version 1.33
 
* src/ypbind-mt.c (create_pidfile): return if no pidfile
  

commit ypbind for openSUSE:Factory

2012-02-27 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2012-02-27 18:38:47

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind", Maintainer is "ku...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes2011-09-23 
12:53:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes   2012-02-27 
18:38:49.0 +0100
@@ -1,0 +2,5 @@
+Sat Feb 25 13:41:09 UTC 2012 - co...@suse.com
+
+- buildrequire libxml2-tools on factory
+
+---



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.FbK00N/_old  2012-02-27 18:38:50.0 +0100
+++ /var/tmp/diff_new_pack.FbK00N/_new  2012-02-27 18:38:50.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ypbind
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,24 +15,27 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   ypbind
-BuildRequires:  dbus-1-devel openslp-devel pkgconfig
+BuildRequires:  dbus-1-devel
+BuildRequires:  openslp-devel
+BuildRequires:  pkgconfig
 %if %{suse_version} > 1010
 BuildRequires:  dbus-1-glib-devel
 %endif
-License:GPL-2.0
-Group:  Productivity/Networking/NIS
-Requires:   portmap yp-tools
-AutoReqProv:on
+%if %{suse_version} > 1210
+BuildRequires:  libxml2-tools
+%endif
+Requires:   portmap
+Requires:   yp-tools
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Version:1.33
-Release:1
+Release:0
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
+License:GPL-2.0
+Group:  Productivity/Networking/NIS
 Source: 
ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
 Source1:SuSEfirewall.ypbind
 #Patch:  ypbind-mt-%{version}.diff
@@ -81,9 +84,6 @@
 # Create filelist with translatins
 %{find_lang} ypbind-mt
 
-%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
 %post
 %{fillup_and_insserv ypbind}
 

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



commit ypbind for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory checked 
in at 2011-12-06 19:21:03

Comparing /work/SRC/openSUSE:Factory/ypbind (Old)
 and  /work/SRC/openSUSE:Factory/.ypbind.new (New)


Package is "ypbind", Maintainer is "ku...@suse.com"

Changes:




Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.jPLQsp/_old  2011-12-06 20:02:50.0 +0100
+++ /var/tmp/diff_new_pack.jPLQsp/_new  2011-12-06 20:02:50.0 +0100
@@ -23,7 +23,7 @@
 %if %{suse_version} > 1010
 BuildRequires:  dbus-1-glib-devel
 %endif
-License:GPLv2
+License:GPL-2.0
 Group:  Productivity/Networking/NIS
 Requires:   portmap yp-tools
 AutoReqProv:on

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



commit ypbind for openSUSE:Factory

2011-06-06 Thread h_root

Hello community,

here is the log from the commit of package ypbind for openSUSE:Factory
checked in at Mon Jun 6 16:52:37 CEST 2011.




--- ypbind/ypbind.changes   2010-07-07 14:56:59.0 +0200
+++ /mounts/work_src_done/STABLE/ypbind/ypbind.changes  2011-06-03 
22:09:29.0 +0200
@@ -1,0 +2,10 @@
+Fri Jun  3 22:08:14 CEST 2011 - je...@suse.de
+
+- Update NetworkManager interface to use new NM_STATE_* (bnc#698030).
+
+---
+Mon May  2 17:43:07 CEST 2011 - ku...@suse.de
+
+- Update to 1.33: Better error checking
+
+---

calling whatdependson for head-i586


Old:

  ypbind-mt-1.32.tar.bz2

New:

  ypbind-mt-1.33.tar.bz2
  ypbind-mt-update-networkmanager-interface-to-use-new-nm_state



Other differences:
--
++ ypbind.spec ++
--- /var/tmp/diff_new_pack.NNUwX8/_old  2011-06-06 16:51:55.0 +0200
+++ /var/tmp/diff_new_pack.NNUwX8/_new  2011-06-06 16:51:55.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package ypbind (Version 1.32)
+# spec file for package ypbind
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,13 +29,14 @@
 AutoReqProv:on
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Version:1.32
+Version:1.33
 Release:1
 Url:http://www.linux-nis.org/nis/ypbind-mt
 Summary:NIS client daemon
 Source: 
ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
 Source1:SuSEfirewall.ypbind
 #Patch:  ypbind-mt-%{version}.diff
+Patch1: ypbind-mt-update-networkmanager-interface-to-use-new-nm_state
 
 %description
 This package provides the ypbind daemon. The ypbind daemon binds NIS
@@ -54,6 +55,7 @@
 %prep
 %setup -q -n ypbind-mt-%{version}
 #%patch
+%patch1 -p1
 
 %build
 export CFLAGS=$RPM_OPT_FLAGS

++ ypbind-mt-1.32.tar.bz2 -> ypbind-mt-1.33.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-1.32/ChangeLog new/ypbind-mt-1.33/ChangeLog
--- old/ypbind-mt-1.32/ChangeLog2010-07-07 14:34:23.0 +0200
+++ new/ypbind-mt-1.33/ChangeLog2011-04-29 16:33:49.0 +0200
@@ -1,3 +1,12 @@
+2011-04-29  Thorsten Kukuk  
+
+   * src/ypbind-mt.c (create_pidfile): return if no pidfile
+   could be created.
+   (main): Check if /dev/null could be opened.
+   * src/serv_list.c (ping_all): Initialize found with 0.
+   (ping_all): Check if we are inside the array.
+   Based on patches from Honza Horak .
+
 2010-07-07  Thorsten Kukuk  
 
* release version 1.32
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-1.32/NEWS new/ypbind-mt-1.33/NEWS
--- old/ypbind-mt-1.32/NEWS 2010-07-07 14:35:10.0 +0200
+++ new/ypbind-mt-1.33/NEWS 2011-04-29 16:34:10.0 +0200
@@ -1,9 +1,12 @@
 ypbind-mt NEWS -- history of user-visible changes.
 
-Copyright (C) 1998-2010 Thorsten Kukuk
+Copyright (C) 1998-2011 Thorsten Kukuk
 
 Please send bug reports, questions and suggestions to .
 
+Version 1.33
+* Better error checking
+
 Version 1.32
 * Fix problems with SLP registration
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-1.32/configure new/ypbind-mt-1.33/configure
--- old/ypbind-mt-1.32/configure2010-07-07 14:49:38.0 +0200
+++ new/ypbind-mt-1.33/configure2011-04-29 16:34:39.0 +0200
@@ -2235,7 +2235,7 @@
 
 # Define the identity of the package.
  PACKAGE=ypbind-mt
- VERSION=1.32
+ VERSION=1.33
 
 
 cat >>confdefs.h <<_ACEOF
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-1.32/configure.in 
new/ypbind-mt-1.33/configure.in
--- old/ypbind-mt-1.32/configure.in 2010-07-07 14:49:27.0 +0200
+++ new/ypbind-mt-1.33/configure.in 2011-04-29 16:34:16.0 +0200
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/ypbind-mt.c)
-AM_INIT_AUTOMAKE(ypbind-mt, 1.32)
+AM_INIT_AUTOMAKE(ypbind-mt, 1.33)
 AM_CONFIG_HEADER(config.h)
 AC_PREFIX_DEFAULT(/usr)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ypbind-mt-1.32/lib/Makefile.in 
new/ypbind-mt-1.33/lib/Makefile.in
--- old/ypbind-mt-1.32/lib/Makefile.in  2010-07-07 14:49:34.0 +0200
+++ new/ypbind-mt-1.33/lib/Makefile.in  2011-04-29 16:34:38.0 +0200
@@ -214,9 +214,9 @@
  exit 1;; \