]> git.pld-linux.org Git - packages/fake.git/blobdiff - fake.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/fake.git] / fake.spec
index b9466b612e5f87a1dff63cefc0383317ae79139f..a32f4a62efc49c9073896d948fe00162894f3671 100644 (file)
--- a/fake.spec
+++ b/fake.spec
@@ -1,64 +1,73 @@
-# Note that this is NOT a relocatable package
-%define ver      1.1.1
-%define rel      1
-%define prefix   /usr
-
-Summary: Switches in redundant servers using arp spoofing
-Name: fake
-Version: %ver
-Release: %rel
-Copyright: GPL
-Group: Networking/Utilities
-Source: ftp://ftp.zipworld.com.au/pub/linux/fake/fake-%{ver}.tar.gz
-Obsoletes: fake
-BuildRoot: /tmp/fake-root
-Packager: Horms <horms@zipworld.com.au>
-URL: http://linux.zipworld.com.au/redundant_linux/
-Docdir: %{prefix}/doc
+Summary:       Switches in redundant servers using arp spoofing
+Summary(es):   Software para arp spoofing
+Summary(pl):   Prze³±czanie redundantnych serwerów poprzez arp spoofing
+Summary(pt_BR):        Software para arp spoofing
+Name:          fake
+Version:       1.1.8
+Release:       1
+License:       GPL
+Group:         Networking/Utilities
+Source0:       http://www.vergenet.net/linux/fake/download/%{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).
+
+%description -l es
+Fake es un utilitario que permite que otras maquinas en la red puedan
+tomar direcciones IP. Este software fue desarrollado para permitir el
+uso de servidores de copias de seguridad (backup) en una red local.
 
+%description -l pl
+Fake jest prostym narzêdziem pozwalaj±cym na w³±czanie zapasowych
+serwerów w sieci. Na przyk³ad, mo¿e byæ u¿yty do w³±czenia zapasowego
+serwera poczty, WWW, proxy w czasie zamierzonego lub niezamierzonego
+nie dzia³ania podstawowego serwera. Fake dzia³a poprzez podnoszenie
+dodatkowego interfejsu i spoofowanie adresu ARP aby przej±æ adres IP
+innej maszyny w sieci lokalnej. Dodatkowy interfejs mo¿e byæ
+interfejsem fizycznym lub logicznym (aliasem IP). Fake jest
+konfigurowalny i mo¿e u¿ywaæ systemów automatycznie monitoruj±cych
+dostêpno¶æ serwerów (np. Heartbeat lub Heart).
+
+%description -l pt_BR
+O Fake é um utilitário que permite que endereços IP possam ser tomados
+por outras máquinas na rede. Este software foi desenvolvido para se
+permitir o uso de servidores de backup em uma rede local.
 
 %prep
-%setup -n fake-%{ver}
-make patch
+%setup -q
+%{__make} patch
 
 %build
-CFLAGS="${RPM_OPT_FLAGS}"
-make
+%{__make} CC="%{__cc} %{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make ROOT_DIR=$RPM_BUILD_ROOT install
+%{__make} ROOT_DIR=$RPM_BUILD_ROOT MAN8_DIR=$RPM_BUILD_ROOT%{_mandir}/man8 install
+
+rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/fake/run/CVS
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-
-%postun
-
 %files
-%defattr(-,root,root)
-
-%doc README 
-%doc AUTHORS 
-%doc COPYING 
-%doc ChangeLog
-%doc docs
-%doc docs/arp_fun.txt
-%doc docs/redundant_linux.txt
-%doc docs/redundant_linux.ps.gz
-%doc docs/redundant_linux.tar.gz
-
-%{prefix}/bin/send_arp
-%{prefix}/bin/fake
-%config /etc/fake/.fakerc
-%config /etc/fake/clear_routers
-%config /etc/fake/instance_config/203.12.97.7.cfg
-/etc/fake/run
+%defattr(644,root,root,755)
+%doc README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt
+%dir %{_sysconfdir}/fake
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fake/.fakerc
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fake/clear_routers
+%dir %{_sysconfdir}/fake/instance_config
+%config %{_sysconfdir}/fake/instance_config/203.12.97.7.cfg
+%attr(755,root,root) %{_sbindir}/send_arp
+%attr(755,root,root) %{_sbindir}/fake
+%{_mandir}/man8/*
This page took 0.07765 seconds and 4 git commands to generate.