Hello community,

here is the log from the commit of package iputils for openSUSE:Factory checked 
in at 2017-12-13 11:56:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iputils (Old)
 and      /work/SRC/openSUSE:Factory/.iputils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "iputils"

Wed Dec 13 11:56:03 2017 rev:40 rq:555872 version:s20161105

Changes:
--------
--- /work/SRC/openSUSE:Factory/iputils/iputils.changes  2017-12-03 
10:11:16.463672330 +0100
+++ /work/SRC/openSUSE:Factory/.iputils.new/iputils.changes     2017-12-13 
11:56:08.435131290 +0100
@@ -1,0 +2,17 @@
+Mon Dec 11 08:20:16 UTC 2017 - [email protected]
+
+- Install rdisc as rdisc, do not use in.rdisc anymore (xinetd which
+  was using in.* names is obsolete anyways)
+
+-------------------------------------------------------------------
+Mon Dec 11 07:31:23 UTC 2017 - [email protected]
+
+- iputils: remove man pages of unused binaries: ninfod, pg3, rdisc
+  (rdisc is in a separate package)
+
+-------------------------------------------------------------------
+Sat Dec  9 08:32:23 UTC 2017 - [email protected]
+
+- Add systemd service for rarpd
+
+-------------------------------------------------------------------

New:
----
  rarpd.service

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

Other differences:
------------------
++++++ iputils.spec ++++++
--- /var/tmp/diff_new_pack.AWZE4r/_old  2017-12-13 11:56:09.483080701 +0100
+++ /var/tmp/diff_new_pack.AWZE4r/_new  2017-12-13 11:56:09.487080508 +0100
@@ -23,7 +23,8 @@
 License:        BSD-3-Clause AND GPL-2.0+
 Group:          Productivity/Networking/Other
 Url:            https://github.com/iputils/iputils
-Source:         https://github.com/iputils/iputils/archive/%{version}.tar.gz
+Source0:        https://github.com/iputils/iputils/archive/%{version}.tar.gz
+Source1:        rarpd.service
 Patch8:         iputils-sec-ping-unblock.diff
 Patch9:         iputils-ping-interrupt.diff
 # PATCH-FIX-UPSTREAM 
iputils-remove-bogus-check-required-for-2.4.9-kernels.patch [email protected] - 
boo#927831
@@ -35,6 +36,7 @@
 BuildRequires:  opensp
 BuildRequires:  perl-SGMLS
 BuildRequires:  pkgconfig
+BuildRequires:  systemd-rpm-macros
 # For Makefile modifications
 BuildRequires:  sed
 BuildRequires:  pkgconfig(libidn)
@@ -52,6 +54,7 @@
 %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
@@ -88,7 +91,7 @@
 install arping         %{buildroot}/%{_sbindir}
 install clockdiff      %{buildroot}/%{_sbindir}
 install rarpd      %{buildroot}/%{_sbindir}
-install rdisc            %{buildroot}/%{_sbindir}/in.rdisc
+install rdisc            %{buildroot}/%{_sbindir}
 # boo#795788
 install tracepath      %{buildroot}/%{_bindir}
 install ping             %{buildroot}/%{_bindir}
@@ -104,7 +107,7 @@
 ln -sf %{_sbindir}/arping       %{buildroot}/sbin
 ln -sf %{_sbindir}/clockdiff    %{buildroot}/sbin
 ln -sf %{_sbindir}/rarpd        %{buildroot}/sbin
-ln -sf %{_sbindir}/in.rdisc     %{buildroot}/sbin
+ln -sf %{_sbindir}/rdisc        %{buildroot}/sbin
 ln -sf %{_bindir}/tracepath     %{buildroot}/bin
 ln -sf %{_bindir}/ping          %{buildroot}/bin
 ln -sf %{_bindir}/ping6         %{buildroot}/bin
@@ -112,17 +115,33 @@
 #EndUsrMerge
 
 mkdir -p %{buildroot}/%{_mandir}/man8
-# Remove conflicting manpages
-rm doc/tftpd* doc/traceroute*
+# Remove conflicting / unused manpages
+rm doc/ninfod* doc/pg3* doc/rdisc* doc/tftpd* doc/traceroute*
 # Install the rest
 install  -m 644 doc/*.8                %{buildroot}%{_mandir}/man8/
 
+# Install rarp service and create rc compat symling
+install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/rarpd.service
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcrarpd
+
 %post
 %set_permissions %{_bindir}/ping
 
 %verifyscript
 %verify_permissions -e %{_bindir}/ping
 
+%pre -n rarpd
+%service_add_pre rarpd.service
+
+%post -n rarpd
+%service_add_post rarpd.service
+
+%preun -n rarpd
+%service_del_preun rarpd.service
+
+%postun -n rarpd
+%service_del_postun rarpd.service
+
 %files
 %doc RELNOTES
 %verify(not mode caps) %attr(0755,root,root) %{_bindir}/ping
@@ -131,7 +150,7 @@
 %{_sbindir}/clockdiff
 %{_bindir}/tracepath
 %{_bindir}/tracepath6
-%{_sbindir}/in.rdisc
+%{_sbindir}/rdisc
 #UsrMerge
 /bin/ping
 /bin/ping6
@@ -139,19 +158,18 @@
 /bin/tracepath6
 /sbin/arping
 /sbin/clockdiff
-/sbin/in.rdisc
+/sbin/rdisc
 #EndUsrMerge
 %{_mandir}/man8/arping.8%{ext_man}
 %{_mandir}/man8/clockdiff.8%{ext_man}
-%{_mandir}/man8/ninfod.8%{ext_man}
-%{_mandir}/man8/pg3.8%{ext_man}
 %{_mandir}/man8/ping.8%{ext_man}
-%{_mandir}/man8/rdisc.8%{ext_man}
 %{_mandir}/man8/tracepath.8%{ext_man}
 #EndUsrMerge
 
 %files -n rarpd
 %{_sbindir}/rarpd
+%{_sbindir}/rcrarpd
+%{_unitdir}/rarpd.service
 #UsrMerge
 /sbin/rarpd
 #EndUsrMerge

++++++ rarpd.service ++++++
[Unit]
Description=Reverse Address Resolution Protocol Requests Server
Requires=network.target
After=syslog.target network.target

[Service]
Type=forking
EnvironmentFile=-/etc/sysconfig/rarpd
ExecStart=/usr/sbin/rarpd $OPTIONS $INTERFACE
StandardError=syslog

[Install]
WantedBy=multi-user.target


Reply via email to