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