source: projects/specs/trunk/i/ipvsadm/ipvsadm-vl.spec @ 12546

Revision 12546, 6.2 KB checked in by tomop, 3 years ago (diff)

updated 28 packages

autoconf-2.71-1

automake-1.16.3-1

bison-3.7.5-1

e2fsprogs-1.46.1-1

findutils-4.8.0-1

galera-26.4.7-1

gawk-5.1.0-1

gdbm-1.19-1

gjs-1.66.2-1

gnome-initial-setup-3.36.4-2

grep-3.6-1

help2man-1.48.1-1

ipvsadm-1.31-1

less-563-1

libidn-1.36-1

make-4.3-1

mariadb-10.5.9-1

mozjs78-78.7.0-1

mpfr-4.1.0-1

nettle-3.7.1-1

parted-3.4-1

pcre2-10.36-1

polkit-0.118-1

strongswan-5.9.1-1

tar-1.34-1

trousers-0.3.15-1

wget-1.21-1

wireshark-3.4.3-1

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