X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffake.git;a=blobdiff_plain;f=fake.spec;h=d3b2b488ae3a4f48a2e5aa09cddac0f4cca42300;hp=8ed25ea6dfababb1727aaecf3783ab6698ae9177;hb=f4fa9e24022cca704caf82a5b2e10cde51aca459;hpb=c34b3e023c9323324ed81d15f6c4541f2858b5f5 diff --git a/fake.spec b/fake.spec index 8ed25ea..d3b2b48 100644 --- a/fake.spec +++ b/fake.spec @@ -1,30 +1,37 @@ Summary: Switches in redundant servers using arp spoofing Name: fake -Version: 1.1.2 -Release: 2 +Version: 1.1.6 +Release: 1 License: GPL Group: Networking/Utilities +Group(de): Netzwerkwesen/Werkzeuge Group(pl): Sieciowe/Narzêdzia -Source0: ftp://ftp.zipworld.com.au/pub/linux/fake/%{name}-%{version}.tar.gz -URL: http://linux.zipworld.com.au/redundant_linux/ +Source0: ftp://ftp.vergenet.net/pub/fake/%{version}/%{name}-%{version}.tar.gz +URL: http://www.ca.us.vergenet.net/linux/fake/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Fake is a utility that enables the IP address be taken over by -bringing up a second interface on the host machine and using -gratuitous arp. Designed to switch in backup servers on a LAN. +Fake is a simple utility designed to enable the switching in of backup +servers on a LAN. For example, fake can be used to switch in backup +mail, Web, and proxy servers during periods of both unscheduled and +scheduled down time. Fake works by bringing up an additional interface +and using ARP spoofing to take over the IP address of another machine +on the LAN. The additional interface can be a physical interface or a +logical interface (an IP alias). Fake is configurable and can be +automated using systems that monitor the availability of servers (like +Heartbeat and Heart). %prep %setup -q -make patch +%{__make} patch %build -make CC="gcc $RPM_OPT_FLAGS" +%{__make} CC="%{__cc} %{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT -make ROOT_DIR=$RPM_BUILD_ROOT install +%{__make} ROOT_DIR=$RPM_BUILD_ROOT install rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/fake/run/CVS @@ -36,9 +43,9 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz docs/*.txt.gz -%attr(755,root,root) %{_bindir}/send_arp -%attr(755,root,root) %{_bindir}/fake +%{_sysconfdir}/fake/run %config %{_sysconfdir}/fake/.fakerc %config %{_sysconfdir}/fake/clear_routers %config %{_sysconfdir}/fake/instance_config/203.12.97.7.cfg -%{_sysconfdir}/fake/run +%attr(755,root,root) %{_bindir}/send_arp +%attr(755,root,root) %{_bindir}/fake