File project.diff of Package ethtool

--- ethtool.changes.orig
+++ ethtool.changes
@@ -1,9 +1,48 @@
 -------------------------------------------------------------------
+Mon Sep 17 22:58:56 UTC 2018 - mkubecek@suse.cz
+
+- update netlink patchset (ethnl commit 48a8a81ec284)
+
+-------------------------------------------------------------------
 Mon Sep 10 12:32:18 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
 
 - Use noun phrase for summary.
 
 -------------------------------------------------------------------
+Fri Aug 31 09:07:00 UTC 2018 - mkubecek@suse.cz
+
+- update netlink patchset (ethnl commit bd97903a9def):
+  * add
+    ethtool-add-debug-option-to-control-debugging-messag.patch
+    netlink-add-netlink-handler-for-gfeatures-k.patch
+    netlink-add-netlink-handler-for-permaddr-P.patch
+    netlink-add-netlink-handler-for-sfeatures-K.patch
+    netlink-add-netlink-handler-for-tsinfo-T.patch                             
+    netlink-add-support-for-string-sets.patch                                  
+    update-uapi-linux-ethtool.h.patch                                          
+  * update
+    move-UAPI-header-copies-to-a-separate-directory.patch                      
+    netlink-add-helpers-for-command-line-parsing.patch                         
+    netlink-add-netlink-handler-for-gcoalesce-c.patch                          
+    netlink-add-netlink-handler-for-gdrv-i.patch                               
+    netlink-add-netlink-handler-for-geee-show-eee.patch                        
+    netlink-add-netlink-handler-for-gfec-show-fec.patch                        
+    netlink-add-netlink-handler-for-gchannels-l.patch                          
+    netlink-add-netlink-handler-for-gpause-a.patch                             
+    netlink-add-netlink-handler-for-gring-g.patch                              
+    netlink-add-netlink-handler-for-gset-no-option.patch                       
+    netlink-add-netlink-handler-for-scoalesce-C.patch                          
+    netlink-add-netlink-handler-for-seee-set-eee.patch                         
+    netlink-add-netlink-handler-for-sfec-set-fec.patch                         
+    netlink-add-netlink-handler-for-schannels-L.patch                          
+    netlink-add-netlink-handler-for-spause-A.patch                             
+    netlink-add-netlink-handler-for-sring-G.patch
+    netlink-add-netlink-handler-for-sset-s.patch
+    netlink-add-netlink-interface.patch
+    netlink-add-notification-monitor.patch
+    update-UAPI-header-copies.patch
+
+-------------------------------------------------------------------
 Fri Aug 24 21:48:57 UTC 2018 - mkubecek@suse.cz
 
 - Update to new upstream release 4.18
@@ -56,6 +95,133 @@ Fri Feb  2 10:15:20 UTC 2018 - mkubecek@
   * Fix: fix MFLCN register dump for 82599 and newer
 
 -------------------------------------------------------------------
+Mon Dec 11 13:45:19 UTC 2017 - mkubecek@suse.cz
+
+- update netlink patchset (ethnl commit 4bf6adfdef07)
+  * add
+    netlink-add-netlink-handler-for-scoalesce-C.patch
+    netlink-add-netlink-handler-for-sring-G.patch
+    netlink-add-netlink-handler-for-spause-A.patch
+    netlink-add-netlink-handler-for-schannels-L.patch
+    netlink-add-netlink-handler-for-seee-set-eee.patch
+    netlink-add-netlink-handler-for-sfec-set-fec.patch
+  * update
+    netlink-add-netlink-interface.patch
+    netlink-add-helpers-for-command-line-parsing.patch
+    netlink-add-netlink-handler-for-sset-s.patch
+  * refresh
+    netlink-add-netlink-handler-for-gdrv-i.patch
+    netlink-add-netlink-handler-for-gset-no-option.patch
+    netlink-add-netlink-handler-for-gcoalesce-c.patch
+    netlink-add-netlink-handler-for-gring-g.patch
+    netlink-add-netlink-handler-for-gpause-a.patch
+    netlink-add-netlink-handler-for-gchannels-l.patch
+    netlink-add-netlink-handler-for-geee-show-eee.patch
+    netlink-add-netlink-handler-for-gfec-show-fec.patch
+
+-------------------------------------------------------------------
+Sat Dec  9 01:05:58 UTC 2017 - mkubecek@suse.cz
+
+- update netlink patchset (ethnl commit 3ea23ef9f9b2)
+  * add
+    netlink-add-netlink-handler-for-gcoalesce-c.patch
+    netlink-add-netlink-handler-for-gring-g.patch
+    netlink-add-netlink-handler-for-gpause-a.patch
+    netlink-add-netlink-handler-for-gchannels-l.patch
+    netlink-add-netlink-handler-for-geee-show-eee.patch
+    netlink-add-netlink-handler-for-gfec-show-fec.patch
+  * update
+    netlink-add-netlink-interface.patch
+    netlink-add-netlink-handler-for-gdrv-i.patch
+    netlink-add-netlink-handler-for-gset-no-option.patch
+  * refresh
+    netlink-add-helpers-for-command-line-parsing.patch
+    netlink-add-netlink-handler-for-sset-s.patch
+
+-------------------------------------------------------------------
+Wed Dec  6 21:31:39 UTC 2017 - mkubecek@suse.cz
+
+- add post-4.13 patches from master branch:
+  * add:
+    0001-ethtool-Fix-coding-style-warnings-and-errors-reporte.patch
+    0002-ethtool-Add-extended-compliance-codes-parsing-to-sfp.patch
+- update netlink patchset (ethnl commit 09b79d7c16f2)
+  * update:
+    netlink-add-helpers-for-command-line-parsing.patch
+    netlink-add-netlink-handler-for-sset-s.patch
+  * refresh:
+    netlink-add-netlink-interface.patch
+    netlink-add-netlink-handler-for-gdrv-i.patch
+    netlink-add-netlink-handler-for-gset-no-option.patch
+
+-------------------------------------------------------------------
+Mon Dec  4 09:18:46 UTC 2017 - mkubecek@suse.cz
+
+- update netlink patchset (ethnl commit 3189d2f7464d)
+  * update:
+    update-UAPI-header-copies.patch
+    netlink-add-netlink-interface.patch
+    netlink-add-helpers-for-command-line-parsing.patch
+    netlink-add-netlink-handler-for-sset-s.patch
+  * refresh:
+    move-UAPI-header-copies-to-a-separate-directory.patch
+    netlink-add-netlink-handler-for-gdrv-i.patch
+    netlink-add-netlink-handler-for-gset-no-option.patch
+
+-------------------------------------------------------------------
+Fri Dec  1 00:12:02 UTC 2017 - mkubecek@suse.cz
+
+- update netlink patchset (ethnl commit e772d1d49a37)
+  * update:
+    netlink-add-netlink-interface.patch
+    netlink-add-netlink-handler-for-gdrv-i.patch
+    netlink-add-netlink-handler-for-gset-no-option.patch
+    netlink-add-helpers-for-command-line-parsing.patch
+    netlink-add-netlink-handler-for-sset-s.patch
+
+-------------------------------------------------------------------
+Sun Nov 26 22:09:26 UTC 2017 - mkubecek@suse.cz
+
+- fix wrong order of patches
+
+-------------------------------------------------------------------
+Sun Nov 26 22:01:08 UTC 2017 - mkubecek@suse.cz
+
+- update netlink patchset (ethnl commit baa6945ff8ea)
+  * add:
+    netlink-add-helpers-for-command-line-parsing.patch
+    netlink-add-netlink-handler-for-sset-s.patch
+  * update:
+    netlink-add-netlink-interface.patch
+    netlink-add-netlink-handler-for-gdrv-i.patch
+    netlink-add-netlink-handler-for-gset-no-option.patch
+
+-------------------------------------------------------------------
+Fri Nov 24 00:56:45 UTC 2017 - mkubecek@suse.cz
+
+- run autogen.sh to fix build
+- add autoconf and automake to BuildRequires
+
+-------------------------------------------------------------------
+Fri Nov 24 00:46:33 UTC 2017 - mkubecek@suse.cz
+
+- update netlink patchset (ethnl commit 2e82b4326601)
+  * add:
+    move-UAPI-header-copies-to-a-separate-directory.patch
+    update-UAPI-header-copies.patch
+    netlink-add-netlink-handler-for-gset-no-option.patch
+  * update:
+    netlink-add-netlink-interface.patch
+    netlink-add-netlink-handler-for-gdrv-i.patch
+
+-------------------------------------------------------------------
+Sun Nov 19 20:20:51 UTC 2017 - mkubecek@suse.cz
+
+- initial version of netlink patchset (ethnl commit d9969be2e7de):
+  netlink-add-netlink-interface.patch
+  netlink-add-netlink-handler-for-gdrv-i.patch
+
+-------------------------------------------------------------------
 Mon Oct 30 09:17:17 UTC 2017 - mkubecek@suse.cz
 
 - Update to new upstream release 4.13
--- ethtool.spec.orig
+++ ethtool.spec
@@ -29,7 +29,46 @@ Source:         http://kernel.org/pub/so
 Source2:        http://kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.sign
 Source3:        %{name}.keyring
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  xz
+BuildRequires:  pkgconfig(libmnl)
+
+# upstream after 4.18
+# ethnl
+Patch101:       move-UAPI-header-copies-to-a-separate-directory.patch
+Patch102:       update-UAPI-header-copies.patch
+Patch103:       ethtool-add-debug-option-to-control-debugging-messag.patch
+Patch104:       netlink-add-netlink-interface.patch
+Patch105:       netlink-add-support-for-string-sets.patch
+Patch106:       netlink-add-notification-monitor.patch
+Patch107:       netlink-add-netlink-handler-for-gdrv-i.patch
+Patch108:       netlink-add-netlink-handler-for-permaddr-P.patch
+Patch109:       netlink-add-netlink-handler-for-tsinfo-T.patch
+Patch110:       netlink-add-netlink-handler-for-gset-no-option.patch
+Patch111:       netlink-add-helpers-for-command-line-parsing.patch
+Patch112:       netlink-add-netlink-handler-for-sset-s.patch
+Patch113:       netlink-add-netlink-handler-for-gfeatures-k.patch
+Patch114:       netlink-add-netlink-handler-for-sfeatures-K.patch
+Patch115:       netlink-add-netlink-handler-for-gcoalesce-c.patch
+Patch116:       netlink-add-netlink-handler-for-gring-g.patch
+Patch117:       netlink-add-netlink-handler-for-gpause-a.patch
+Patch118:       netlink-add-netlink-handler-for-gchannels-l.patch
+Patch119:       netlink-add-netlink-handler-for-geee-show-eee.patch
+Patch120:       netlink-add-netlink-handler-for-gfec-show-fec.patch
+Patch121:       netlink-add-netlink-handler-for-scoalesce-C.patch
+Patch122:       netlink-add-netlink-handler-for-sring-G.patch
+Patch123:       netlink-add-netlink-handler-for-spause-A.patch
+Patch124:       netlink-add-netlink-handler-for-schannels-L.patch
+Patch125:       netlink-add-netlink-handler-for-seee-set-eee.patch
+Patch126:       netlink-add-netlink-handler-for-sfec-set-fec.patch
+Patch127:       netlink-add-netlink-handler-for-nway_rst-r.patch
+Patch128:       netlink-add-netlink-handler-for-phys_id-p.patch
+Patch129:       netlink-add-netlink-handler-for-reset-reset.patch
+Patch130:       netlink-add-netlink-handler-for-gprivflags-show-priv.patch
+Patch131:       netlink-add-netlink-handler-for-sprivflags-set-priv-.patch
+Patch132:       netlink-add-netlink-handler-for-grxfh-x.patch
+Patch133:       netlink-add-netlink-handler-for-srxfh-X.patch
 
 %description
 Ethtool is a small utility for examining and tuning ethernet-based
@@ -37,9 +76,44 @@ network interfaces.  See the man page fo
 
 %prep
 %setup -q
+# --
+%patch101 -p1
+%patch102 -p1
+%patch103 -p1
+%patch104 -p1
+%patch105 -p1
+%patch106 -p1
+%patch107 -p1
+%patch108 -p1
+%patch109 -p1
+%patch110 -p1
+%patch111 -p1
+%patch112 -p1
+%patch113 -p1
+%patch114 -p1
+%patch115 -p1
+%patch116 -p1
+%patch117 -p1
+%patch118 -p1
+%patch119 -p1
+%patch120 -p1
+%patch121 -p1
+%patch122 -p1
+%patch123 -p1
+%patch124 -p1
+%patch125 -p1
+%patch126 -p1
+%patch127 -p1
+%patch128 -p1
+%patch129 -p1
+%patch130 -p1
+%patch131 -p1
+%patch132 -p1
+%patch133 -p1
 
 %build
 export CFLAGS="%optflags -W -Wall -Wstrict-prototypes -Wformat-security -Wpointer-arith"
+./autogen.sh
 %configure
 make %{?_smp_mflags}