]> git.pld-linux.org Git - packages/fake.git/blob - fake.spec
7b4504122f86969e9ed7b17278e1b59da1996016
[packages/fake.git] / fake.spec
1 Summary:        Switches in redundant servers using arp spoofing
2 Summary(pl):    Prze³±czanie redundantnych serwerów poprzez arp spoofing
3 Name:           fake
4 Version:        1.1.6
5 Release:        2
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        ftp://ftp.vergenet.net/pub/fake/%{version}/%{name}-%{version}.tar.gz
9 URL:            http://www.ca.us.vergenet.net/linux/fake/
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 Fake is a simple utility designed to enable the switching in of backup
14 servers on a LAN. For example, fake can be used to switch in backup
15 mail, Web, and proxy servers during periods of both unscheduled and
16 scheduled down time. Fake works by bringing up an additional interface
17 and using ARP spoofing to take over the IP address of another machine
18 on the LAN. The additional interface can be a physical interface or a
19 logical interface (an IP alias). Fake is configurable and can be
20 automated using systems that monitor the availability of servers (like
21 Heartbeat and Heart).
22
23 %description -l pl
24 Fake jest prostym narzêdziem pozwalaj±cym na w³±czanie zapasowych
25 serwerów w sieci. Na przyk³ad, mo¿e byæ u¿yty do w³±czenia zapasowego
26 serwera poczty, WWW, proxy w czasie zamierzonego lub niezamierzonego
27 nie dzia³ania podstawowego serwera. Fake dzia³a poprzez podnoszenie
28 dodatkowego interfejsu i spoofowanie adresu ARP aby przej±æ adres IP
29 innej maszyny w sieci lokalnej. Dodatkowy interfejs mo¿e byæ
30 interfejsem fizycznym lub logicznym (aliasem IP). Fake jest
31 konfigurowalny i mo¿e u¿ywaæ systemów automatycznie monitoruj±cych
32 dostêpno¶æ serwerów (np. Heartbeat lub Heart).
33
34 %prep
35 %setup -q
36 %{__make} patch
37
38 %build
39 %{__make} CC="%{__cc} %{rpmcflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} ROOT_DIR=$RPM_BUILD_ROOT install
45
46 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/fake/run/CVS
47
48 gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc *.gz docs/*.txt.gz
56 %dir %{_sysconfdir}/fake
57 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fake/.fakerc
58 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fake/clear_routers
59 %dir %{_sysconfdir}/fake/instance_config
60 %config %{_sysconfdir}/fake/instance_config/203.12.97.7.cfg
61 %attr(755,root,root) %{_bindir}/send_arp
62 %attr(755,root,root) %{_bindir}/fake
This page took 0.027435 seconds and 2 git commands to generate.