Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package iputils for openSUSE:Factory checked in at 2022-01-27 23:16:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iputils (Old) and /work/SRC/openSUSE:Factory/.iputils.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iputils" Thu Jan 27 23:16:20 2022 rev:63 rq:949038 version:20211215 Changes: -------- --- /work/SRC/openSUSE:Factory/iputils/iputils.changes 2021-12-18 20:29:54.818231468 +0100 +++ /work/SRC/openSUSE:Factory/.iputils.new.1898/iputils.changes 2022-01-27 23:16:33.611146760 +0100 @@ -1,0 +2,6 @@ +Tue Jan 25 13:31:33 UTC 2022 - [email protected] + +- temporarily reintroduce rarpd and rdisc tools to get them into + 15sp4 [jsc#SLE-23521] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iputils.spec ++++++ --- /var/tmp/diff_new_pack.1IpWae/_old 2022-01-27 23:16:34.087143472 +0100 +++ /var/tmp/diff_new_pack.1IpWae/_new 2022-01-27 23:16:34.095143416 +0100 @@ -1,7 +1,7 @@ # # spec file for package iputils # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,7 +46,17 @@ %description This package contains some small network tools for IPv4 and IPv6 like -ping, arping and tracepath. +rdisc, ping, arping and tracepath. + +%package -n rarpd +Summary: Reverse Address Resolution Protocol Daemon +Group: Productivity/Networking/System +%systemd_requires + +%description -n rarpd +Rarpd listens on the Ethernet for broadcast packets asking for reverse +address resolution. These packets are sent by hosts at boot time to find +out their IP addresses. %prep %autosetup -p1 @@ -55,7 +65,7 @@ # Pulled-in by the LINK.o variable. export LDFLAGS="-Wl,-z,relro,-z,now" -%meson -DBUILD_NINFOD=false -DBUILD_RARPD=false -DBUILD_RDISC=false -DNO_SETCAP_OR_SUID=true -Db_pie=true -Dc_std=none +%meson -DBUILD_NINFOD=false -DBUILD_RARPD=true -DNO_SETCAP_OR_SUID=true -Db_pie=true -Dc_std=none %meson_build %install @@ -68,6 +78,12 @@ # symlink to man tracepath6(8) ln -sf %{_mandir}/man8/tracepath.8%{ext_man} %{buildroot}%{_mandir}/man8/tracepath6.8%{ext_man} +# Install service files and create rc compat symling +install -Dpm 0644 %_vpath_builddir/rdisc.service %{buildroot}/%{_unitdir} +install -Dpm 0644 %_vpath_builddir/[email protected] %{buildroot}/%{_unitdir} +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcrarpd +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcrdisc + %if !0%{?usrmerged} # We still have reverse dependencies using /sbin/* or /bin/* # so keep these symlinks for now. They are slowly being fixed @@ -75,6 +91,8 @@ mkdir -p %{buildroot}/{bin,sbin} ln -sf %{_bindir}/arping %{buildroot}/bin ln -sf %{_bindir}/clockdiff %{buildroot}/bin +ln -sf %{_sbindir}/rarpd %{buildroot}/sbin +ln -sf %{_sbindir}/rdisc %{buildroot}/sbin ln -sf %{_bindir}/ping %{buildroot}/bin ln -sf %{_bindir}/ping6 %{buildroot}/bin ln -sf %{_bindir}/tracepath %{buildroot}/bin @@ -83,33 +101,69 @@ %find_lang %{name} +%pre +%service_add_pre rdisc.service + %post +%service_add_post rdisc.service %set_permissions %{_bindir}/clockdiff %verifyscript %verify_permissions -e %{_bindir}/clockdiff +%preun +%service_del_preun rdisc.service + +%postun +%service_del_postun rdisc.service + +%pre -n rarpd +%service_add_pre [email protected] + +%post -n rarpd +%service_add_post [email protected] + +%preun -n rarpd +%service_del_preun [email protected] + +%postun -n rarpd +%service_del_postun [email protected] + %files -f %{name}.lang %license LICENSE %{_bindir}/arping %verify(not mode caps) %attr(0755,root,root) %{_bindir}/clockdiff %verify(not mode caps) %attr(0755,root,root) %{_bindir}/ping %{_bindir}/ping6 +%{_sbindir}/rcrdisc +%{_sbindir}/rdisc %{_bindir}/tracepath %{_bindir}/tracepath6 +%{_unitdir}/rdisc.service %if !0%{?usrmerged} /bin/arping /bin/clockdiff /bin/ping /bin/ping6 +/sbin/rdisc /bin/tracepath /bin/tracepath6 %endif %{_mandir}/man8/arping.8%{?ext_man} %{_mandir}/man8/clockdiff.8%{?ext_man} %{_mandir}/man8/ping.8%{?ext_man} +%{_mandir}/man8/rdisc.8%{?ext_man} %{_mandir}/man8/tracepath.8%{?ext_man} %{_mandir}/man8/tracepath6.8%{?ext_man} +%files -n rarpd +%{_sbindir}/rarpd +%{_unitdir}/[email protected] +%{_sbindir}/rcrarpd +%if !0%{?usrmerged} +/sbin/rarpd +%endif +%{_mandir}/man8/rarpd.8%{?ext_man} + %changelog
