Summary: The RARP daemon Name: rarpd Version: ss981107 Release: 47%{?dist} License: GPLv2+ Group: System Environment/Daemons Source: ftp://ftp.fi.netbsd.org/.m/mirrors1/ftp.inr.ac.ru/ip-routing/dhcp.bootp.rarp/rarpd-%{version}.tar.gz Source1: rarpd.service Source2: LICENSE Patch0: rarpd-%{version}.patch Patch1: rarpd-fd-leak.patch Patch2: rarpd-sprintf.patch Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units BuildRequires: systemd-units %description RARP (Reverse Address Resolution Protocol) is a protocol which allows individual devices on an IP network to get their own IP addresses from the RARP server. Some machines (e.g. SPARC boxes) use this protocol instead of e.g. DHCP to query their IP addresses during network bootup. Linux kernels up to 2.2 used to provide a kernel daemon for this service, but since 2.3 kernels it is served by this userland daemon. You should install rarpd if you want to set up a RARP server on your network. %prep %setup -q -n rarpd %patch0 -p1 -b .ss981107 %patch1 -p1 -b .fd-leak %patch2 -p1 -b .sprintf %build %ifarch s390 s390x export CFLAGS="$RPM_OPT_FLAGS -fPIC" %else export CFLAGS="$RPM_OPT_FLAGS -fpic" %endif export LDFLAGS="-pie -Wl,-z,relro,-z,now" make CFLAGS="$CFLAGS" cp %{SOURCE2} . %install mkdir -p ${RPM_BUILD_ROOT}%{_unitdir} mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8 install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_unitdir}/rarpd.service install -m 755 rarpd ${RPM_BUILD_ROOT}%{_sbindir}/rarpd install -m 644 rarpd.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/rarpd.8 %post %systemd_post rarpd.service %preun %systemd_preun rarpd.service %postun %systemd_postun_with_restart rarpd.service %files %doc README LICENSE %{_sbindir}/rarpd %{_mandir}/man8/* %{_unitdir}/* %changelog * Sat Feb 11 2017 Fedora Release Engineering - ss981107-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - ss981107-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - ss981107-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - ss981107-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - ss981107-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - ss981107-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jun 11 2013 Honza Horak - ss981107-41 - Fix some packaging issues - Adding license text since upstream is dead * Fri May 24 2013 Honza Horak - ss981107-40 - Build the daemon with full relro - Removing systemd compat calls - Removing requirement of syslog.target * Thu Feb 14 2013 Fedora Release Engineering - ss981107-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Oct 04 2012 Honza Horak - ss981107-37 - Run %%triggerun regardless of systemd_post variable definition * Tue Sep 11 2012 Honza Horak - ss981107-36 - Minor spec file changes - Use new systemd macros (Resolves: #850293) * Sat Jul 21 2012 Fedora Release Engineering - ss981107-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - ss981107-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Aug 05 2011 Honza Horak - ss981107-33 - added systemd native unit file, removed patches for a former initscript * Fri Aug 05 2011 Honza Horak - ss981107-32 - fixed rarpd-ss981107.patch to be apply-able - fixed some rpmlint errors * Wed Feb 09 2011 Fedora Release Engineering - ss981107-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Aug 10 2009 Ville Skyttä - ss981107-30 - Convert specfile to UTF-8. * Sun Jul 26 2009 Fedora Release Engineering - ss981107-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - ss981107-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Sep 3 2008 Tom "spot" Callaway - ss981107-27 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - ss981107-26.1 - Autorebuild for GCC 4.3 * Wed Aug 29 2007 Jiri Moskovcak - ss981107-25.1 - renamed patch file * Wed Aug 29 2007 Jiri Moskovcak - ss981107-25 - Modified init script to allow user to set the rarpd options via /etc/sysconfig/rarpd - Resolves: #218998 * Wed Aug 29 2007 Fedora Release Engineering - ss981107-24 - Rebuild for selinux ppc32 issue. * Mon Jul 23 2007 Jiri Moskovcak - ss981107-23 - Init script rewrite to comply with LSB. - Resolves: #247042 * Wed Jul 12 2006 Jesse Keating - ss981107-22.2.2 - rebuild * Fri Feb 10 2006 Jesse Keating - ss981107-22.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - ss981107-22.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Tue Jul 26 2005 Phil Knirsch ss981107-22 - Fixed and optimized loop with sprintf usage - Added missing stdlib.h include * Thu Jul 14 2005 Phil Knirsch ss981107-21 - Fix for leak socket descriptors (#162000) * Wed Mar 02 2005 Phil Knirsch ss981107-20 - bump release and rebuild with gcc 4 * Fri Feb 18 2005 Phil Knirsch ss981107-19 - rebuilt * Tue Jun 15 2004 Elliot Lee ss981107-18 - rebuilt * Wed May 12 2004 Phil Knirsch ss981107-17 - Enabled PIE compilation and linking. * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Dec 11 2002 Tim Powers ss981107-13 - rebuild on all arches * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Wed Jan 09 2002 Tim Powers - automated rebuild * Thu Mar 15 2001 Trond Eivind Glomsrød - more generic i18n (#26555) * Mon Feb 5 2001 Bernhard Rosenkraenzer - i18nize init scripts (#26086) * Thu Aug 17 2000 Jeff Johnson - summaries from specspo. - typo in init script (#16450). * Thu Jul 20 2000 Bill Nottingham - move initscript back * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jul 10 2000 Preston Brown - move initscript, condrestart magic * Sun Jun 18 2000 Jeff Johnson - FHS packaging. * Fri Jun 16 2000 Bill Nottingham - don't run by default * Fri Apr 7 2000 Jakub Jelinek - initial package