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.vergenet.net/pub/fake/%{version}/%{name}-%{version}.tar.gz
10 URL: http://www.ca.us.vergenet.net/linux/fake/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Fake is a simple utility designed to enable the switching in of backup
15 servers on a LAN. For example, fake can be used to switch in backup
16 mail, Web, and proxy servers during periods of both unscheduled and
17 scheduled down time. Fake works by bringing up an additional interface
18 and using ARP spoofing to take over the IP address of another machine
19 on the LAN. The additional interface can be a physical interface or a
20 logical interface (an IP alias). Fake is configurable and can be
21 automated using systems that monitor the availability of servers (like
29 %{__make} CC="%{__cc} %{rpmcflags}"
32 rm -rf $RPM_BUILD_ROOT
34 %{__make} ROOT_DIR=$RPM_BUILD_ROOT install
36 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/fake/run/CVS
38 gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc *.gz docs/*.txt.gz
46 %{_sysconfdir}/fake/run
47 %config %{_sysconfdir}/fake/.fakerc
48 %config %{_sysconfdir}/fake/clear_routers
49 %config %{_sysconfdir}/fake/instance_config/203.12.97.7.cfg
50 %attr(755,root,root) %{_bindir}/send_arp
51 %attr(755,root,root) %{_bindir}/fake