Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/iwd/
Date: Mon, 30 Dec 2019 17:44:26
Message-Id: 1577727849.cc58ad778db5909b55fd9efbef013d6d35a943b1.bkohler@gentoo
1 commit: cc58ad778db5909b55fd9efbef013d6d35a943b1
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 17:43:50 2019 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 30 17:44:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc58ad77
7
8 net-wireless/iwd: drop old
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 net-wireless/iwd/Manifest | 7 --
14 net-wireless/iwd/iwd-0.21.ebuild | 139 --------------------------------
15 net-wireless/iwd/iwd-0.22.ebuild | 143 ---------------------------------
16 net-wireless/iwd/iwd-0.23-r1.ebuild | 143 ---------------------------------
17 net-wireless/iwd/iwd-1.0-r1.ebuild | 144 ---------------------------------
18 net-wireless/iwd/iwd-1.1.ebuild | 154 ------------------------------------
19 net-wireless/iwd/iwd-1.2.ebuild | 153 -----------------------------------
20 net-wireless/iwd/iwd-1.3.ebuild | 153 -----------------------------------
21 8 files changed, 1036 deletions(-)
22
23 diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest
24 index 64ae313652f..a65fe0cc1c9 100644
25 --- a/net-wireless/iwd/Manifest
26 +++ b/net-wireless/iwd/Manifest
27 @@ -1,8 +1 @@
28 -DIST iwd-0.21.tar.xz 793432 BLAKE2B d82b90dbc83a2953d9de82e5e3a031f4db21f4e707d630cf2762475d34ed97fe78c4cc16bb6fed6ec7343af6bbf89672c37c76a06ed7181b57c657607859f4ab SHA512 eca8847cb68bc52f33a2f50ce4cba9ee4cbd37ad989292a21d613afd3307b0dc974da56df49dc97aa65c9647e3497849d696d5a9fdc5c0d0443a141a0887b324
29 -DIST iwd-0.22.tar.xz 813324 BLAKE2B 690ac6edbcd07be3b84318c77b8be5bef570951d02a7a6be1cd70ff0a475077253dd8e6f3b5c8a0177e6294b6cb12042e302b6752e2631ddd7cebe829c0c9f9f SHA512 4fa9f8688a33663aad754a371e9c1c71161f394fc0d7c4a32ce3afe7e00efdca8f55f378a71ab32002bbe73538b1a092bc0f24c19912672d70d6b02fcc824fe0
30 -DIST iwd-0.23.tar.xz 817764 BLAKE2B 2eaf13778658558529d9395ce42d0cd87ff1ae17f7ccd57011ef5e5a7bd68a1b25a0b5b40c5cec10e5cc2304cb49e65b1031f12608feb0d1c30fda2fa9f706cb SHA512 e1ee8c2ca34836f8a971eb10ec79c02c2c3a683a183599839979aeb79e152ad0ef2a37520aeef05a3011c584f009bece158dbcd07841d1ab95138c743c7d11cc
31 -DIST iwd-1.0.tar.xz 819608 BLAKE2B 8e4187fe92efc3fd686d28cab49a39bcdbc6cbe311d0ef517539e1094d3251e2c92879df24576b0aa100ff0be4bc2496e4ba6a22bc73f1c945ef3bf2a18331a2 SHA512 ef1f840019e5d954e4e8fbedc0f91ca14a981f3e73345daa6f55ad458c048172b510ebec22f8d3b658f84c8d0383b8861ac03f06f16adbcd73d45062e48c11b8
32 -DIST iwd-1.1.tar.xz 825936 BLAKE2B 3e0018fa09b46c180d005991a1ca65787e5a5c70f4ca1723a1e296ddf1a536d799afb580d1a3bd0d70f37e60e723dcb0f0bf1f2c2514c5b490babee0f2f1eb47 SHA512 bfc31e1fa10db355b5146b80d49bcc5228c2a6ec5c0c9608b9d02b83840265adb9ac97afb45b0c3b2e299fd96f2a022006a018a89bad56acfc5872969a24d350
33 -DIST iwd-1.2.tar.xz 827704 BLAKE2B 7efb4ca87636ae4f55225a3dc172fbc6e7a7b5c9ac2c6d3e9f768dbdba0e542df21c3fdd2173298077a65a16168ffad72e2078bb5c76030a4dc068d01eb90c5e SHA512 d6908ed3b72eccbb48b3e7de57ad30fd133ef8fdf170740095ac77364f4b7c669e245c337804c93592fb29a4d36c6c0892eb78d0692cedabd1d9838f9de91d9e
34 -DIST iwd-1.3.tar.xz 830132 BLAKE2B d7c372fa5acaf0900c97d53363d62116f670662e5d30268493e749c8f33daa1c1087e484a8c6453127e55c7e987ff89169e6680ebcac75bcd936aec246394b2d SHA512 cf6afbdffd35bba8118b6c14e552e857c1fdb0a27a85314264547cb63ee625222298c5c765c6cc41b999fbad5c832861084e69b0551b72b67cc1b58a229fa3e2
35 DIST iwd-1.4.tar.xz 830548 BLAKE2B 2d03767a5308c72206aefbafce39a241e353c1ef8751758d0a336a7ad5b86ef02062da037db423b805810eb45a9467628cd241682a63835b63e3ea920f39ace9 SHA512 3b06fa24666e7cf37353d95d0e9abc41b8be921ae7313c014f20f704fe7919d154d6a5441c6d87d4cd08ee65e15218ec01f4ff4aafc7e4a358faf3ca4a6dcb18
36
37 diff --git a/net-wireless/iwd/iwd-0.21.ebuild b/net-wireless/iwd/iwd-0.21.ebuild
38 deleted file mode 100644
39 index 69f7fb6c2c4..00000000000
40 --- a/net-wireless/iwd/iwd-0.21.ebuild
41 +++ /dev/null
42 @@ -1,139 +0,0 @@
43 -# Copyright 1999-2019 Gentoo Authors
44 -# Distributed under the terms of the GNU General Public License v2
45 -
46 -EAPI=6
47 -inherit autotools flag-o-matic linux-info systemd
48 -
49 -if [[ ${PV} == 9999 ]]; then
50 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
51 - inherit git-r3
52 -else
53 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
54 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
55 -fi
56 -
57 -DESCRIPTION="Wireless daemon for linux"
58 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
59 -
60 -LICENSE="GPL-2"
61 -SLOT="0"
62 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3"
63 -
64 -RDEPEND=">=dev-libs/ell-0.23
65 - net-wireless/wireless-regdb
66 - sys-apps/dbus
67 - client? ( sys-libs/readline:0= )
68 - crda? ( net-wireless/crda )"
69 -
70 -DEPEND="${RDEPEND}
71 - virtual/pkgconfig"
72 -
73 -pkg_pretend() {
74 - CONFIG_CHECK="
75 - ~ASYMMETRIC_KEY_TYPE
76 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
77 - ~CFG80211
78 - ~CRYPTO_AES
79 - ~CRYPTO_ARC4
80 - ~CRYPTO_CBC
81 - ~CRYPTO_CMAC
82 - ~CRYPTO_DES
83 - ~CRYPTO_ECB
84 - ~CRYPTO_HMAC
85 - ~CRYPTO_MD4
86 - ~CRYPTO_MD5
87 - ~CRYPTO_RSA
88 - ~CRYPTO_SHA1
89 - ~CRYPTO_SHA256
90 - ~CRYPTO_SHA512
91 - ~CRYPTO_USER_API_HASH
92 - ~CRYPTO_USER_API_SKCIPHER
93 - ~KEY_DH_OPERATIONS
94 - ~PKCS7_MESSAGE_PARSER
95 - ~X509_CERTIFICATE_PARSER
96 - "
97 - if use crda;then
98 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
99 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
100 - fi
101 -
102 - if use amd64;then
103 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64"
104 - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance"
105 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
106 - fi
107 -
108 - if use cpu_flags_x86_aes;then
109 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
110 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
111 - fi
112 -
113 - if use cpu_flags_x86_ssse3 && use amd64; then
114 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
115 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
116 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
117 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
118 - fi
119 -
120 - if use kernel_linux && kernel_is -ge 4 20; then
121 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
122 - fi
123 -
124 - check_extra_config
125 -
126 - if ! use crda; then
127 - if [[ $(getfilevar CONFIG_CFG80211 /usr/src/linux/.config) == y ]] \
128 - && [[ $(getfilevar CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config) != *regulatory.db* ]]
129 - then
130 - ewarn ""
131 - ewarn "REGULATORY DOMAIN PROBLEM:"
132 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
133 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
134 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
135 - ewarn ""
136 - fi
137 - fi
138 -}
139 -
140 -src_unpack() {
141 - if [[ ${PV} == "9999" ]] ; then
142 - git-r3_src_unpack
143 - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell
144 - else
145 - default
146 - fi
147 -}
148 -
149 -src_prepare() {
150 - default
151 - eautoreconf
152 -}
153 -
154 -src_configure() {
155 - append-cflags "-fsigned-char"
156 - econf --sysconfdir=/etc/iwd --localstatedir=/var \
157 - $(use_enable client) \
158 - $(use_enable monitor) \
159 - $(use_enable ofono) \
160 - $(use_enable wired) \
161 - --enable-external-ell \
162 - --enable-systemd-service \
163 - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \
164 - --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d)
165 -}
166 -
167 -src_install() {
168 - default
169 - keepdir /var/lib/${PN}
170 -
171 - newinitd "${FILESDIR}/iwd.initd" iwd
172 -
173 - if use wired;then
174 - newinitd "${FILESDIR}/ead.initd" ead
175 - fi
176 -
177 - if [[ ${PV} == "9999" ]] ; then
178 - exeinto /usr/share/iwd/scripts/
179 - doexe test/*
180 - fi
181 -}
182
183 diff --git a/net-wireless/iwd/iwd-0.22.ebuild b/net-wireless/iwd/iwd-0.22.ebuild
184 deleted file mode 100644
185 index 468cef07ee8..00000000000
186 --- a/net-wireless/iwd/iwd-0.22.ebuild
187 +++ /dev/null
188 @@ -1,143 +0,0 @@
189 -# Copyright 1999-2019 Gentoo Authors
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -EAPI=6
193 -inherit autotools flag-o-matic linux-info systemd
194 -
195 -if [[ ${PV} == *9999* ]]; then
196 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
197 - inherit git-r3
198 -else
199 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
200 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
201 -fi
202 -
203 -DESCRIPTION="Wireless daemon for linux"
204 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
205 -
206 -LICENSE="GPL-2"
207 -SLOT="0"
208 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3"
209 -
210 -COMMON_DEPEND=">=dev-libs/ell-0.24
211 - sys-apps/dbus
212 - client? ( sys-libs/readline:0= )"
213 -
214 -RDEPEND="${COMMON_DEPEND}
215 - net-wireless/wireless-regdb
216 - crda? ( net-wireless/crda )"
217 -
218 -DEPEND="${COMMON_DEPEND}
219 - virtual/pkgconfig"
220 -
221 -[[ ${PV} == *9999* ]] && DEPEND+=" dev-python/docutils"
222 -
223 -pkg_pretend() {
224 - CONFIG_CHECK="
225 - ~ASYMMETRIC_KEY_TYPE
226 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
227 - ~CFG80211
228 - ~CRYPTO_AES
229 - ~CRYPTO_ARC4
230 - ~CRYPTO_CBC
231 - ~CRYPTO_CMAC
232 - ~CRYPTO_DES
233 - ~CRYPTO_ECB
234 - ~CRYPTO_HMAC
235 - ~CRYPTO_MD4
236 - ~CRYPTO_MD5
237 - ~CRYPTO_RSA
238 - ~CRYPTO_SHA1
239 - ~CRYPTO_SHA256
240 - ~CRYPTO_SHA512
241 - ~CRYPTO_USER_API_HASH
242 - ~CRYPTO_USER_API_SKCIPHER
243 - ~KEY_DH_OPERATIONS
244 - ~PKCS7_MESSAGE_PARSER
245 - ~X509_CERTIFICATE_PARSER
246 - "
247 - if use crda;then
248 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
249 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
250 - fi
251 -
252 - if use amd64;then
253 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64"
254 - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance"
255 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
256 - fi
257 -
258 - if use cpu_flags_x86_aes;then
259 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
260 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
261 - fi
262 -
263 - if use cpu_flags_x86_ssse3 && use amd64; then
264 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
265 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
266 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
267 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
268 - fi
269 -
270 - if use kernel_linux && kernel_is -ge 4 20; then
271 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
272 - fi
273 -
274 - check_extra_config
275 -
276 - if ! use crda; then
277 - if [[ $(getfilevar CONFIG_CFG80211 /usr/src/linux/.config) == y ]] \
278 - && [[ $(getfilevar CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config) != *regulatory.db* ]]
279 - then
280 - ewarn ""
281 - ewarn "REGULATORY DOMAIN PROBLEM:"
282 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
283 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
284 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
285 - ewarn ""
286 - fi
287 - fi
288 -}
289 -
290 -src_unpack() {
291 - if [[ ${PV} == *9999* ]] ; then
292 - git-r3_src_unpack
293 - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell
294 - else
295 - default
296 - fi
297 -}
298 -
299 -src_prepare() {
300 - default
301 - eautoreconf
302 -}
303 -
304 -src_configure() {
305 - append-cflags "-fsigned-char"
306 - econf --sysconfdir=/etc/iwd --localstatedir=/var \
307 - $(use_enable client) \
308 - $(use_enable monitor) \
309 - $(use_enable ofono) \
310 - $(use_enable wired) \
311 - --enable-external-ell \
312 - --enable-systemd-service \
313 - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \
314 - --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d)
315 -}
316 -
317 -src_install() {
318 - default
319 - keepdir /var/lib/${PN}
320 -
321 - newinitd "${FILESDIR}/iwd.initd" iwd
322 -
323 - if use wired;then
324 - newinitd "${FILESDIR}/ead.initd" ead
325 - fi
326 -
327 - if [[ ${PV} == *9999* ]] ; then
328 - exeinto /usr/share/iwd/scripts/
329 - doexe test/*
330 - fi
331 -}
332
333 diff --git a/net-wireless/iwd/iwd-0.23-r1.ebuild b/net-wireless/iwd/iwd-0.23-r1.ebuild
334 deleted file mode 100644
335 index e249a29033b..00000000000
336 --- a/net-wireless/iwd/iwd-0.23-r1.ebuild
337 +++ /dev/null
338 @@ -1,143 +0,0 @@
339 -# Copyright 1999-2019 Gentoo Authors
340 -# Distributed under the terms of the GNU General Public License v2
341 -
342 -EAPI=6
343 -inherit autotools flag-o-matic linux-info systemd
344 -
345 -if [[ ${PV} == *9999* ]]; then
346 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
347 - inherit git-r3
348 -else
349 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
350 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
351 -fi
352 -
353 -DESCRIPTION="Wireless daemon for linux"
354 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
355 -
356 -LICENSE="GPL-2"
357 -SLOT="0"
358 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3"
359 -
360 -COMMON_DEPEND="~dev-libs/ell-0.25
361 - sys-apps/dbus
362 - client? ( sys-libs/readline:0= )"
363 -
364 -RDEPEND="${COMMON_DEPEND}
365 - net-wireless/wireless-regdb
366 - crda? ( net-wireless/crda )"
367 -
368 -DEPEND="${COMMON_DEPEND}
369 - virtual/pkgconfig"
370 -
371 -[[ ${PV} == *9999* ]] && DEPEND+=" dev-python/docutils"
372 -
373 -pkg_pretend() {
374 - CONFIG_CHECK="
375 - ~ASYMMETRIC_KEY_TYPE
376 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
377 - ~CFG80211
378 - ~CRYPTO_AES
379 - ~CRYPTO_ARC4
380 - ~CRYPTO_CBC
381 - ~CRYPTO_CMAC
382 - ~CRYPTO_DES
383 - ~CRYPTO_ECB
384 - ~CRYPTO_HMAC
385 - ~CRYPTO_MD4
386 - ~CRYPTO_MD5
387 - ~CRYPTO_RSA
388 - ~CRYPTO_SHA1
389 - ~CRYPTO_SHA256
390 - ~CRYPTO_SHA512
391 - ~CRYPTO_USER_API_HASH
392 - ~CRYPTO_USER_API_SKCIPHER
393 - ~KEY_DH_OPERATIONS
394 - ~PKCS7_MESSAGE_PARSER
395 - ~X509_CERTIFICATE_PARSER
396 - "
397 - if use crda;then
398 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
399 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
400 - fi
401 -
402 - if use amd64;then
403 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64"
404 - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance"
405 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
406 - fi
407 -
408 - if use cpu_flags_x86_aes;then
409 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
410 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
411 - fi
412 -
413 - if use cpu_flags_x86_ssse3 && use amd64; then
414 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
415 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
416 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
417 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
418 - fi
419 -
420 - if use kernel_linux && kernel_is -ge 4 20; then
421 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
422 - fi
423 -
424 - check_extra_config
425 -
426 - if ! use crda; then
427 - if [[ $(getfilevar CONFIG_CFG80211 /usr/src/linux/.config) == y ]] \
428 - && [[ $(getfilevar CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config) != *regulatory.db* ]]
429 - then
430 - ewarn ""
431 - ewarn "REGULATORY DOMAIN PROBLEM:"
432 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
433 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
434 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
435 - ewarn ""
436 - fi
437 - fi
438 -}
439 -
440 -src_unpack() {
441 - if [[ ${PV} == *9999* ]] ; then
442 - git-r3_src_unpack
443 - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell
444 - else
445 - default
446 - fi
447 -}
448 -
449 -src_prepare() {
450 - default
451 - eautoreconf
452 -}
453 -
454 -src_configure() {
455 - append-cflags "-fsigned-char"
456 - econf --sysconfdir=/etc/iwd --localstatedir=/var \
457 - $(use_enable client) \
458 - $(use_enable monitor) \
459 - $(use_enable ofono) \
460 - $(use_enable wired) \
461 - --enable-external-ell \
462 - --enable-systemd-service \
463 - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \
464 - --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d)
465 -}
466 -
467 -src_install() {
468 - default
469 - keepdir /var/lib/${PN}
470 -
471 - newinitd "${FILESDIR}/iwd.initd" iwd
472 -
473 - if use wired;then
474 - newinitd "${FILESDIR}/ead.initd" ead
475 - fi
476 -
477 - if [[ ${PV} == *9999* ]] ; then
478 - exeinto /usr/share/iwd/scripts/
479 - doexe test/*
480 - fi
481 -}
482
483 diff --git a/net-wireless/iwd/iwd-1.0-r1.ebuild b/net-wireless/iwd/iwd-1.0-r1.ebuild
484 deleted file mode 100644
485 index 353d6500a01..00000000000
486 --- a/net-wireless/iwd/iwd-1.0-r1.ebuild
487 +++ /dev/null
488 @@ -1,144 +0,0 @@
489 -# Copyright 1999-2019 Gentoo Authors
490 -# Distributed under the terms of the GNU General Public License v2
491 -
492 -EAPI=6
493 -inherit autotools flag-o-matic linux-info systemd
494 -
495 -if [[ ${PV} == *9999* ]]; then
496 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
497 - inherit git-r3
498 -else
499 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
500 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
501 -fi
502 -
503 -DESCRIPTION="Wireless daemon for linux"
504 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
505 -
506 -LICENSE="GPL-2"
507 -SLOT="0"
508 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3"
509 -
510 -COMMON_DEPEND=">=dev-libs/ell-0.26
511 - sys-apps/dbus
512 - client? ( sys-libs/readline:0= )"
513 -
514 -RDEPEND="${COMMON_DEPEND}
515 - net-wireless/wireless-regdb
516 - crda? ( net-wireless/crda )"
517 -
518 -DEPEND="${COMMON_DEPEND}
519 - virtual/pkgconfig"
520 -
521 -[[ ${PV} == *9999* ]] && DEPEND+=" dev-python/docutils"
522 -
523 -pkg_pretend() {
524 - CONFIG_CHECK="
525 - ~ASYMMETRIC_KEY_TYPE
526 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
527 - ~CFG80211
528 - ~CRYPTO_AES
529 - ~CRYPTO_ARC4
530 - ~CRYPTO_CBC
531 - ~CRYPTO_CMAC
532 - ~CRYPTO_DES
533 - ~CRYPTO_ECB
534 - ~CRYPTO_HMAC
535 - ~CRYPTO_MD4
536 - ~CRYPTO_MD5
537 - ~CRYPTO_RSA
538 - ~CRYPTO_SHA1
539 - ~CRYPTO_SHA256
540 - ~CRYPTO_SHA512
541 - ~CRYPTO_USER_API_HASH
542 - ~CRYPTO_USER_API_SKCIPHER
543 - ~KEY_DH_OPERATIONS
544 - ~PKCS7_MESSAGE_PARSER
545 - ~X509_CERTIFICATE_PARSER
546 - "
547 - if use crda;then
548 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
549 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
550 - fi
551 -
552 - if use amd64;then
553 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64"
554 - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance"
555 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
556 - fi
557 -
558 - if use cpu_flags_x86_aes;then
559 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
560 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
561 - fi
562 -
563 - if use cpu_flags_x86_ssse3 && use amd64; then
564 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
565 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
566 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
567 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
568 - fi
569 -
570 - if use kernel_linux && kernel_is -ge 4 20; then
571 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
572 - fi
573 -
574 - check_extra_config
575 -
576 - if ! use crda; then
577 - if [[ $(getfilevar CONFIG_CFG80211 /usr/src/linux/.config) == y ]] \
578 - && [[ $(getfilevar CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config) != *regulatory.db* ]]
579 - then
580 - ewarn ""
581 - ewarn "REGULATORY DOMAIN PROBLEM:"
582 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
583 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
584 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
585 - ewarn ""
586 - fi
587 - fi
588 -}
589 -
590 -src_unpack() {
591 - if [[ ${PV} == *9999* ]] ; then
592 - git-r3_src_unpack
593 - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell
594 - else
595 - default
596 - fi
597 -}
598 -
599 -src_prepare() {
600 - default
601 - eautoreconf
602 -}
603 -
604 -src_configure() {
605 - append-cflags "-fsigned-char"
606 - econf --sysconfdir=/etc/iwd --localstatedir=/var \
607 - $(use_enable client) \
608 - $(use_enable monitor) \
609 - $(use_enable ofono) \
610 - $(use_enable wired) \
611 - --enable-external-ell \
612 - --enable-systemd-service \
613 - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \
614 - --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d) \
615 - --with-systemd-networkdir="$(systemd_get_utildir)/network"
616 -}
617 -
618 -src_install() {
619 - default
620 - keepdir /var/lib/${PN}
621 -
622 - newinitd "${FILESDIR}/iwd.initd" iwd
623 -
624 - if use wired;then
625 - newinitd "${FILESDIR}/ead.initd" ead
626 - fi
627 -
628 - if [[ ${PV} == *9999* ]] ; then
629 - exeinto /usr/share/iwd/scripts/
630 - doexe test/*
631 - fi
632 -}
633
634 diff --git a/net-wireless/iwd/iwd-1.1.ebuild b/net-wireless/iwd/iwd-1.1.ebuild
635 deleted file mode 100644
636 index 93c0d4823de..00000000000
637 --- a/net-wireless/iwd/iwd-1.1.ebuild
638 +++ /dev/null
639 @@ -1,154 +0,0 @@
640 -# Copyright 1999-2019 Gentoo Authors
641 -# Distributed under the terms of the GNU General Public License v2
642 -
643 -EAPI=6
644 -inherit flag-o-matic linux-info systemd
645 -
646 -#Set this variable to the required external ell version
647 -ELL_REQ="0.26"
648 -
649 -if [[ ${PV} == *9999* ]]; then
650 - inherit autotools git-r3
651 - IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
652 - ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
653 -else
654 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
655 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
656 -fi
657 -
658 -DESCRIPTION="Wireless daemon for linux"
659 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
660 -
661 -LICENSE="GPL-2"
662 -SLOT="0"
663 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3"
664 -
665 -COMMON_DEPEND="sys-apps/dbus
666 - client? ( sys-libs/readline:0= )"
667 -
668 -[[ -z "${ELL_REQ}" ]] || COMMON_DEPEND+=" ~dev-libs/ell-${ELL_REQ}"
669 -
670 -RDEPEND="${COMMON_DEPEND}
671 - net-wireless/wireless-regdb
672 - crda? ( net-wireless/crda )"
673 -
674 -DEPEND="${COMMON_DEPEND}
675 - virtual/pkgconfig"
676 -
677 -[[ ${PV} == *9999* ]] && DEPEND+=" dev-python/docutils"
678 -
679 -pkg_pretend() {
680 - CONFIG_CHECK="
681 - ~ASYMMETRIC_KEY_TYPE
682 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
683 - ~CFG80211
684 - ~CRYPTO_AES
685 - ~CRYPTO_ARC4
686 - ~CRYPTO_CBC
687 - ~CRYPTO_CMAC
688 - ~CRYPTO_DES
689 - ~CRYPTO_ECB
690 - ~CRYPTO_HMAC
691 - ~CRYPTO_MD4
692 - ~CRYPTO_MD5
693 - ~CRYPTO_RSA
694 - ~CRYPTO_SHA1
695 - ~CRYPTO_SHA256
696 - ~CRYPTO_SHA512
697 - ~CRYPTO_USER_API_HASH
698 - ~CRYPTO_USER_API_SKCIPHER
699 - ~KEY_DH_OPERATIONS
700 - ~PKCS7_MESSAGE_PARSER
701 - ~X509_CERTIFICATE_PARSER
702 - "
703 - if use crda;then
704 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
705 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
706 - fi
707 -
708 - if use amd64;then
709 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64"
710 - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance"
711 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
712 - fi
713 -
714 - if use cpu_flags_x86_aes;then
715 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
716 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
717 - fi
718 -
719 - if use cpu_flags_x86_ssse3 && use amd64; then
720 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
721 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
722 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
723 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
724 - fi
725 -
726 - if use kernel_linux && kernel_is -ge 4 20; then
727 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
728 - fi
729 -
730 - check_extra_config
731 -
732 - if ! use crda; then
733 - if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
734 - [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
735 - then
736 - ewarn ""
737 - ewarn "REGULATORY DOMAIN PROBLEM:"
738 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
739 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
740 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
741 - ewarn ""
742 - fi
743 - fi
744 -}
745 -
746 -src_unpack() {
747 - if [[ ${PV} == *9999* ]] ; then
748 - EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack
749 - EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack
750 - else
751 - default
752 - fi
753 -}
754 -
755 -src_prepare() {
756 - default
757 - if [[ ${PV} == *9999* ]] ; then
758 - eautoreconf
759 - fi
760 -}
761 -
762 -src_configure() {
763 - append-cflags "-fsigned-char"
764 - local myeconfargs=(
765 - --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
766 - $(use_enable client)
767 - $(use_enable monitor)
768 - $(use_enable ofono)
769 - $(use_enable wired)
770 - --enable-systemd-service
771 - --with-systemd-unitdir="$(systemd_get_systemunitdir)"
772 - --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d"
773 - --with-systemd-networkdir="$(systemd_get_utildir)/network"
774 - )
775 - [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell)
776 - econf "${myeconfargs[@]}"
777 -}
778 -
779 -src_install() {
780 - default
781 - keepdir /var/lib/${PN}
782 -
783 - newinitd "${FILESDIR}/iwd.initd" iwd
784 -
785 - if use wired;then
786 - newinitd "${FILESDIR}/ead.initd" ead
787 - fi
788 -
789 - if [[ ${PV} == *9999* ]] ; then
790 - exeinto /usr/share/iwd/scripts/
791 - doexe test/*
792 - fi
793 -}
794
795 diff --git a/net-wireless/iwd/iwd-1.2.ebuild b/net-wireless/iwd/iwd-1.2.ebuild
796 deleted file mode 100644
797 index 1bd895abfbb..00000000000
798 --- a/net-wireless/iwd/iwd-1.2.ebuild
799 +++ /dev/null
800 @@ -1,153 +0,0 @@
801 -# Copyright 1999-2019 Gentoo Authors
802 -# Distributed under the terms of the GNU General Public License v2
803 -
804 -EAPI=6
805 -inherit flag-o-matic linux-info systemd
806 -
807 -#Set this variable to the required external ell version
808 -ELL_REQ="0.26"
809 -
810 -if [[ ${PV} == *9999* ]]; then
811 - inherit autotools git-r3
812 - IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
813 - ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
814 -else
815 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
816 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
817 -fi
818 -
819 -DESCRIPTION="Wireless daemon for linux"
820 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
821 -
822 -LICENSE="GPL-2"
823 -SLOT="0"
824 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3"
825 -
826 -COMMON_DEPEND="sys-apps/dbus
827 - client? ( sys-libs/readline:0= )"
828 -
829 -[[ -z "${ELL_REQ}" ]] || COMMON_DEPEND+=" ~dev-libs/ell-${ELL_REQ}"
830 -
831 -RDEPEND="${COMMON_DEPEND}
832 - net-wireless/wireless-regdb
833 - crda? ( net-wireless/crda )"
834 -
835 -DEPEND="${COMMON_DEPEND}
836 - virtual/pkgconfig"
837 -
838 -[[ ${PV} == *9999* ]] && DEPEND+=" dev-python/docutils"
839 -
840 -pkg_pretend() {
841 - CONFIG_CHECK="
842 - ~ASYMMETRIC_KEY_TYPE
843 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
844 - ~CFG80211
845 - ~CRYPTO_AES
846 - ~CRYPTO_ARC4
847 - ~CRYPTO_CBC
848 - ~CRYPTO_CMAC
849 - ~CRYPTO_DES
850 - ~CRYPTO_ECB
851 - ~CRYPTO_HMAC
852 - ~CRYPTO_MD4
853 - ~CRYPTO_MD5
854 - ~CRYPTO_RSA
855 - ~CRYPTO_SHA1
856 - ~CRYPTO_SHA256
857 - ~CRYPTO_SHA512
858 - ~CRYPTO_USER_API_HASH
859 - ~CRYPTO_USER_API_SKCIPHER
860 - ~KEY_DH_OPERATIONS
861 - ~PKCS7_MESSAGE_PARSER
862 - ~X509_CERTIFICATE_PARSER
863 - "
864 - if use crda;then
865 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
866 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
867 - fi
868 -
869 - if use amd64;then
870 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_DES3_EDE_X86_64"
871 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
872 - fi
873 -
874 - if use cpu_flags_x86_aes;then
875 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
876 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
877 - fi
878 -
879 - if use cpu_flags_x86_ssse3 && use amd64; then
880 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
881 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
882 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
883 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
884 - fi
885 -
886 - if use kernel_linux && kernel_is -ge 4 20; then
887 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
888 - fi
889 -
890 - check_extra_config
891 -
892 - if ! use crda; then
893 - if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
894 - [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
895 - then
896 - ewarn ""
897 - ewarn "REGULATORY DOMAIN PROBLEM:"
898 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
899 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
900 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
901 - ewarn ""
902 - fi
903 - fi
904 -}
905 -
906 -src_unpack() {
907 - if [[ ${PV} == *9999* ]] ; then
908 - EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack
909 - EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack
910 - else
911 - default
912 - fi
913 -}
914 -
915 -src_prepare() {
916 - default
917 - if [[ ${PV} == *9999* ]] ; then
918 - eautoreconf
919 - fi
920 -}
921 -
922 -src_configure() {
923 - append-cflags "-fsigned-char"
924 - local myeconfargs=(
925 - --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
926 - $(use_enable client)
927 - $(use_enable monitor)
928 - $(use_enable ofono)
929 - $(use_enable wired)
930 - --enable-systemd-service
931 - --with-systemd-unitdir="$(systemd_get_systemunitdir)"
932 - --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d"
933 - --with-systemd-networkdir="$(systemd_get_utildir)/network"
934 - )
935 - [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell)
936 - econf "${myeconfargs[@]}"
937 -}
938 -
939 -src_install() {
940 - default
941 - keepdir /var/lib/${PN}
942 -
943 - newinitd "${FILESDIR}/iwd.initd" iwd
944 -
945 - if use wired;then
946 - newinitd "${FILESDIR}/ead.initd" ead
947 - fi
948 -
949 - if [[ ${PV} == *9999* ]] ; then
950 - exeinto /usr/share/iwd/scripts/
951 - doexe test/*
952 - fi
953 -}
954
955 diff --git a/net-wireless/iwd/iwd-1.3.ebuild b/net-wireless/iwd/iwd-1.3.ebuild
956 deleted file mode 100644
957 index 25f6697697f..00000000000
958 --- a/net-wireless/iwd/iwd-1.3.ebuild
959 +++ /dev/null
960 @@ -1,153 +0,0 @@
961 -# Copyright 1999-2019 Gentoo Authors
962 -# Distributed under the terms of the GNU General Public License v2
963 -
964 -EAPI=6
965 -inherit flag-o-matic linux-info systemd
966 -
967 -#Set this variable to the required external ell version
968 -ELL_REQ="0.27"
969 -
970 -if [[ ${PV} == *9999* ]]; then
971 - inherit autotools git-r3
972 - IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
973 - ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
974 -else
975 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
976 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
977 -fi
978 -
979 -DESCRIPTION="Wireless daemon for linux"
980 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
981 -
982 -LICENSE="GPL-2"
983 -SLOT="0"
984 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3"
985 -
986 -COMMON_DEPEND="sys-apps/dbus
987 - client? ( sys-libs/readline:0= )"
988 -
989 -[[ -z "${ELL_REQ}" ]] || COMMON_DEPEND+=" ~dev-libs/ell-${ELL_REQ}"
990 -
991 -RDEPEND="${COMMON_DEPEND}
992 - net-wireless/wireless-regdb
993 - crda? ( net-wireless/crda )"
994 -
995 -DEPEND="${COMMON_DEPEND}
996 - virtual/pkgconfig"
997 -
998 -[[ ${PV} == *9999* ]] && DEPEND+=" dev-python/docutils"
999 -
1000 -pkg_pretend() {
1001 - CONFIG_CHECK="
1002 - ~ASYMMETRIC_KEY_TYPE
1003 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
1004 - ~CFG80211
1005 - ~CRYPTO_AES
1006 - ~CRYPTO_ARC4
1007 - ~CRYPTO_CBC
1008 - ~CRYPTO_CMAC
1009 - ~CRYPTO_DES
1010 - ~CRYPTO_ECB
1011 - ~CRYPTO_HMAC
1012 - ~CRYPTO_MD4
1013 - ~CRYPTO_MD5
1014 - ~CRYPTO_RSA
1015 - ~CRYPTO_SHA1
1016 - ~CRYPTO_SHA256
1017 - ~CRYPTO_SHA512
1018 - ~CRYPTO_USER_API_HASH
1019 - ~CRYPTO_USER_API_SKCIPHER
1020 - ~KEY_DH_OPERATIONS
1021 - ~PKCS7_MESSAGE_PARSER
1022 - ~X509_CERTIFICATE_PARSER
1023 - "
1024 - if use crda;then
1025 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
1026 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
1027 - fi
1028 -
1029 - if use amd64;then
1030 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_DES3_EDE_X86_64"
1031 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
1032 - fi
1033 -
1034 - if use cpu_flags_x86_aes;then
1035 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
1036 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
1037 - fi
1038 -
1039 - if use cpu_flags_x86_ssse3 && use amd64; then
1040 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
1041 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
1042 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
1043 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
1044 - fi
1045 -
1046 - if use kernel_linux && kernel_is -ge 4 20; then
1047 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
1048 - fi
1049 -
1050 - check_extra_config
1051 -
1052 - if ! use crda; then
1053 - if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
1054 - [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
1055 - then
1056 - ewarn ""
1057 - ewarn "REGULATORY DOMAIN PROBLEM:"
1058 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
1059 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
1060 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
1061 - ewarn ""
1062 - fi
1063 - fi
1064 -}
1065 -
1066 -src_unpack() {
1067 - if [[ ${PV} == *9999* ]] ; then
1068 - EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack
1069 - EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack
1070 - else
1071 - default
1072 - fi
1073 -}
1074 -
1075 -src_prepare() {
1076 - default
1077 - if [[ ${PV} == *9999* ]] ; then
1078 - eautoreconf
1079 - fi
1080 -}
1081 -
1082 -src_configure() {
1083 - append-cflags "-fsigned-char"
1084 - local myeconfargs=(
1085 - --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
1086 - $(use_enable client)
1087 - $(use_enable monitor)
1088 - $(use_enable ofono)
1089 - $(use_enable wired)
1090 - --enable-systemd-service
1091 - --with-systemd-unitdir="$(systemd_get_systemunitdir)"
1092 - --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d"
1093 - --with-systemd-networkdir="$(systemd_get_utildir)/network"
1094 - )
1095 - [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell)
1096 - econf "${myeconfargs[@]}"
1097 -}
1098 -
1099 -src_install() {
1100 - default
1101 - keepdir /var/lib/${PN}
1102 -
1103 - newinitd "${FILESDIR}/iwd.initd" iwd
1104 -
1105 - if use wired;then
1106 - newinitd "${FILESDIR}/ead.initd" ead
1107 - fi
1108 -
1109 - if [[ ${PV} == *9999* ]] ; then
1110 - exeinto /usr/share/iwd/scripts/
1111 - doexe test/*
1112 - fi
1113 -}