|
|
86e0e9 |
Name: ipvsadm
|
|
|
86e0e9 |
Summary: Utility to administer the Linux Virtual Server
|
|
|
8d9ea2 |
Version: 1.31
|
|
|
1dfdb8 |
Release: 1%{?dist}
|
|
|
86e0e9 |
License: GPLv2+
|
|
|
86e0e9 |
URL: https://kernel.org/pub/linux/utils/kernel/ipvsadm/
|
|
|
86e0e9 |
|
|
|
86e0e9 |
Source0: https://kernel.org/pub/linux/utils/kernel/ipvsadm/%{name}-%{version}.tar.gz
|
|
|
86e0e9 |
Source1: ipvsadm.service
|
|
|
86e0e9 |
Source2: ipvsadm-config
|
|
|
86e0e9 |
|
|
|
86e0e9 |
Patch3: 0003-ipvsadm-use-CFLAGS-and-LDFLAGS-environment-variables.patch
|
|
|
86e0e9 |
|
|
|
86e0e9 |
BuildRequires: gcc
|
|
|
86e0e9 |
Buildrequires: libnl3-devel
|
|
|
86e0e9 |
Buildrequires: popt-devel
|
|
|
86e0e9 |
BuildRequires: systemd
|
|
|
86e0e9 |
|
|
|
86e0e9 |
Requires(post): systemd
|
|
|
86e0e9 |
Requires(preun): systemd
|
|
|
86e0e9 |
Requires(postun): systemd
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%description
|
|
|
86e0e9 |
ipvsadm is used to setup, maintain, and inspect the virtual server
|
|
|
86e0e9 |
table in the Linux kernel. The Linux Virtual Server can be used to
|
|
|
86e0e9 |
build scalable network services based on a cluster of two or more
|
|
|
86e0e9 |
nodes. The active node of the cluster redirects service requests to a
|
|
|
86e0e9 |
collection of server hosts that will actually perform the
|
|
|
86e0e9 |
services. Supported Features include:
|
|
|
86e0e9 |
- two transport layer (layer-4) protocols (TCP and UDP)
|
|
|
86e0e9 |
- three packet-forwarding methods (NAT, tunneling, and direct routing)
|
|
|
86e0e9 |
- eight load balancing algorithms (round robin, weighted round robin,
|
|
|
86e0e9 |
least-connection, weighted least-connection, locality-based
|
|
|
86e0e9 |
least-connection, locality-based least-connection with
|
|
|
86e0e9 |
replication, destination-hashing, and source-hashing)
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%prep
|
|
|
86e0e9 |
%setup -q
|
|
|
86e0e9 |
%patch3 -p1
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%build
|
|
|
86e0e9 |
%set_build_flags
|
|
|
86e0e9 |
%{__make}
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%install
|
|
|
86e0e9 |
%{__rm} -rf %{buildroot}
|
|
|
86e0e9 |
%{__mkdir_p} %{buildroot}%{_sysconfdir}/rc.d/init.d
|
|
|
86e0e9 |
%{__make} install BUILD_ROOT=%{buildroot}%{_prefix} SBIN=%{buildroot}%{_sbindir} MANDIR=%{buildroot}%{_mandir} MAN=%{buildroot}%{_mandir}/man8 INIT=%{buildroot}%{_sysconfdir}/rc.d/init.d
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%{__rm} -f %{buildroot}%{_sysconfdir}/rc.d/init.d/%{name}
|
|
|
86e0e9 |
%{__install} -p -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
|
|
|
86e0e9 |
%{__install} -p -D -m 0600 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}-config
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%post
|
|
|
86e0e9 |
%systemd_post %{name}.service
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%preun
|
|
|
86e0e9 |
%systemd_preun %{name}.service
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%postun
|
|
|
86e0e9 |
%systemd_postun_with_restart %{name}.service
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%files
|
|
|
86e0e9 |
%defattr(-,root,root,-)
|
|
|
86e0e9 |
%doc MAINTAINERS README
|
|
|
86e0e9 |
%{_unitdir}/%{name}.service
|
|
|
86e0e9 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}-config
|
|
|
86e0e9 |
%{_sbindir}/%{name}
|
|
|
86e0e9 |
%{_sbindir}/%{name}-restore
|
|
|
86e0e9 |
%{_sbindir}/%{name}-save
|
|
|
86e0e9 |
%{_mandir}/man8/%{name}.8*
|
|
|
86e0e9 |
%{_mandir}/man8/%{name}-restore.8*
|
|
|
86e0e9 |
%{_mandir}/man8/%{name}-save.8*
|
|
|
86e0e9 |
|
|
|
86e0e9 |
%changelog
|
|
|
8d9ea2 |
* Mon Jan 06 2020 Ryan O'Hara <rohara@redhat.com> - 1.31-1
|
|
|
8d9ea2 |
- Update to 1.31 (#1777995)
|
|
|
8d9ea2 |
|
|
|
1dfdb8 |
* Tue Dec 03 2019 Ryan O'Hara <rohara@redhat.com> - 1.30-1
|
|
|
1dfdb8 |
- Update to 1.30 (#1777995)
|
|
|
1dfdb8 |
|
|
|
1dfdb8 |
* Mon Oct 21 2019 Ryan O'Hara <rohara@redhat.com> - 1.29-9
|
|
|
1dfdb8 |
- Add gating tests (#1682107)
|
|
|
1dfdb8 |
|
|
|
86e0e9 |
* Tue Feb 27 2018 Ryan O'Hara <rohara@redhat.com> - 1.29-8
|
|
|
86e0e9 |
- Use CFLAGS and LDFLAGS environment variables (#1543790)
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Feb 23 2018 Ryan O'Hara <rohara@redhat.com> - 1.29-7
|
|
|
86e0e9 |
- Add %set_build_flags (#1543790)
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-6
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Feb 05 2018 Ryan O'Hara <rohara@redhat.com> - 1.29-5
|
|
|
86e0e9 |
- Catch the original errno from netlink answer (#1526813)
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-4
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-3
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Dec 29 2016 Ryan O'Hara <rohara@redhat.com> - 1.29-1
|
|
|
86e0e9 |
- Update to 1.29 (#1408437)
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-3
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Feb 09 2015 Ryan O'Hara <rohara@redhat.com> - 1.28-1
|
|
|
86e0e9 |
- Update to 1.28
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-7
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-6
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed May 21 2014 Ryan O'Hara <rohara@redhat.com> - 1.27-5
|
|
|
86e0e9 |
- Fix ipvsadm to show backup sync daemon
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Tue May 20 2014 Ryan O'Hara <rohara@redhat.com> - 1.27-4
|
|
|
86e0e9 |
- Fix compiler warnings
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon May 19 2014 Ryan O'Hara <rohara@redhat.com> - 1.27-3
|
|
|
86e0e9 |
- Update spec file and fix install paths
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Nov 22 2013 Xose Vazquez Perez <xose.vazquez@gmail.com> - 1.27-2
|
|
|
86e0e9 |
- Link with libnl3
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Sep 06 2013 Ryan O'Hara <rohara@redhat.com> - 1.27-1
|
|
|
86e0e9 |
- Update to 1.27
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-9
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Mar 20 2013 Ryan O'Hara <rohara@redhat.com> - 1.26-8
|
|
|
86e0e9 |
- Use new systemd-rpm macros in ipvsadm spec file (#850168).
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-7
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-6
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Jul 9 2012 Ryan O'Hara <rohara@redhat.com> - 1.26-5
|
|
|
86e0e9 |
- Fix list_daemon to not assume sync daemon status is ordered (#805208).
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Apr 19 2012 Jon Ciesla <limburgher@gmail.com> - 1.26-4
|
|
|
86e0e9 |
- Migrate to systemd, BZ 720175.
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-3
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Jul 11 2011 Matthias Saou <http://freshrpms.net/> 1.26-2
|
|
|
86e0e9 |
- Backport the init script from RHEL6, which contains lots of changes to make
|
|
|
86e0e9 |
it behave simlarly to the iptables init script (#593276).
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Sat Jul 9 2011 Matthias Saou <http://freshrpms.net/> 1.26-1
|
|
|
86e0e9 |
- Update to 1.26 (#676167).
|
|
|
86e0e9 |
- Remove upstreamed Makefile and activeconns patchs, rebase popt patch.
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-6
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Apr 29 2010 Matthias Saou <http://freshrpms.net/> 1.25-5
|
|
|
86e0e9 |
- Include patch to fix activeconns when using the netlink interface (#573921).
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-4
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
|
|
|
86e0e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Dec 24 2008 Matthias Saou <http://freshrpms.net/> 1.25-2
|
|
|
86e0e9 |
- Fork the included init script to be (mostly) LSB compliant (#246955).
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 1.25-1
|
|
|
86e0e9 |
- Prepare update to 1.25 for when devel will update to kernel 2.6.28.
|
|
|
86e0e9 |
- Build require libnl-devel and popt-devel (+ patch to fix popt detection).
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
|
|
|
86e0e9 |
- Autorebuild for GCC 4.3
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Oct 22 2007 Matthias Saou <http://freshrpms.net/> 1.24-10
|
|
|
86e0e9 |
- Update to latest upstream sources. Same filename, but updated content!
|
|
|
86e0e9 |
- Update kernhdr patch for it to still apply, update ip_vs.h from 1.2.0 to
|
|
|
86e0e9 |
1.2.1 from kernel 2.6.23.1.
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Aug 24 2007 Matthias Saou <http://freshrpms.net/> 1.24-9
|
|
|
86e0e9 |
- Spec file cleanup.
|
|
|
86e0e9 |
- Update License field.
|
|
|
86e0e9 |
- Don't "chkconfig --del" upon update.
|
|
|
86e0e9 |
- Add missing kernel-headers build requirement.
|
|
|
86e0e9 |
- Update URL and Source locations.
|
|
|
86e0e9 |
- Remove outdated piranha obsoletes, it has never been part of any Fedora.
|
|
|
86e0e9 |
- No longer mark init script as config.
|
|
|
86e0e9 |
- Include Makefile patch to prevent stripping and install init script.
|
|
|
86e0e9 |
- The init script could use a rewrite... leave that one for later.
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.24-8.1
|
|
|
86e0e9 |
- rebuild
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon May 15 2006 Phil Knirsch <pknirsch@redhat.com> - 1.24-8
|
|
|
86e0e9 |
- Added missing prereq to chkconfig
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.24-7.2.1
|
|
|
86e0e9 |
- bump again for double-long bug on ppc(64)
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.24-7.2
|
|
|
86e0e9 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
86e0e9 |
- rebuilt
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Mar 14 2005 Lon Hohberger <lhh@redhat.com> 1.24-7
|
|
|
86e0e9 |
- rebuilt
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
86e0e9 |
- rebuilt
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Tue Mar 16 2004 Mike McLean <mikem@redhat.com> 1.24-4.2.ipvs120
|
|
|
86e0e9 |
- bump release
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Tue Mar 02 2004 Mike McLean <mikem@redhat.com> 1.24-4.1.ipvs120
|
|
|
86e0e9 |
- update to new version for 2.6 kernel
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Jan 08 2004 Mike McLean <mikem@redhat.com> 1.21-10.ipvs108
|
|
|
86e0e9 |
- fixing a minor bug/typo in output format processing
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Aug 06 2003 Mike McLean <mikem@redhat.com> 1.21-9.ipvs108
|
|
|
86e0e9 |
- Dropping kernel-source BuildRequires and including a local copy of
|
|
|
86e0e9 |
net/ip_vs.h to compensate.
|
|
|
86e0e9 |
- Incorporating some upstream changes, most notably the --sort option.
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Jun 13 2003 Mike McLean <mikem@redhat.com> 1.21-8
|
|
|
86e0e9 |
- dropping ppc from excluded arches
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Apr 4 2003 Mike McLean <mikem@redhat.com> 1.21-7
|
|
|
86e0e9 |
- changing %%ExcludeArch
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Fri Apr 4 2003 Mike McLean <mikem@redhat.com> 1.21-6
|
|
|
86e0e9 |
- added BuildRequires: kernel-source
|
|
|
86e0e9 |
- escaped all %% characters in %%changelog
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Dec 2 2002 Mike McLean <mikem@redhat.com> 1.21-5
|
|
|
86e0e9 |
- Improved the description in the ipvsadm initscript.
|
|
|
86e0e9 |
- fixed Buildroot to use _tmppath
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Aug 21 2002 Philip Copeland <bryce@redhat.com> 1.21-4
|
|
|
86e0e9 |
- Argh,.. %%docdir was defined which overrode what I'd
|
|
|
86e0e9 |
intended to happen
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Aug 1 2002 Philip Copeland <bryce@redhat.com>
|
|
|
86e0e9 |
- Ah... the manuals were being pushed into /usr/man
|
|
|
86e0e9 |
instead of /usr/share/man. Fixed.
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Tue Jul 16 2002 Philip Copeland <bryce@redhat.com>
|
|
|
86e0e9 |
- Minor Makefile tweak so that we do a minimal hunt for to find
|
|
|
86e0e9 |
the ip_vs.h file location
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Sun Dec 16 2001 Wensong Zhang <wensong@linuxvirtualserver.org>
|
|
|
86e0e9 |
- Changed to install ipvsadm man pages according to the %%{_mandir}
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Sat Dec 30 2000 Wensong Zhang <wensong@linuxvirtualserver.org>
|
|
|
86e0e9 |
- update the %%file section
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Sun Dec 17 2000 Wensong Zhang <wensong@linuxvirtualserver.org>
|
|
|
86e0e9 |
- Added a if-condition to keep both new or old rpm utility building
|
|
|
86e0e9 |
the package happily.
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Tue Dec 12 2000 P.opeland <bryce@redhat.com>
|
|
|
86e0e9 |
- Small modifications to make the compiler happy in RH7 and the Alpha
|
|
|
86e0e9 |
- Fixed the documentation file that got missed off in building
|
|
|
86e0e9 |
the rpm
|
|
|
86e0e9 |
- Made a number of -pedantic mods though popt will not compile with
|
|
|
86e0e9 |
-pedantic
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Aug 9 2000 Horms <horms@vergenet.net>
|
|
|
86e0e9 |
- Removed Obseletes tag as ipvsadm is back in /sbin where it belongs
|
|
|
86e0e9 |
as it is more or less analogous to both route and ipchains both of
|
|
|
86e0e9 |
which reside in /sbin.
|
|
|
86e0e9 |
- Create directory to install init script into. Init scripts won't install
|
|
|
86e0e9 |
into build directory unless this is done
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Thu Jul 6 2000 Wensong Zhang <wensong@linuxvirtualserver.org>
|
|
|
86e0e9 |
- Changed to build rpms on the ipvsadm tar ball directly
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Wed Jun 21 2000 P.Copeland <copeland@redhat.com>
|
|
|
86e0e9 |
- fixed silly install permission settings
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Jun 19 2000 P.Copeland <copeland@redhat.com>
|
|
|
86e0e9 |
- Added 'dist' and 'rpms' to the Makefile
|
|
|
86e0e9 |
- Added Obsoletes tag since there were early versions
|
|
|
86e0e9 |
of ipvsadm-*.rpm that installed in /sbin
|
|
|
86e0e9 |
- Obsolete tag was a bit vicious re: piranha
|
|
|
86e0e9 |
|
|
|
86e0e9 |
* Mon Apr 10 2000 Horms <horms@vergenet.net>
|
|
|
86e0e9 |
- created for version 1.9
|
|
|
86e0e9 |
|