2024-01-06 01:22:14 +01:00
|
|
|
Name: keepalived
|
2024-01-06 01:22:15 +01:00
|
|
|
Version: 1.3.5
|
2024-01-06 01:22:15 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 01:22:14 +01:00
|
|
|
Summary: HA monitor built upon LVS, VRRP and services poller
|
|
|
|
Group: Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.keepalived.org/
|
|
|
|
Source: http://www.keepalived.org/software/%{name}-%{version}.tar.gz
|
2024-01-06 01:22:14 +01:00
|
|
|
Source1: keepalived.service
|
2024-01-06 01:22:14 +01:00
|
|
|
Patch: %{name}-1.1.10-manpath.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 01:22:14 +01:00
|
|
|
BuildRequires: iptables-devel
|
|
|
|
BuildRequires: libnl-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 01:22:14 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
2024-01-06 01:22:14 +01:00
|
|
|
The main goal of the keepalived project is to add a strong end robust keepalive facility to the Linux Virtual Server project.
|
2024-01-06 01:22:14 +01:00
|
|
|
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.
|
2024-01-06 01:22:14 +01:00
|
|
|
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.
|
2024-01-06 01:22:14 +01:00
|
|
|
In addition keepalived implements a VRRPv2 stack to handle director failover.
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
So in short keepalived is a userspace daemon for LVS cluster nodes healthchecks and LVS directors failover.
|
2024-01-06 01:22:14 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
# --with-kernel-dir="/usr/src/linux-`uname -r`"
|
|
|
|
|
2024-01-06 01:22:15 +01:00
|
|
|
%make systemddir=%{_unitdir}
|
2024-01-06 01:22:14 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
2024-01-06 01:22:15 +01:00
|
|
|
%makeinstall systemddir=%{_unitdir}
|
2024-01-06 01:22:14 +01:00
|
|
|
|
2024-01-06 01:22:15 +01:00
|
|
|
#install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/keepalived.service
|
2024-01-06 01:22:14 +01:00
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_initrddir}
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
%post
|
2024-01-06 01:22:14 +01:00
|
|
|
%systemd_post keepalived
|
|
|
|
:
|
2024-01-06 01:22:14 +01:00
|
|
|
|
|
|
|
%preun
|
2024-01-06 01:22:14 +01:00
|
|
|
%systemd_preun keepalived
|
|
|
|
:
|
2024-01-06 01:22:14 +01:00
|
|
|
|
|
|
|
%postun
|
2024-01-06 01:22:14 +01:00
|
|
|
%systemd_postun_with_restart keepalived
|
|
|
|
:
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|
|
|
:
|
2024-01-06 01:22:14 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/keepalived/
|
|
|
|
%config(noreplace) %{_sysconfdir}/keepalived/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/keepalived
|
2024-01-06 01:22:14 +01:00
|
|
|
%{_unitdir}/keepalived.service
|
2024-01-06 01:22:14 +01:00
|
|
|
%{_bindir}/genhash
|
|
|
|
%{_sbindir}/keepalived
|
2024-01-06 01:22:14 +01:00
|
|
|
#%{_datadir}/snmp/mibs/*-MIB
|
2024-01-06 01:22:14 +01:00
|
|
|
%{_mandir}/man?/*
|
|
|
|
%doc AUTHOR CONTRIBUTORS COPYING
|
|
|
|
#% doc TODO README VERSION ChangeLog
|
|
|
|
#% doc doc/keepalived.conf.SYNOPSIS doc/samples/
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 01:22:15 +01:00
|
|
|
* Tue Apr 04 2017 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:15 +01:00
|
|
|
* Fri Feb 24 2017 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:15 +01:00
|
|
|
* Sat Dec 10 2016 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:15 +01:00
|
|
|
* Tue Oct 04 2016 Automatic Build System <autodist@mambasoft.it> 1.2.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:15 +01:00
|
|
|
* Thu Jul 14 2016 Automatic Build System <autodist@mambasoft.it> 1.2.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:15 +01:00
|
|
|
* Sat Jun 18 2016 Automatic Build System <autodist@mambasoft.it> 1.2.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:15 +01:00
|
|
|
* Mon Jun 06 2016 Automatic Build System <autodist@mambasoft.it> 1.2.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Mon Apr 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.20-2mamba
|
|
|
|
- systemd service
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Sun Apr 17 2016 Automatic Build System <autodist@mambasoft.it> 1.2.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Sun Aug 02 2015 Automatic Build System <autodist@mambasoft.it> 1.2.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 1.2.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Fri Jun 05 2015 Automatic Build System <autodist@mambasoft.it> 1.2.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Tue Mar 31 2015 Automatic Build System <autodist@mambasoft.it> 1.2.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 1.2.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Wed Dec 17 2014 Automatic Build System <autodist@mambasoft.it> 1.2.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Fri May 16 2014 Automatic Build System <autodist@mambasoft.it> 1.2.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:22:14 +01:00
|
|
|
* Sun Feb 09 2014 Automatic Build System <autodist@mambasoft.it> 1.2.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 29 2014 Automatic Build System <autodist@mambasoft.it> 1.2.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 04 2014 Automatic Build System <autodist@mambasoft.it> 1.2.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 30 2013 Automatic Build System <autodist@mambasoft.it> 1.2.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 1.2.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 31 2012 Automatic Build System <autodist@mambasoft.it> 1.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 22 2012 Automatic Build System <autodist@mambasoft.it> 1.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 16 2012 Automatic Build System <autodist@mambasoft.it> 1.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 15 2012 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 20 2011 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Dec 10 2010 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jun 28 2010 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 14 2010 Automatic Build System <autodist@mambasoft.it> 1.1.20-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 20 2009 Automatic Build System <autodist@mambasoft.it> 1.1.19-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Sep 29 2009 Automatic Build System <autodist@mambasoft.it> 1.1.18-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.17-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.16-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 03 2008 gil <puntogil@libero.it> 1.1.15-1mamba
|
|
|
|
- update to 1.1.15
|
|
|
|
- removed patch;
|
|
|
|
- edit: vendor, distribution, packager, buildrequires (kernel-mamba-source)
|
|
|
|
|
|
|
|
* Tue Oct 17 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.13-1qilnx
|
|
|
|
- update to version 1.1.13 by autospec
|
|
|
|
|
|
|
|
* Mon Mar 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.12-1qilnx
|
|
|
|
- update to version 1.1.12 by autospec
|
|
|
|
|
|
|
|
* Mon Nov 07 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.11-2qilnx
|
|
|
|
- rebuilt with LinkWatch support (kernel 2.6 only)
|
|
|
|
|
|
|
|
* Tue Mar 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.11-1qilnx
|
|
|
|
- update to version 1.1.11 by autospec
|
|
|
|
|
|
|
|
* Wed Feb 16 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.10-2qilnx
|
|
|
|
- fixex a signal handler issue (patch from CVS)
|
|
|
|
|
|
|
|
* Tue Feb 15 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.10-1qilnx
|
|
|
|
- update to version 1.1.10 by autospec
|
|
|
|
|
|
|
|
* Thu Feb 10 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.9-1qilnx
|
|
|
|
- update to version 1.1.9 by autospec
|
|
|
|
|
|
|
|
* Wed Jan 26 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.8-1qilnx
|
|
|
|
- update to version 1.1.8 by autospec
|
|
|
|
|
|
|
|
* Tue Apr 04 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.7-1qilnx
|
|
|
|
- new version rebuilt
|
|
|
|
|
|
|
|
* Tue Mar 02 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.6-1qilnx
|
|
|
|
- new version rebuilt
|
|
|
|
|
|
|
|
* Mon Jan 26 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.5-1qilnx
|
|
|
|
- package update
|
|
|
|
|
|
|
|
* Fri Jan 09 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.4-2qilnx
|
|
|
|
- fixed preun and postun scripts
|
|
|
|
|
|
|
|
* Tue Dec 30 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.4-1qilnx
|
|
|
|
- rebuilt with latest version
|
|
|
|
- enabled IPVS framework and IPVS sync daemon support
|
|
|
|
- LinkWatch not yet enabled (requires the kernel patch
|
|
|
|
http://www.linux-vs.org/~acassen/software/linux-2.4.23-linkwatch.patch.gz)
|
|
|
|
|
|
|
|
* Mon Nov 03 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.3-1qilnx
|
|
|
|
- first build
|