Hello community,

here is the log from the commit of package ypserv for openSUSE:Factory checked 
in at 2014-11-29 08:39:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ypserv (Old)
 and      /work/SRC/openSUSE:Factory/.ypserv.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ypserv"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ypserv/ypserv.changes    2014-10-25 
08:33:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ypserv.new/ypserv.changes       2014-11-29 
08:39:26.000000000 +0100
@@ -1,0 +2,24 @@
+Wed Nov  5 14:58:41 CET 2014 - ku...@suse.de
+
+- Update to version 3.0
+  - evyerthing is now ported
+
+-------------------------------------------------------------------
+Mon Nov  3 11:04:15 CET 2014 - ku...@suse.de
+
+- Update to version 2.99.3
+  - Implement -p option for ypserv
+
+-------------------------------------------------------------------
+Sat Nov  1 20:48:26 CET 2014 - ku...@suse.de
+
+- Update to version 2.99.2
+  - At least everything compiles now
+
+-------------------------------------------------------------------
+Fri Oct 31 16:43:58 CET 2014 - ku...@suse.de
+
+- Update to version 2.99.1
+  - Start porting to use ti-rpc interfaces for IPv6 support
+
+-------------------------------------------------------------------

Old:
----
  ypserv-2.32.1.tar.bz2

New:
----
  yppasswdd.init
  ypserv-3.0.tar.bz2
  ypserv.init
  ypxfrd.init

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

Other differences:
------------------
++++++ ypserv.spec ++++++
--- /var/tmp/diff_new_pack.0MWcwa/_old  2014-11-29 08:39:28.000000000 +0100
+++ /var/tmp/diff_new_pack.0MWcwa/_new  2014-11-29 08:39:28.000000000 +0100
@@ -17,22 +17,20 @@
 
 
 Name:           ypserv
-BuildRequires:  gdbm-devel
-BuildRequires:  openslp-devel
-BuildRequires:  pkgconfig(libsystemd-daemon)
-%{?systemd_requires}
-Requires:       gawk
-Requires:       make
-Requires:       rpcbind
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Version:        2.32.1
+Version:        3.0
 Release:        0
 Url:            http://www.linux-nis.org/nis/ypserv/
 Summary:        YP - (NIS)-Server
 License:        GPL-2.0
 Group:          Productivity/Networking/NIS
 PreReq:         %fillup_prereq
+%if %{suse_version} < 1310
+PreReq:         %insserv_prereq
+%endif
 Source:         ypserv-%{version}.tar.bz2
+Source1:        ypserv.init
+Source2:        yppasswdd.init
+Source3:        ypxfrd.init
 Source4:        sysconfig.ypserv
 Source5:        SuSEfirewall2.ypserv
 Source6:        ypserv.service
@@ -40,6 +38,22 @@
 Source8:        ypxfrd.service
 Source9:        yppasswdd-systemd-exec
 Patch:          ypserv-2.32.diff
+BuildRequires:  gdbm-devel
+BuildRequires:  openslp-devel
+BuildRequires:  pkgconfig
+%if %{suse_version} >= 1310
+BuildRequires:  pkgconfig(libnis) >= 2.99.8
+BuildRequires:  pkgconfig(libsystemd-daemon)
+BuildRequires:  pkgconfig(libtirpc)
+%{?systemd_requires}
+%else
+BuildRequires:  libnis-devel >= 2.99.8
+BuildRequires:  libtirpc-devel
+%endif
+Requires:       gawk
+Requires:       make
+Requires:       rpcbind
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The Network Information Service (NIS) provides a simple network
@@ -70,8 +84,12 @@
 %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%{_libexecdir}/yp
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/yp
+%if %{suse_version} >= 1310
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
+%else
+mkdir -p $RPM_BUILD_ROOT/etc/init.d
+%endif
 DOCDIR=%{_defaultdocdir}/yp
 install -d -m 755 $RPM_BUILD_ROOT${DOCDIR}
 install -d -m 755 $RPM_BUILD_ROOT${DOCDIR}/ypserv
@@ -83,18 +101,30 @@
 install -m 644 %SOURCE4 $RPM_BUILD_ROOT/var/adm/fillup-templates/
 # install SuSEfirewall2 service script
 install -m 644 %SOURCE5 
$RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/ypserv
+%if %{suse_version} >= 1310
 # install systemd files
 install -m 644 %SOURCE6 $RPM_BUILD_ROOT%{_unitdir}/ypserv.service
 install -m 644 %SOURCE7 $RPM_BUILD_ROOT%{_unitdir}/yppasswdd.service
 install -m 644 %SOURCE8 $RPM_BUILD_ROOT%{_unitdir}/ypxfrd.service
-install -m 755 %SOURCE9 $RPM_BUILD_ROOT%{_libexecdir}/yp/yppasswdd-systemd-exec
-# Remove files which should not be included:
-rm $RPM_BUILD_ROOT%{_libexecdir}/yp/match_printcap
+install -m 755 %SOURCE9 $RPM_BUILD_ROOT%{_prefix}/lib/yp/yppasswdd-systemd-exec
 # create symlink for rcypserv, rcyppasswdd, rcypxfrd
 ln -s /sbin/service $RPM_BUILD_ROOT%{_sbindir}/rcypserv
 ln -s /sbin/service $RPM_BUILD_ROOT%{_sbindir}/rcyppasswdd
 ln -s /sbin/service $RPM_BUILD_ROOT%{_sbindir}/rcypxfrd
+%else
+# install init scripts
+install -m 755 %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/ypserv
+install -m 755 %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/yppasswdd
+install -m 755 %SOURCE3 $RPM_BUILD_ROOT/etc/init.d/ypxfrd
+ln -sf ../../etc/init.d/yppasswdd       $RPM_BUILD_ROOT/usr/sbin/rcyppasswdd
+ln -sf ../../etc/init.d/ypxfrd          $RPM_BUILD_ROOT/usr/sbin/rcypxfrd
+ln -sf ../../etc/init.d/ypserv          $RPM_BUILD_ROOT/usr/sbin/rcypserv
+%endif
+# Remove files which should not be included:
+rm $RPM_BUILD_ROOT%{_prefix}/lib/yp/match_printcap
 
+%if %{suse_version} >= 1310
+# Systemd services
 %pre
 %service_add_pre ypserv.service
 %service_add_pre yppasswdd.service
@@ -116,6 +146,20 @@
 %service_del_postun yppasswdd.service
 %service_del_postun ypxfrd.service
 
+%else
+# LSB init script
+%post
+%{fillup_and_insserv ypserv ypxfrd yppasswdd}
+
+%preun
+%stop_on_removal ypserv ypxfrd yppasswdd
+
+%postun
+%restart_on_update ypserv ypxfrd yppasswdd
+%insserv_cleanup
+
+%endif
+
 %files
 %defattr(-,root,root)
 %doc NEWS README TODO COPYING ChangeLog
@@ -124,11 +168,18 @@
 %config(noreplace) /var/yp/securenets
 %config(noreplace) /etc/ypserv.conf
 %config /etc/sysconfig/SuSEfirewall2.d/services/ypserv
-%dir %{_libexecdir}/yp
+%dir %{_prefix}/lib/yp
 %dir /var/yp
+%if %{suse_version} >= 1310
 %{_unitdir}/ypserv.service
 %{_unitdir}/yppasswdd.service
 %{_unitdir}/ypxfrd.service
+%{_prefix}/lib/yp/yppasswdd-systemd-exec
+%else
+%config /etc/init.d/yppasswdd
+%config /etc/init.d/ypserv
+%config /etc/init.d/ypxfrd
+%endif
 %doc %{_mandir}/man5/netgroup.5.gz
 %doc %{_mandir}/man5/ypserv.conf.5.gz
 %doc %{_mandir}/man8/makedbm.8.gz
@@ -145,16 +196,15 @@
 %doc %{_mandir}/man8/ypxfr.8.gz
 %doc %{_mandir}/man8/ypxfrd.8.gz
 /usr/include/rpcsvc/ypxfrd.x
-%{_libexecdir}/yp/makedbm
-%{_libexecdir}/yp/create_printcap
-%{_libexecdir}/yp/mknetid
-%{_libexecdir}/yp/pwupdate
-%{_libexecdir}/yp/revnetgroup
-%{_libexecdir}/yp/yphelper
-%{_libexecdir}/yp/ypinit
-%{_libexecdir}/yp/ypxfr
-%{_libexecdir}/yp/ypxfr_*
-%{_libexecdir}/yp/yppasswdd-systemd-exec
+%{_prefix}/lib/yp/makedbm
+%{_prefix}/lib/yp/create_printcap
+%{_prefix}/lib/yp/mknetid
+%{_prefix}/lib/yp/pwupdate
+%{_prefix}/lib/yp/revnetgroup
+%{_prefix}/lib/yp/yphelper
+%{_prefix}/lib/yp/ypinit
+%{_prefix}/lib/yp/ypxfr
+%{_prefix}/lib/yp/ypxfr_*
 %{_sbindir}/rpc.ypxfrd
 %{_sbindir}/rpc.yppasswdd
 %{_sbindir}/yppush

++++++ yppasswdd.init ++++++
#! /bin/bash
# Copyright (c) 2002, 2004 SuSE Linux AG
# Copyright (c) 2000, 2001 SuSE GmbH
#
# Author: Thorsten Kukuk <feedb...@suse.de>
#
# /etc/init.d/yppasswdd
#
#   and its symbolic link
#
# /usr/sbin/rcyppasswdd
#
# System startup script for the yppasswd daemon
#
### BEGIN INIT INFO
# Provides: yppasswdd
# Required-Start: $remote_fs $portmap ypserv
# Required-Stop: $remote_fs $portmap
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: Start ypppasswd daemon
# Description: Start yppasswd daemon to allow NIS users
#       to change the password
### END INIT INFO

YPPASSWDD_BIN=/usr/sbin/rpc.yppasswdd
test -x $YPPASSWDD_BIN || { echo "$YPPASSWDD_BIN not installed";
        if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; }

YPPASSWDD_CONFIG=/etc/sysconfig/ypserv
test -r $YPPASSWDD_CONFIG || { echo "$YPPASSWDD_CONFIG not existing";
        if [ "$1" = "stop" ]; then exit 0; else exit 6; fi; }

# Read config
. $YPPASSWDD_CONFIG

ypflags=
if test "$YPPWD_CHFN" = yes; then
    ypflags="$ypflags -e chfn"
fi
if test "$YPPWD_CHSH" = yes; then
    ypflags="$ypflags -e chsh"
fi

. /etc/rc.status

# First reset status of this service
rc_reset

case "$1" in
    start)
        echo -n "Starting rpc.yppasswdd"
        startproc $YPPASSWDD_BIN -D $YPPWD_SRCDIR $ypflags
        rc_status -v
        ;;
    stop)
        echo -n "Shutting down rpc.yppasswdd"
        killproc -TERM $YPPASSWDD_BIN
        rc_status -v
        ;;
    try-restart|condrestart)
        if test "$1" = "condrestart"; then
                echo "${attn} Use try-restart ${done}(LSB)${attn} rather than 
condrestart ${warn}(RH)${norm}"
        fi
        $0 status
        if test $? = 0; then
                $0 restart
        else
                rc_reset        # Not running is not a failure.
        fi
        rc_status
        ;;
    restart)
        $0 stop
        $0 start
        rc_status
        ;;
    force-reload)
        echo -n "Reload service rpc.yppasswdd"
        $0 try-restart
        rc_status
        ;;
    reload)
        echo -n "Reload service rpc.yppasswdd"
        rc_failed 3
        rc_status -v
        ;;
    status)
        echo -n "Checking for rpc.yppasswdd: "
        checkproc $YPPASSWDD_BIN
        rc_status -v
        ;;
    probe)
        test /etc/sysconfig/ypserv -nt /var/run/yppasswdd.pid && echo restart
        ;;
    *)
        echo "Usage: $0 
{start|stop|status|try-restart|restart|force-reload|reload|probe}"
        exit 1
        ;;
esac
rc_exit
++++++ ypserv-2.32.1.tar.bz2 -> ypserv-3.0.tar.bz2 ++++++
++++ 13435 lines of diff (skipped)

++++++ ypserv.init ++++++
#! /bin/bash
# Copyright (c) 2002, 2004 SuSE Linux AG
# Copyright (c) 2000, 2001 SuSE GmbH
#
# Author: Thorsten Kukuk <feedb...@suse.de>
#
# /etc/init.d/ypserv
#
#   and its symbolic link
#
# /usr/sbin/rcypserv
#
# System startup script for the NIS daemon
#
### BEGIN INIT INFO
# Provides: ypserv
# Required-Start: $remote_fs $portmap
# Should-Start: slpd
# Should-Stop: $null
# Required-Stop: $remote_fs $portmap
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: Start ypserv daemon
# Description: Start ypserv to distribute NIS maps
### END INIT INFO

YPSERV_BIN=/usr/sbin/ypserv
test -x $YPSERV_BIN || { echo "$YPSERV_BIN not installed";
        if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; }

. /etc/rc.status

# First reset status of this service
rc_reset

case "$1" in
    start)
        echo -n "Starting ypserv"
        startproc $YPSERV_BIN
        rc_status -v
        ;;
    stop)
        echo -n "Shutting down ypserv"
        killproc -TERM $YPSERV_BIN
        rc_status -v
        ;;
    try-restart|condrestart)
        ## RH has a similar command named condrestart.
        if test "$1" = "condrestart"; then
                echo "${attn} Use try-restart ${done}(LSB)${attn} rather than 
condrestart ${warn}(RH)${norm}"
        fi
        $0 status
        if test $? = 0; then
                $0 restart
        else
                rc_reset        # Not running is not a failure.
        fi
        rc_status
        ;;
    restart)
        $0 stop
        $0 start
        rc_status
        ;;
    force-reload)
        $0 stop
        $0 start
        rc_status
        ;;
    reload)
        echo -n "Reload service ypserv"
        rc_failed 3
        rc_status -v
        ;;
    status)
        echo -n "Checking for ypserv: "
        checkproc $YPSERV_BIN
        rc_status -v
        ;;
    probe)
        test /etc/ypserv.conf -nt /var/run/ypserv.pid && echo reload
        test /var/run/securenets -nt /var/run/ypserv.pid && echo reload
        ;;
    *)
        echo "Usage: $0 
{start|stop|status|try-restart|restart|force-reload|reload|probe}"
        exit 1
        ;;
esac
rc_exit
++++++ ypxfrd.init ++++++
#! /bin/bash
# Copyright (c) 2002, 2004 SuSE Linux AG
# Copyright (c) 2000, 2001 SuSE GmbH
#
# Author: Thorsten Kukuk <feedb...@suse.de>
#
# /etc/init.d/ypxfrd
#
#   and its symbolic link
#
# /sbin/rcypxfrd
#
# System startup script for the rpc.ypxfrd daemon
#
### BEGIN INIT INFO
# Provides: ypxfrd
# Required-Start: $remote_fs $portmap ypserv
# Required-Stop: $remote_fs $portmap
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: Start rpc.ypxfrd daemon
# Description: Start rpc.ypxfrd to allow faster NIS map transfers
### END INIT INFO

YPXFRD_BIN=/usr/sbin/rpc.ypxfrd
test -x $YPXFRD_BIN || { echo "$YPXFRD_BIN not installed";
        if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; }

. /etc/rc.status

# First reset status of this service
rc_reset

case "$1" in
    start)
        echo -n "Starting rpc.ypxfrd"
        startproc $YPXFRD_BIN
        rc_status -v
        ;;
    stop)
        echo -n "Shutting down rpc.ypxfrd"
        killproc -TERM $YPXFRD_BIN
        rc_status -v
        ;;
    try-restart|condrestart)
        if test "$1" = "condrestart"; then
                echo "${attn} Use try-restart ${done}(LSB)${attn} rather than 
condrestart ${warn}(RH)${norm}"
        fi
        $0 status
        if test $? = 0; then
                $0 restart
        else
                rc_reset        # Not running is not a failure.
        fi
        rc_status
        ;;
    restart)
        $0 stop
        $0 start
        rc_status
        ;;
    force-reload)
        echo -n "Reload service rpc.ypxfrd"
        killproc -HUP $YPXFRD_BIN
        rc_status -v
        ;;
    reload)
        echo -n "Reload service rpc.ypxfrd"
        killproc -HUP $YPXFRD_BIN
        rc_status -v
        ;;
    status)
        echo -n "Checking for rpc.ypxfrd: "
        checkproc $YPXFRD_BIN
        rc_status -v
        ;;
    probe)
        test /etc/ypserv.conf -nt /var/run/ypxfrd.pid && echo reload
        test /var/run/securenets -nt /var/run/ypxfrd.pid && echo reload
        ;;
    *)
        echo "Usage: $0 
{start|stop|status|try-restart|restart|force-reload|reload|probe}"
        exit 1
        ;;
esac
rc_exit
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to