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: Thu, 24 Jan 2019 16:22:10
Message-Id: 1548346917.65cb52fd84032b419f5f971c3c1548c681acba08.bkohler@gentoo
1 commit: 65cb52fd84032b419f5f971c3c1548c681acba08
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 24 16:19:56 2019 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 24 16:21:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65cb52fd
7
8 net-wireless/iwd: new kernel option & module required
9
10 Check for new PKCS8_PRIVATE_KEY_PARSER option, and also install the new
11 modules-load.d file for it in case it's modular
12
13 Package-Manager: Portage-2.3.58, Repoman-2.3.12
14 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
15
16 net-wireless/iwd/iwd-9999.ebuild | 9 +++++++--
17 1 file changed, 7 insertions(+), 2 deletions(-)
18
19 diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild
20 index 59cf2d5b03a..542d347128b 100644
21 --- a/net-wireless/iwd/iwd-9999.ebuild
22 +++ b/net-wireless/iwd/iwd-9999.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 +# Copyright 1999-2019 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=6
29 @@ -66,6 +66,10 @@ pkg_pretend() {
30 WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance"
31 fi
32
33 + if use kernel_linux && kernel_is -ge 4 20; then
34 + CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER"
35 + fi
36 +
37 check_extra_config
38 }
39
40 @@ -90,7 +94,8 @@ src_configure() {
41 $(use_enable ofono) \
42 $(use_enable wired) \
43 --enable-systemd-service \
44 - --with-systemd-unitdir="$(systemd_get_systemunitdir)"
45 + --with-systemd-unitdir="$(systemd_get_systemunitdir)" \
46 + --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d)
47 }
48
49 src_install() {