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