[521] | 1 | Summary: Utility to administer the Linux Virtual Server |
---|
| 2 | Summary(ja): Linux Virtual Server を管理するためのユーティリティ |
---|
| 3 | Name: ipvsadm |
---|
[11950] | 4 | Version: 1.29 |
---|
[521] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
[11950] | 7 | Source0: https://kernel.org/pub/linux/utils/kernel/ipvsadm/%{name}-%{version}.tar.xz |
---|
[6030] | 8 | Source1: ipvsadm.init |
---|
| 9 | Source2: ipvsadm-config |
---|
[11950] | 10 | Patch1: 0001-ipvsadm-catch-the-original-errno-from-netlink-answer.patch |
---|
| 11 | Patch2: 0002-libipvs-discrepancy-with-libnl-genlmsg_put.patch |
---|
| 12 | Patch3: 0003-ipvsadm-use-CFLAGS-and-LDFLAGS-environment-variables.patch |
---|
[6030] | 13 | License: GPLv2+ |
---|
[11950] | 14 | URL: https://kernel.org/pub/linux/utils/kernel/ipvsadm/ |
---|
[521] | 15 | Group: Applications/System |
---|
[6030] | 16 | |
---|
[11950] | 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
[521] | 20 | Buildroot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-buildroot |
---|
[11950] | 21 | Buildrequires: libnl3-devel |
---|
[6030] | 22 | Buildrequires: popt-devel |
---|
| 23 | Requires(post): /sbin/chkconfig |
---|
| 24 | Requires(preun): /sbin/chkconfig |
---|
[521] | 25 | |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | ipvsadm is a utility to administer the IP Virtual Server services |
---|
| 29 | offered by the Linux kernel. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %prep |
---|
[6030] | 33 | %setup -q |
---|
[11950] | 34 | %patch1 -p1 |
---|
| 35 | %patch2 -p1 |
---|
| 36 | %patch3 -p1 |
---|
[521] | 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | CFLAGS="${RPM_OPT_FLAGS}" %__make |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | mkdir -p ${RPM_BUILD_ROOT}/{sbin,%{_mandir}/man8,etc/rc.d/init.d} |
---|
| 46 | %__make install BUILD_ROOT=${RPM_BUILD_ROOT} MANDIR=%{_mandir} |
---|
[6030] | 47 | # Overwrite the provided init script with our flexible and LSB compliant one |
---|
| 48 | install -p -m 0755 %{SOURCE1} %{buildroot}/etc/rc.d/init.d/ipvsadm |
---|
| 49 | # Install config file which controls the service behavior |
---|
| 50 | install -D -p -m 0600 %{SOURCE2} %{buildroot}/etc/sysconfig/ipvsadm-config |
---|
[521] | 51 | |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root) |
---|
| 55 | %doc README |
---|
| 56 | %config /etc/rc.d/init.d/ipvsadm |
---|
[6030] | 57 | %config(noreplace) /etc/sysconfig/ipvsadm-config |
---|
[521] | 58 | /sbin/ipvsadm* |
---|
| 59 | %{_mandir}/man8/ipvsadm* |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %post |
---|
| 63 | /sbin/chkconfig --add ipvsadm |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %preun |
---|
| 67 | /sbin/chkconfig --del ipvsadm |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %clean |
---|
| 71 | rm -rf $RPM_BUILD_DIR/%{name} |
---|
| 72 | rm -rf $RPM_BUILD_ROOT |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %changelog |
---|
[11950] | 76 | * Thu Nov 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.29-1 |
---|
| 77 | - updated to 1.29 |
---|
| 78 | - dropped Patch0. |
---|
| 79 | - imported Patch1-3 from rawhide. |
---|
| 80 | - dropped BR: libnl-devel. |
---|
| 81 | - added BR: libnl3-devel. |
---|
| 82 | |
---|
[6030] | 83 | * Wed Apr 11 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.26-1 |
---|
| 84 | - update to 1.26 |
---|
| 85 | - update init scripts |
---|
| 86 | |
---|
[521] | 87 | * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.24-1vl5 |
---|
| 88 | - applied new versioning policy, spec in utf-8 |
---|
| 89 | |
---|
| 90 | * Sun Oct 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.24-0vl1 |
---|
| 91 | - initial build for Vine Linux |
---|
| 92 | |
---|
| 93 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.24-8.1 |
---|
| 94 | - rebuild |
---|
| 95 | |
---|
| 96 | * Mon May 15 2006 Phil Knirsch <pknirsch@redhat.com> - 1.24-8 |
---|
| 97 | - Added missing prereq to chkconfig |
---|
| 98 | |
---|
| 99 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.24-7.2.1 |
---|
| 100 | - bump again for double-long bug on ppc(64) |
---|
| 101 | |
---|
| 102 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.24-7.2 |
---|
| 103 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 104 | |
---|
| 105 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 106 | - rebuilt |
---|
| 107 | |
---|
| 108 | * Mon Mar 14 2005 Lon Hohberger <lhh@redhat.com> 1.24-7 |
---|
| 109 | - rebuilt |
---|
| 110 | |
---|
| 111 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 112 | - rebuilt |
---|
| 113 | |
---|
| 114 | * Tue Mar 16 2004 Mike McLean <mikem@redhat.com> 1.24-4.2.ipvs120 |
---|
| 115 | - bump release |
---|
| 116 | |
---|
| 117 | * Tue Mar 02 2004 Mike McLean <mikem@redhat.com> 1.24-4.1.ipvs120 |
---|
| 118 | - update to new version for 2.6 kernel |
---|
| 119 | |
---|
| 120 | * Thu Jan 08 2004 Mike McLean <mikem@redhat.com> 1.21-10.ipvs108 |
---|
| 121 | - fixing a minor bug/typo in output format processing |
---|
| 122 | |
---|
| 123 | * Wed Aug 06 2003 Mike McLean <mikem@redhat.com> 1.21-9.ipvs108 |
---|
| 124 | - Dropping kernel-source BuildRequires and including a local copy of |
---|
| 125 | net/ip_vs.h to compensate. |
---|
| 126 | - Incorporating some upstream changes, most notably the --sort option. |
---|
| 127 | |
---|
| 128 | * Fri Jun 13 2003 Mike McLean <mikem@redhat.com> 1.21-8 |
---|
| 129 | - dropping ppc from excluded arches |
---|
| 130 | |
---|
[11950] | 131 | * Fri Apr 4 2003 Mike McLean <mikem@redhat.com> 1.21-7 |
---|
[521] | 132 | - changing %%ExcludeArch |
---|
| 133 | |
---|
[11950] | 134 | * Fri Apr 4 2003 Mike McLean <mikem@redhat.com> 1.21-6 |
---|
[521] | 135 | - added BuildRequires: kernel-source |
---|
| 136 | - escaped all %% characters in %%changelog |
---|
| 137 | |
---|
| 138 | * Mon Dec 2 2002 Mike McLean <mikem@redhat.com> 1.21-5 |
---|
| 139 | - Improved the description in the ipvsadm initscript. |
---|
| 140 | - fixed Buildroot to use _tmppath |
---|
| 141 | |
---|
| 142 | * Wed Aug 21 2002 Philip Copeland <bryce@redhat.com> 1.21-4 |
---|
| 143 | - Argh,.. %%docdir was defined which overrode what I'd |
---|
| 144 | intended to happen |
---|
| 145 | |
---|
[11950] | 146 | * Thu Aug 1 2002 Philip Copeland <bryce@redhat.com> |
---|
[521] | 147 | - Ah... the manuals were being pushed into /usr/man |
---|
| 148 | instead of /usr/share/man. Fixed. |
---|
| 149 | |
---|
| 150 | * Tue Jul 16 2002 Philip Copeland <bryce@redhat.com> |
---|
| 151 | - Minor Makefile tweak so that we do a minimal hunt for to find |
---|
| 152 | the ip_vs.h file location |
---|
| 153 | |
---|
[11950] | 154 | * Sun Dec 16 2001 Wensong Zhang <wensong@linuxvirtualserver.org> |
---|
[521] | 155 | - Changed to install ipvsadm man pages according to the %%{_mandir} |
---|
| 156 | |
---|
[11950] | 157 | * Sat Dec 30 2000 Wensong Zhang <wensong@linuxvirtualserver.org> |
---|
[521] | 158 | - update the %%file section |
---|
| 159 | |
---|
[11950] | 160 | * Sun Dec 17 2000 Wensong Zhang <wensong@linuxvirtualserver.org> |
---|
[521] | 161 | - Added a if-condition to keep both new or old rpm utility building |
---|
| 162 | the package happily. |
---|
| 163 | |
---|
| 164 | * Tue Dec 12 2000 P.opeland <bryce@redhat.com> |
---|
| 165 | - Small modifications to make the compiler happy in RH7 and the Alpha |
---|
| 166 | - Fixed the documentation file that got missed off in building |
---|
| 167 | the rpm |
---|
| 168 | - Made a number of -pedantic mods though popt will not compile with |
---|
| 169 | -pedantic |
---|
| 170 | |
---|
| 171 | * Wed Aug 9 2000 Horms <horms@vergenet.net> |
---|
| 172 | - Removed Obseletes tag as ipvsadm is back in /sbin where it belongs |
---|
| 173 | as it is more or less analogous to both route and ipchains both of |
---|
| 174 | which reside in /sbin. |
---|
| 175 | - Create directory to install init script into. Init scripts won't install |
---|
| 176 | into build directory unless this is done |
---|
| 177 | |
---|
| 178 | * Thu Jul 6 2000 Wensong Zhang <wensong@linuxvirtualserver.org> |
---|
| 179 | - Changed to build rpms on the ipvsadm tar ball directly |
---|
| 180 | |
---|
| 181 | * Wed Jun 21 2000 P.Copeland <copeland@redhat.com> |
---|
| 182 | - fixed silly install permission settings |
---|
| 183 | |
---|
| 184 | * Mon Jun 19 2000 P.Copeland <copeland@redhat.com> |
---|
| 185 | - Added 'dist' and 'rpms' to the Makefile |
---|
| 186 | - Added Obsoletes tag since there were early versions |
---|
| 187 | of ipvsadm-*.rpm that installed in /sbin |
---|
| 188 | - Obsolete tag was a bit vicious re: piranha |
---|
| 189 | |
---|
| 190 | * Mon Apr 10 2000 Horms <horms@vergenet.net> |
---|
| 191 | - created for version 1.9 |
---|