From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB677138334 for ; Mon, 13 May 2019 13:48:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72CABE076B; Mon, 13 May 2019 13:48:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4868AE076B for ; Mon, 13 May 2019 13:48:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 795643441F2 for ; Mon, 13 May 2019 13:48:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39236503 for ; Mon, 13 May 2019 13:48:10 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1557755283.7b78a4a03e606538300003e5ac861798c707e5e8.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/iwd/, net-wireless/iwd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/iwd/Manifest net-wireless/iwd/files/iwd-have_config_h-fix.patch net-wireless/iwd/iwd-0.14-r1.ebuild net-wireless/iwd/iwd-0.14.ebuild net-wireless/iwd/iwd-0.16.ebuild net-wireless/iwd/iwd-0.17-r1.ebuild X-VCS-Directories: net-wireless/iwd/files/ net-wireless/iwd/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 7b78a4a03e606538300003e5ac861798c707e5e8 X-VCS-Branch: master Date: Mon, 13 May 2019 13:48:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ace3724c-4b89-43ae-ac11-20ccfa4fd3dc X-Archives-Hash: 3b415d89e33a229bcfce74beb3c99f94 commit: 7b78a4a03e606538300003e5ac861798c707e5e8 Author: Ben Kohler gentoo org> AuthorDate: Mon May 13 13:47:48 2019 +0000 Commit: Ben Kohler gentoo org> CommitDate: Mon May 13 13:48:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b78a4a0 net-wireless/iwd: drop old Keeping latest ebuild with bundled ell for now Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Ben Kohler gentoo.org> net-wireless/iwd/Manifest | 2 - net-wireless/iwd/files/iwd-have_config_h-fix.patch | 140 --------------------- net-wireless/iwd/iwd-0.14-r1.ebuild | 107 ---------------- net-wireless/iwd/iwd-0.14.ebuild | 106 ---------------- net-wireless/iwd/iwd-0.16.ebuild | 114 ----------------- net-wireless/iwd/iwd-0.17-r1.ebuild | 114 ----------------- 6 files changed, 583 deletions(-) diff --git a/net-wireless/iwd/Manifest b/net-wireless/iwd/Manifest index 17fdaeb244b..bc3274339e2 100644 --- a/net-wireless/iwd/Manifest +++ b/net-wireless/iwd/Manifest @@ -1,4 +1,2 @@ -DIST iwd-0.14.tar.xz 700844 BLAKE2B 69f3a1e5ead28cb602e7638e44d2a42a1b25831b837bf5f1d3436d3832a0548da7c3afe9f748688c194cf9e9bc5ea9303924ca1d36dea36d9e2233c245fc25eb SHA512 91713b3cbe8830abb95705e67c7b66f1ced368fe83eeaad36170da9df22b965e97485068e9342e09291aee669890de8f328e33fc3f092ba45097f523d83c7484 -DIST iwd-0.16.tar.xz 717880 BLAKE2B b4d1f3ebfc2f98920b205aefdf340cd55d803967a2b776e0798f1728cbd78e6be9b862f77b423ef2555b5f990341ef9b1e6f2aaf7460f08f37205a7edbaeda82 SHA512 33b10516fb203eb92651e18ebff8448874452fad9425470bf4306b4d75a512d386561ed4fcd251c54175ac6953e29f6574175e4e9b18c88e55009f670f29ddb1 DIST iwd-0.17.tar.xz 720500 BLAKE2B 8bd931421663b71eb7bbdc4a72e10fe325ede4a3d075a8d477ee80040f23d3a8645f1c8c24f8c5f3e615049273968ea48687bcbc5480d05af3aabf135d0e7118 SHA512 fcec43cb9d470dec783fcafd8485e2e25f7c5ccc4283bc58c299fb816609b4e03ca241f1fe9f73025a08863e89ae8d7b7ceb6ae02524eb681a61079c5a28534a DIST iwd-0.18.tar.xz 738168 BLAKE2B b37bde01952542583d82439639c39c06a1a5b6c359bbd092e631be6d25975498eb9bad9f71f3eeaa4b571e9d195e6f1113b17f758f386d49e6ee2d2cf071387f SHA512 0eb5558f7bafe521aaf80f24e5818c1fb0dfa6445c671c4454d3a4f67f97643a1232709b1e9c376cbe09dd7ba521651e1e46328cce0bfe1befe15668d6081cd6 diff --git a/net-wireless/iwd/files/iwd-have_config_h-fix.patch b/net-wireless/iwd/files/iwd-have_config_h-fix.patch deleted file mode 100644 index 45ad8655127..00000000000 --- a/net-wireless/iwd/files/iwd-have_config_h-fix.patch +++ /dev/null @@ -1,140 +0,0 @@ -From 23041a44dd6c3fcaa18e5cb3f63140e3cb76d6b8 Mon Sep 17 00:00:00 2001 -From: Marcel Holtmann -Date: Thu, 4 Apr 2019 14:02:38 +0200 -Subject: build: Add missing HAVE_CONFIG_H guards and include config.h - ---- - plugins/ofono.c | 4 ++++ - plugins/sim_hardcoded.c | 5 +++++ - src/eap-mschapv2.c | 4 ++++ - src/nl80211util.c | 4 ++++ - src/plugin.c | 4 ++++ - src/sae.c | 4 ++++ - src/simauth.c | 4 ++++ - src/simutil.c | 4 ++++ - 8 files changed, 33 insertions(+) - -diff --git a/plugins/ofono.c b/plugins/ofono.c -index 077045ff..fc2561f6 100644 ---- a/plugins/ofono.c -+++ b/plugins/ofono.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - #include - #include -diff --git a/plugins/sim_hardcoded.c b/plugins/sim_hardcoded.c -index b5ea6b09..6e87f347 100644 ---- a/plugins/sim_hardcoded.c -+++ b/plugins/sim_hardcoded.c -@@ -19,6 +19,11 @@ - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * - */ -+ -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - - #include -diff --git a/src/eap-mschapv2.c b/src/eap-mschapv2.c -index 78404e22..e1f4ab5d 100644 ---- a/src/eap-mschapv2.c -+++ b/src/eap-mschapv2.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - #include - #include -diff --git a/src/nl80211util.c b/src/nl80211util.c -index 0d690e86..a9c3914a 100644 ---- a/src/nl80211util.c -+++ b/src/nl80211util.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - #include - -diff --git a/src/plugin.c b/src/plugin.c -index 2d96f657..a62fb033 100644 ---- a/src/plugin.c -+++ b/src/plugin.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - - #include -diff --git a/src/sae.c b/src/sae.c -index 782a3069..cab004bd 100644 ---- a/src/sae.c -+++ b/src/sae.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - - #include "src/util.h" -diff --git a/src/simauth.c b/src/simauth.c -index 5ed4dde7..4244304a 100644 ---- a/src/simauth.c -+++ b/src/simauth.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - #include - #include -diff --git a/src/simutil.c b/src/simutil.c -index 8de0645f..f0542c71 100644 ---- a/src/simutil.c -+++ b/src/simutil.c -@@ -20,6 +20,10 @@ - * - */ - -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ - #include - #include - #include --- -cgit 1.2-0.3.lf.el7 - diff --git a/net-wireless/iwd/iwd-0.14-r1.ebuild b/net-wireless/iwd/iwd-0.14-r1.ebuild deleted file mode 100644 index bf525992339..00000000000 --- a/net-wireless/iwd/iwd-0.14-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools flag-o-matic linux-info systemd - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" - inherit git-r3 -else - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~x86" -fi - -DESCRIPTION="Wireless daemon for linux" -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" - -RDEPEND="sys-apps/dbus - client? ( sys-libs/readline:0= )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_pretend() { - CONFIG_CHECK=" - ~ASYMMETRIC_KEY_TYPE - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE - ~CRYPTO_AES - ~CRYPTO_ARC4 - ~CRYPTO_CBC - ~CRYPTO_CMAC - ~CRYPTO_DES - ~CRYPTO_ECB - ~CRYPTO_HMAC - ~CRYPTO_MD4 - ~CRYPTO_MD5 - ~CRYPTO_RSA - ~CRYPTO_SHA1 - ~CRYPTO_SHA256 - ~CRYPTO_SHA512 - ~CRYPTO_USER_API_HASH - ~CRYPTO_USER_API_SKCIPHER - ~KEY_DH_OPERATIONS - ~PKCS7_MESSAGE_PARSER - ~X509_CERTIFICATE_PARSER - " - if use amd64;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" - fi - - if use cpu_flags_x86_aes;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" - fi - - if use cpu_flags_x86_ssse3; then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" - fi - - check_extra_config -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell - else - default - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cflags "-fsigned-char" - econf --sysconfdir=/etc/iwd --localstatedir=/var \ - $(use_enable client) \ - $(use_enable monitor) \ - $(use_enable ofono) \ - $(use_enable wired) \ - --enable-systemd-service \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" -} - -src_install() { - default - keepdir /var/lib/${PN} - - newinitd "${FILESDIR}/iwd.initd" iwd - - if [[ ${PV} == "9999" ]] ; then - exeinto /usr/share/iwd/scripts/ - doexe test/* - fi -} diff --git a/net-wireless/iwd/iwd-0.14.ebuild b/net-wireless/iwd/iwd-0.14.ebuild deleted file mode 100644 index 5af13d86f0c..00000000000 --- a/net-wireless/iwd/iwd-0.14.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools linux-info systemd - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" - inherit git-r3 -else - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~x86" -fi - -DESCRIPTION="Wireless daemon for linux" -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" - -RDEPEND="sys-apps/dbus - client? ( sys-libs/readline:0= )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_pretend() { - CONFIG_CHECK=" - ~ASYMMETRIC_KEY_TYPE - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE - ~CRYPTO_AES - ~CRYPTO_ARC4 - ~CRYPTO_CBC - ~CRYPTO_CMAC - ~CRYPTO_DES - ~CRYPTO_ECB - ~CRYPTO_HMAC - ~CRYPTO_MD4 - ~CRYPTO_MD5 - ~CRYPTO_RSA - ~CRYPTO_SHA1 - ~CRYPTO_SHA256 - ~CRYPTO_SHA512 - ~CRYPTO_USER_API_HASH - ~CRYPTO_USER_API_SKCIPHER - ~KEY_DH_OPERATIONS - ~PKCS7_MESSAGE_PARSER - ~X509_CERTIFICATE_PARSER - " - if use amd64;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" - fi - - if use cpu_flags_x86_aes;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" - fi - - if use cpu_flags_x86_ssse3; then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA512_SSSE3="CRYPTO_SHA512_SSSE3: enable for increased performance" - fi - - check_extra_config -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell - else - default - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf --sysconfdir=/etc/iwd --localstatedir=/var \ - $(use_enable client) \ - $(use_enable monitor) \ - $(use_enable ofono) \ - $(use_enable wired) \ - --enable-systemd-service \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" -} - -src_install() { - default - keepdir /var/lib/${PN} - - newinitd "${FILESDIR}/iwd.initd" iwd - - if [[ ${PV} == "9999" ]] ; then - exeinto /usr/share/iwd/scripts/ - doexe test/* - fi -} diff --git a/net-wireless/iwd/iwd-0.16.ebuild b/net-wireless/iwd/iwd-0.16.ebuild deleted file mode 100644 index dac6f5ea824..00000000000 --- a/net-wireless/iwd/iwd-0.16.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools flag-o-matic linux-info systemd - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" - inherit git-r3 -else - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~x86" -fi - -DESCRIPTION="Wireless daemon for linux" -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" - -PATCHES=( "${FILESDIR}/iwd-have_config_h-fix.patch" ) - -RDEPEND="sys-apps/dbus - client? ( sys-libs/readline:0= )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_pretend() { - CONFIG_CHECK=" - ~ASYMMETRIC_KEY_TYPE - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE - ~CRYPTO_AES - ~CRYPTO_ARC4 - ~CRYPTO_CBC - ~CRYPTO_CMAC - ~CRYPTO_DES - ~CRYPTO_ECB - ~CRYPTO_HMAC - ~CRYPTO_MD4 - ~CRYPTO_MD5 - ~CRYPTO_RSA - ~CRYPTO_SHA1 - ~CRYPTO_SHA256 - ~CRYPTO_SHA512 - ~CRYPTO_USER_API_HASH - ~CRYPTO_USER_API_SKCIPHER - ~KEY_DH_OPERATIONS - ~PKCS7_MESSAGE_PARSER - ~X509_CERTIFICATE_PARSER - " - if use amd64;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" - fi - - if use cpu_flags_x86_aes;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" - fi - - if use cpu_flags_x86_ssse3; then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" - 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 -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell - else - default - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cflags "-fsigned-char" - econf --sysconfdir=/etc/iwd --localstatedir=/var \ - $(use_enable client) \ - $(use_enable monitor) \ - $(use_enable ofono) \ - $(use_enable wired) \ - --enable-systemd-service \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \ - --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d) -} - -src_install() { - default - keepdir /var/lib/${PN} - - newinitd "${FILESDIR}/iwd.initd" iwd - - if [[ ${PV} == "9999" ]] ; then - exeinto /usr/share/iwd/scripts/ - doexe test/* - fi -} diff --git a/net-wireless/iwd/iwd-0.17-r1.ebuild b/net-wireless/iwd/iwd-0.17-r1.ebuild deleted file mode 100644 index 416fab3d97b..00000000000 --- a/net-wireless/iwd/iwd-0.17-r1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools flag-o-matic linux-info systemd - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git" - inherit git-r3 -else - SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -DESCRIPTION="Wireless daemon for linux" -HOMEPAGE="https://git.kernel.org/pub/scm/network/wireless/iwd.git/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="+client +monitor ofono wired cpu_flags_x86_aes cpu_flags_x86_ssse3" - -RDEPEND=">=dev-libs/ell-0.18 - sys-apps/dbus - client? ( sys-libs/readline:0= )" - -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_pretend() { - CONFIG_CHECK=" - ~ASYMMETRIC_KEY_TYPE - ~ASYMMETRIC_PUBLIC_KEY_SUBTYPE - ~CRYPTO_AES - ~CRYPTO_ARC4 - ~CRYPTO_CBC - ~CRYPTO_CMAC - ~CRYPTO_DES - ~CRYPTO_ECB - ~CRYPTO_HMAC - ~CRYPTO_MD4 - ~CRYPTO_MD5 - ~CRYPTO_RSA - ~CRYPTO_SHA1 - ~CRYPTO_SHA256 - ~CRYPTO_SHA512 - ~CRYPTO_USER_API_HASH - ~CRYPTO_USER_API_SKCIPHER - ~KEY_DH_OPERATIONS - ~PKCS7_MESSAGE_PARSER - ~X509_CERTIFICATE_PARSER - " - if use amd64;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_X86_64 ~CRYPTO_DES3_EDE_X86_64" - WARNING_CRYPTO_AES_X86_64="CRYPTO_AES_X86_64: enable for increased performance" - WARNING_CRYPTO_DES3_EDE_X86_64="CRYPTO_DES3_EDE_X86_64: enable for increased performance" - fi - - if use cpu_flags_x86_aes;then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_AES_NI_INTEL" - WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance" - fi - - if use cpu_flags_x86_ssse3; then - CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3" - WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance" - WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance" - 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 -} - -src_unpack() { - if [[ ${PV} == "9999" ]] ; then - git-r3_src_unpack - git clone git://git.kernel.org/pub/scm/libs/ell/ell.git "${WORKDIR}"/ell - else - default - fi -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cflags "-fsigned-char" - econf --sysconfdir=/etc/iwd --localstatedir=/var \ - $(use_enable client) \ - $(use_enable monitor) \ - $(use_enable ofono) \ - $(use_enable wired) \ - --enable-external-ell \ - --enable-systemd-service \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \ - --with-systemd-modloaddir=$(_systemd_get_dir modulesloaddir /usr/lib/modules-load.d) -} - -src_install() { - default - keepdir /var/lib/${PN} - - newinitd "${FILESDIR}/iwd.initd" iwd - - if [[ ${PV} == "9999" ]] ; then - exeinto /usr/share/iwd/scripts/ - doexe test/* - fi -}