git: c86ab208b3f4 - main - security/wpa_supplicant210: Add PASN option and make it default

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Mon, 22 Jul 2024 15:08:50 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c86ab208b3f4ca9403d89947f8ff47397b315e90

commit c86ab208b3f4ca9403d89947f8ff47397b315e90
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-07-22 15:07:45 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-07-22 15:08:31 +0000

    security/wpa_supplicant210: Add PASN option and make it default
    
    PASN is enabled in the base FreeBSD wpa_supplicant. Enable it here
    as well
---
 security/wpa_supplicant210/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/security/wpa_supplicant210/Makefile b/security/wpa_supplicant210/Makefile
index 64c26a652871..be7f499c54eb 100644
--- a/security/wpa_supplicant210/Makefile
+++ b/security/wpa_supplicant210/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wpa_supplicant
 PORTVERSION=	2.10
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	security net
 MASTER_SITES=	https://w1.fi/releases/
 PKGNAMESUFFIX=	210
@@ -40,13 +40,13 @@ OPTIONS_DEFINE=		WPS WPS_ER WPS_NOREG WPS_NFC WPS_UPNP PKCS12 SMARTCARD \
 			DELAYED_MIC IEEE80211N IEEE80211AC INTERWORKING \
 			IEEE8021X_EAPOL EAPOL_TEST \
 			HS20 NO_ROAMING P2P TDLS DBUS MATCH DOCS \
-                        SIM_SIMULATOR USIM_SIMULATOR WEP
+                        SIM_SIMULATOR USIM_SIMULATOR WEP PASN
 OPTIONS_DEFAULT=	BSD WIRED \
 			TLS PEAP TTLS MD5 MSCHAPV2 GTC LEAP OTP PSK \
 			WPS PKCS12 SMARTCARD IEEE80211R DEBUG_SYSLOG \
 			INTERWORKING HS20 DBUS MATCH IEEE80211R IEEE80211W \
 			IEEE8021X_EAPOL WPS_ER WPS_NFC WPS_UPNP \
-			FAST PWD PAX SAKE GPSK TNC IKEV2 EKE WEP
+			FAST PWD PAX SAKE GPSK TNC IKEV2 EKE WEP PASN
 OPTIONS_SUB=
 
 WPS_DESC=		Wi-Fi Protected Setup
@@ -108,6 +108,7 @@ PAX_DESC=		Password Authenticated Exchange
 SAKE_DESC=		Shared-Secret Authentication & Key Establishment
 GPSK_DESC=		Generalized Pre-Shared Key
 TNC_DESC=		Trusted Network Connect
+PASN_DESC=		Pre-Association Security Negotiation
 
 PRIVSEP_PLIST_FILES=	sbin/wpa_priv
 DBUS_PLIST_FILES=	share/dbus-1/system-services/fi.w1.wpa_supplicant1.service \
@@ -155,7 +156,8 @@ post-patch:
 .for simple in WPS WPS_ER WPS_NFC WPS_UPNP PKCS12 SMARTCARD HT_OVERRIDES \
 	VHT_OVERRIDES TLSV12 IEEE80211AC IEEE80211N IEEE80211R IEEE80211W \
 	IEEE8021X_EAPOL EAPOL_TEST \
-	INTERWORKING DEBUG_FILE DEBUG_SYSLOG HS20 NO_ROAMING PRIVSEP P2P TDLS
+	INTERWORKING DEBUG_FILE DEBUG_SYSLOG HS20 NO_ROAMING PRIVSEP P2P TDLS \
+	PASN
 .  if ${PORT_OPTIONS:M${simple}}
 	@${ECHO_CMD} CONFIG_${simple}=y >> ${CFG}
 .  endif