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: Wed, 15 Sep 2021 11:21:52
Message-Id: 1631704897.7cbf711f102dd809d53c72f185930090d70d3136.bkohler@gentoo
1 commit: 7cbf711f102dd809d53c72f185930090d70d3136
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 15 11:19:26 2021 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 15 11:21:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cbf711f
7
8 net-wireless/iwd: drop old
9
10 Package-Manager: Portage-3.0.23, Repoman-3.0.3
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 net-wireless/iwd/Manifest | 3 -
14 net-wireless/iwd/iwd-1.14.ebuild | 183 --------------------------------------
15 net-wireless/iwd/iwd-1.16.ebuild | 183 --------------------------------------
16 net-wireless/iwd/iwd-1.17.ebuild | 185 ---------------------------------------
17 4 files changed, 554 deletions(-)
18
19 diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest
20 index 4040bd19435..a8ed7bc00be 100644
21 --- a/net-wireless/iwd/Manifest
22 +++ b/net-wireless/iwd/Manifest
23 @@ -1,5 +1,2 @@
24 -DIST iwd-1.14.tar.xz 933764 BLAKE2B edc6a925872afb6b98f5bbe16fc1cb6b8459a1aff33ec1f9e2d6bd45e605e34debaffa3048b6506cd3e8006c57d6efc9ae341f73050668454ad85fe7e6b4f256 SHA512 bff9b5a744e8eb4e285f28d976e9335d2c85b57fc1eb023c3aa9442e451523b3b9f080d2c02fc5432735c398857b64d115ed2929dd4bb910925cbf18df0b0874
25 DIST iwd-1.15.tar.xz 940724 BLAKE2B 6dae8a71e15136bcc9d8bb44cc6b152848207d89af2f447f48e834a3feda72a0a018dd1db3cb3a0e92c834cb2a19d8f9e4a9c900d91f96df378772d220205d65 SHA512 71e1f5f1b9d4e09a158b9bf801cee8af5ed8a19a3e80ad677e28ccab29ae10a79ebb7dbeaed60dd24283b6a40dbda8c212400b6d5ac659ed6056588a8663f0d4
26 -DIST iwd-1.16.tar.xz 949692 BLAKE2B 6063f0fe79cfe61f68fd2d1acc4c67cd9b907bcf728da072b5845a60c6032db472428fa5ea7f203d840a7934c58fcb73d23805c5f3d4336a7ebb795575233260 SHA512 4cbf548421f7f5be6e73cea29802cf5757aece92fa2ce36257a608346bca0280338130915a974c895d3b865e0621a3ffe22228487d2552e407dacdd7d7eb9109
27 -DIST iwd-1.17.tar.xz 954428 BLAKE2B 2758b7c82afa94a90d2cb067e6ef63699e99e92101e35174d6976eee11a6057ce4d2324eda103a07f102a4d07d274d7f78888a5929928adcaefebe450b00298e SHA512 1dd04959a82c6a96b273479d604c989e246dea557190e3c936a21eea3041c3370c4c29b963171664e5e11fc43d0daf2ab5b62f325edc96f62a5a47259a733ed1
28 DIST iwd-1.18.tar.xz 961392 BLAKE2B 3c7b0a7996590435d8f8033ab0b6283b2860409064c8617eda51ecbd73102134bbced66bb4e1323b64563e21d52beaa7f88ae5168747a5a2a38355e266f9c3a4 SHA512 85c3e16bb8eb8e564072fab66b30d1636c853706546fcb35723b4b3339bcf969f08ca07bcd458521f044f407513f5d793724b316af4b7819def8400ed88f0d3b
29
30 diff --git a/net-wireless/iwd/iwd-1.14.ebuild b/net-wireless/iwd/iwd-1.14.ebuild
31 deleted file mode 100644
32 index c7e2a2446fc..00000000000
33 --- a/net-wireless/iwd/iwd-1.14.ebuild
34 +++ /dev/null
35 @@ -1,183 +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 -inherit flag-o-matic linux-info systemd
41 -
42 -#Set this variable to the required external ell version
43 -ELL_REQ="0.40"
44 -
45 -if [[ ${PV} == *9999* ]]; then
46 - inherit autotools git-r3
47 - IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
48 - ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
49 -else
50 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
51 - KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~sparc x86"
52 - MYRST2MAN="RST2MAN=:"
53 -fi
54 -
55 -DESCRIPTION="Wireless daemon for linux"
56 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
57 -
58 -LICENSE="GPL-2"
59 -SLOT="0"
60 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3
61 -standalone systemd"
62 -
63 -DEPEND="
64 - sys-apps/dbus
65 - client? ( sys-libs/readline:0= )
66 -"
67 -
68 -[[ -z "${ELL_REQ}" ]] || DEPEND+=" ~dev-libs/ell-${ELL_REQ}"
69 -
70 -RDEPEND="
71 - ${DEPEND}
72 - net-wireless/wireless-regdb
73 - crda? ( net-wireless/crda )
74 - standalone? (
75 - systemd? ( sys-apps/systemd )
76 - !systemd? ( virtual/resolvconf )
77 - )
78 -"
79 -
80 -BDEPEND="
81 - virtual/pkgconfig
82 -"
83 -
84 -[[ ${PV} == *9999* ]] && BDEPEND+=" dev-python/docutils"
85 -
86 -pkg_setup() {
87 - CONFIG_CHECK="
88 - ~ASYMMETRIC_KEY_TYPE
89 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
90 - ~CFG80211
91 - ~CRYPTO_AES
92 - ~CRYPTO_CBC
93 - ~CRYPTO_CMAC
94 - ~CRYPTO_DES
95 - ~CRYPTO_ECB
96 - ~CRYPTO_HMAC
97 - ~CRYPTO_MD4
98 - ~CRYPTO_MD5
99 - ~CRYPTO_RSA
100 - ~CRYPTO_SHA1
101 - ~CRYPTO_SHA256
102 - ~CRYPTO_SHA512
103 - ~CRYPTO_USER_API_HASH
104 - ~CRYPTO_USER_API_SKCIPHER
105 - ~KEY_DH_OPERATIONS
106 - ~PKCS7_MESSAGE_PARSER
107 - ~RFKILL
108 - ~X509_CERTIFICATE_PARSER
109 - "
110 - if use crda;then
111 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
112 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
113 - fi
114 -
115 - if use amd64;then
116 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_DES3_EDE_X86_64"
117 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
118 - fi
119 -
120 - if use cpu_flags_x86_aes;then
121 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
122 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
123 - fi
124 -
125 - if use cpu_flags_x86_ssse3 && use amd64; then
126 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
127 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
128 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
129 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
130 - fi
131 -
132 - if use kernel_linux && kernel_is -ge 4 20; then
133 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
134 - fi
135 -
136 - check_extra_config
137 -
138 - if ! use crda; then
139 - if use kernel_linux && kernel_is -lt 4 15; then
140 - ewarn "POSSIBLE REGULATORY DOMAIN PROBLEM:"
141 - ewarn "Regulatory domain support for kernels older than 4.15 requires crda."
142 - fi
143 - if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
144 - [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
145 - then
146 - ewarn ""
147 - ewarn "REGULATORY DOMAIN PROBLEM:"
148 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
149 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
150 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
151 - ewarn ""
152 - fi
153 - fi
154 -}
155 -
156 -src_unpack() {
157 - if [[ ${PV} == *9999* ]] ; then
158 - EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack
159 - EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack
160 - else
161 - default
162 - fi
163 -}
164 -
165 -src_prepare() {
166 - default
167 - if [[ ${PV} == *9999* ]] ; then
168 - eautoreconf
169 - fi
170 -}
171 -
172 -src_configure() {
173 - append-cflags "-fsigned-char"
174 - local myeconfargs=(
175 - --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
176 - $(use_enable client)
177 - $(use_enable monitor)
178 - $(use_enable ofono)
179 - $(use_enable wired)
180 - --enable-systemd-service
181 - --with-systemd-unitdir="$(systemd_get_systemunitdir)"
182 - --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d"
183 - --with-systemd-networkdir="$(systemd_get_utildir)/network"
184 - )
185 - [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell)
186 - econf "${myeconfargs[@]}"
187 -}
188 -
189 -src_compile() {
190 - emake ${MYRST2MAN}
191 -}
192 -
193 -src_install() {
194 - emake DESTDIR="${D}" ${MYRST2MAN} install
195 - keepdir /var/lib/${PN}
196 -
197 - newinitd "${FILESDIR}/iwd.initd-r1" iwd
198 -
199 - if use wired;then
200 - newinitd "${FILESDIR}/ead.initd" ead
201 - fi
202 -
203 - if [[ ${PV} == *9999* ]] ; then
204 - exeinto /usr/share/iwd/scripts/
205 - doexe test/*
206 - fi
207 -
208 - if use standalone ; then
209 - local iwdconf="${ED}/etc/iwd/main.conf"
210 - dodir /etc/iwd
211 - echo "[General]" > "${iwdconf}"
212 - echo "EnableNetworkConfiguration=true" >> "${iwdconf}"
213 - echo "[Network]" >> "${iwdconf}"
214 - echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${iwdconf}"
215 - dodir /etc/conf.d
216 - echo "rc_provide=\"net\"" > ${ED}/etc/conf.d/iwd
217 - fi
218 -}
219
220 diff --git a/net-wireless/iwd/iwd-1.16.ebuild b/net-wireless/iwd/iwd-1.16.ebuild
221 deleted file mode 100644
222 index a206a6cdda2..00000000000
223 --- a/net-wireless/iwd/iwd-1.16.ebuild
224 +++ /dev/null
225 @@ -1,183 +0,0 @@
226 -# Copyright 1999-2021 Gentoo Authors
227 -# Distributed under the terms of the GNU General Public License v2
228 -
229 -EAPI=7
230 -inherit flag-o-matic linux-info systemd
231 -
232 -#Set this variable to the required external ell version
233 -ELL_REQ="0.42"
234 -
235 -if [[ ${PV} == *9999* ]]; then
236 - inherit autotools git-r3
237 - IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
238 - ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
239 -else
240 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
241 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
242 - MYRST2MAN="RST2MAN=:"
243 -fi
244 -
245 -DESCRIPTION="Wireless daemon for linux"
246 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
247 -
248 -LICENSE="GPL-2"
249 -SLOT="0"
250 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3
251 -standalone systemd"
252 -
253 -DEPEND="
254 - sys-apps/dbus
255 - client? ( sys-libs/readline:0= )
256 -"
257 -
258 -[[ -z "${ELL_REQ}" ]] || DEPEND+=" ~dev-libs/ell-${ELL_REQ}"
259 -
260 -RDEPEND="
261 - ${DEPEND}
262 - net-wireless/wireless-regdb
263 - crda? ( net-wireless/crda )
264 - standalone? (
265 - systemd? ( sys-apps/systemd )
266 - !systemd? ( virtual/resolvconf )
267 - )
268 -"
269 -
270 -BDEPEND="
271 - virtual/pkgconfig
272 -"
273 -
274 -[[ ${PV} == *9999* ]] && BDEPEND+=" dev-python/docutils"
275 -
276 -pkg_setup() {
277 - CONFIG_CHECK="
278 - ~ASYMMETRIC_KEY_TYPE
279 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
280 - ~CFG80211
281 - ~CRYPTO_AES
282 - ~CRYPTO_CBC
283 - ~CRYPTO_CMAC
284 - ~CRYPTO_DES
285 - ~CRYPTO_ECB
286 - ~CRYPTO_HMAC
287 - ~CRYPTO_MD4
288 - ~CRYPTO_MD5
289 - ~CRYPTO_RSA
290 - ~CRYPTO_SHA1
291 - ~CRYPTO_SHA256
292 - ~CRYPTO_SHA512
293 - ~CRYPTO_USER_API_HASH
294 - ~CRYPTO_USER_API_SKCIPHER
295 - ~KEY_DH_OPERATIONS
296 - ~PKCS7_MESSAGE_PARSER
297 - ~RFKILL
298 - ~X509_CERTIFICATE_PARSER
299 - "
300 - if use crda;then
301 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
302 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
303 - fi
304 -
305 - if use amd64;then
306 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_DES3_EDE_X86_64"
307 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
308 - fi
309 -
310 - if use cpu_flags_x86_aes;then
311 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
312 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
313 - fi
314 -
315 - if use cpu_flags_x86_ssse3 && use amd64; then
316 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
317 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
318 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
319 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
320 - fi
321 -
322 - if use kernel_linux && kernel_is -ge 4 20; then
323 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
324 - fi
325 -
326 - check_extra_config
327 -
328 - if ! use crda; then
329 - if use kernel_linux && kernel_is -lt 4 15; then
330 - ewarn "POSSIBLE REGULATORY DOMAIN PROBLEM:"
331 - ewarn "Regulatory domain support for kernels older than 4.15 requires crda."
332 - fi
333 - if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
334 - [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
335 - then
336 - ewarn ""
337 - ewarn "REGULATORY DOMAIN PROBLEM:"
338 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
339 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
340 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
341 - ewarn ""
342 - fi
343 - fi
344 -}
345 -
346 -src_unpack() {
347 - if [[ ${PV} == *9999* ]] ; then
348 - EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack
349 - EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack
350 - else
351 - default
352 - fi
353 -}
354 -
355 -src_prepare() {
356 - default
357 - if [[ ${PV} == *9999* ]] ; then
358 - eautoreconf
359 - fi
360 -}
361 -
362 -src_configure() {
363 - append-cflags "-fsigned-char"
364 - local myeconfargs=(
365 - --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
366 - $(use_enable client)
367 - $(use_enable monitor)
368 - $(use_enable ofono)
369 - $(use_enable wired)
370 - --enable-systemd-service
371 - --with-systemd-unitdir="$(systemd_get_systemunitdir)"
372 - --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d"
373 - --with-systemd-networkdir="$(systemd_get_utildir)/network"
374 - )
375 - [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell)
376 - econf "${myeconfargs[@]}"
377 -}
378 -
379 -src_compile() {
380 - emake ${MYRST2MAN}
381 -}
382 -
383 -src_install() {
384 - emake DESTDIR="${D}" ${MYRST2MAN} install
385 - keepdir /var/lib/${PN}
386 -
387 - newinitd "${FILESDIR}/iwd.initd-r1" iwd
388 -
389 - if use wired;then
390 - newinitd "${FILESDIR}/ead.initd" ead
391 - fi
392 -
393 - if [[ ${PV} == *9999* ]] ; then
394 - exeinto /usr/share/iwd/scripts/
395 - doexe test/*
396 - fi
397 -
398 - if use standalone ; then
399 - local iwdconf="${ED}/etc/iwd/main.conf"
400 - dodir /etc/iwd
401 - echo "[General]" > "${iwdconf}"
402 - echo "EnableNetworkConfiguration=true" >> "${iwdconf}"
403 - echo "[Network]" >> "${iwdconf}"
404 - echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${iwdconf}"
405 - dodir /etc/conf.d
406 - echo "rc_provide=\"net\"" > ${ED}/etc/conf.d/iwd
407 - fi
408 -}
409
410 diff --git a/net-wireless/iwd/iwd-1.17.ebuild b/net-wireless/iwd/iwd-1.17.ebuild
411 deleted file mode 100644
412 index 91b133c1eb3..00000000000
413 --- a/net-wireless/iwd/iwd-1.17.ebuild
414 +++ /dev/null
415 @@ -1,185 +0,0 @@
416 -# Copyright 1999-2021 Gentoo Authors
417 -# Distributed under the terms of the GNU General Public License v2
418 -
419 -EAPI=7
420 -inherit flag-o-matic linux-info systemd
421 -
422 -#Set this variable to the required external ell version
423 -ELL_REQ="0.43"
424 -
425 -if [[ ${PV} == *9999* ]]; then
426 - inherit autotools git-r3
427 - IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git"
428 - ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
429 -else
430 - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz"
431 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
432 - MYRST2MAN="RST2MAN=:"
433 -fi
434 -
435 -DESCRIPTION="Wireless daemon for linux"
436 -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/"
437 -
438 -LICENSE="GPL-2"
439 -SLOT="0"
440 -IUSE="+client +crda +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3
441 -standalone systemd"
442 -
443 -DEPEND="
444 - sys-apps/dbus
445 - client? ( sys-libs/readline:0= )
446 -"
447 -
448 -[[ -z "${ELL_REQ}" ]] || DEPEND+=" ~dev-libs/ell-${ELL_REQ}"
449 -
450 -RDEPEND="
451 - ${DEPEND}
452 - net-wireless/wireless-regdb
453 - crda? ( net-wireless/crda )
454 - standalone? (
455 - systemd? ( sys-apps/systemd )
456 - !systemd? ( virtual/resolvconf )
457 - )
458 -"
459 -
460 -BDEPEND="
461 - virtual/pkgconfig
462 -"
463 -
464 -[[ ${PV} == *9999* ]] && BDEPEND+=" dev-python/docutils"
465 -
466 -PATCHES=( "${FILESDIR}"/iwd-1.17-fix-tests.patch )
467 -
468 -pkg_setup() {
469 - CONFIG_CHECK="
470 - ~ASYMMETRIC_KEY_TYPE
471 - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE
472 - ~CFG80211
473 - ~CRYPTO_AES
474 - ~CRYPTO_CBC
475 - ~CRYPTO_CMAC
476 - ~CRYPTO_DES
477 - ~CRYPTO_ECB
478 - ~CRYPTO_HMAC
479 - ~CRYPTO_MD4
480 - ~CRYPTO_MD5
481 - ~CRYPTO_RSA
482 - ~CRYPTO_SHA1
483 - ~CRYPTO_SHA256
484 - ~CRYPTO_SHA512
485 - ~CRYPTO_USER_API_HASH
486 - ~CRYPTO_USER_API_SKCIPHER
487 - ~KEY_DH_OPERATIONS
488 - ~PKCS7_MESSAGE_PARSER
489 - ~RFKILL
490 - ~X509_CERTIFICATE_PARSER
491 - "
492 - if use crda;then
493 - CONFIG_CHECK="${CONFIG_CHECK} ~CFG80211_CRDA_SUPPORT"
494 - WARNING_CFG80211_CRDA_SUPPORT="REGULATORY DOMAIN PROBLEM: please enable CFG80211_CRDA_SUPPORT for proper regulatory domain support"
495 - fi
496 -
497 - if use amd64;then
498 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_DES3_EDE_X86_64"
499 - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance"
500 - fi
501 -
502 - if use cpu_flags_x86_aes;then
503 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL"
504 - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
505 - fi
506 -
507 - if use cpu_flags_x86_ssse3 && use amd64; then
508 - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
509 - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
510 - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"
511 - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
512 - fi
513 -
514 - if use kernel_linux && kernel_is -ge 4 20; then
515 - CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
516 - fi
517 -
518 - check_extra_config
519 -
520 - if ! use crda; then
521 - if use kernel_linux && kernel_is -lt 4 15; then
522 - ewarn "POSSIBLE REGULATORY DOMAIN PROBLEM:"
523 - ewarn "Regulatory domain support for kernels older than 4.15 requires crda."
524 - fi
525 - if linux_config_exists && linux_chkconfig_builtin CFG80211 &&
526 - [[ $(linux_chkconfig_string EXTRA_FIRMWARE) != *regulatory.db* ]]
527 - then
528 - ewarn ""
529 - ewarn "REGULATORY DOMAIN PROBLEM:"
530 - ewarn "With CONFIG_CFG80211=y (built-in), the driver won't be able to load regulatory.db from"
531 - ewarn " /lib/firmware, resulting in broken regulatory domain support. Please set CONFIG_CFG80211=m"
532 - ewarn " or add regulatory.db and regulatory.db.p7s to CONFIG_EXTRA_FIRMWARE."
533 - ewarn ""
534 - fi
535 - fi
536 -}
537 -
538 -src_unpack() {
539 - if [[ ${PV} == *9999* ]] ; then
540 - EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack
541 - EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${WORKDIR}/ell git-r3_src_unpack
542 - else
543 - default
544 - fi
545 -}
546 -
547 -src_prepare() {
548 - default
549 - if [[ ${PV} == *9999* ]] ; then
550 - eautoreconf
551 - fi
552 -}
553 -
554 -src_configure() {
555 - append-cflags "-fsigned-char"
556 - local myeconfargs=(
557 - --sysconfdir="${EPREFIX}"/etc/iwd --localstatedir="${EPREFIX}"/var
558 - $(use_enable client)
559 - $(use_enable monitor)
560 - $(use_enable ofono)
561 - $(use_enable wired)
562 - --enable-systemd-service
563 - --with-systemd-unitdir="$(systemd_get_systemunitdir)"
564 - --with-systemd-modloaddir="${EPREFIX}/usr/lib/modules-load.d"
565 - --with-systemd-networkdir="$(systemd_get_utildir)/network"
566 - )
567 - [[ ${PV} == *9999* ]] || myeconfargs+=(--enable-external-ell)
568 - econf "${myeconfargs[@]}"
569 -}
570 -
571 -src_compile() {
572 - emake ${MYRST2MAN}
573 -}
574 -
575 -src_install() {
576 - emake DESTDIR="${D}" ${MYRST2MAN} install
577 - keepdir /var/lib/${PN}
578 -
579 - newinitd "${FILESDIR}/iwd.initd-r1" iwd
580 -
581 - if use wired;then
582 - newinitd "${FILESDIR}/ead.initd" ead
583 - fi
584 -
585 - if [[ ${PV} == *9999* ]] ; then
586 - exeinto /usr/share/iwd/scripts/
587 - doexe test/*
588 - fi
589 -
590 - if use standalone ; then
591 - local iwdconf="${ED}/etc/iwd/main.conf"
592 - dodir /etc/iwd
593 - echo "[General]" > "${iwdconf}"
594 - echo "EnableNetworkConfiguration=true" >> "${iwdconf}"
595 - echo "[Network]" >> "${iwdconf}"
596 - echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${iwdconf}"
597 - dodir /etc/conf.d
598 - echo "rc_provide=\"net\"" > ${ED}/etc/conf.d/iwd
599 - fi
600 -}