Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-headers/
Date: Wed, 01 Apr 2020 21:14:29
Message-Id: 1585775655.443a4de128c465189a2f9f9a7f053307c8424a8b.slyfox@gentoo
1 commit: 443a4de128c465189a2f9f9a7f053307c8424a8b
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 1 21:13:00 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 21:14:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=443a4de1
7
8 sys-kernel/linux-headers: drop old
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-kernel/linux-headers/Manifest | 11 ----
14 .../linux-headers/linux-headers-4.15-r1.ebuild | 57 --------------------
15 .../linux-headers/linux-headers-4.16-r2.ebuild | 60 ----------------------
16 sys-kernel/linux-headers/linux-headers-4.16.ebuild | 60 ----------------------
17 sys-kernel/linux-headers/linux-headers-4.17.ebuild | 57 --------------------
18 sys-kernel/linux-headers/linux-headers-4.18.ebuild | 60 ----------------------
19 sys-kernel/linux-headers/linux-headers-4.20.ebuild | 60 ----------------------
20 7 files changed, 365 deletions(-)
21
22 diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
23 index 1a3c68c2ccb..34f1967ee89 100644
24 --- a/sys-kernel/linux-headers/Manifest
25 +++ b/sys-kernel/linux-headers/Manifest
26 @@ -1,11 +1,6 @@
27 DIST gentoo-headers-3.18-1.tar.xz 3628 BLAKE2B 9e677389139e8e3e42508171593797b78f24368ceaba4f76c242b5827bf657444a65a0d3b334034cc54f7f14b00b9da7446356e1a5ffd9aacb05d5a336d4437f SHA512 89fb9b336fa3455752f6fe8626500d30245c04806890d4448a2895bbef2a5eae409940618fd4e0be57aa12784a198a695c32479f12d76450e16f2af1536e7a1f
28 DIST gentoo-headers-4.14-1.tar.xz 4080 BLAKE2B 5d8bb4453d3b0b739922a86e0e45120fe5ad57c3310ff6a94830a3a7561fb3b5eef7805ff171bdf0d5582fc91848fad948162e63ec4922280c8ed68ba58d50e1 SHA512 e0f806db641c99f3f71e27fde29705685745c9c03b901c943cab5af84e2e9c3af96f5d2d10d8f5328ec7e4dba28b378f534317bf1bee597d429557b981f0a865
29 -DIST gentoo-headers-4.15-1.tar.xz 4068 BLAKE2B fc99b99637a11dc0cc6b4d79be3e32242f4b4f3c86a4618b3a51839e902ebad045b335f531ca41c10a6a597111f2cf77a0ae17518fb17a8441b26f1bd98c19e7 SHA512 cb973625381ac0115344d9aa1ddd927d75f0c11961526844a9da6a0aebcd28b488a7af3b423ac8358808d998d9d00d51156780905a04c01c6c512215cad6de7d
30 -DIST gentoo-headers-4.16-1.tar.xz 4044 BLAKE2B c35efb14266d7d7f06de79f584c6e13a700c38793d7df399e668d5de269088d8a441a10e9d0b7acc5b6d1a116343d516aba58a4823cf51845fe9913dea81cb76 SHA512 a1fdf775bc27e5db2ccf1f86f12e78a25a4127673eb0a87639d548dc6246b81e5df0e8d56c0314ba833fe82d2825f8620addd408782e2f5152fb0b056b870d7c
31 -DIST gentoo-headers-4.17-1.tar.xz 4072 BLAKE2B 7de125ac87b0344a5ff7dfbbe3d15d62cd3364116750e35b72d9e404512267a497df1ce8c52df0ba97c836df68287fe239bf29fec25d43b11be67aa17833c097 SHA512 0a837b227b7e923232438f1961535fc9becb6ed4c95290da76631489ce318a875bd3cd12ec110dedf77026c5cb9761cf8ae5c9fcf2abd736f0f7b7249228efdd
32 -DIST gentoo-headers-4.18-1.tar.xz 4040 BLAKE2B fc4462bc8e59a58658c6bd2669840d7105f6bcde5e7cc2633f53ae4aaf44a67aebef24d944d9d3edb95abb4110ddeeb86a6fc0cbebcf6cbe23b59b97c16a0daf SHA512 8f58df3a5e5bf26e06c300354ec1e468f40593601e6645dc1b51491f5a678020598c1c72f72e616b499f503d98da4d4bf9cdf804a15cac73f51b7877756dd7fb
33 DIST gentoo-headers-4.19-1.tar.xz 4040 BLAKE2B 4ccaf4fb6bde84f0b1f29534cf2f6effca48cb81d63b33086a1ec667069bcb57a3c3d5697c50bff8521343954d01d9c27139d62a9cf2c9f5f12bc0461441f4af SHA512 511accdfd104d9cc84b568132f1eb822f97d35120a438768c313c2cc2651197414dae7af05db81e26b32fb4febbf1e0812030fcb98395f6f65271f6605dc7bb6
34 -DIST gentoo-headers-4.20-1.tar.xz 4040 BLAKE2B 05f8cae4014a6f0ad926e704d5272b05228b91e29a4e14269695cd665110c054a69f0ecab5dec5d23c430cce0726aa7c5c34c85edde0df34dd0e7f8dd5ff7cb6 SHA512 19fa005b648e7dead85edc1b779595c392c28b4699cc4352e6996bbe37fb49de4d2d6b632303338e4db99a4e2e01b56ba1f3777646a416358dc509fb15623f99
35 DIST gentoo-headers-4.4-1.tar.xz 6624 BLAKE2B 9cdf0c22520e413f175942c4994dd90b0fed8f72c67332a05e7ed72b901ee04594f4e4a3c0252e0a6e057d9c08c4d653387dc36cda82ce9ef8a16e7317ba9ea0 SHA512 dd8a5c627a9cd373022d7afa1beb126f15694f80452821f31fc5c1a3439635814d205bcbc873a5869946472d86cdec872a44f4870751b96d42e89893fca1b983
36 DIST gentoo-headers-4.9-1.tar.xz 5416 BLAKE2B 2538870b340d4e4b260ada37b0571ba770a4bf93b0f0cf78819b4bf68b8ddc43c314d7fc5d12a78bc71c9bb12306d986ae0ae74159ec7edc7deea371f6b5f015 SHA512 1069f50c58f25ceb8a13c8e53dce6a21e352e2a624da3b9a6d139939e7613e9a97226eb0173fa060ee69443c6a50b53b6d5c6d752dcaebffbe2a78f06cfbe2b6
37 DIST gentoo-headers-5.4-1.tar.xz 4720 BLAKE2B 74c1f47d8ad77a2df36db005adb25f81ba6128037357dfc1b6d65deb2a5d3e53d2f3b5af60098c3f3f514f85e53bef4c906fb182101d35ae32d73a5af417a583 SHA512 9d83a68c6e9a463bc27efd469a79d58690bdd0fd93d77c1de29938d7192bb546b63d9acad9633e6e043d0089638e67ee39382e987d7403c43d3f3edc83c5ccba
38 @@ -13,13 +8,7 @@ DIST gentoo-headers-5.5-1.tar.xz 4504 BLAKE2B 3bc7f115c5a92d027683f7958543eaa3ff
39 DIST gentoo-headers-5.6-1.tar.xz 4524 BLAKE2B c5965ad5e39a8c8c06ca4c4161ab37bb7b23873ef2eb5ec199dac58cce1df67e1392bb671917a728432263089d9930d5cc4d7e44ad3cb391ae560c6b957222b2 SHA512 06dd4a7ca3664c33c9a59d1120977d437af87ba1b1ee3b5877cce0a13766f866b1f0681f3ef090d831ee5b403e48168f8c335512a4d61cc5b53c169b9ebe3474
40 DIST gentoo-headers-base-3.18.tar.xz 3776668 BLAKE2B 837a675ecf05ec270549d0ba6b9dcb98fb0e40f22007ebfa3e430152b7149dcfa29c8bbe38c737add07f75642234f1633c1d5ae0170788e8d4f765faf00bbdbe SHA512 6615c604e5e618d26fff5a61691f7827bb05be9790db6c9f8e16e3842bce8f056f9928f85ae5714710b75743b0d0804faba4ba9c76e934e1de22dc03ef6d5535
41 DIST gentoo-headers-base-4.14.tar.xz 8017944 BLAKE2B e967a3f26fa002f62af72c165cf960e855f5d84dd105b3f136e5ae24f4cdfc9e5f8b217a83955b325ca4bd6bda0a9d4c4de02d8d79fd4aa72191bc63db96183a SHA512 2a4e83a9ee36ffa85b59ebac1e12f4f1c572825b767928a42c4748d924d04f0536bab4d9375ca68c11ad867c226f386c40c7c4d0158d1ab00c838eb5b2f9f21a
42 -DIST gentoo-headers-base-4.15.tar.xz 8199628 BLAKE2B 79a4f694a8335ed4bf1df94ab7829f41d3476165d0ce822a13e47461d7e3ee4cdb5e88acb9960a92ba1142adeb9951c19e17405c37b80d461b8577c7d1dfa37a SHA512 7698ae90e356cb6105d3b1fc5351264774428b5caa405e8695925965ab2ff3a08c0dfe3587a69a87405ecc45c6cd3040c3a9f751d6e6dc8eddf8b28ded4e2584
43 -DIST gentoo-headers-base-4.16-r1.tar.xz 8227040 BLAKE2B 95b2d64a614430e49d849ab54c58cbc3a850faea1bb5d9f7f43733d7b745ceb5ea3d1f8cc4dbb36c20797ae7d10bd736b99d17f5bfd0cdb90ecedb4eeb0f8610 SHA512 9b7cc82a322bd43dbf07c63d465200c87b838252e449028a363f3ff10921fe3889b503f20184168c7413d792c3d33b4324d89c89b95c8143a4a3c9c3e7e2d28e
44 -DIST gentoo-headers-base-4.16.tar.xz 8222256 BLAKE2B a5065cb49b549ea5eff33bc3a60ed070511cc463258666c30681aceaba97a108be059e4fc175bd6ba4dd0b27cf8bab14e0a8225346811eaacb4ddf8b2ba5a147 SHA512 2a5beadc61532d23f999c24101f3ab6db5d184a7327fa26330e318ac6b5b38b14c0e73ead2f550707b4e24c1f4f1a11c306c97608d98d530978fdeb43b4d58d9
45 -DIST gentoo-headers-base-4.17.tar.xz 7908432 BLAKE2B b0f39145db10dba1998e3facfb0565dd240ba26ce4b2744cfaaca8cfa2890f70a69cf65464163e053a05b0bf4d464f251d90f1cc266de604da2f8dc0889b34c3 SHA512 4d1f8f7a392a8ffdd1144c1d3126473f91cddfe1f750e9c7916e75aec4c571c1c3d2508c0967db12d8ed3e27623c8b2a5e2a47ff1710d55fbba91a84ec8434d4
46 -DIST gentoo-headers-base-4.18.tar.xz 7878256 BLAKE2B 9a97fed9ae4d16af57bb4aa069cceeb357ca79314ab57b6fbaec0dde75f9504b166a3b0017582bc00fc10b74298fcd4468332ef210e90e1e3daa4681b88e45f2 SHA512 c623b3962fe06150ecad60fa6c7c89e0ad83fad4c8886513f9948352ce0044420d8eb8ccdaa08f7bc957b892472041dd42709fbf396c93a0d0292ff7edbc713e
47 DIST gentoo-headers-base-4.19.tar.xz 7956220 BLAKE2B 5b6868188b6cb505556b8f307972be6b27c0201e8287f6a2c4d0ac8bf16cfe048cb05afacf879731ba81de5e2a8c5afc4adad007e00b12efb8b2a158a666f4dd SHA512 ef0f159cb31651bf8e00c31d8ac807e64413c7bf88807e1ab4779524db10eec4726b65af0fad034a0cb2e000cd61a6008bcc174828061ffaf633c170dd09645c
48 -DIST gentoo-headers-base-4.20.tar.xz 8041716 BLAKE2B 09e95aedfd4288fb27ad6c1e4f53992d205e9402efb315a8c764a2836ba856c7ec3f509d30c21e656e1ca9fdeb4530d807a10e0a74e3510c8e90aa82b222bafe SHA512 705c0cf3244039ef319002f17ea702fa91673eac6bb6a790c8451cad1f16951328e1ca1e3d26043708fcdc78bfaa1ff065322947e23b41c4acb9ed2b8acba427
49 DIST gentoo-headers-base-4.4.tar.xz 3911752 BLAKE2B 5031ecd48b99cb0c9c35ca935fa6a62cc36c076bab193ec397fc0d543170f29c6d5a0827a2ea5517eb68fc838819cbe3e5abd125bb920992492369d5e5c1e7cb SHA512 1cd3de58ff790c3730bea38138c7a45ef95d04288c69ffeabebb884fab3add13bd9c99785ddd87a3ee467a0e1b1cdc457bbd28da349e7c178b4d2374c5fb78a3
50 DIST gentoo-headers-base-4.9.tar.xz 4052748 BLAKE2B e279954c56170fbfa4ebae8dade731825b3d5f0cd5d73a5b33cd93a9c8f5fa140e14edf0d5ac26a452fe8a61b16fdcc851f5329f56e4c8dcf4472a995de44c4c SHA512 a03418cfba7fa4531279d9122411af3e285e962506e8df9279fbbb27ae08a4e30725bd1cf03f48ad523f61f2889195e6c844fa4c7b4ef2f828baf47ef402abfa
51 DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
52
53 diff --git a/sys-kernel/linux-headers/linux-headers-4.15-r1.ebuild b/sys-kernel/linux-headers/linux-headers-4.15-r1.ebuild
54 deleted file mode 100644
55 index 130b082ed1f..00000000000
56 --- a/sys-kernel/linux-headers/linux-headers-4.15-r1.ebuild
57 +++ /dev/null
58 @@ -1,57 +0,0 @@
59 -# Copyright 1999-2020 Gentoo Authors
60 -# Distributed under the terms of the GNU General Public License v2
61 -
62 -EAPI="6"
63 -
64 -ETYPE="headers"
65 -H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc tile x86 xtensa"
66 -inherit kernel-2 toolchain-funcs
67 -detect_version
68 -
69 -PATCH_VER="1"
70 -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
71 - ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
72 -
73 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
74 -
75 -DEPEND="app-arch/xz-utils
76 - dev-lang/perl"
77 -RDEPEND=""
78 -
79 -S=${WORKDIR}/gentoo-headers-base-${PV}
80 -
81 -src_unpack() {
82 - unpack ${A}
83 -}
84 -
85 -src_prepare() {
86 - default
87 -
88 - [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}/${PV}"/*.patch
89 -}
90 -
91 -src_install() {
92 - kernel-2_src_install
93 -
94 - # hrm, build system sucks
95 - find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
96 - find "${ED}" -depth -type d -delete 2>/dev/null
97 -}
98 -
99 -src_test() {
100 - # Make sure no uapi/ include paths are used by accident.
101 - egrep -r \
102 - -e '# *include.*["<]uapi/' \
103 - "${D}" && die "#include uapi/xxx detected"
104 -
105 - einfo "Possible unescaped attribute/type usage"
106 - egrep -r \
107 - -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
108 - -e '\<([us](8|16|32|64))\>' \
109 - .
110 -
111 - einfo "Missing linux/types.h include"
112 - egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
113 -
114 - emake ARCH=$(tc-arch-kernel) headers_check
115 -}
116
117 diff --git a/sys-kernel/linux-headers/linux-headers-4.16-r2.ebuild b/sys-kernel/linux-headers/linux-headers-4.16-r2.ebuild
118 deleted file mode 100644
119 index dccdc4b7be5..00000000000
120 --- a/sys-kernel/linux-headers/linux-headers-4.16-r2.ebuild
121 +++ /dev/null
122 @@ -1,60 +0,0 @@
123 -# Copyright 1999-2020 Gentoo Authors
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI="6"
127 -
128 -ETYPE="headers"
129 -H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc tile x86 xtensa"
130 -inherit kernel-2 toolchain-funcs
131 -detect_version
132 -
133 -PATCH_VER="1"
134 -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}-r1.tar.xz
135 - ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
136 - https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-base-${PV}-r1.tar.xz
137 - ${PATCH_VER:+https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
138 -"
139 -
140 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
141 -
142 -DEPEND="app-arch/xz-utils
143 - dev-lang/perl"
144 -RDEPEND=""
145 -
146 -S=${WORKDIR}/gentoo-headers-base-${PV}
147 -
148 -src_unpack() {
149 - unpack ${A}
150 -}
151 -
152 -src_prepare() {
153 - default
154 -
155 - [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}/${PV}"/*.patch
156 -}
157 -
158 -src_install() {
159 - kernel-2_src_install
160 -
161 - # hrm, build system sucks
162 - find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
163 - find "${ED}" -depth -type d -delete 2>/dev/null
164 -}
165 -
166 -src_test() {
167 - # Make sure no uapi/ include paths are used by accident.
168 - egrep -r \
169 - -e '# *include.*["<]uapi/' \
170 - "${D}" && die "#include uapi/xxx detected"
171 -
172 - einfo "Possible unescaped attribute/type usage"
173 - egrep -r \
174 - -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
175 - -e '\<([us](8|16|32|64))\>' \
176 - .
177 -
178 - einfo "Missing linux/types.h include"
179 - egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
180 -
181 - emake ARCH=$(tc-arch-kernel) headers_check
182 -}
183
184 diff --git a/sys-kernel/linux-headers/linux-headers-4.16.ebuild b/sys-kernel/linux-headers/linux-headers-4.16.ebuild
185 deleted file mode 100644
186 index 3e42502236f..00000000000
187 --- a/sys-kernel/linux-headers/linux-headers-4.16.ebuild
188 +++ /dev/null
189 @@ -1,60 +0,0 @@
190 -# Copyright 1999-2020 Gentoo Authors
191 -# Distributed under the terms of the GNU General Public License v2
192 -
193 -EAPI="6"
194 -
195 -ETYPE="headers"
196 -H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 bfin cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc tile x86 xtensa"
197 -inherit kernel-2 toolchain-funcs
198 -detect_version
199 -
200 -PATCH_VER="1"
201 -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
202 - ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
203 - https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-base-${PV}.tar.xz
204 - ${PATCH_VER:+https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
205 -"
206 -
207 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
208 -
209 -DEPEND="app-arch/xz-utils
210 - dev-lang/perl"
211 -RDEPEND=""
212 -
213 -S=${WORKDIR}/gentoo-headers-base-${PV}
214 -
215 -src_unpack() {
216 - unpack ${A}
217 -}
218 -
219 -src_prepare() {
220 - default
221 -
222 - [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV}
223 -}
224 -
225 -src_install() {
226 - kernel-2_src_install
227 -
228 - # hrm, build system sucks
229 - find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
230 - find "${ED}" -depth -type d -delete 2>/dev/null
231 -}
232 -
233 -src_test() {
234 - # Make sure no uapi/ include paths are used by accident.
235 - egrep -r \
236 - -e '# *include.*["<]uapi/' \
237 - "${D}" && die "#include uapi/xxx detected"
238 -
239 - einfo "Possible unescaped attribute/type usage"
240 - egrep -r \
241 - -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
242 - -e '\<([us](8|16|32|64))\>' \
243 - .
244 -
245 - einfo "Missing linux/types.h include"
246 - egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
247 -
248 - emake ARCH=$(tc-arch-kernel) headers_check
249 -}
250
251 diff --git a/sys-kernel/linux-headers/linux-headers-4.17.ebuild b/sys-kernel/linux-headers/linux-headers-4.17.ebuild
252 deleted file mode 100644
253 index e84130cb5db..00000000000
254 --- a/sys-kernel/linux-headers/linux-headers-4.17.ebuild
255 +++ /dev/null
256 @@ -1,57 +0,0 @@
257 -# Copyright 1999-2020 Gentoo Authors
258 -# Distributed under the terms of the GNU General Public License v2
259 -
260 -EAPI="6"
261 -
262 -ETYPE="headers"
263 -H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa"
264 -inherit kernel-2 toolchain-funcs
265 -detect_version
266 -
267 -PATCH_VER="1"
268 -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
269 - ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
270 -
271 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
272 -
273 -DEPEND="app-arch/xz-utils
274 - dev-lang/perl"
275 -RDEPEND=""
276 -
277 -S=${WORKDIR}/gentoo-headers-base-${PV}
278 -
279 -src_unpack() {
280 - unpack ${A}
281 -}
282 -
283 -src_prepare() {
284 - default
285 -
286 - [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}"/${PV}/*.patch
287 -}
288 -
289 -src_install() {
290 - kernel-2_src_install
291 -
292 - # hrm, build system sucks
293 - find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
294 - find "${ED}" -depth -type d -delete 2>/dev/null
295 -}
296 -
297 -src_test() {
298 - # Make sure no uapi/ include paths are used by accident.
299 - egrep -r \
300 - -e '# *include.*["<]uapi/' \
301 - "${D}" && die "#include uapi/xxx detected"
302 -
303 - einfo "Possible unescaped attribute/type usage"
304 - egrep -r \
305 - -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
306 - -e '\<([us](8|16|32|64))\>' \
307 - .
308 -
309 - einfo "Missing linux/types.h include"
310 - egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
311 -
312 - emake ARCH=$(tc-arch-kernel) headers_check
313 -}
314
315 diff --git a/sys-kernel/linux-headers/linux-headers-4.18.ebuild b/sys-kernel/linux-headers/linux-headers-4.18.ebuild
316 deleted file mode 100644
317 index 961f5e63def..00000000000
318 --- a/sys-kernel/linux-headers/linux-headers-4.18.ebuild
319 +++ /dev/null
320 @@ -1,60 +0,0 @@
321 -# Copyright 1999-2020 Gentoo Authors
322 -# Distributed under the terms of the GNU General Public License v2
323 -
324 -EAPI="6"
325 -
326 -ETYPE="headers"
327 -H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa"
328 -inherit kernel-2 toolchain-funcs
329 -detect_version
330 -
331 -PATCH_VER="1"
332 -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
333 - https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-base-${PV}.tar.xz
334 - ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
335 - ${PATCH_VER:+https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
336 -"
337 -
338 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
339 -
340 -DEPEND="app-arch/xz-utils
341 - dev-lang/perl"
342 -RDEPEND=""
343 -
344 -S=${WORKDIR}/gentoo-headers-base-${PV}
345 -
346 -src_unpack() {
347 - unpack ${A}
348 -}
349 -
350 -src_prepare() {
351 - default
352 -
353 - [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}"/${PV}/*.patch
354 -}
355 -
356 -src_install() {
357 - kernel-2_src_install
358 -
359 - # hrm, build system sucks
360 - find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
361 - find "${ED}" -depth -type d -delete 2>/dev/null
362 -}
363 -
364 -src_test() {
365 - # Make sure no uapi/ include paths are used by accident.
366 - egrep -r \
367 - -e '# *include.*["<]uapi/' \
368 - "${D}" && die "#include uapi/xxx detected"
369 -
370 - einfo "Possible unescaped attribute/type usage"
371 - egrep -r \
372 - -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
373 - -e '\<([us](8|16|32|64))\>' \
374 - .
375 -
376 - einfo "Missing linux/types.h include"
377 - egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
378 -
379 - emake ARCH=$(tc-arch-kernel) headers_check
380 -}
381
382 diff --git a/sys-kernel/linux-headers/linux-headers-4.20.ebuild b/sys-kernel/linux-headers/linux-headers-4.20.ebuild
383 deleted file mode 100644
384 index 961f5e63def..00000000000
385 --- a/sys-kernel/linux-headers/linux-headers-4.20.ebuild
386 +++ /dev/null
387 @@ -1,60 +0,0 @@
388 -# Copyright 1999-2020 Gentoo Authors
389 -# Distributed under the terms of the GNU General Public License v2
390 -
391 -EAPI="6"
392 -
393 -ETYPE="headers"
394 -H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m32r m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa"
395 -inherit kernel-2 toolchain-funcs
396 -detect_version
397 -
398 -PATCH_VER="1"
399 -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz
400 - https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-base-${PV}.tar.xz
401 - ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
402 - ${PATCH_VER:+https://dev.gentoo.org/~slyfox/distfiles/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}
403 -"
404 -
405 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
406 -
407 -DEPEND="app-arch/xz-utils
408 - dev-lang/perl"
409 -RDEPEND=""
410 -
411 -S=${WORKDIR}/gentoo-headers-base-${PV}
412 -
413 -src_unpack() {
414 - unpack ${A}
415 -}
416 -
417 -src_prepare() {
418 - default
419 -
420 - [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}"/${PV}/*.patch
421 -}
422 -
423 -src_install() {
424 - kernel-2_src_install
425 -
426 - # hrm, build system sucks
427 - find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete
428 - find "${ED}" -depth -type d -delete 2>/dev/null
429 -}
430 -
431 -src_test() {
432 - # Make sure no uapi/ include paths are used by accident.
433 - egrep -r \
434 - -e '# *include.*["<]uapi/' \
435 - "${D}" && die "#include uapi/xxx detected"
436 -
437 - einfo "Possible unescaped attribute/type usage"
438 - egrep -r \
439 - -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
440 - -e '\<([us](8|16|32|64))\>' \
441 - .
442 -
443 - einfo "Missing linux/types.h include"
444 - egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
445 -
446 - emake ARCH=$(tc-arch-kernel) headers_check
447 -}