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