From: Ben Kohler Date: Thu, 24 Jan 2019 16:19:56 +0000 (-0600) Subject: net-wireless/iwd: new kernel option & module required X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=65cb52fd84032b419f5f971c3c1548c681acba08;p=gentoo.git net-wireless/iwd: new kernel option & module required Check for new PKCS8_PRIVATE_KEY_PARSER option, and also install the new modules-load.d file for it in case it's modular Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Ben Kohler --- diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild index 59cf2d5b03ad..542d347128bc 100644 --- a/net-wireless/iwd/iwd-9999.ebuild +++ b/net-wireless/iwd/iwd-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -66,6 +66,10 @@ pkg_pretend() { WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" fi + if use kernel_linux && kernel_is -ge 4 20; then + CONFIG_CHECK="${CONFIG_CHECK} ~PKCS8_PRIVATE_KEY_PARSER" + fi + check_extra_config } @@ -90,7 +94,8 @@ src_configure() { $(use_enable ofono) \ $(use_enable wired) \ --enable-systemd-service \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" + --with-systemd-unitdir="$(systemd_get_systemunitdir)" \ + --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d) } src_install() {