]> git.pld-linux.org Git - packages/fake.git/blob - fake.spec
8bf97b096e3fc4a293378813c5f450774125520d
[packages/fake.git] / fake.spec
1 Summary:        Switches in redundant servers using arp spoofing
2 Name:           fake
3 Version:        1.1.2
4 Release:        2
5 Copyright:      GPL
6 Group:          Networking/Utilities
7 Source:         ftp://ftp.zipworld.com.au/pub/linux/fake/%{name}-%{version}.tar.gz
8 URL:            http://linux.zipworld.com.au/redundant_linux/
9 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10
11 %description
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.
15
16 %prep
17 %setup -q
18 make patch
19
20 %build
21 make CC="gcc $RPM_OPT_FLAGS"
22
23 %install
24 rm -rf $RPM_BUILD_ROOT
25
26 make ROOT_DIR=$RPM_BUILD_ROOT install
27
28 rm -rf $RPM_BUILD_ROOT/etc/fake/run/CVS
29
30 gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %doc *.gz docs/*.txt.gz
38 %attr(755,root,root) %{_bindir}/send_arp
39 %attr(755,root,root) %{_bindir}/fake
40 %config /etc/fake/.fakerc
41 %config /etc/fake/clear_routers
42 %config /etc/fake/instance_config/203.12.97.7.cfg
43 /etc/fake/run
This page took 0.061106 seconds and 2 git commands to generate.