1 |
commit: c73f0b2c73bf56baf76668272098d1c71b396234 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 9 08:07:44 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 9 08:08:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c73f0b2c |
7 |
|
8 |
sys-apps/ethtool: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-apps/ethtool/Manifest | 2 -- |
13 |
sys-apps/ethtool/ethtool-5.4.ebuild | 14 ----------- |
14 |
sys-apps/ethtool/ethtool-5.8-r1.ebuild | 26 ------------------- |
15 |
.../ethtool/files/ethtool-5.8-avoid_bashisms.patch | 29 ---------------------- |
16 |
...ol-5.8-only-memset-non-NULL-link-settings.patch | 20 --------------- |
17 |
5 files changed, 91 deletions(-) |
18 |
|
19 |
diff --git a/sys-apps/ethtool/Manifest b/sys-apps/ethtool/Manifest |
20 |
index 437687fbf1a..5bffba1c47c 100644 |
21 |
--- a/sys-apps/ethtool/Manifest |
22 |
+++ b/sys-apps/ethtool/Manifest |
23 |
@@ -1,5 +1,3 @@ |
24 |
DIST ethtool-5.10.tar.xz 310536 BLAKE2B acc91ff2f7cf233a5a7bc85e32fbcf78e3923b240ab3e3300fa11d42769b664b1b5740ad6577daf4ef1b1054432e2323429ee63774af5e0210c1ec1c7d6aa4ac SHA512 128ecc0445ec44e231d95158a71cea2c03f059314f1a844cfb2f424970bd68608fb73b8dc5e8905b88ad0da2b65a8884a626be78d6d25f770ce043c6c87580a6 |
25 |
DIST ethtool-5.12.tar.xz 311004 BLAKE2B 640d4a1576afea60c673a6060b649d10ccb2d2be64a817e4d74daeb6de4da2d30ccb059ff1113e05f9c44898f08beefd706be2ea6e323c42032c4d93926d380a SHA512 9825f0bf10851f0bd9c3e621785144a5ed5f3fbedacb1801aa6a9b4685c870fa9bfac8eb552c900d20be06240c017dd001fde6be7aecc8c466bbe9ade8b1d002 |
26 |
DIST ethtool-5.13.tar.xz 318204 BLAKE2B 5e693368ce56fa155c5d371bc650e5fb7e8e1c8fd30982b45a674da63119e54f005484bea68c7b85e8d070efbf7aa15e92637e7a3b8b2010b4022851154a6809 SHA512 44426653aabd20707d2e597707113f4d30d12696b4f32c0ab0450af0dccece1b6a11e529a22d1299204f63c9e71ae41a1495d3d36b8f630f1734a72694d779be |
27 |
-DIST ethtool-5.4.tar.xz 239288 BLAKE2B 8c8b2bee53fe3e71510684ca7c6f64153cb6f1c5ebe44cd4d1dc351885d2d9957eb206a96bda9efadb5faa0e15a3f0ba07923d7e29b27694e3e3f605151a940d SHA512 c7bfe7eae2ba207d710716274e9f5ae275c57d0bebc0a9acb95677125e64f1b42ef610032011fb59894aab46973988bad40fddbc5ccc238893e7da66f913255b |
28 |
-DIST ethtool-5.8.tar.xz 299416 BLAKE2B ea7433205eba831b6ba56e140c73cfe283cc5dc56ced963414a017b0d6b6fbde9d0195ff64ebdc060351e5e9844af8beb8f00f7e04d76b04f958b166cda7e589 SHA512 5eada909f82573ad93bc5476e6f8d50f68ce2c9948558877eb6ace8dc17aee895b2f27343592f5f23eaef0e0fc70b5f776f76e75d9614bab305a2819ca82370e |
29 |
|
30 |
diff --git a/sys-apps/ethtool/ethtool-5.4.ebuild b/sys-apps/ethtool/ethtool-5.4.ebuild |
31 |
deleted file mode 100644 |
32 |
index 159377da21d..00000000000 |
33 |
--- a/sys-apps/ethtool/ethtool-5.4.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,14 +0,0 @@ |
36 |
-# Copyright 1999-2021 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-DESCRIPTION="Utility for examining and tuning ethernet-based network interfaces" |
42 |
-HOMEPAGE="https://www.kernel.org/pub/software/network/ethtool/" |
43 |
-SRC_URI="https://www.kernel.org/pub/software/network/ethtool/${P}.tar.xz" |
44 |
- |
45 |
-LICENSE="GPL-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" |
48 |
- |
49 |
-BDEPEND="app-arch/xz-utils" |
50 |
|
51 |
diff --git a/sys-apps/ethtool/ethtool-5.8-r1.ebuild b/sys-apps/ethtool/ethtool-5.8-r1.ebuild |
52 |
deleted file mode 100644 |
53 |
index 8e1cf0073e3..00000000000 |
54 |
--- a/sys-apps/ethtool/ethtool-5.8-r1.ebuild |
55 |
+++ /dev/null |
56 |
@@ -1,26 +0,0 @@ |
57 |
-# Copyright 1999-2021 Gentoo Authors |
58 |
-# Distributed under the terms of the GNU General Public License v2 |
59 |
- |
60 |
-EAPI=7 |
61 |
- |
62 |
-DESCRIPTION="Utility for examining and tuning ethernet-based network interfaces" |
63 |
-HOMEPAGE="https://www.kernel.org/pub/software/network/ethtool/" |
64 |
-SRC_URI="https://www.kernel.org/pub/software/network/ethtool/${P}.tar.xz" |
65 |
- |
66 |
-LICENSE="GPL-2" |
67 |
-SLOT="0" |
68 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" |
69 |
-IUSE="+netlink" |
70 |
- |
71 |
-BDEPEND="app-arch/xz-utils" |
72 |
-RDEPEND="netlink? ( net-libs/libmnl )" |
73 |
-DEPEND="${RDEPEND}" |
74 |
- |
75 |
-PATCHES=( |
76 |
- "${FILESDIR}/${PN}-5.8-avoid_bashisms.patch" |
77 |
- "${FILESDIR}/${P}-only-memset-non-NULL-link-settings.patch" |
78 |
-) |
79 |
- |
80 |
-src_configure() { |
81 |
- econf $(use_enable netlink) |
82 |
-} |
83 |
|
84 |
diff --git a/sys-apps/ethtool/files/ethtool-5.8-avoid_bashisms.patch b/sys-apps/ethtool/files/ethtool-5.8-avoid_bashisms.patch |
85 |
deleted file mode 100644 |
86 |
index 9cd9fd86fb7..00000000000 |
87 |
--- a/sys-apps/ethtool/files/ethtool-5.8-avoid_bashisms.patch |
88 |
+++ /dev/null |
89 |
@@ -1,29 +0,0 @@ |
90 |
-Running this script with dash results in an endless loop spitting out this: |
91 |
- |
92 |
- ./test-driver: 62: [: --test-name: unexpected operator |
93 |
- ./test-driver: 78: [[: not found |
94 |
- |
95 |
-This is caused by two bashisms which are being fixed by the below patch |
96 |
- |
97 |
-Signed-off-by: Lars Wendler <polynomial-c@g.o> |
98 |
- |
99 |
---- ethtool-5.8/test-driver |
100 |
-+++ ethtool-5.8/test-driver |
101 |
-@@ -59,7 +59,7 @@ |
102 |
- while test $# -gt 1; do |
103 |
- arg=${1%=*} |
104 |
- val=${1#*=} |
105 |
-- if [ $arg == $val ]; then |
106 |
-+ if [ $arg = $val ]; then |
107 |
- val=$2 |
108 |
- shift |
109 |
- fi |
110 |
-@@ -75,7 +75,7 @@ |
111 |
- --) break;; |
112 |
- -*) usage_error "invalid option: '$1'";; |
113 |
- esac |
114 |
-- [[ $arg != $val ]] && shift |
115 |
-+ [ $arg != $val ] && shift |
116 |
- done |
117 |
- |
118 |
- missing_opts= |
119 |
|
120 |
diff --git a/sys-apps/ethtool/files/ethtool-5.8-only-memset-non-NULL-link-settings.patch b/sys-apps/ethtool/files/ethtool-5.8-only-memset-non-NULL-link-settings.patch |
121 |
deleted file mode 100644 |
122 |
index 573ee645615..00000000000 |
123 |
--- a/sys-apps/ethtool/files/ethtool-5.8-only-memset-non-NULL-link-settings.patch |
124 |
+++ /dev/null |
125 |
@@ -1,20 +0,0 @@ |
126 |
-https://bugs.gentoo.org/740114 |
127 |
-https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=cf12872ebe7d8fac2088e7d2cd5e2a0a5f03499d |
128 |
- |
129 |
---- a/ethtool.c |
130 |
-+++ b/ethtool.c |
131 |
-@@ -3048,10 +3048,11 @@ static int do_sset(struct cmd_context *ctx) |
132 |
- struct ethtool_link_usettings *link_usettings; |
133 |
- |
134 |
- link_usettings = do_ioctl_glinksettings(ctx); |
135 |
-- memset(&link_usettings->deprecated, 0, |
136 |
-- sizeof(link_usettings->deprecated)); |
137 |
- if (link_usettings == NULL) |
138 |
- link_usettings = do_ioctl_gset(ctx); |
139 |
-+ else |
140 |
-+ memset(&link_usettings->deprecated, 0, |
141 |
-+ sizeof(link_usettings->deprecated)); |
142 |
- if (link_usettings == NULL) { |
143 |
- perror("Cannot get current device settings"); |
144 |
- err = -1; |
145 |
- |