Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-keepalived-1223
dba-keepalived-1223.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-keepalived-1223.spec of Package dba-keepalived-1223
%define real_name keepalived %define version 1.2.23 %define vers 1223 %define prefix /DBA/%{real_name}/%{version} %define dbasnmp 0 Name: dba-%{real_name}-%{vers} Summary: High Availability monitor built upon LVS, VRRP and service pollers Version: %{version} Release: 1 Group: System Environment/Daemons License: GPLv2+ URL: http://www.keepalived.org/ Source0: http://www.keepalived.org/software/keepalived-%{version}.tar.gz Source1: keepalived.service BuildRoot: %{_tmppath}/%{real_name}-%{version}-build %if 0%{?suse_version} %define dbasnmp 1 %endif %if 0%{?rhel_version} == 406 || 0%{?rhel_version} == 505 || 0%{?centos_version} == 505 %define dbasnmp 1 %endif BuildRequires: openssl-devel pkg-config %if %{dbasnmp} BuildRequires: dba-net-snmp-573-static %define snmpdir /DBA/net-snmp/5.7.3 BuildRequires: rpm-devel %else BuildRequires: net-snmp-devel %endif %if 0%{?suse_version} >= 1100 BuildRequires: linux-kernel-headers %else %if 0%{?fedora_version} || 0%{?centos_version} >= 600 BuildRequires: libnl3-devel BuildRequires: ipset-devel kernel-devel BuildRequires: libnfnetlink-devel %endif %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description Keepalived provides simple and robust facilities for load balancing and high availability to Linux system and Linux based infrastructures. The load balancing framework relies on well-known and widely used Linux Virtual Server (IPVS) kernel module providing Layer4 load balancing. Keepalived implements a set of checkers to dynamically and adaptively maintain and manage load-balanced server pool according their health. High availability is achieved by VRRP protocol. VRRP is a fundamental brick for router failover. In addition, keepalived implements a set of hooks to the VRRP finite state machine providing low-level and high-speed protocol interactions. Keepalived frameworks can be used independently or all together to provide resilient infrastructures. %prep %setup -q -n %{real_name}-%{version} %build CFLAGS="%{?use_capnetraw:-DENABLE_F_OPTION} $RPM_OPT_FLAGS" %if %{dbasnmp} export CFLAGS="$CFLAGS -I%{snmpdir}/include" export LDFLAGS="$LDFLAGS -L/%{snmpdir}/lib" export NETSNMP_CONFIG="%{snmpdir}/bin/net-snmp-config" %endif ./configure --prefix=%{prefix} \ --enable-profile \ --enable-vrrp \ %if 0%{?suse_version} != 1500 --enable-snmp \ --enable-snmp-rfc %endif %{__make} %{?_smp_mflags} STRIP=/bin/true %install %{__mkdir_p} %{buildroot}%{prefix} %{__make} install DESTDIR=%{buildroot} %if 0%{?suse_version} != 1500 mkdir -p %{buildroot}%{prefix}/snmp/mibs/ %{__mv} %{buildroot}%{_datadir}/snmp/mibs/KEEPALIVED-MIB \ %{buildroot}%{prefix}/snmp/mibs/KEEPALIVED-MIB.txt %{__mv} %{buildroot}%{_datadir}/snmp/mibs/VRRP-MIB \ %{buildroot}%{prefix}/snmp/mibs/VRRP-MIB.txt %{__mv} %{buildroot}%{_datadir}/snmp/mibs/VRRPv3-MIB \ %{buildroot}%{prefix}/snmp/mibs/VRRPv3-MIB.txt %endif %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Thu Feb 27 2020 Dennis Hampe <dennis.hampe@bertelsmann.de> - use dba-net-snmp-573-static * Thu Sep 8 2016 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor