1 Summary: Switches in redundant servers using arp spoofing
6 Group: Networking/Utilities
7 Group(pl): Sieciowe/Narzêdzia
8 Source0: ftp://ftp.zipworld.com.au/pub/linux/fake/%{name}-%{version}.tar.gz
9 URL: http://linux.zipworld.com.au/redundant_linux/
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Fake is a utility that enables the IP address be taken over by
14 bringing up a second interface on the host machine and using
15 gratuitous arp. Designed to switch in backup servers on a LAN.
22 %{__make} CC="gcc $RPM_OPT_FLAGS"
25 rm -rf $RPM_BUILD_ROOT
27 %{__make} ROOT_DIR=$RPM_BUILD_ROOT install
29 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/fake/run/CVS
31 gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt
34 rm -rf $RPM_BUILD_ROOT
37 %defattr(644,root,root,755)
38 %doc *.gz docs/*.txt.gz
39 %attr(755,root,root) %{_bindir}/send_arp
40 %attr(755,root,root) %{_bindir}/fake
41 %config %{_sysconfdir}/fake/.fakerc
42 %config %{_sysconfdir}/fake/clear_routers
43 %config %{_sysconfdir}/fake/instance_config/203.12.97.7.cfg
44 %{_sysconfdir}/fake/run