Accepting request 231921 from home:dirkmueller:branches:security:netfilter
- split iproute2-doc subpackage into a separate spec to reduce rebuild times - use version macro instead of rversion - add pre_checkin.sh to sync version number between iproute2 and iproute2-doc - split iproute2-doc subpackage into a separate spec to reduce rebuild times - use version macro instead of rversion - add pre_checkin.sh to sync version number between iproute2 and iproute2-doc - Update to new upstream release 3.14 * ip link: support for High Availability Seamless Redundancy (HSR) network devices. * ip link: support for creating/deleting bonding devices * ip link: support for specifying interface indexes during creation of devices * tc/pkt_sched: add support for the "FQ" Fair Queue packet scheduler * tc: support for the BPF-based traffic classifier * tc, netem: support 64-bit quantity rate speeds * tc: support for the new "PIE" Proportional Integral controller Enhanced scheduler * ss: display PF_LOCAL-SOCK_SEQPACKET sockets as such rather than SOCK_DGRAM * ss: display zone names when so needed * ss: add support for retrieving SELinux contexts - Update to new upstream release 3.12 OBS-URL: https://build.opensuse.org/request/show/231921 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=79
This commit is contained in:
parent
c16da6fd32
commit
dcf7e032b0
907
iproute2-doc.changes
Normal file
907
iproute2-doc.changes
Normal file
@ -0,0 +1,907 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 25 09:44:27 UTC 2014 - dmueller@suse.com
|
||||
|
||||
- split iproute2-doc subpackage into a separate spec to reduce
|
||||
rebuild times
|
||||
- use version macro instead of rversion
|
||||
- add pre_checkin.sh to sync version number between iproute2 and
|
||||
iproute2-doc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 19:46:36 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.14
|
||||
* ip link: support for High Availability Seamless Redundancy
|
||||
(HSR) network devices.
|
||||
* ip link: support for creating/deleting bonding devices
|
||||
* ip link: support for specifying interface indexes during
|
||||
creation of devices
|
||||
* tc/pkt_sched: add support for the "FQ" Fair Queue packet scheduler
|
||||
* tc: support for the BPF-based traffic classifier
|
||||
* tc, netem: support 64-bit quantity rate speeds
|
||||
* tc: support for the new "PIE" Proportional Integral controller
|
||||
Enhanced scheduler
|
||||
* ss: display PF_LOCAL-SOCK_SEQPACKET sockets as such rather than
|
||||
SOCK_DGRAM
|
||||
* ss: display zone names when so needed
|
||||
* ss: add support for retrieving SELinux contexts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 16:35:15 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.12
|
||||
* ip rule: add route suppression options
|
||||
* tc: support for the "fq" Fair Queue packet scheduler
|
||||
* tc: support 64-bit rate estimator statistics
|
||||
* GRE-over-IPv6 tunnel support
|
||||
* VXLAN IPV6 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 12 21:44:57 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.11
|
||||
* Support for Linux 3.11
|
||||
* iptunnel: check SIT_ISATAP flag only for SIT tunnel
|
||||
* ss: show destination address for netlink sockets
|
||||
* ss: Get netlink sockets info via sock_diag
|
||||
* vxlan: Allow setting destination to unicast address
|
||||
* ss: add fastopen support
|
||||
* htb: report overhead attribute
|
||||
* ip: allow to specify mode for sit tunnels
|
||||
* ip: iplink_vlan: add 802.1ad support
|
||||
* iptuntap: allow creation of multi-queue tun/tap device
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 11 13:13:56 UTC 2013 - werner@suse.de
|
||||
|
||||
- Make it build with latest TeXLive 2013
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 5 13:01:09 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.9.0
|
||||
* Support for managing the forwarding tables in Bridge and VXLAN.
|
||||
- Remove 0001-build-resolve-compile-error-due-to-missing-include.patch
|
||||
(merged upstream)
|
||||
- Signature verification for the package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 07:31:11 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.8.0
|
||||
* implement bridge mdb commands
|
||||
* add DOVE extensions
|
||||
* add `ip netns pids` and `ip netns identify`
|
||||
* tc netem: allow negative packet/cell overhead
|
||||
* support tunnels in `ip link type ipip|sit|ip6tnl`
|
||||
- Add 0001-build-resolve-compile-error-due-to-missing-include.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 13 06:43:49 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.7.0
|
||||
* add support for tcp_metrics
|
||||
* iplink: Added support for the kernel IPoIB RTNL ops
|
||||
* ss: Get udp sockets info via sock-diag
|
||||
* tc: add canid ematch to ematch_map
|
||||
* vxlan support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 9 13:27:11 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.6.0
|
||||
* ss: report SK_MEMINFO_BACKLOG
|
||||
* tc: add ipset ematch
|
||||
* iplink: add support for num[tr]xqueues
|
||||
* iproute2: Add FDB print and update cmds for self and master
|
||||
* iproute: Add ability to save, restore and show the interfaces'
|
||||
addresses
|
||||
* iproute2: VTI support for ip link command
|
||||
- Rename iproute2-libdir-1.diff to iproute2-dirs.diff, as it does
|
||||
more than just changing LIBDIR.
|
||||
- Add revert-pdf-creation.diff, as the new PDF creation commands
|
||||
do not want to work with openSUSE 12.2 and before.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 18 06:36:19 UTC 2012 - werner@suse.de
|
||||
|
||||
- Make it build even without pdflatex, use latex+dvips, beside this
|
||||
iproute2-pdflatex.diff was documented, see my last entry from
|
||||
Jul 30 14:33:58 UTC 2012.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 17 18:58:38 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Add BuildRequires on texlive-dvips for openSUSE > 12.2 to fix
|
||||
Factory builds.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 8 09:26:32 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.5.1
|
||||
* ss: Report MSS from internal TCP information
|
||||
* ip: allow IPv6 addresses for l2tp local and remote parameters
|
||||
* tc: Support for tc_codel - Controlled Delay AQM
|
||||
* tc: Support for fq_codel - Fair Queue Codel AQM
|
||||
* tc-netem: Add support for ECN packet marking
|
||||
- Remove undocumented iproute2-pdflatex.diff which breaks the
|
||||
build since using the iproute2-3.5.1 tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 14:33:58 UTC 2012 - werner@suse.de
|
||||
|
||||
- Make it build with modern pdflatex and TeXLive 2012 ... for this
|
||||
also sgmltools has to know about correct babel style usage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 19:38:03 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.4.0
|
||||
* for kernel 3.4
|
||||
* ss: use new INET_DIAG_SKMEMINFO option to get more memory
|
||||
information for tcp socket
|
||||
* ip: add ability to set link state
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 31 06:56:13 UTC 2012 - bili@suse.com
|
||||
|
||||
- Distribute COPYING file for rpm(bnc#745225).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 01:20:08 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Update to new upstream release 3.3.0
|
||||
* This release updates qdisc parameters in sfq and red, adds Netem
|
||||
extensions for shaping and for loss models, adds lots of manual
|
||||
page corrections, adds the QFQ scheduler and the LLDP-to-ethernet
|
||||
type table (along with support for processless network namespaces
|
||||
and L2TPv3 plus L2TP tunneling), improves RED options, and adds
|
||||
assorted bugfixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 16:45:03 UTC 2012 - rschweikert@suse.com
|
||||
|
||||
- Place ip binary in /usr tree (UsrMerge project)
|
||||
- Fix permissions to eliminate rpmlint errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 14 03:04:36 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Update to new upstream release 3.2.0
|
||||
* L2TPv3 support
|
||||
* netem additions for loss models, improved RED options
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 31 20:57:22 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Update to new upstream release 3.1.0
|
||||
* ip: Add processless network namespace support
|
||||
* tc: Add QFQ scheduler
|
||||
* ss: display closed UDP sockets on `ss -ul`
|
||||
* ss: report ecnseen
|
||||
* Add L2TP support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 21 20:25:56 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Clarify license for iproute2.spec (bnc#720282)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 24 21:50:54 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Add patch iproute2-xt-detect.diff to address shipped Makefiles'
|
||||
failure to use pkg-config to locate libxtables, and thus
|
||||
reenable m_xt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 8 17:43:01 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Update to new upstream release 2.6.39
|
||||
* support device group semantics
|
||||
* support listing devices by group
|
||||
* parse flag XFRM_POLICY_ICMP
|
||||
* CHOKe scheduler
|
||||
* macvlan/macvtap: support 'passthru' mode
|
||||
* tc: SFB flow scheduler
|
||||
* tc add mqprio qdisc support
|
||||
* xfrm security context support
|
||||
* allow to specify truncation bits on auth algo
|
||||
* fix unit conversion of rtt/rttvar/rto_min
|
||||
* support IFLA_TXQLEN in ip link command
|
||||
- Remove iproute2-pdfdoc.diff: merged upstream
|
||||
- Remove iproute2-memleak.diff: merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 21:35:16 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Correct installation path of tc modules
|
||||
- Restore symbol lookup in m_xt.so (bnc#679172)
|
||||
- Add patches to make m_xt build with libxtables6
|
||||
- Restore m_xt's module lookup (bnc#660554)
|
||||
- Run spec-beautifier
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 30 11:50:56 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Disable building m_xt.so which has not been updated for
|
||||
iptables 1.4.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 23 18:57:20 UTC 2011 - bphilips@novell.com
|
||||
|
||||
Remove unneeded patches:
|
||||
* iproute2-warnings.diff bnc#34714
|
||||
Warnings no longer exist
|
||||
* iproute2-iptunnel-fclose.diff
|
||||
Process is dying no need to close file pointers
|
||||
* iproute2-ss-pclose.diff
|
||||
Process is dying no need to close file pointers
|
||||
* iproute2-flushcheckuid.diff
|
||||
Fixed upstream
|
||||
* iproute2-skbedit-memset.diff
|
||||
Fixed upstream 46a6573259f46f86eb0048a2c805b24ff4183fa6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 08:57:44 CET 2011 - ms@suse.de
|
||||
|
||||
- Update to 2.6.38, fix for options process with ipt (bnc #679172)
|
||||
- tidy up the package, spec file names, patch names, etc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 12 16:02:26 UTC 2011 - mt@suse.de
|
||||
|
||||
- Adopted ip route rtt,rttvar,rto_min metrics time unit to
|
||||
milliseconds as required by recent kernels (bnc#659746).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 00:45:02 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Update to iproute2-2.6.37
|
||||
* Support for iptables >= 1.4.9
|
||||
* Support for GRE in XFRM
|
||||
* tc f_flow now knows rxhash
|
||||
* Support for macvtap "mode" parameter
|
||||
* tc ACT_CSUM support
|
||||
* added `ip route save` and `ip route restore` commands
|
||||
- Spec file updates
|
||||
* Remove pointless AutoReqProv:on (that's the default)
|
||||
* Enable tc's m_xt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 3 10:29:55 CET 2010 - ms@suse.de
|
||||
|
||||
- removed the fragtimeout patch because it breaks the rto_min
|
||||
setup. The fragtimeout patch also requires a kernel side
|
||||
modification which we don't ship since SLES9 (bnc #656667)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 15 22:12:32 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- Split documentation into its own subpackage, reducing the size
|
||||
of the main package by ~500K
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 21:22:47 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- Update to iproute2-2.6.35+git9 for obtaining
|
||||
Linux 2.6.36-introduced features (no iproute2-2.6.36 tag yet)
|
||||
* Added RTA_MARK support (e.g. `ip route get ::1 mark 2`)
|
||||
* 64-bit interface statistics
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 2 13:02:44 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- Update to iproute2-2.6.35
|
||||
* Added support for multicast iprules
|
||||
* Speed up `ss -p`
|
||||
* Update ARP header type table
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 2 12:28:40 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- Update to iproute2-2.6.34
|
||||
* Fix build issues with flex 2.5
|
||||
* Detect 6rd tunnel scope
|
||||
* Added `ip tuntap` support (this practically obsoletes the
|
||||
"tunctl" package)
|
||||
* Added support for XFRM/SA by fwmark
|
||||
* Added initrwnd
|
||||
- 2 patches integrated, thus dropped
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 2 12:02:02 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- Update to iproute2-2.6.33
|
||||
* Added 6rd support
|
||||
* Added macvlan options for bridge mode
|
||||
* Added support to mark packets in skbedit
|
||||
* Added oif classification support in iprule
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 2 11:43:33 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- Update to iproute2-2.6.31
|
||||
* Dropped equalize support
|
||||
* Fixed segfault when using garbage lladdr
|
||||
* Added new m_xt module for iptables-1.4.5
|
||||
* Added support for CAN
|
||||
* Allow ISATAP with stateless autoconfiguration
|
||||
* Added support for cgroup
|
||||
* Added support for monitoring neigh table activities
|
||||
- 3 patches integrated, thus dropped
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 22:45:41 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- add a patch to avoid tun tunnels being shown as "link/65534"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 19 18:29:53 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- enable parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 11 10:19:45 CET 2009 - ms@suse.de
|
||||
|
||||
- check effective UID instead of real UID in the flush
|
||||
permissions coding (bnc #554419)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 9 14:17:41 CEST 2009 - ms@suse.de
|
||||
|
||||
- added missing fclose to ss utility (bnc #543986)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 16 11:36:06 CEST 2009 - ms@suse.de
|
||||
|
||||
- fixed memory leak in read_igmp() function ip/ipmaddr.c (bnc #538996)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 11 00:44:10 CEST 2009 - ms@suse.de
|
||||
|
||||
- added support for monitoring neighbour tables (bnc #537906)
|
||||
- added support for displaying type labels (bnc #537906)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 28 16:18:11 CEST 2009 - ms@suse.de
|
||||
|
||||
- added missing pclose (bnc #534912)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de
|
||||
|
||||
- make patch0 usage consistent
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 12:45:56 UTC 2009 - adrian@suse.de
|
||||
|
||||
- update to version 2.6.29-1
|
||||
* Support for lxc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 28 13:31:54 CEST 2009 - ms@suse.de
|
||||
|
||||
- make sure do_tunnels_list proc file descriptor will be
|
||||
closed after use or on proc read error (bnc #525834)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 19 14:03:23 CET 2009 - ms@suse.de
|
||||
|
||||
- fixed ss utility to display inet6 addresses if requested
|
||||
with -6 or -f inet6 (bnc #473156)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 27 11:47:57 CET 2009 - ms@suse.de
|
||||
|
||||
- fixed a bug in which the memory for the tc_skbedit struct was
|
||||
being used uninitialized to 0. This patch corrects the issue
|
||||
by using a memset to 0 out the memory of the
|
||||
structure (bnc #438950)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 11 15:09:10 CET 2008 - agruen@suse.de
|
||||
|
||||
- Change max length of the MAC address from 16 bytes to 32 bytes
|
||||
to accommodate infiniband (bnc#445014).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 13 15:39:40 CEST 2008 - ms@suse.de
|
||||
|
||||
- fixed compiler warnings (bnc #434714)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 18 09:46:42 CEST 2008 - hare@suse.de
|
||||
|
||||
- Add skbedit support for FCoE (FATE#303914)
|
||||
- Add multiqueue support for FCoE (FATE#303914)
|
||||
- Rename libnl to libnetlink-devel
|
||||
- Fix IPPROTO_DCCP redefine
|
||||
- rpmlint fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 14 14:33:38 CEST 2008 - ms@suse.de
|
||||
|
||||
- update to version 2.6.25
|
||||
* Fix off by one in nested attribute management.
|
||||
* netem potential dist table overflow
|
||||
* rto_min value display overflow
|
||||
* Overhead calculation is now done in the kernel.
|
||||
* libnetlink: don't spin forever on receive error
|
||||
* Protocol field on tc_filter is required by the kernel, provide it
|
||||
* Add missing prefix bit length for addrlabel
|
||||
* Do not strip binaries with `install`
|
||||
* In police, fix uninitialized "overhead" variable.
|
||||
* lots of documentation fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 11 11:03:43 CEST 2008 - ms@suse.de
|
||||
|
||||
- fixed RTM_NEWLINK check for older kernels (bnc #407954)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 30 10:02:03 CEST 2008 - ms@suse.de
|
||||
|
||||
- fixed 'tc qdisc' segmentation fault (bnc #404755)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 8 11:48:54 CEST 2008 - ms@suse.de
|
||||
|
||||
- compile libnetlink with -fPIC (bnc #388021)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 18:23:45 CEST 2008 - schwab@suse.de
|
||||
|
||||
- Don't strip binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 25 11:19:35 CEST 2007 - ms@suse.de
|
||||
|
||||
- update to version 2.6.23, fixed (#336488)
|
||||
Reason for update:
|
||||
* The macvlan module, which got added to the kernel in version
|
||||
2.6.23, needs the new "ip link add" feature
|
||||
These patches add a rewritten version of Ben's macvlan driver, which
|
||||
allows to create virtual ethernet devices. The underlying device is
|
||||
put in promiscous mode and packets are demuxed based on MAC address.
|
||||
It behaves similar to bridge devices in that packets are visible on
|
||||
the real device before delivery to the macvlan driver. The driver
|
||||
supports all features of the underlying device except VLAN
|
||||
acceleration, this is currently very hard to support. I might look
|
||||
into this in the future.
|
||||
|
||||
The main downside of this driver is that it adds another hook in
|
||||
netif_receive_skb, unfortunately that is unavoidable. When not
|
||||
compiled in the hook vanishes of course.
|
||||
|
||||
Usage is simple:
|
||||
|
||||
ip link add link eth0 type macvlan
|
||||
|
||||
Will create a macvlan0 device with a random MAC address on top of
|
||||
eth0. No iproute patches are required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 16 11:52:34 CEST 2007 - jdelvare@suse.de
|
||||
|
||||
- libnetlink.3 is now part of the upstream package, no need to
|
||||
include our own copy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 11 16:26:49 CEST 2007 - ms@suse.de
|
||||
|
||||
- update to version 2.6.22, fixed (#288551)
|
||||
* Kim Woelders <kim@woelders.dk>, various useful fixups: compilation
|
||||
with old kernels, cross-compiling, "all" == "any" in prefix spec.
|
||||
* Collected from my disk, cleaned and packed to directory iproute2/misc/
|
||||
several utilities: ss, nstat, ifstat, rtacct, arpd and module tcp_diag.
|
||||
Writing some docs. me.
|
||||
* prepared patchlet for pidentd to use tcp_diag.
|
||||
* David Miller: 64bit (and even worse 64bit kernel/32 bit user :-) fixes
|
||||
to above. tcp_diag is merged to main tree.
|
||||
* Alexandr D. Kanevskiy <kad@blackcatlinux.com>: various flaws in ss
|
||||
* Alexandr D. Kanevskiy <kad@blackcatlinux.com>: oops, more aggressive caching
|
||||
of names opened old bugs: ip started to print garbage in some places.
|
||||
* Robert Olsson, rt_cache_stat. Renamed to rtstat.
|
||||
* An old bug in "ip maddr ls": reduntant empty lines in output.
|
||||
Seeing this crap for ages but lucky match of desire/ability to repair
|
||||
and a huff about this happened only today. :-)
|
||||
* "Mr. James W. Laferriere" <babydr@baby-dragons.com>
|
||||
doc: option to produce ps output for non-a4 and not only 2 pages/sheet.
|
||||
* Jamal's patch for ingres qdisc.
|
||||
* Bernd Eckenfels <ecki@lina.inka.de>: deleted orphaned bogus #include
|
||||
in include/utils.h.
|
||||
* Julian Anastasov <ja@ssi.bg>: uninitialized fields in nexthop
|
||||
producing funny "dead" nexthops in multipath routes.
|
||||
Stupid me, look at the first line in [010803]... Was it difficult to guess
|
||||
this that time? People blame for several months. :-)
|
||||
Special thanks to bert hubert <ahu@ds9a.nl> who raised the issue in netdev.
|
||||
Thanks and apologies to Terry Schmidt <terry@nycwireless.net>,
|
||||
Ruben Puettmann <ruben.puettmann@freenet-ag.de>,
|
||||
Mark Ivens <mivens@clara.net>.
|
||||
* willy tarreau <wtarreau@yahoo.fr>: "make install" target.
|
||||
* Tunable limit for sch_sfq. Patch to kernel activating this
|
||||
is about to be submitted. Reminded by Adi Nugroho <Adi@iNterNUX.co.id>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 09:39:53 CEST 2007 - aj@suse.de
|
||||
|
||||
- Use texlive for building.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 12:09:15 CEST 2007 - rguenther@suse.de
|
||||
|
||||
- add bison and flex BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 8 13:54:17 CET 2007 - ms@suse.de
|
||||
|
||||
- fixed array size of name string in iptables.h (#243281)
|
||||
array of size IPT_FUNCTION_MAXNAMELEN - 1 is referenced
|
||||
at element IPT_FUNCTION_MAXNAMELEN - 1 which is outside the
|
||||
array bounds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 29 11:00:08 CET 2007 - ms@suse.de
|
||||
|
||||
- fixed wrong IPT_LIB_DIR value and replaced the code by a
|
||||
dynamic check for the /usr/%lib/iptables directory (#238886)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 01:06:43 CET 2006 - ro@suse.de
|
||||
|
||||
- fix permissions for manpage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 20 15:15:52 CEST 2006 - ms@suse.de
|
||||
|
||||
- replaced static HZ define to dynamic:
|
||||
#ifndef HZ
|
||||
#define HZ sysconf(_SC_CLK_TCK)
|
||||
#endif
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 26 01:22:34 CEST 2006 - schwab@suse.de
|
||||
|
||||
- Fix crash while resolving addresses.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 18:20:29 CEST 2006 - hvogel@suse.de
|
||||
|
||||
- fix flex input file to use uppercase STR to avoid conflicts.
|
||||
This prevented tc from being build [#162931]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:36:39 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 17 13:02:59 CET 2006 - mrueckert@suse.de
|
||||
|
||||
- update to version 2.6.15-060110
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 8 15:37:15 CET 2005 - mmj@suse.de
|
||||
|
||||
- update to version 051107
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 24 01:27:09 CEST 2005 - ro@suse.de
|
||||
|
||||
- fix filelist for libnlink
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 20 15:33:55 CEST 2005 - mmj@suse.de
|
||||
|
||||
- update to version 051007
|
||||
- fix buffer overflow in iproute.c [#129415] (thanks Richard, Marcus)
|
||||
- don't strip stuff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 17 07:54:28 CEST 2005 - cthiel@suse.de
|
||||
|
||||
- update to version 050816 [#105087]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 6 22:11:53 CEST 2005 - dmueller@suse.de
|
||||
|
||||
- add /bin/ip symlink (#102513)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 15 15:25:24 CEST 2005 - meissner@suse.de
|
||||
|
||||
- use RPM_OPT_FLAGS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 9 13:14:56 CEST 2005 - mmj@suse.de
|
||||
|
||||
- Update to 2.6.11-050330
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 02:34:48 CET 2005 - ro@suse.de
|
||||
|
||||
- remove dropped tetex subpackages from nfb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 4 10:37:22 CET 2005 - mmj@suse.de
|
||||
|
||||
- Update to 2.6.10-ss050124
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 7 08:01:52 CET 2004 - mmj@suse.de
|
||||
|
||||
- Don't trust that the kernel and do our own family check [#48600]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 24 13:10:05 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Clean up spec file a bit
|
||||
- Update to new snapshot including even more of our patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 12 13:13:24 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Update to 2.6.9 including some of our patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 08:51:50 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Make ip print correct type when printing stats [#42589]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 11:14:33 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Fix bufferoverflow in nstat [#39179]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 16 22:03:01 CEST 2004 - kukuk@suse.de
|
||||
|
||||
- Fix compiling with 2.6.5 kernel headers
|
||||
- Remove backup files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 16:08:54 CEST 2004 - mmj@suse.de
|
||||
|
||||
- Don't remove buildroot before install
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 17 23:00:40 CET 2004 - mmj@suse.de
|
||||
|
||||
- No executables below /usr/include [#36342]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 01:41:45 CET 2004 - mmj@suse.de
|
||||
|
||||
- Olaf Kirch fixed the kernel, so remove the fix for [#35288]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 3 12:59:14 CET 2004 - ak@suse.de
|
||||
|
||||
- Fix hang in ip addr flush (#35288)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 7 01:01:22 CET 2004 - mmj@suse.de
|
||||
|
||||
- ifstat should store it's history in /var/tmp not /tmp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 10 14:52:43 CET 2003 - mmj@suse.de
|
||||
|
||||
- Add more man-pages [#32981]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 15 13:04:04 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Don't build as root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 09:44:25 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Add all the pdf documentation [#28637]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 12:01:43 CEST 2003 - kukuk@suse.de
|
||||
|
||||
- Fix filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 4 11:27:58 CEST 2003 - kukuk@suse.de
|
||||
|
||||
- Don't use include-glibc directory
|
||||
- Fix arpd to compile with db4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 13 16:20:40 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Remove files we don't package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 12 13:34:57 CEST 2003 - mmj@suse.de
|
||||
|
||||
- Add glib-include from newer iputils, and change a kernel-include
|
||||
to make it build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 11 14:26:27 CET 2003 - ug@suse.de
|
||||
|
||||
- patch for HTB support applied since 2.4.20 supports it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 09:15:24 CET 2003 - mmj@suse.de
|
||||
|
||||
- Make the man tar-ball not contain gzipped man-pages, it's already
|
||||
compressed once.
|
||||
- Apply patch from Andi Kleen for fragtimeout functionality
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 23:49:53 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <xshared> to <x-devel-packages>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 11:26:13 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <sp> to <opensp>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 20 15:20:35 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Add manpages, thanks to ASPLinux [#21115]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 21 11:48:15 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Added a patch to exit when regular user tries to flush routes or
|
||||
addresses. [#16000]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 18 02:30:58 CEST 2002 - ro@suse.de
|
||||
|
||||
- added ghostscript-x11-packages to neededforbuild (for gs)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 8 13:12:49 CEST 2002 - postadal@suse.cz
|
||||
|
||||
- updated to ss020116
|
||||
* added several utilities several utilities: ss, nstat, ifstat,
|
||||
rtacct, arpd and module tcp_diag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 00:26:05 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 31 22:51:13 CET 2002 - ro@suse.de
|
||||
|
||||
- added libgimpprint to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 29 13:53:52 CET 2002 - vinil@suse.cz
|
||||
|
||||
- /usr/lib -> %_libdir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 20 14:20:21 CET 2002 - vinil@suse.cz
|
||||
|
||||
- new version ss010824
|
||||
- spec file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 18:06:49 CET 2001 - bjacke@suse.de
|
||||
|
||||
- move ip to /sbin
|
||||
- add iproute2 config files to /etc/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 10 16:05:03 CEST 2001 - stepan@suse.de
|
||||
|
||||
- fix compilation on ia64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 18 21:38:29 CEST 2001 - pthomas@suse.de
|
||||
|
||||
- Correct spelling in libnetlink.3
|
||||
- Add both German and English descriptions for libnlink
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 27 11:47:23 CEST 2001 - kukuk@suse.de
|
||||
|
||||
- Fix compiling on SPARC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 21 14:22:19 CEST 2001 - vinil@suse.cz
|
||||
|
||||
- new version ss010803
|
||||
- get rid of kernel 2.2 patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 26 10:34:47 CEST 2001 - kukuk@suse.de
|
||||
|
||||
- add glib to needed for build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 20 12:06:42 CEST 2001 - kukuk@suse.de
|
||||
|
||||
- changed neededforbuild <gs_fonts> to <ghostscript-fonts-std>
|
||||
- changed neededforbuild <gs_lib> to <ghostscript-library>
|
||||
- changed neededforbuild <gs_x11> to <ghostscript-x11>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 27 01:25:23 CEST 2001 - ro@suse.de
|
||||
|
||||
- ETH_P_ECHO is apparently no longer defined
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 14:45:40 CET 2001 - uli@suse.de
|
||||
|
||||
- added xshared to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 5 10:57:09 CET 2001 - kukuk@suse.de
|
||||
|
||||
- Remove bogus check for kernel header
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 1 15:42:16 CET 2000 - kukuk@suse.de
|
||||
|
||||
- Update to iproute2-2.2.4-now-ss001007 to fix compile problems
|
||||
with new kernel and glibc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 28 16:32:22 CEST 2000 - ak@suse.de
|
||||
|
||||
- fix permissions
|
||||
- fix advmss/mtu confusion between 2.2 and 2.4 (advmss now works with 2.2
|
||||
kernels and is always enabled)
|
||||
- add a new subrpm for libnetlink
|
||||
- add libnetlink man page
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 18:06:19 MEST 2000 - mha@suse.de
|
||||
|
||||
- new version (2.2.4-now-ss000305)
|
||||
- new README.SuSE
|
||||
- use ps2pdf instead of pdflatex, because the latter produces
|
||||
unusable pdf files for some reason
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 11:40:40 CEST 2000 - vinil@suse.cz
|
||||
|
||||
- documentation enhancement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 26 12:53:20 CEST 2000 - vinil@suse.cz
|
||||
|
||||
- new version (ss000225)
|
||||
- buildroot added
|
||||
- sorted in group
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 13:49:15 MET 2000 - mha@suse.de
|
||||
|
||||
- new version (ss991023)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 22 18:21:59 MEST 1999 - mha@suse.de
|
||||
|
||||
- new version
|
||||
- renamed package iproute->iproute2, because that's how the author
|
||||
calls it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 13 08:46:42 MEST 1999 - ro@suse.de
|
||||
|
||||
- added psutils to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 11 13:53:40 MEST 1999 - mha@suse.de
|
||||
|
||||
- new package: iproute (tools for using the advanced routing options
|
||||
in kernel 2.2)
|
||||
|
83
iproute2-doc.spec
Normal file
83
iproute2-doc.spec
Normal file
@ -0,0 +1,83 @@
|
||||
#
|
||||
# spec file for package iproute2-doc
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: iproute2-doc
|
||||
Version: 3.14.0
|
||||
Release: 0
|
||||
Summary: Documentation to iproute2
|
||||
License: GPL-2.0+
|
||||
Group: Documentation/Other
|
||||
Url: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
|
||||
BuildArch: noarch
|
||||
Source: http://kernel.org/pub/linux/utils/net/iproute2/iproute2-%version.tar.xz
|
||||
Source2: http://kernel.org/pub/linux/utils/net/iproute2/iproute2-%version.tar.sign
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: flex
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: sgmltool
|
||||
BuildRequires: texlive
|
||||
BuildRequires: texlive-amsfonts
|
||||
BuildRequires: texlive-cm-super
|
||||
BuildRequires: texlive-dvips
|
||||
BuildRequires: texlive-ec
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: tex(english.ldf)
|
||||
%define with_xt 1
|
||||
%if 0%{?with_xt}
|
||||
BuildRequires: pkgconfig(xtables) >= 1.4.11
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package contains the PDF documentation from iproute2,
|
||||
as well as examples and other outdated files.
|
||||
|
||||
%prep
|
||||
%setup -qn iproute2-%version
|
||||
|
||||
%build
|
||||
# build with -fPIC. For details see
|
||||
# https://bugzilla.novell.com/show_bug.cgi?id=388021
|
||||
xt_libdir="$(pkg-config xtables --variable=xtlibdir)";
|
||||
xt_cflags="$(pkg-config xtables --cflags)";
|
||||
make %{?_smp_mflags} LIBDIR="%_libdir" CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -Wno-error -fPIC -DXT_LIB_DIR=\\\"$xt_libdir\\\" $xt_cflags"
|
||||
|
||||
cd doc
|
||||
make pdf
|
||||
|
||||
%install
|
||||
make install DESTDIR="%{buildroot}" LIBDIR="%_libdir" \
|
||||
MODDESTDIR="$b/%_libdir/tc" DOCDIR="%_docdir/iproute2"
|
||||
|
||||
mkdir -p "%{buildroot}/%_docdir/iproute2";
|
||||
cp -an ip/{ifcfg,routef,routel} doc/*.pdf "%{buildroot}/%_docdir/iproute2/"
|
||||
|
||||
t=$$
|
||||
mkdir $t
|
||||
mv %{buildroot}/%_docdir $t
|
||||
rm -rf %{buildroot}/*
|
||||
mkdir -p %{buildroot}/%_docdir
|
||||
mv $t/packages/* %{buildroot}/%_docdir
|
||||
rm -rf $t
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_docdir/iproute2
|
||||
|
||||
%changelog
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 25 09:44:27 UTC 2014 - dmueller@suse.com
|
||||
|
||||
- split iproute2-doc subpackage into a separate spec to reduce
|
||||
rebuild times
|
||||
- use version macro instead of rversion
|
||||
- add pre_checkin.sh to sync version number between iproute2 and
|
||||
iproute2-doc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 16 19:46:36 UTC 2014 - jengelh@inai.de
|
||||
|
||||
|
@ -17,9 +17,8 @@
|
||||
|
||||
|
||||
Name: iproute2
|
||||
Version: 3.14
|
||||
Version: 3.14.0
|
||||
Release: 0
|
||||
%define rversion 3.14.0
|
||||
Summary: Linux network configuration utilities
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Networking/Routing
|
||||
@ -28,8 +27,10 @@ Url: http://www.linuxfoundation.org/collaborate/workgroups/networking
|
||||
|
||||
#DL-URL: http://kernel.org/pub/linux/utils/net/iproute2/
|
||||
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2
|
||||
Source: http://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.xz
|
||||
Source2: http://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.sign
|
||||
Source: http://kernel.org/pub/linux/utils/net/iproute2/%name-%version.tar.xz
|
||||
Source2: http://kernel.org/pub/linux/utils/net/iproute2/%name-%version.tar.sign
|
||||
Source666: pre_checkin.sh
|
||||
Source667: %name.keyring
|
||||
Patch1: iproute2-dirs.diff
|
||||
Patch2: iproute2-HZ.diff
|
||||
Patch3: revert-pdf-creation.diff
|
||||
@ -37,34 +38,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: bison
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: flex
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libtiff-devel
|
||||
#BuildRequires: linux-glibc-devel >= 2.6.15
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: xorg-x11-devel
|
||||
BuildRequires: xz
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: ghostscript-x11
|
||||
BuildRequires: sgmltool
|
||||
%endif
|
||||
BuildRequires: texlive
|
||||
BuildRequires: texlive-latex
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: texlive-amsfonts
|
||||
BuildRequires: texlive-cm-super
|
||||
BuildRequires: texlive-dvips
|
||||
BuildRequires: texlive-ec
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: tex(english.ldf)
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
BuildRequires: ghostscript
|
||||
BuildRequires: linuxdoc-tools
|
||||
BuildRequires: sgml-common
|
||||
BuildRequires: tetex-dvips
|
||||
BuildRequires: tetex-latex
|
||||
%endif
|
||||
%define with_xt 1
|
||||
%if 0%{?with_xt}
|
||||
%if 0%{?suse_version} >= 1140
|
||||
@ -92,25 +67,13 @@ Provides: libnetlink = %version-%release
|
||||
%description -n libnetlink-devel
|
||||
libnetlink provides a higher level interface to rtnetlink(7).
|
||||
|
||||
%package doc
|
||||
Summary: Documentation to iproute2
|
||||
License: GPL-2.0+
|
||||
Group: Documentation/Other
|
||||
%if 0%{?suse_version} >= 1130
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
This package contains the PDF documentation from iproute2,
|
||||
as well as examples and other outdated files.
|
||||
|
||||
%prep
|
||||
%{?gpg_verify: xz -dfk "%{S:0}"; %gpg_verify %{S:2}}
|
||||
%if 0%{?__xz:1}
|
||||
%setup -qn %name-%rversion
|
||||
%setup -qn %name-%version
|
||||
%else
|
||||
tar -xf "%{S:0}" --use=xz;
|
||||
%setup -DTqn %name-%rversion
|
||||
%setup -DTqn %name-%version
|
||||
%endif
|
||||
%patch -P 1 -P 2 -p1
|
||||
%if 0%{?sles_version} == 11 || (0%{?suse_version} && 0%{?suse_version} <= 1220)
|
||||
@ -124,8 +87,6 @@ find . -name *.orig -delete
|
||||
xt_libdir="$(pkg-config xtables --variable=xtlibdir)";
|
||||
xt_cflags="$(pkg-config xtables --cflags)";
|
||||
make %{?_smp_mflags} LIBDIR="%_libdir" CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -Wno-error -fPIC -DXT_LIB_DIR=\\\"$xt_libdir\\\" $xt_cflags"
|
||||
cd doc
|
||||
make pdf
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
@ -147,8 +108,9 @@ ln -sf "%_sbindir/ip" "$b/bin/ip";
|
||||
rm "$b/%_sbindir/ifcfg";
|
||||
|
||||
mkdir -p "$b/%_docdir/%name";
|
||||
cp -an README* COPYING doc/*.pdf ip/{ifcfg,routef,routel} \
|
||||
"$b/%_docdir/%name/";
|
||||
# packaged in iproute2-doc:
|
||||
rm -rf $b/%_docdir/%name/*
|
||||
cp -an README* COPYING "$b/%_docdir/%name/"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -168,12 +130,6 @@ cp -an README* COPYING doc/*.pdf ip/{ifcfg,routef,routel} \
|
||||
%dir %_datadir/tc
|
||||
%attr(644,root,root)%_datadir/tc/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%_docdir/iproute2
|
||||
%exclude %_docdir/iproute2/README*
|
||||
%exclude %_docdir/iproute2/COPYING
|
||||
|
||||
%files -n libnetlink-devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/*
|
||||
|
12
pre_checkin.sh
Normal file
12
pre_checkin.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -n "Generating iproute2-doc.spec/changes "
|
||||
|
||||
cp iproute2.changes iproute2-doc.changes
|
||||
|
||||
sed -i -e "s/\(Version:\).*/\1$(sed -n 's/Version:\(.*\)/\1/p' iproute2.spec)/" iproute2-doc.spec
|
||||
|
||||
osc service localrun format_spec_file
|
||||
|
||||
echo "Done."
|
||||
|
Loading…
Reference in New Issue
Block a user