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