From patchwork Sat Sep 28 17:36:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1168875 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ri/X7g8k"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46gbPm3bW6z9sPL for ; Sun, 29 Sep 2019 03:34:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C04FA80727; Sat, 28 Sep 2019 17:34:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zzLRtVOHgiEF; Sat, 28 Sep 2019 17:34:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 97F6A8207D; Sat, 28 Sep 2019 17:34:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7458A1BF83A for ; Sat, 28 Sep 2019 17:34:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 69B7A860A2 for ; Sat, 28 Sep 2019 17:34:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jBUSkR7K4S0v for ; Sat, 28 Sep 2019 17:34:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by whitealder.osuosl.org (Postfix) with ESMTPS id A1E6186064 for ; Sat, 28 Sep 2019 17:34:09 +0000 (UTC) Received: by mail-lj1-f172.google.com with SMTP id 7so5448740ljw.7 for ; Sat, 28 Sep 2019 10:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wgQJubIL2ixtFCWfsQ6uS4VOXkAPXYEJC8UDTMAgIjY=; b=Ri/X7g8krui4sTSaD9Pui1S+7Hx3VxMeWBMXFXHHYMc0GpUjT8rTjSugq+FY7NliUq vNm98AqacVoV/BSdYw9scaHfou9Gp5q/2aEoPgwDYuXc2GBTliyC2dtBK4KeawcFXf6N JMDDzWJSdjNJKLtuzfzhpWQvxJZqSdNKC2H8qHrCHaNWA+6a2JqnCG3HhA7hjYsu8BOU PftiGs/8BPXLhKPn5LBQdHCNO+8JWa2i7+ssB2M/K5NfXwr8WrxfXhaX+pGUMri8gDYB zlWk/6xzr7eMJXGD0gF4AtN3YiJ4h1QebMjWKIm/ehki6oXbgeSYp5HgCYbjnX+Qibau Vhkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wgQJubIL2ixtFCWfsQ6uS4VOXkAPXYEJC8UDTMAgIjY=; b=a5cMGb9dp1sqcXegFV6Q4TV1n2MNazbytcDdT91zj/qg2L8x9joHZnTSTqY2kDcGYC TD7LfhkwmdHZV5SxesAG5G1EieEIx3lCdLIJjWIh5G4X9OGwVomtZPtc17US+UJNDqcB i56Bphw1XhQtTEFePMU6te4mi+Y7KxQsSaC30y4a/3NxAionVjdm/WkLf8GQzx+XBpGT GJc9+/kS33QdnAxHAx0gJIe6b5wiaVfafiW0CcuvaM0loP2XTuobFd7ZdYzPzzbAMW5i 2FKmKqeddv2IfTPti02+pMJy9WBZ7yXTUZltAlLOUk0xN7Spj8Z6aUny6b0XL3Y27vDF nvPw== X-Gm-Message-State: APjAAAVmDgCjcyZJuhNDbeMdhxq+hSXhqGyktVBsJA+kpbmSDhtjTSn5 7BIqAvCSWyyjy57jNobJF9pJz2gul5Y= X-Google-Smtp-Source: APXvYqxI6pQ5vrpqVS3Q3hndcgukkUUJZvqPvXe/W1PrrEObbb5wy2pofUusoWgZulnF7fPRWyOqbw== X-Received: by 2002:a2e:2b89:: with SMTP id r9mr6926660ljr.34.1569692047358; Sat, 28 Sep 2019 10:34:07 -0700 (PDT) Received: from localhost.localdomain (ppp78-37-201-41.pppoe.avangarddsl.ru. [78.37.201.41]) by smtp.googlemail.com with ESMTPSA id x3sm1363893ljm.103.2019.09.28.10.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Sep 2019 10:34:06 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Sat, 28 Sep 2019 20:36:31 +0300 Message-Id: <20190928173632.21119-3-geomatsi@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190928173632.21119-1-geomatsi@gmail.com> References: <20190928173632.21119-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] package/hostapd: disable TEAP for internal TLS implementation X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergey Matyukevich , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hostapd TEAP support fails to build when internal TLS implementation is selected. TEAP is still an experimental feature that is not recommmended for production use. Currently it should not be used for anything else than experimentation and interoperability testing. Disable TEAP when internal TLS implementation is selected. Those who needs experimenting with TEAP are encouraged to enable openssl in their buildroot configuration. Signed-off-by: Sergey Matyukevich --- package/hostapd/hostapd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index 0e5e5b2962..f8c144c236 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -27,7 +27,7 @@ HOSTAPD_DEPENDENCIES += host-pkgconf libopenssl HOSTAPD_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' else -HOSTAPD_CONFIG_DISABLE += CONFIG_EAP_PWD +HOSTAPD_CONFIG_DISABLE += CONFIG_EAP_PWD CONFIG_EAP_TEAP HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=\).*/\1internal/' endif