git: fb0e9b4ce90d - main - security/wpa_supplicant-devel: Enable WEP by default

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sun, 03 Jul 2022 21:37:19 UTC
The branch main has been updated by cy:

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

commit fb0e9b4ce90da94c2943639f3588d25c76778a31
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-07-03 21:29:41 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-07-03 21:33:18 +0000

    security/wpa_supplicant-devel: Enable WEP by default
    
    As of hostap 2.10, WEP is disabled by default. This of course is not a
    bad thing but requires some planning and an announcment to remove WEP
    support by default. At some point this option will default to off, to
    coincide with the removal of WEP support from FreeBSD base.
    
    MFH:            2022Q3
---
 security/wpa_supplicant-devel/Makefile | 9 +++++----
 security/wpa_supplicant/Makefile       | 9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/security/wpa_supplicant-devel/Makefile b/security/wpa_supplicant-devel/Makefile
index efae4a6c5792..96f541d94fe4 100644
--- a/security/wpa_supplicant-devel/Makefile
+++ b/security/wpa_supplicant-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wpa_supplicant
 PORTVERSION=	${COMMIT_DATE}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security net
 PKGNAMESUFFIX=	-devel
 
@@ -43,14 +43,14 @@ 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 PASN TDLS DBUS MATCH DOCS \
-                        SIM_SIMULATOR USIM_SIMULATOR WNM MBO RSN_PREAUTH
+                        SIM_SIMULATOR USIM_SIMULATOR WNM MBO RSN_PREAUTH WEP
 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 \
-			WNM MBO RSN_PREAUTH
+			WNM MBO RSN_PREAUTH WEP
 OPTIONS_SUB=
 
 WPS_DESC=		Wi-Fi Protected Setup
@@ -103,6 +103,7 @@ FAST_DESC=		Flexible Authentication via Secure Tunneling
 AKA_DESC=		Autentication and Key Agreement (UMTS)
 AKA_PRIME_DESC=		AKA Prime variant (RFC 5448)
 EKE_DESC=		Encrypted Key Exchange
+WEP_DESC=		WEP support
 SIM_DESC=		Subscriber Identity Module
 SIM_SIMULATOR_DESC=	SIM simulator (Milenage) for EAP-SIM
 USIM_SIMULATOR_DESC=	SIM simulator (Milenage) for EAP-AKA
@@ -151,7 +152,7 @@ post-patch:
 .endfor
 	# Set EAP protocol(s)
 .for item in MD5 MSCHAPV2 TLS PEAP TTLS FAST GTC OTP PSK PWD PAX LEAP SIM \
-	AKA AKA_PRIME SAKE GPSK TNC IKEV2 EKE
+	AKA AKA_PRIME SAKE GPSK TNC IKEV2 EKE WEP
 .  if ${PORT_OPTIONS:M${item}}
 	@${ECHO_CMD} CONFIG_EAP_${item:tu}=y >> ${CFG}
 .  endif
diff --git a/security/wpa_supplicant/Makefile b/security/wpa_supplicant/Makefile
index d58333174c06..110bf7200fc6 100644
--- a/security/wpa_supplicant/Makefile
+++ b/security/wpa_supplicant/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wpa_supplicant
 PORTVERSION=	2.10
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	security net
 MASTER_SITES=	https://w1.fi/releases/
 
@@ -37,13 +37,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
+                        SIM_SIMULATOR USIM_SIMULATOR WEP
 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
+			FAST PWD PAX SAKE GPSK TNC IKEV2 EKE WEP
 OPTIONS_SUB=
 
 WPS_DESC=		Wi-Fi Protected Setup
@@ -95,6 +95,7 @@ FAST_DESC=		Flexible Authentication via Secure Tunneling
 AKA_DESC=		Autentication and Key Agreement (UMTS)
 AKA_PRIME_DESC=		AKA Prime variant (RFC 5448)
 EKE_DESC=		Encrypted Key Exchange
+WEP_DESC=		WEP support
 SIM_DESC=		Subscriber Identity Module
 SIM_SIMULATOR_DESC=	SIM simulator (Milenage) for EAP-SIM
 USIM_SIMULATOR_DESC=	SIM simulator (Milenage) for EAP-AKA
@@ -140,7 +141,7 @@ post-patch:
 .endfor
 	# Set EAP protocol(s)
 .for item in MD5 MSCHAPV2 TLS PEAP TTLS FAST GTC OTP PSK PWD PAX LEAP SIM \
-	AKA AKA_PRIME SAKE GPSK TNC IKEV2 EKE
+	AKA AKA_PRIME SAKE GPSK TNC IKEV2 EKE WEP
 .  if ${PORT_OPTIONS:M${item}}
 	@${ECHO_CMD} CONFIG_EAP_${item:tu}=y >> ${CFG}
 .  endif