]>
Commit | Line | Data |
---|---|---|
f4bd6f7f | 1 | Summary: Switches in redundant servers using arp spoofing |
2 | Name: fake | |
3 | Version: 1.1.1 | |
4 | Release: 2 | |
5 | Copyright: GPL | |
6 | Group: Networking/Utilities | |
7 | Source: ftp://ftp.zipworld.com.au/pub/linux/fake/fake-%{ver}.tar.gz | |
8 | URL: http://linux.zipworld.com.au/redundant_linux/ | |
2188ef2e | 9 | BuildRoot: /tmp/%{name}-%{version}-root |
455c16c5 | 10 | |
11 | %description | |
f4bd6f7f | 12 | Fake is a utility that enables the IP address be taken over by bringing up a |
13 | second interface on the host machine and using gratuitous arp. Designed to | |
14 | switch in backup servers on a LAN. | |
455c16c5 | 15 | |
16 | %prep | |
f4bd6f7f | 17 | %setup -q |
455c16c5 | 18 | make patch |
19 | ||
20 | %build | |
21 | CFLAGS="${RPM_OPT_FLAGS}" | |
22 | make | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | ||
27 | make ROOT_DIR=$RPM_BUILD_ROOT install | |
28 | ||
f4bd6f7f | 29 | gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux.txt}.txt |
30 | ||
455c16c5 | 31 | %clean |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
455c16c5 | 34 | %files |
f4bd6f7f | 35 | %defattr(644,root,root,755) |
36 | %doc *.gz docs/*.txt.gz | |
455c16c5 | 37 | %{prefix}/bin/send_arp |
38 | %{prefix}/bin/fake | |
39 | %config /etc/fake/.fakerc | |
40 | %config /etc/fake/clear_routers | |
41 | %config /etc/fake/instance_config/203.12.97.7.cfg | |
42 | /etc/fake/run |