1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Applications/System
11 url = http://www.keepalived.org/
13 summary = High Availability monitor built upon LVS, VRRP and service pollers.
16 The main goal of the keepalived project is to add a strong & robust keepalive
17 facility to the Linux Virtual Server project. This project is written in C with
18 multilayer TCP/IP stack checks. Keepalived implements a framework based on
19 three family checks : Layer3, Layer4 & Layer5/7. This framework gives the
20 daemon the ability to check the state of an LVS server pool. When one of the
21 servers of the LVS server pool is down, keepalived informs the linux kernel via
22 a setsockopt call to remove this server entry from the LVS topology. In
23 addition keepalived implements an independent VRRPv2 stack to handle director
24 failover. So in short keepalived is a userspace daemon for LVS cluster nodes
25 healthchecks and LVS directors failover.
28 source_dl = http://www.keepalived.org/software/
33 net-snmp-devel >= 5.7.2-2
39 configure_options += \
43 make_targets += STRIP=/bin/true
46 # A build could silently have LVS support disabled if the kernel includes can't
47 # be properly found, we need to avoid that.
48 if ! grep -q "IPVS_SUPPORT='_WITH_LVS_'" config.log; then
49 echo "ERROR: We do not want keeepalived lacking LVS support."
55 rm -rvf %{BUILDROOT}/etc/rc.d \
56 %{BUILDROOT}/etc/keepalived/samples
63 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
67 /bin/systemctl --no-reload disabled keepalived.service >/dev/null 2>&1 || :
68 /bin/systemctl stop keepalived.service >/dev/null 2>&1 || :
72 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
73 /bin/systemctl try-restart keepalived.service >/dev/null 2>&1 || :
77 package %{name}-debuginfo