source: projects/specs/trunk/i/iproute/iproute-vl.spec @ 12534

Revision 12534, 15.9 KB checked in by tomop, 3 years ago (diff)

updated 7 packages

freetype2-2.10.4-1

iproute-5.10.0-1

kmod-28-1

libunwind-1.5.0-1

net-tools-2.10-1

screen-4.8.0-2

util-linux-2.36.2-1

Line 
1%bcond_without tipc
2
3Summary:        Advanced IP routing and network device configuration tools
4Summary(ja):    IP ルーティング,ネットワークデバイスの設定ツール
5Name:           iproute
6Version:        5.10.0
7Release:        1%{?_dist_release}
8Group:          system,network,admin-tools
9Vendor:         Project Vine
10Distribution:   Vine Linux
11
12License:        GPLv2+ and Public Domain
13URL:            https://wiki.linuxfoundation.org/networking/iproute2
14Source:         https://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.xz
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17BuildRequires: bison flex
18BuildRequires: iptables-devel >= 1.4.10
19BuildRequires: libdb-devel
20BuildRequires: libpcap-devel
21BuildRequires: pkgconfig
22%if %{with tipc}
23BuildRequires: libmnl-devel
24%endif
25
26Requires: iptables >= 1.4.10
27
28%description
29The iproute package contains networking utilities (ip and rtmon, for example)
30which are designed to use the advanced networking capabilities of the Linux
31kernel.
32
33%description -l ja
34 このiprouteパッケージには、進歩したカーネルのネットワーク技術を使うように
35設計されたネットワーキングユーティリティ(ip, rtmon等々)が収録されています。
36
37
38%package doc
39Summary: ip and tc documentation with examples
40Summary(ja): ip, tcのドキュメントとサンプル
41Group: documentation
42License: GPLv2+
43
44%description doc
45The iproute documentation contains howtos and examples of settings.
46
47
48%package devel
49Summary: Libraries, includes, etc. to develop iptables
50Summary(ja): iproute の開発用ライブラリ,ヘッダファイル
51Group: programming
52Requires: %{name} = %{version}
53
54%description devel
55Libraries, include files, etc you can use to develop iproute2.
56
57
58%package -n arpd
59Summary: arpd - userspace arp daemon
60Summary(ja): arpd - ユーザー空間のarpデーモン
61Group: network,system
62Requires: %{name} = %{version}
63
64%description -n arpd
65 The arpd daemon collects gratuitous ARP information, saving it on local
66disk  and  feeding it to the kernel on demand to avoid redundant broad
67casting due to limited size of the kernel ARP cache.
68
69
70%debug_package
71
72
73%prep
74%setup -q -n iproute2-%{version}
75
76
77%build
78export CFLAGS="%{optflags}"
79export LIBDIR=/%{_libdir}
80export IPT_LIB_DIR=/%{_lib}/xtables
81./configure
82make %{?_smp_mflags}
83
84
85%install
86[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
87
88export DESTDIR='%{buildroot}'
89export SBINDIR='%{_sbindir}'
90export MANDIR='%{_mandir}'
91export LIBDIR='%{_libdir}'
92export CONFDIR='%{_sysconfdir}/iproute2'
93export DOCDIR='%{_docdir}'
94make install
95
96mkdir -p %{buildroot}/sbin
97for f in ifcfg ip rtmon tc; do
98  mv -f %{buildroot}%{_sbindir}/$f %{buildroot}/sbin/
99done
100
101# libnetlink
102install -D -m644 include/libnetlink.h %{buildroot}%{_includedir}/libnetlink.h
103install -D -m644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a
104
105
106%clean
107[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
108
109
110%files
111%license COPYING
112%doc README
113%dir %{_sysconfdir}/iproute2
114%attr(644,root,root) %config(noreplace) %{_sysconfdir}/iproute2/*
115/sbin/*
116%{_sbindir}/*
117%exclude %{_sbindir}/arpd
118%dir %{_libdir}/tc/
119%{_libdir}/tc/*
120%dir %{_datadir}/bash-completion
121%dir %{_datadir}/bash-completion/completions
122%{_datadir}/bash-completion/completions/*
123%{_mandir}/man7/*
124%{_mandir}/man8/*
125%exclude %{_mandir}/man8/arpd.8*
126
127%files doc
128%license COPYING
129%doc doc/*
130%doc examples
131
132%files devel
133%license COPYING
134%{_mandir}/man3/*
135%{_libdir}/libnetlink.a
136%{_includedir}/libnetlink.h
137%{_includedir}/iproute2/bpf_elf.h
138
139%files -n arpd
140%license COPYING
141%{_sbindir}/arpd
142%{_mandir}/man8/arpd.8*
143
144
145%changelog
146* Thu Feb 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.10.0-1
147- new upstream release.
148
149* Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.6.0-1
150- new upstream release.
151- dropped Source1 and 2.
152- dropped Patch1 and 100.
153- added a new subpackage "arpd".
154- modified %%description.
155
156* Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.14.1-2
157- rebuilt with iptables-1.6.
158
159* Fri Dec 01 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.14.1-1
160- new upstream release.
161- dropped TeX docs.
162
163* Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.1-1
164- new upstream release.
165- dropped all patches and imported from fc23.
166
167* Thu May 22 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.14.0-1
168- new upstream release.
169- replaced Patch100.
170
171* Fri Apr 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.38-1
172- update to 2.6.38.1
173- build with iptables-1.4.10
174- add BR: iptables-devel
175
176* Mon Apr 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.31-5
177- don't build/include documents. (almost same as man pages...)
178- remove BR: texlive ,linuxdoc-tools
179
180* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> - 2.6.31-4
181- rebuilt with rpm-4.8.1-3
182
183* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.31-3
184- rebuilt with gcc-4.4.3-3 on ppc
185
186* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.31-2
187- rebuilt with rpm-4.8.0-3 (on ppc)
188
189* Wed Feb 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.31-1
190- new upstream release
191  - import patches from fedora package
192- build with db4-4.8
193
194* Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.25-2
195- updated to 2.6.25 based on 2.6.25-1 from Fedora
196- build with db4-4.6.21
197- keep Patch100 from 2.6.16-1vl5
198-changelogs for previous Vine package as follows:
199  - Fri Apr 11 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.6.16-1
200  - apply new versioning policy.
201
202  - Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.16-0vl1
203  - updated to 2.6.16 and merged several patches from FC 2.6.16-6
204    (Patch10 not applied until VineSeed kernel goes higher versions)
205  - rebuilt with new toolchain and db4-4.3.x
206
207  - Fri Sep 15 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.15-0vl2
208  - added Patch5 to make documents without errors
209
210  - Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.15-0vl1
211  - update to 2.6.15-060110
212
213  - Mon Jun  6 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.11-1vl3
214  - added BuildRequires: linuxdoc-tools
215
216  - Mon Jun  6 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.11-1vl2
217  - lib*.a is moved to %{_libdir}/iproute2 (ad-hoc?)
218
219  - Sun Jun  5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.6.11-1vl1
220  - new upstream release
221  - changed Group: of devel package
222  - applyed patches from Fedora development
223    - Wed May 26 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.7-16
224    - Took tons of manpages from debian, much more complete (#123952).
225  - added Japanese translation from spec translation project :-)
226
227  - Sun Mar 23 2003 Takeru INOUE <takeru.inoue@gamma.ocn.ne.jp>
228  - 2.2.4-14vl2
229  - rename package name iproute to iproute2
230  - rebuild development version
231
232* Mon Apr 21 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.6.25-1
233- update
234- remove patch for backward compatibility
235- add patch for AEAD compatibility
236
237* Thu Feb 21 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.6.23-4
238- add creating ps file again. Fix was done in texlive
239
240* Wed Feb  6 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.6.23-3
241- rebuild without tetex files. It isn't working in rawhide yet. Added
242        new source for ps files.
243- #431179 backward compatibility for previous iproute versions
244
245* Mon Jan 21 2008 Marcela Maslanova <mmaslano@redhat.com> - 2.6.23-2
246- rebuild with fix tetex and linuxdoc-tools -> manual pdf
247- clean unnecessary patches
248- add into spec *.so objects, new BR linux-atm-libs-devel
249
250* Wed Oct 31 2007 Marcela Maslanova <mmaslano@redhat.com> - 2.6.23-1
251- new version from upstrem 2.3.23
252
253* Tue Oct 23 2007 Marcela Maslanova <mmaslano@redhat.com> - 2.6.22-5
254- move files from /usr/lib/tc to /usr/share/tc
255- remove listing files twice
256
257* Thu Aug 30 2007 Marcela Maslanova <mmaslano@redhat.com> - 2.6.22-3
258- package review #225903
259
260* Mon Aug 27 2007 Jeremy Katz <katzj@redhat.com> - 2.6.22-2
261- rebuild for new db4
262
263* Wed Jul 11 2007 Radek Vokál <rvokal@redhat.com> - 2.6.22-1
264- upgrade to 2.6.22
265
266* Mon Mar 19 2007 Radek Vokál <rvokal@redhat.com> - 2.6.20-2
267- fix broken tc-pfifo man page (#232891)
268
269* Thu Mar 15 2007 Radek Vokál <rvokal@redhat.com> - 2.6.20-1
270- upgrade to 2.6.20
271
272* Fri Dec 15 2006 Radek Vokál <rvokal@redhat.com> - 2.6.19-1
273- upgrade to 2.6.19
274
275* Mon Dec 11 2006 Radek Vokál <rvokal@redhat.com> - 2.6.18-5
276- fix snapshot version
277
278* Fri Dec  1 2006 Radek Vokál <rvokal@redhat.com> - 2.6.18-4
279- spec file cleanup
280- one more rebuilt against db4
281
282* Thu Nov 16 2006 Radek Vokál <rvokal@redhat.com> - 2.6.18-3
283- fix defective manpage for tc-pfifo (#215399)
284
285* Mon Nov 13 2006 Radek Vokál <rvokal@redhat.com> - 2.6.18-2
286- rebuilt against new db4
287
288* Tue Oct  3 2006 Radek Vokal <rvokal@redhat.com> - 2.6.18-1
289- upgrade to upstream 2.6.18
290- initcwnd patch merged
291- bug fix for xfrm monitor
292- alignment fixes for cris
293- documentation corrections
294       
295* Mon Oct  2 2006 Radek Vokal <rvokal@redhat.com> - 2.6.16-7
296- fix ip.8 man page, add initcwnd option
297
298* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 2.6.16-6
299- rebuilt for unwind info generation, broken in gcc-4.1.1-21
300
301* Tue Sep 19 2006 Radek Vokal <rvokal@redhat.com> - 2.6.16-5
302- fix crash when resolving ip address
303
304* Mon Aug 21 2006 Radek Vokál <rvokal@redhat.com> - 2.6.16-4
305- add LOWER_UP and DORMANT flags (#202199)
306- use dist tag
307
308* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.6.16-3.1
309- rebuild
310
311* Mon Jun 26 2006 Radek Vokál <rvokal@redhat.com> - 2.6.16-3
312- improve handling of initcwnd value (#179719)
313
314* Sun May 28 2006 Radek Vokál <rvokal@redhat.com> - 2.6.16-2
315- fix BuildRequires: flex (#193403)
316
317* Sun Mar 26 2006 Radek Vokál <rvokal@redhat.com> - 2.6.16-1
318- upgrade to 2.6.16-060323
319- don't hardcode /usr/lib in tc (#186607)
320
321* Wed Feb 22 2006 Radek Vokál <rvokal@redhat.com> - 2.6.15-2
322- own /usr/lib/tc (#181953)
323- obsoletes shapecfg (#182284)
324
325* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.6.15-1.2
326- bump again for double-long bug on ppc(64)
327
328* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.6.15-1.1
329- rebuilt for new gcc4.1 snapshot and glibc changes
330
331* Tue Jan 17 2006 Radek Vokal <rvokal@redhat.com> 2.6.15-1
332- upgrade to 2.6.15-060110
333
334* Mon Dec 12 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-11
335- rebuilt
336
337* Fri Dec 09 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-10
338- remove backup of config files (#175302)
339
340* Fri Nov 11 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-9
341- use tc manpages and cbq.init from source tarball (#172851)
342
343* Thu Nov 10 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-8
344- new upstream source
345
346* Mon Oct 31 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-7
347- add warning to ip tunnel add command (#128107)
348
349* Fri Oct 07 2005 Bill Nottingham <notting@redhat.com> 2.6.14-6
350- update from upstream (appears to fix #170111)
351
352* Fri Oct 07 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-5
353- update from upstream
354- fixed host_len size for memcpy (#168903) <Matt_Domsch@dell.com>
355
356* Fri Sep 23 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-4
357- add RPM_OPT_FLAGS
358
359* Mon Sep 19 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-3
360- forget to apply the patch :(
361
362* Mon Sep 19 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-2
363- make ip help work again (#168449)
364
365* Wed Sep 14 2005 Radek Vokal <rvokal@redhat.com> 2.6.14-1
366- upgrade to ss050901 for 2.6.14 kernel headers
367
368* Fri Aug 26 2005 Radek Vokal <rvokal@redhat.com> 2.6.13-3
369- added /sbin/cbq script and sample configuration files (#166301)
370
371* Fri Aug 19 2005 Radek Vokal <rvokal@redhat.com> 2.6.13-2
372- upgrade to iproute2-050816
373
374* Thu Aug 11 2005 Radek Vokal <rvokal@redhat.com> 2.6.13-1
375- update to snapshot for 2.6.13+ kernel
376
377* Tue May 24 2005 Radek Vokal <rvokal@redhat.com> 2.6.11-2
378- removed useless initvar patch (#150798)
379- new upstream source
380
381* Tue Mar 15 2005 Radek Vokal <rvokal@redhat.com> 2.6.11-1
382- update to iproute-2.6.11
383
384* Fri Mar 04 2005 Radek Vokal <rvokal@redhat.com> 2.6.10-2
385- gcc4 rebuilt
386
387* Wed Feb 16 2005 Radek Vokal <rvokal@redhat.com> 2.6.10-1
388- update to iproute-2.6.10
389
390* Thu Dec 23 2004 Radek Vokal <rvokal@redhat.com> 2.6.9-6
391- added arpd into sbin
392
393* Mon Nov 29 2004 Radek Vokal <rvokal@redhat.com> 2.6.9-5
394- debug info removed from makefile and from spec (#140891)
395
396* Tue Nov 16 2004 Radek Vokal <rvokal@redhat.com> 2.6.9-4
397- source file updated from snapshot version
398- endian patch adding <endian.h>
399
400* Sat Sep 18 2004 Joshua Blanton <jblanton@cs.ohiou.edu> 2.6.9-3
401- added installation of netem module for tc
402
403* Mon Sep 06 2004 Radek Vokal <rvokal@redhat.com> 2.6.9-2
404- fixed possible buffer owerflow, path by Steve Grubb <linux_4ever@yahoo.com>
405
406* Wed Sep 01 2004 Radek Vokal <rvokal@redhat.com> 2.6.9-1
407- updated to iproute-2.6.9, spec file change, patches cleared
408
409* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
410- rebuilt
411
412* Wed May 26 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.7-16
413- Took tons of manpages from debian, much more complete (#123952).
414
415* Thu May 06 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.7-15
416- rebuilt
417
418* Thu May 06 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.7-13.2
419- Built security errata version for FC1.
420
421* Wed Apr 21 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.7-14
422- Fixed -f option for ss (#118355).
423- Small description fix (#110997).
424- Added initialization of some vars (#74961).
425- Added patch to initialize "default" rule as well (#60693).
426
427* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
428- rebuilt
429
430* Wed Nov 05 2003 Phil Knirsch <pknirsch@redhat.com> 2.4.7-12
431- Security errata for netlink (CAN-2003-0856).
432
433* Thu Oct 23 2003 Phil Knirsch <pknirsch@redhat.com>
434- Updated to latest version. Used by other distros, so seems stable. ;-)
435- Quite a few patches needed updating in that turn.
436- Added ss (#107363) and several other new nifty tools.
437
438* Tue Jun 17 2003 Phil Knirsch <pknirsch@redhat.com>
439- rebuilt
440
441* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
442- rebuilt
443
444* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
445- rebuilt
446
447* Thu Jan 16 2003 Phil Knirsch <pknirsch@redhat.com> 2.4.7-7
448- Added htb3-tc patch from http://luxik.cdi.cz/~devik/qos/htb/ (#75486).
449
450* Fri Oct 11 2002 Bill Nottingham <notting@redhat.com> 2.4.7-6
451- remove flags patch at author's request
452
453* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
454- automated rebuild
455
456* Wed Jun 19 2002 Phil Knirsch <pknirsch@redhat.com> 2.4.7-4
457- Don't forcibly strip binaries
458
459* Mon May 27 2002 Phil Knirsch <pknirsch@redhat.com> 2.4.7-3
460- Fixed missing diffserv and atm support in config (#57278).
461- Fixed inconsistent numeric base problem for command line (#65473).
462
463* Tue May 14 2002 Phil Knirsch <pknirsch@redhat.com> 2.4.7-2
464- Added patch to fix crosscompiling by Adrian Linkins.
465
466* Fri Mar 15 2002 Phil Knirsch <pknirsch@redhat.com> 2.4.7-1
467- Update to latest stable release 2.4.7-now-ss010824.
468- Added simple man page for ip.
469
470* Wed Aug  8 2001 Bill Nottingham <notting@redhat.com>
471- allow setting of allmulti & promisc flags (#48669)
472
473* Mon Jul 02 2001 Than Ngo <than@redhat.com>
474- fix build problem in beehive if kernel-sources is not installed
475
476* Fri May 25 2001 Helge Deller <hdeller@redhat.de>
477- updated to iproute2-2.2.4-now-ss001007.tar.gz
478- bzip2 source tar file
479- "License" replaces "Copyright"
480- added "BuildPrereq: tetex-latex tetex-dvips psutils"
481- rebuilt for 7.2
482
483* Tue May  1 2001 Bill Nottingham <notting@redhat.com>
484- use the system headers - the included ones are broken
485- ETH_P_ECHO went away
486
487* Sat Jan  6 2001 Jeff Johnson <jbj@redhat.com>
488- test for specific KERNEL_INCLUDE directories.
489
490* Thu Oct 12 2000 Than Ngo <than@redhat.com>
491- rebuild for 7.1
492
493* Thu Oct 12 2000 Than Ngo <than@redhat.com>
494- add default configuration files for iproute (Bug #10549, #18887)
495
496* Tue Jul 25 2000 Jakub Jelinek <jakub@redhat.com>
497- fix include-glibc/ to cope with glibc 2.2 new resolver headers
498
499* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
500- automatic rebuild
501
502* Sun Jun 18 2000 Than Ngo <than@redhat.de>
503- rebuilt in the new build environment
504- use RPM macros
505- handle RPM_OPT_FLAGS
506
507* Sat Jun 03 2000 Than Ngo <than@redhat.de>
508- fix iproute to build with new glibc
509
510* Fri May 26 2000 Ngo Than <than@redhat.de>
511- update to 2.2.4-now-ss000305
512- add configuration files
513
514* Mon Sep 13 1999 Bill Nottingham <notting@redhat.com>
515- strip binaries
516
517* Mon Aug 16 1999 Cristian Gafton <gafton@redhat.com>
518- first build
Note: See TracBrowser for help on using the repository browser.