iproute-vl.spec 15 KB

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