Search
j0ke.net Open Build Service
>
Projects
>
ha
>
keepalived
> keepalived.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File keepalived.spec of Package keepalived (Revision 22)
Currently displaying revision
22
,
show latest
# needsrootforbuild Name: keepalived Summary: HA monitor built upon LVS, VRRP and services poller Packager: Christophe Varoqui, <christophe.varoqui@free.fr> Version: 1.1.17 Release: 1 Source0: http://www.keepalived.org/software/%{name}-%{version}.tar.gz Source1: %{name}.init Patch: %{name}-initdir.diff License: GPL Group: Applications/System BuildRoot: /tmp/%{name}-%{version}.build BuildRequires: openssl-devel ipvsadm %if 0%{?suse_version} BuildRequires: kernel-source popt-devel %endif %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version} BuildRequires: kernel-devel popt %define kdir %(echo `find /usr/src/kernels -maxdepth 1 -type d |grep "2.6"`) %endif Requires: ipvsadm %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 & 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 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. %prep rm -rf %{buildroot} %setup -q %patch -p1 #%if 0%{?suse_version} == 1020 #%{__make} -C /usr/src/linux prepare scripts #%endif %build export CFLAGS=-D__KERNGLUE__ # the setting of mandir should be %{buildroot}/usr/share/man, but the # makefile adds "man" itself. ./configure --prefix=%{_prefix} \ --exec-prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ %if 0%{?suse_version} --with-kernel-dir=/usr/src/linux \ %endif %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version} --with-kernel-dir=%{kdir} \ %endif --mandir=%{_prefix}/share/man \ --enable-syncd || cat config.log %{__make} %install rm -rf %{buildroot} %makeinstall cd $RPM_BUILD_ROOT/%{_sbindir} %if 0%{?suse_version} cp %{S:1} %{buildroot}/etc/init.d/keepalived %endif ln -sf ../../etc/init.d/keepalived rckeepalived rm -rf %{buildroot}/etc/keepalived/samples %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/genhash %{_sbindir}/keepalived %{_sbindir}/rckeepalived %{_sysconfdir}/init.d/keepalived %config %{_sysconfdir}/sysconfig/keepalived %dir %{_sysconfdir}/keepalived/ %config(noreplace) %{_sysconfdir}/keepalived/keepalived.conf %doc %{_mandir}/man5/keepalived.conf.5* %doc %{_mandir}/man1/genhash.1* %doc %{_mandir}/man8/keepalived.8* %doc doc %doc AUTHOR CONTRIBUTORS TODO COPYING README INSTALL VERSION ChangeLog %changelog * Sun Mar 08 2009 Carsten Schoene <cs@linux-administrator.com> - update to release 1.1.17 - Fixed a regression brought by previous release during low-level scheduler timer computation. - Fixed VRRP MII code to properly test BMSR. - Optimized VRRP script initialization. * Mon Feb 16 2009 Carsten Schoene <cs@linux-administrator.com> - update to release 1.1.16 * Wed Sep 03 2008 Carsten Schoene <cs@linux-administrator.com> - build for CentOS 5 & hopefully for other RH based distributions * Wed Jul 30 2008 Carsten Schoene <cs@linux-administrator.com> - build for RHEL 5 * Thu Nov 01 2007 Carsten Schoene <cs@linux-administrator.com> - add new init script for SuSE environments * Fri Sep 21 2007 Carsten Schoene <cs@linux-administrator.com> - version changed to 1.1.15 - Fixed genshash makefile. - Removed http healthchecker buffer minimization causing crash. - Fixed parser include directive to support multi-level configuration includes. - Extended SSL checker for better handling of SSL handshake. - Fixed http healthcheker issue while processing MD5SUM. - Fixed missing notifications upon VRRP state transition. - Add support for VRRP virtual_routes to route metric. - Add a patch for init_dir setting * Sat Sep 15 2007 Carsten Schoene <cs@linux-administrator.com> - version changed to 1.1.14 - Extended parsing framework to support include directives and error logging. - Merged patches from rpmforge. - Add script goodies directory. - Fixed compilation issue in VRRP code. - Fixed VRRP negative weights in script. - Extended VRRP framework to support Old-style Linux aliases. - Add support to VRRP script logging