From patchwork Thu Apr 21 14:38:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Kiernan X-Patchwork-Id: 1620189 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=LTOcENDs; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=aR2Rdr1E; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KkgFK1xpnz9s0w for ; Fri, 22 Apr 2022 00:40:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=CziathYe2s+V+mqHMgfHKdpYh3RBGiyqBywt0c+UduQ=; b=LTOcENDscIYxwK UNJGdctnp3QCfrvpjlMwKE68AM+sB7mzKGavwBMDEOLQzTBQNOwI0EzCDbJ8fjaCuLXMDrk+T4Ppu 7IBQz6FmjJVIjlvCh5LE1NFAHZgt5Zi7Y7mzQGsgqCLTDMYMHDGNq/1ZCqqaGwjaomKdDTm5GcH4E Grt3c9A0LNY0d3LCB6URbyJNDnRY9RaXzkOUmj6nAC9imYc75HLAGKhteottUsZMC85L2zF4HqYcv s7Eb1iSpyeOUAmGavj/XjEGNFs18fj+gQkdzAUVfVNUF6DSxrpgdWKh08f119kzJICjnloUvAkapa v3vvVXbjPmO/JaIuPw5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhXxz-00DpSl-2U; Thu, 21 Apr 2022 14:39:31 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhXxu-00DpRt-DZ for hostap@lists.infradead.org; Thu, 21 Apr 2022 14:39:27 +0000 Received: by mail-wr1-x430.google.com with SMTP id s25so2117180wrb.8 for ; Thu, 21 Apr 2022 07:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S+iGeTMIdKiwUrfP3K+QiXMyZMOVNb3HV1X2VbNrDck=; b=aR2Rdr1EMoEQW6Dd/DYL+a5tCnoP/cIOkBvvWf7tQnfpEJVkS4/v1Z/lQyW15Zw3No gx9yY7WHNt3Jj6bbvI9uNQsaxpJuBS0hParq7sCeoFGtQsBjj3E9YNvtZdll49b/Z1TT f8amwfn3yxNl/Ab6GThEjgz/2FWqRo/n2E6EZneRHG2iuw0dQpmIi3gR/Wr399lVs/P1 83xU0GjrHzvqaVlThCNM1RAuncpQgBseH6hyt4KeT5JuiGpW4zrvhKHNfFadnJLjjDGy 2Hv6o4swTAYFxd8DPiqW+W4JdTVJqF0qWLBEVoq/k/HuhE31msZyNtALZBjgaSV+560Y PeTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S+iGeTMIdKiwUrfP3K+QiXMyZMOVNb3HV1X2VbNrDck=; b=YxVJcGcfb1J6oUk1ohONXtKLIJBemGbiY3nEHmX1G/+63wx2NEPKiHedQPJs6ix12+ vwF/TB+uMJ8WOKmuGHRohInBNlj2VkoJlhtxTNL0SsjqX5faWpJiq+mamvy6IMPuiNGh wCGKeLHmRzHZSSw7+7C5FetAp5nfC8ygpdvMGU7QJB5kLJUu4Dbkl86x0qSy5u5OUc1a sh1x45j+W//9JEEjs8Zt0SR0FGjnu0kOorNppdu2I2FS8RdBNQG7h8/QbE40wv22m1RW y1+SPXb6q2XQL/nXD7zRWh4jmmHAQHj74zKgleR7ozOREltpH5n+9gFBQwm2oCqgnfGV O0gQ== X-Gm-Message-State: AOAM533+SKTtPMKpH3meHXYvwDuzAxFD9dA3al9bHJrfo7tcVM0PnKgi ZIyltdDIBuyi351uANqIULrlnaoWtuc= X-Google-Smtp-Source: ABdhPJy5Xut4IyTuP6ZE7EcjNL2c1sZpj3w+PLcBrjQPoeIKIGWzf06Ng009YlNY0tAvlD9eIlvJbw== X-Received: by 2002:adf:e289:0:b0:1e3:14ad:75fe with SMTP id v9-20020adfe289000000b001e314ad75femr10920wri.685.1650551962773; Thu, 21 Apr 2022 07:39:22 -0700 (PDT) Received: from localhost.localdomain ([5.148.102.211]) by smtp.gmail.com with ESMTPSA id p3-20020a5d59a3000000b0020a9132d1fbsm2874434wrr.37.2022.04.21.07.39.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 07:39:22 -0700 (PDT) From: Alex Kiernan X-Google-Original-From: Alex Kiernan To: hostap@lists.infradead.org Cc: Alex Kiernan , Alex Kiernan Subject: [PATCH] Install wpa_passphrase when not disabled Date: Thu, 21 Apr 2022 15:38:42 +0100 Message-Id: <20220421143841.20817-1-alexk@zuma.ai> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_073926_511183_3A1AC1CB X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: As part of fixing CONFIG_NO_WPA_PASSPHRASE, whilst wpa_passphrase gets built, its not installed during `make install`. Fixes: cb41c214b78d ("build: Re-enable options for libwpa_client.so and wpa_passphrase") Signed-off-by: Alex Kiernan Signed-off-by: Alex Kiernan --- wpa_supplicant/Makefile | 3 +++ 1 file changed, [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:430 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [alex.kiernan[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org As part of fixing CONFIG_NO_WPA_PASSPHRASE, whilst wpa_passphrase gets built, its not installed during `make install`. Fixes: cb41c214b78d ("build: Re-enable options for libwpa_client.so and wpa_passphrase") Signed-off-by: Alex Kiernan Signed-off-by: Alex Kiernan --- wpa_supplicant/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 0bab313f2355..12787c0c7d0f 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -73,6 +73,9 @@ $(DESTDIR)$(BINDIR)/%: % install: $(addprefix $(DESTDIR)$(BINDIR)/,$(BINALL)) $(MAKE) -C ../src install +ifndef CONFIG_NO_WPA_PASSPHRASE + install -D wpa_passphrase $(DESTDIR)/$(BINDIR)/wpa_passphrase +endif ifdef CONFIG_BUILD_WPA_CLIENT_SO install -m 0644 -D libwpa_client.so $(DESTDIR)/$(LIBDIR)/libwpa_client.so install -m 0644 -D ../src/common/wpa_ctrl.h $(DESTDIR)/$(INCDIR)/wpa_ctrl.h