commit ypbind for openSUSE:Factory
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.changes 2014-10-25 08:32:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes 2014-11-29 08:39:42.000000000 +0100 @@ -1,0 +2,37 @@ +Mon Nov 3 10:33:55 CET 2014 - kukuk@suse.de + +- Update to ypbind-2.0 + - final release with IPv6 support + +------------------------------------------------------------------- +Sat Nov 1 21:25:08 CET 2014 - kukuk@suse.de + +- Update to ypbind-1-99.5 + - disable workaround which could lead to a crash + +------------------------------------------------------------------- +Tue Oct 28 14:57:31 CET 2014 - kukuk@suse.de + +- Update to ypbind-1.99.4 + - ypbind protocol v3 fully implemented + +------------------------------------------------------------------- +Fri Oct 24 19:05:19 CEST 2014 - kukuk@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 - kukuk@suse.de + +- Update to ypbind-1.99.2 + - add check for localhost/IPv6 + +------------------------------------------------------------------- +Mon Oct 20 16:13:46 CEST 2014 - kukuk@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.000000000 +0100 +++ /var/tmp/diff_new_pack.OhlBjE/_new 2014-11-29 08:39:43.000000000 +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 + +%postun +%restart_on_update ypbind +%insserv_cleanup +exit 0 +%endif %files -f ypbind-mt.lang %defattr(-,root,root) @@ -110,8 +134,12 @@ /usr/sbin/rcypbind %dir /var/yp %dir /var/yp/binding +%if %{suse_version} >= 1310 %{_unitdir}/ypbind.service %dir %{_libexecdir}/ypbind %{_libexecdir}/ypbind/* +%else +%config /etc/init.d/ypbind +%endif %changelog ++++++ ypbind-mt-1.38.tar.bz2 -> ypbind-mt-2.0.tar.bz2 ++++++ ++++ 7476 lines of diff (skipped) ++++++ ypbind-systemd-exec ++++++ --- /var/tmp/diff_new_pack.OhlBjE/_old 2014-11-29 08:39:43.000000000 +0100 +++ /var/tmp/diff_new_pack.OhlBjE/_new 2014-11-29 08:39:43.000000000 +0100 @@ -12,7 +12,7 @@ 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 "$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 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de