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.changes    2012-11-22 
17:40:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes       2013-07-29 
09:27:57.000000000 +0200
@@ -1,0 +2,33 @@
+Fri Jul 26 11:36:20 UTC 2013 - [email protected]
+
+- Fix download url to point to real place.
+
+-------------------------------------------------------------------
+Fri Jul 26 11:21:31 UTC 2013 - [email protected]
+
+- Provide back rcypbind as symlink to /sbin/service
+
+-------------------------------------------------------------------
+Wed Apr 10 11:34:39 CEST 2013 - [email protected]
+
+- 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 - [email protected]
+
+- Update to ypbind-1.37
+  - simply sysconfig/ypbind
+  - new -rebind_interval option
+  - direct systemd support
+
+-------------------------------------------------------------------
+Thu Apr  4 00:44:39 UTC 2013 - [email protected]
+
+- 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.000000000 +0200
+++ /var/tmp/diff_new_pack.pkKsPF/_new  2013-07-29 09:27:58.000000000 +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/ypbind-systemd-exec
+# create symlink for rcypbind
+ln -s /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcypbind
 
 %pre
 %service_add_pre ypbind.service
-%endif
 
 %post
-%{fillup_and_insserv ypbind}
-%if %{with_systemd}
+%{fillup_only -n ypbind}
 %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/*
+   test -d /var/yp/binding && rm -f /var/yp/binding/*
 fi
 
 %postun
-%restart_on_update ypbind
-%insserv_cleanup
-%if %{with_systemd}
 %service_del_postun ypbind.service
-%endif
 
 %files -f ypbind-mt.lang
 %defattr(-,root,root)
@@ -130,17 +110,12 @@
 /var/adm/fillup-templates/sysconfig.ypbind
 %doc %{_mandir}/man5/yp.conf.5.gz
 %doc %{_mandir}/man8/ypbind.8.gz
-/usr/sbin/rcypbind
 /usr/sbin/ypbind
-#%dir /usr/share/locale/de
-#%dir /usr/share/locale/de/LC_MESSAGES
-#/usr/share/locale/de/LC_MESSAGES/ypbind-mt.mo
+/usr/sbin/rcypbind
 %dir /var/yp
 %dir /var/yp/binding
-%if %{with_systemd}
 %{_unitdir}/ypbind.service
-%dir /usr/share/ypbind
-/usr/share/ypbind/*
-%endif
+%dir %{_libexecdir}/ypbind
+%{_libexecdir}/ypbind/*
 
 %changelog

++++++ ypbind-mt-1.35.tar.bz2 -> ypbind-mt-1.37.1.tar.bz2 ++++++
++++ 20777 lines of diff (skipped)

++++++ ypbind-systemd-exec ++++++
#!/bin/sh
#
# ypbind-exec
#
# description: This is part of former ypbind init script, which is used 
#              to create the correct arguments to start ypbind itself.

# 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 "$YPBIND_DBUS" = "no" && OTHER_YPBIND_OPTS="-no-dbus $OTHER_YPBIND_OPTS"
test -n "$YPBIND_OPTIONS" && OTHER_YPBIND_OPTS="$YPBIND_OPTIONS 
$OTHER_YPBIND_OPTS"

exec /usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
++++++ ypbind-systemd-pre ++++++
--- /var/tmp/diff_new_pack.pkKsPF/_old  2013-07-29 09:27:58.000000000 +0200
+++ /var/tmp/diff_new_pack.pkKsPF/_new  2013-07-29 09:27:58.000000000 +0200
@@ -30,15 +30,5 @@
   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 "$YPBIND_DBUS" = "no" && OTHER_YPBIND_OPTS="-no-dbus $OTHER_YPBIND_OPTS"
-test -n "$YPBIND_OPTIONS" && OTHER_YPBIND_OPTS="$YPBIND_OPTIONS 
$OTHER_YPBIND_OPTS"
-
 echo 
 

++++++ ypbind.service ++++++
--- /var/tmp/diff_new_pack.pkKsPF/_old  2013-07-29 09:27:58.000000000 +0200
+++ /var/tmp/diff_new_pack.pkKsPF/_new  2013-07-29 09:27:58.000000000 +0200
@@ -1,17 +1,16 @@
 [Unit]
 Description=NIS/YP (Network Information Service) Clients to NIS Domain Binder
 Requires=rpcbind.service
-After=network.target rpcbind.service ypserv.service
+After=syslog.target network.target rpcbind.service ypserv.service
 Before=systemd-user-sessions.service
 
 [Service]
-Type=simple
+Type=notify
+NotifyAccess=all
 EnvironmentFile=-/etc/sysconfig/ypbind
-# Do not call ypbind-systemd-pre from ExecStartPre to keep the
-# keep OTHER_YPBIND_OPTS options which have to be passed as options
-# suggested by [email protected]
-ExecStart=/bin/sh -c "/usr/share/ypbind/ypbind-systemd-pre; exec 
/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS"
-ExecStartPost=/usr/share/ypbind/ypbind-systemd-post
+ExecStartPre=/usr/lib/ypbind/ypbind-systemd-pre
+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"
 
 [Install]

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to