SPECS: keepalived.spec - pl, chkconfig deps

qboosh qboosh at pld-linux.org
Mon Oct 3 19:09:41 CEST 2005


Author: qboosh                       Date: Mon Oct  3 17:09:41 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, chkconfig deps

---- Files affected:
SPECS:
   keepalived.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/keepalived.spec
diff -u SPECS/keepalived.spec:1.1 SPECS/keepalived.spec:1.2
--- SPECS/keepalived.spec:1.1	Tue Sep 27 04:37:16 2005
+++ SPECS/keepalived.spec	Mon Oct  3 19:09:35 2005
@@ -1,6 +1,8 @@
 # $Revision$, $Date$
-Name:		keepalived
+# TODO: why it uses 2.6.x kernel header directly instead of llh?
 Summary:	HA monitor built upon LVS, VRRP and services poller
+Summary(pl):	Monitor HA zbudowany w oparciu o LVS, VRRP i narzędzie do sprawdzania usług
+Name:		keepalived
 Version:	1.1.11
 Release:	0.8
 License:	GPL v2
@@ -11,21 +13,38 @@
 URL:		http://www.keepalived.org/
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	popt-devel
+Requires(post,preun):	/sbin/chkconfig
+Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The main goal of the keepalived project is to add a strong & robust
 keepalive facility to the Linux Virtual Server project. This project
 is written in C with multilayer TCP/IP stack checks. Keepalived
-implements a framework based on three family checks : Layer3, Layer4 &
+implements a framework based on three family checks: Layer3, Layer4 &
 Layer5. This framework gives the daemon the ability of checking a LVS
 server pool states. When one of the server of the LVS server pool is
-down, keepalived informs the linux kernel via a setsockopt call to
-remove this server entrie from the LVS topology. In addition
+down, keepalived informs the Linux kernel via a setsockopt call to
+remove this server entry from the LVS topology. In addition
 keepalived implements a VRRPv2 stack to handle director failover. So
 in short keepalived is a userspace daemon for LVS cluster nodes
 healthchecks and LVS directors failover.
 
+%description -l pl
+Głównym celem projektu keepalived jest dodanie potężnego udogodnienia
+keepalive do projektu Linux Virtual Server. Ten projekt jest napisany
+w C z wielowarstwowym sprawdzaniem stosu TCP/IP. keepalived
+implementuje szkielet oparty na sprawdzaniu trzech rodzin: warstwy 3,
+warstwy 4 i warstwy 5. Ten szkielet daje demonowi możliwość
+sprawdzania stanów puli serwerów LVS. Kiedy jeden serwer z puli
+serwerów LVS przestaje działać, keepalived informuje o tym jądro
+Linuksa poprzez wywołanie setsockopt w celu usunięcia wpisu o serwerze
+z topologii LVS. Poza tym keepalived implementuje stos VRRPv2 do
+obsługi przejmowania zadań (failover) samego urządzenia zarządzającego
+(director). Czyli w skrócie keepalived to działający w przestrzeni
+użytkownika demon do sprawdzania stanu węzłów klastra LVS oraz
+przejmowania zadań urządzenia zarządzającego.
+
 %prep
 %setup -q
 sed -i 's/_KRNL_2_2_/_KRNL_2_6_/' configure
@@ -57,7 +76,9 @@
 /sbin/chkconfig --add keepalived
 
 %preun
-/sbin/chkconfig --del keepalived
+if [ "$1" = "0" ]; then
+	/sbin/chkconfig --del keepalived
+fi
 
 %files
 %defattr(644,root,root,755)
@@ -75,6 +96,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/10/03 17:09:35  qboosh
+- pl, chkconfig deps
+
 Revision 1.1  2005/09/27 02:37:16  zbyniu
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/keepalived.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list