From nobody Mon Jan 31 21:51:52 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7A7A1197C9EE; Mon, 31 Jan 2022 21:51:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jnhbs0kJ5z3twB; Mon, 31 Jan 2022 21:51:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643665913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HINqskrbM5sVNPF2Y6tLfgInAfSCJ3MLzXS+8D0iy2Q=; b=AFYWEnul+aL6iu0fD1Srt/2oN7kNr3e1DUaI4qMZ44bZ9IeRjIFfraQ96E1zkJbTEDOq2k hI6VDbWtw/dxUsoUdKZRJ2IbVdC/RYCT+SEBI3zf1rl6gqFjoH6q/SikyQMBoapiBNx0Qd eBojd2qyNZatjlAgSGNmPE3EZVOrpMgizeikfPU7RxqJTCId3rF3P2HbCni9JWh4fBKqor diA7Ods1mmICLIwReBDFAU1XUrQ1M0qt3MsgCsAYTRFTSLQTbcnC1JniGz+nqcI5X2xZiC 1n3jPdodhknOgh5wFYpMHfDCVK5KbEqrefoRKskbCY4P0ROrmb2JiqFwtvuAEg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E690B2403C; Mon, 31 Jan 2022 21:51:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20VLpqhH041327; Mon, 31 Jan 2022 21:51:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20VLpq2x041326; Mon, 31 Jan 2022 21:51:52 GMT (envelope-from git) Date: Mon, 31 Jan 2022 21:51:52 GMT Message-Id: <202201312151.20VLpq2x041326@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Cy Schubert Subject: git: f7c8e7325361 - 2022Q1 - */*: Fix wpa_supplicant* and hostapd* EAPOL_TEST build List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q1 X-Git-Reftype: branch X-Git-Commit: f7c8e7325361cd963746fa89352061e17d51ba6f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643665913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HINqskrbM5sVNPF2Y6tLfgInAfSCJ3MLzXS+8D0iy2Q=; b=cHGn+KCDBtXhT+GHhJG+Y8YeziaZL9dSP+wbHwT199UqnIFcxm/q7h3uqhDCJrhawHeVOT uv38tRH5FRGky49hSBUvoNfBhHc0aVAeK4s2YHI9s8nPy9YejlnaEi+aohLpjHUPlT8mFJ k9aIjGs1G8LQa/gmJ+4wTdjpDqBCi66rpGYR4mAgIcXKq4HnVdHAGtV1MigDM/G4h9YINY xyvGn5L9HNjtDz7YsvaB/WR9qD1BmC7EL0PGrESC4NpJBFYhG8evE3MoKw8NDrzBW7kpKD kD9fk3Q0Q8q5157FhA/GAMkv/PkPLet3WmrpNUxpAaqZaHkQu+PDXYg1n8IyPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643665913; a=rsa-sha256; cv=none; b=WPpO0deW43vvUxMeYW8gfknZw+MbvMaAGVzsIemSRFxZDXuPxviYVzFpT6Y/8iGhYlmMFb o+4lSGPrgH0aIOGJGsf413Nj9kVHJck0aToWdQYf6j2WNY8w1zK7zZwZQmeToTGZKBc3PW 7JDBnbUPmi2gK8DRVf1ZjVMrvw8LunZ/9S3pla5Jc8tDi45FYYy2UlAsipXAz7rsIH9+TZ zOOT3gxNjksJNBkdjSKuwBUq6vi750CkgzDbKV0AjeDQxDtY34HTjZ7FYvwgnVRp66ay3+ urdnMpkIfU1eYZ+U+k+P98GZgIH6zhXnDmSTkEFxcjQxeBl4Ax7ZcQEYOdL81g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q1 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=f7c8e7325361cd963746fa89352061e17d51ba6f commit f7c8e7325361cd963746fa89352061e17d51ba6f Author: Cy Schubert AuthorDate: 2022-01-31 21:40:40 +0000 Commit: Cy Schubert CommitDate: 2022-01-31 21:51:39 +0000 */*: Fix wpa_supplicant* and hostapd* EAPOL_TEST build Fix EAPOL_TEST build. Local funcion os_fdatasync() is valid under FreeBSD as fdatasync(2) is supported. PR: 261636 Reported by: David Siebörger (cherry picked from commit 74e181d200eeb192160951934cd3b16014682d8c) --- net/hostapd-devel/files/patch-src_utils_os.h | 17 ----------------- net/hostapd/files/patch-src_utils_os.h | 17 ----------------- .../wpa_supplicant-devel/files/patch-src_utils_os.h | 17 ----------------- 3 files changed, 51 deletions(-) diff --git a/net/hostapd-devel/files/patch-src_utils_os.h b/net/hostapd-devel/files/patch-src_utils_os.h deleted file mode 100644 index e92661256d5f..000000000000 --- a/net/hostapd-devel/files/patch-src_utils_os.h +++ /dev/null @@ -1,17 +0,0 @@ ---- src/utils/os.h.orig 2016-09-17 20:36:13 UTC -+++ src/utils/os.h -@@ -246,12 +246,14 @@ char * os_readfile(const char *name, siz - */ - int os_file_exists(const char *fname); - -+#if !defined __FreeBSD__ && !defined __DragonFly__ - /** - * os_fdatasync - Sync a file's (for a given stream) state with storage device - * @stream: the stream to be flushed - * Returns: 0 if the operation succeeded or -1 on failure - */ - int os_fdatasync(FILE *stream); -+#endif - - /** - * os_zalloc - Allocate and zero memory diff --git a/net/hostapd/files/patch-src_utils_os.h b/net/hostapd/files/patch-src_utils_os.h deleted file mode 100644 index e92661256d5f..000000000000 --- a/net/hostapd/files/patch-src_utils_os.h +++ /dev/null @@ -1,17 +0,0 @@ ---- src/utils/os.h.orig 2016-09-17 20:36:13 UTC -+++ src/utils/os.h -@@ -246,12 +246,14 @@ char * os_readfile(const char *name, siz - */ - int os_file_exists(const char *fname); - -+#if !defined __FreeBSD__ && !defined __DragonFly__ - /** - * os_fdatasync - Sync a file's (for a given stream) state with storage device - * @stream: the stream to be flushed - * Returns: 0 if the operation succeeded or -1 on failure - */ - int os_fdatasync(FILE *stream); -+#endif - - /** - * os_zalloc - Allocate and zero memory diff --git a/security/wpa_supplicant-devel/files/patch-src_utils_os.h b/security/wpa_supplicant-devel/files/patch-src_utils_os.h deleted file mode 100644 index e92661256d5f..000000000000 --- a/security/wpa_supplicant-devel/files/patch-src_utils_os.h +++ /dev/null @@ -1,17 +0,0 @@ ---- src/utils/os.h.orig 2016-09-17 20:36:13 UTC -+++ src/utils/os.h -@@ -246,12 +246,14 @@ char * os_readfile(const char *name, siz - */ - int os_file_exists(const char *fname); - -+#if !defined __FreeBSD__ && !defined __DragonFly__ - /** - * os_fdatasync - Sync a file's (for a given stream) state with storage device - * @stream: the stream to be flushed - * Returns: 0 if the operation succeeded or -1 on failure - */ - int os_fdatasync(FILE *stream); -+#endif - - /** - * os_zalloc - Allocate and zero memory