Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
26
.gitignore
vendored
26
.gitignore
vendored
@ -1 +1,25 @@
|
|||||||
SOURCES/wpa_supplicant-2.10.tar.gz
|
madwifi-headers.tar.bz2
|
||||||
|
wpa_supplicant-0.4.7.tar.gz
|
||||||
|
wpa_supplicant-0.5.1.tar.gz
|
||||||
|
wpa_supplicant-0.4.8.tar.gz
|
||||||
|
madwifi-headers-r1475.tar.bz2
|
||||||
|
wpa_supplicant-0.4.9.tar.gz
|
||||||
|
wpa_supplicant-0.5.7.tar.gz
|
||||||
|
wpa_supplicant-0.6.3.tar.gz
|
||||||
|
wpa_supplicant-0.6.4.tar.gz
|
||||||
|
wpa_supplicant-0.6.7.tar.gz
|
||||||
|
wpa_supplicant-0.6.8.tar.gz
|
||||||
|
/wpa_supplicant-0.7.3.tar.gz
|
||||||
|
/wpa_supplicant-1.0-rc1.tar.gz
|
||||||
|
/wpa_supplicant-1.0-rc2.tar.gz
|
||||||
|
/wpa_supplicant-1.1.tar.gz
|
||||||
|
/wpa_supplicant-2.0.tar.gz
|
||||||
|
/wpa_supplicant-2.3.tar.gz
|
||||||
|
/wpa_supplicant-2.4.tar.gz
|
||||||
|
/wpa_supplicant-2.5.tar.gz
|
||||||
|
/wpa_supplicant-2.6.tar.gz
|
||||||
|
/wpa_supplicant-2.7.tar.gz
|
||||||
|
/wpa_supplicant-2.8.tar.gz
|
||||||
|
/wpa_supplicant-2.9.tar.gz
|
||||||
|
/wpa_supplicant-2.10.tar.gz
|
||||||
|
/wpa_supplicant-2.11.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
e295b07d599da4b99c3836d4402ec5746f77e8e8 SOURCES/wpa_supplicant-2.10.tar.gz
|
|
@ -1,47 +0,0 @@
|
|||||||
CONFIG_CTRL_IFACE=y
|
|
||||||
CONFIG_CTRL_IFACE_DBUS=y
|
|
||||||
CONFIG_CTRL_IFACE_DBUS_NEW=y
|
|
||||||
CONFIG_CTRL_IFACE_DBUS_INTRO=y
|
|
||||||
CONFIG_LIBNL32=y
|
|
||||||
CONFIG_DRIVER_NL80211=y
|
|
||||||
CONFIG_DRIVER_WIRED=y
|
|
||||||
CONFIG_DRIVER_MACSEC_LINUX=y
|
|
||||||
CONFIG_IEEE8021X_EAPOL=y
|
|
||||||
CONFIG_EAP_MD5=y
|
|
||||||
CONFIG_EAP_MSCHAPV2=y
|
|
||||||
CONFIG_EAP_TLS=y
|
|
||||||
CONFIG_EAP_PEAP=y
|
|
||||||
CONFIG_EAP_TTLS=y
|
|
||||||
CONFIG_EAP_FAST=y
|
|
||||||
CONFIG_EAP_GTC=y
|
|
||||||
CONFIG_EAP_OTP=y
|
|
||||||
CONFIG_EAP_AKA=y
|
|
||||||
CONFIG_EAP_PAX=y
|
|
||||||
CONFIG_EAP_LEAP=y
|
|
||||||
CONFIG_EAP_SAKE=y
|
|
||||||
CONFIG_EAP_GPSK=y
|
|
||||||
CONFIG_EAP_GPSK_SHA256=y
|
|
||||||
CONFIG_EAP_TNC=y
|
|
||||||
CONFIG_WPS=y
|
|
||||||
CONFIG_EAP_IKEV2=y
|
|
||||||
CONFIG_PKCS12=y
|
|
||||||
CONFIG_SMARTCARD=y
|
|
||||||
CONFIG_DEBUG_SYSLOG=y
|
|
||||||
CONFIG_DEBUG_FILE=y
|
|
||||||
CONFIG_BACKEND=file
|
|
||||||
CONFIG_PEERKEY=y
|
|
||||||
CONFIG_BGSCAN_SIMPLE=y
|
|
||||||
#CONFIG_FIPS=y
|
|
||||||
CONFIG_AP=y
|
|
||||||
CONFIG_P2P=y
|
|
||||||
CONFIG_IBSS_RSN=y
|
|
||||||
CONFIG_IEEE80211N=y
|
|
||||||
CONFIG_MACSEC=y
|
|
||||||
CONFIG_TLS_DEFAULT_CIPHERS="PROFILE=SYSTEM:3DES"
|
|
||||||
CONFIG_IEEE80211W=y
|
|
||||||
CONFIG_SAE=y
|
|
||||||
CONFIG_OWE=y
|
|
||||||
CONFIG_DPP=y
|
|
||||||
CONFIG_WIFI_DISPLAY=y
|
|
||||||
CONFIG_SUITEB192=y
|
|
||||||
CONFIG_WEP=Y
|
|
@ -1,21 +0,0 @@
|
|||||||
--- a/wpa_supplicant/doc/docbook/Makefile
|
|
||||||
+++ b/wpa_supplicant/doc/docbook/Makefile
|
|
||||||
@@ -2,9 +2,7 @@ all: man html pdf
|
|
||||||
|
|
||||||
FILES += wpa_background
|
|
||||||
FILES += wpa_cli
|
|
||||||
-FILES += wpa_gui
|
|
||||||
FILES += wpa_passphrase
|
|
||||||
-FILES += wpa_priv
|
|
||||||
FILES += wpa_supplicant.conf
|
|
||||||
FILES += wpa_supplicant
|
|
||||||
FILES += eapol_test
|
|
||||||
@@ -21,7 +19,7 @@ pdf:
|
|
||||||
|
|
||||||
|
|
||||||
clean:
|
|
||||||
- rm -f wpa_background.8 wpa_cli.8 wpa_gui.8 wpa_passphrase.8 wpa_priv.8 wpa_supplicant.8 eapol_test.8
|
|
||||||
+ rm -f wpa_background.8 wpa_cli.8 wpa_passphrase.8 wpa_supplicant.8 eapol_test.8
|
|
||||||
rm -f wpa_supplicant.conf.5
|
|
||||||
rm -f manpage.links manpage.refs
|
|
||||||
rm -f $(FILES:%=%.pdf)
|
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
3
rpminspect.yaml
Normal file
3
rpminspect.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
inspections:
|
||||||
|
badfuncs: off
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (wpa_supplicant-2.11.tar.gz) = 9a0a3a9d6fa2235903c40aa57b5955f0c9dd1dccfd0e3825a3b6f92b3e32db8d464b3ea0aef3285ba3ee109e7b190560cedd744902e954f0003cdba543e277b2
|
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Tests for wpa_supplicant using NM's wifi and 802.1x tests
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
repositories:
|
||||||
|
- repo: "https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci"
|
||||||
|
dest: "NetworkManager-ci"
|
||||||
|
tests:
|
||||||
|
- sanity-tests:
|
||||||
|
dir: NetworkManager-ci
|
||||||
|
run: run/osci/run-tests wpa_supplicant
|
||||||
|
|
@ -0,0 +1,50 @@
|
|||||||
|
From 2514856652f9a393e505d542cb8f039f8bac10f5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Janne Grunau <janne-fdr@jannau.net>
|
||||||
|
Date: Sun, 4 Aug 2024 13:24:42 +0200
|
||||||
|
Subject: [PATCH 1/1] Revert "Mark authorization completed on driver indication
|
||||||
|
during 4-way HS offload"
|
||||||
|
|
||||||
|
This reverts commit 41638606054a09867fe3f9a2b5523aa4678cbfa5.
|
||||||
|
---
|
||||||
|
wpa_supplicant/events.c | 25 ++++++++-----------------
|
||||||
|
1 file changed, 8 insertions(+), 17 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
|
||||||
|
index 46e7cf1ab..7b3ef7205 100644
|
||||||
|
--- a/wpa_supplicant/events.c
|
||||||
|
+++ b/wpa_supplicant/events.c
|
||||||
|
@@ -4441,23 +4441,14 @@ static void wpa_supplicant_event_assoc(struct wpa_supplicant *wpa_s,
|
||||||
|
eapol_sm_notify_eap_success(wpa_s->eapol, true);
|
||||||
|
} else if ((wpa_s->drv_flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_PSK) &&
|
||||||
|
wpa_key_mgmt_wpa_psk(wpa_s->key_mgmt)) {
|
||||||
|
- if (already_authorized) {
|
||||||
|
- /*
|
||||||
|
- * We are done; the driver will take care of RSN 4-way
|
||||||
|
- * handshake.
|
||||||
|
- */
|
||||||
|
- wpa_supplicant_cancel_auth_timeout(wpa_s);
|
||||||
|
- wpa_supplicant_set_state(wpa_s, WPA_COMPLETED);
|
||||||
|
- eapol_sm_notify_portValid(wpa_s->eapol, true);
|
||||||
|
- eapol_sm_notify_eap_success(wpa_s->eapol, true);
|
||||||
|
- } else {
|
||||||
|
- /* Update port, WPA_COMPLETED state from the
|
||||||
|
- * EVENT_PORT_AUTHORIZED handler when the driver is done
|
||||||
|
- * with the 4-way handshake.
|
||||||
|
- */
|
||||||
|
- wpa_msg(wpa_s, MSG_DEBUG,
|
||||||
|
- "ASSOC INFO: wait for driver port authorized indication");
|
||||||
|
- }
|
||||||
|
+ /*
|
||||||
|
+ * We are done; the driver will take care of RSN 4-way
|
||||||
|
+ * handshake.
|
||||||
|
+ */
|
||||||
|
+ wpa_supplicant_cancel_auth_timeout(wpa_s);
|
||||||
|
+ wpa_supplicant_set_state(wpa_s, WPA_COMPLETED);
|
||||||
|
+ eapol_sm_notify_portValid(wpa_s->eapol, true);
|
||||||
|
+ eapol_sm_notify_eap_success(wpa_s->eapol, true);
|
||||||
|
} else if ((wpa_s->drv_flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_8021X) &&
|
||||||
|
wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt)) {
|
||||||
|
/*
|
||||||
|
--
|
||||||
|
2.45.2
|
||||||
|
|
72
wpa_supplicant-config.patch
Normal file
72
wpa_supplicant-config.patch
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
From 72ee1e934e98ea87e4de292958817e724114703e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lubomir Rintel <lkundrak@v3.sk>
|
||||||
|
Date: Fri, 6 Sep 2019 09:46:00 +0200
|
||||||
|
Subject: [PATCH] defconfig: Fedora configuration
|
||||||
|
|
||||||
|
---
|
||||||
|
wpa_supplicant/defconfig | 16 +++++++++-------
|
||||||
|
1 file changed, 9 insertions(+), 7 deletions(-)
|
||||||
|
|
||||||
|
--- a/wpa_supplicant/defconfig
|
||||||
|
+++ b/wpa_supplicant/defconfig
|
||||||
|
@@ -149,7 +149,7 @@ CONFIG_EAP_PAX=y
|
||||||
|
CONFIG_EAP_LEAP=y
|
||||||
|
|
||||||
|
# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
|
||||||
|
-#CONFIG_EAP_AKA=y
|
||||||
|
+CONFIG_EAP_AKA=y
|
||||||
|
|
||||||
|
# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
|
||||||
|
# This requires CONFIG_EAP_AKA to be enabled, too.
|
||||||
|
@@ -350,6 +350,7 @@ CONFIG_BACKEND=file
|
||||||
|
# Select which ciphers to use by default with OpenSSL if the user does not
|
||||||
|
# specify them.
|
||||||
|
#CONFIG_TLS_DEFAULT_CIPHERS="DEFAULT:!EXP:!LOW"
|
||||||
|
+CONFIG_TLS_DEFAULT_CIPHERS="PROFILE=SYSTEM:3DES"
|
||||||
|
|
||||||
|
# If CONFIG_TLS=internal is used, additional library and include paths are
|
||||||
|
# needed for LibTomMath. Alternatively, an integrated, minimal version of
|
||||||
|
@@ -418,7 +419,7 @@ CONFIG_CTRL_IFACE_DBUS_INTRO=y
|
||||||
|
#CONFIG_NO_LOAD_DYNAMIC_EAP=y
|
||||||
|
|
||||||
|
# IEEE Std 802.11r-2008 (Fast BSS Transition) for station mode
|
||||||
|
-CONFIG_IEEE80211R=y
|
||||||
|
+#CONFIG_IEEE80211R=y
|
||||||
|
|
||||||
|
# Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
|
||||||
|
CONFIG_DEBUG_FILE=y
|
||||||
|
@@ -497,7 +498,7 @@ CONFIG_DEBUG_SYSLOG=y
|
||||||
|
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||||
|
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||||
|
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||||
|
-#CONFIG_GETRANDOM=y
|
||||||
|
+CONFIG_GETRANDOM=y
|
||||||
|
|
||||||
|
# IEEE 802.11ac (Very High Throughput) support (mainly for AP mode)
|
||||||
|
CONFIG_IEEE80211AC=y
|
||||||
|
@@ -625,7 +626,7 @@ CONFIG_IBSS_RSN=y
|
||||||
|
#CONFIG_PMKSA_CACHE_EXTERNAL=y
|
||||||
|
|
||||||
|
# Mesh Networking (IEEE 802.11s)
|
||||||
|
-#CONFIG_MESH=y
|
||||||
|
+CONFIG_MESH=y
|
||||||
|
|
||||||
|
# Background scanning modules
|
||||||
|
# These can be used to request wpa_supplicant to perform background scanning
|
||||||
|
@@ -639,7 +640,7 @@ CONFIG_BGSCAN_SIMPLE=y
|
||||||
|
|
||||||
|
# Opportunistic Wireless Encryption (OWE)
|
||||||
|
# Experimental implementation of draft-harkins-owe-07.txt
|
||||||
|
-#CONFIG_OWE=y
|
||||||
|
+CONFIG_OWE=y
|
||||||
|
|
||||||
|
# Device Provisioning Protocol (DPP) (also known as Wi-Fi Easy Connect)
|
||||||
|
CONFIG_DPP=y
|
||||||
|
@@ -686,3 +687,7 @@ CONFIG_DPP2=y
|
||||||
|
|
||||||
|
# Wi-Fi Aware unsynchronized service discovery (NAN USD)
|
||||||
|
#CONFIG_NAN_USD=y
|
||||||
|
+#
|
||||||
|
+CONFIG_SUITEB192=y
|
||||||
|
+CONFIG_IPV6=y
|
||||||
|
+
|
@ -1,39 +1,40 @@
|
|||||||
%define rcver %{nil}
|
|
||||||
%define snapshot %{nil}
|
|
||||||
|
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%bcond_without gui
|
||||||
|
%else
|
||||||
|
%bcond_with gui
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: WPA/WPA2/IEEE 802.1X Supplicant
|
Summary: WPA/WPA2/IEEE 802.1X Supplicant
|
||||||
Name: wpa_supplicant
|
Name: wpa_supplicant
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 2.10
|
Version: 2.11
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
Group: System Environment/Base
|
Source0: http://w1.fi/releases/%{name}-%{version}.tar.gz
|
||||||
Source0: http://w1.fi/releases/%{name}-%{version}%{rcver}%{snapshot}.tar.gz
|
Source1: wpa_supplicant.conf
|
||||||
Source1: build-config
|
Source2: wpa_supplicant.service
|
||||||
Source2: %{name}.conf
|
Source3: wpa_supplicant.sysconfig
|
||||||
Source3: %{name}.service
|
Source4: wpa_supplicant.logrotate
|
||||||
Source4: %{name}.sysconfig
|
|
||||||
Source6: %{name}.logrotate
|
|
||||||
|
|
||||||
%define build_gui 0
|
# Distro specific customization and not suitable for upstream,
|
||||||
|
# Fedora-specific updates to defconfig
|
||||||
# distro specific customization and not suitable for upstream,
|
Patch0: wpa_supplicant-config.patch
|
||||||
# works around busted drivers
|
# Works around busted drivers
|
||||||
Patch0: wpa_supplicant-assoc-timeout.patch
|
Patch1: wpa_supplicant-assoc-timeout.patch
|
||||||
# ensures that debug output gets flushed immediately to help diagnose driver
|
# Ensures that debug output gets flushed immediately to help diagnose driver
|
||||||
# bugs, not suitable for upstream
|
# bugs, not suitable for upstream
|
||||||
Patch1: wpa_supplicant-flush-debug-output.patch
|
Patch2: wpa_supplicant-flush-debug-output.patch
|
||||||
# quiet an annoying and frequent syslog message
|
# Quiet an annoying and frequent syslog message
|
||||||
Patch3: wpa_supplicant-quiet-scan-results-message.patch
|
Patch3: wpa_supplicant-quiet-scan-results-message.patch
|
||||||
# distro specific customization for Qt4 build tools, not suitable for upstream
|
# Distro specific customization for Qt4 build tools, not suitable for upstream
|
||||||
Patch5: rh1542234-remove-wpa_gui.patch
|
Patch4: wpa_supplicant-gui-qt4.patch
|
||||||
Patch6: wpa_supplicant-gui-qt4.patch
|
# fix known regression on brcmfmac (rhbz#2302577)
|
||||||
|
Patch5: wpa_supplicant-Revert-Mark-authorization-completed-on-driver-indica.patch
|
||||||
|
|
||||||
URL: http://w1.fi/wpa_supplicant/
|
URL: http://w1.fi/wpa_supplicant/
|
||||||
|
|
||||||
%if %{build_gui}
|
%if %with gui
|
||||||
BuildRequires: qt-devel >= 4.0
|
BuildRequires: qt-devel >= 4.0
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
@ -42,6 +43,7 @@ BuildRequires: dbus-devel
|
|||||||
BuildRequires: libnl3-devel
|
BuildRequires: libnl3-devel
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
BuildRequires: docbook-utils
|
BuildRequires: docbook-utils
|
||||||
|
BuildRequires: gcc
|
||||||
Requires(post): systemd-sysv
|
Requires(post): systemd-sysv
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
@ -61,81 +63,83 @@ component that is used in the client stations. It implements key negotiation
|
|||||||
with a WPA Authenticator and it controls the roaming and IEEE 802.11
|
with a WPA Authenticator and it controls the roaming and IEEE 802.11
|
||||||
authentication/association of the wlan driver.
|
authentication/association of the wlan driver.
|
||||||
|
|
||||||
%if %{build_gui}
|
|
||||||
|
|
||||||
|
%if %with gui
|
||||||
%package gui
|
%package gui
|
||||||
Summary: Graphical User Interface for %{name}
|
Summary: Graphical User Interface for %{name}
|
||||||
Group: Applications/System
|
|
||||||
|
|
||||||
%description gui
|
%description gui
|
||||||
Graphical User Interface for wpa_supplicant written using QT
|
Graphical User Interface for wpa_supplicant written using QT
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{version}%{rcver}%{snapshot}
|
%autosetup -p1 -n %{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd wpa_supplicant
|
pushd wpa_supplicant
|
||||||
cp %{SOURCE1} .config
|
cp defconfig .config
|
||||||
CFLAGS="${CFLAGS:-%optflags} -fPIE -DPIE" ; export CFLAGS ;
|
export CFLAGS="${CFLAGS:-%optflags} -fPIE -DPIE -DOPENSSL_NO_ENGINE"
|
||||||
CXXFLAGS="${CXXFLAGS:-%optflags} -fPIE -DPIE" ; export CXXFLAGS ;
|
export CXXFLAGS="${CXXFLAGS:-%optflags} -fPIE -DOPENSSL_NO_ENGINE"
|
||||||
LDFLAGS="${LDFLAGS:-%optflags} -pie -Wl,-z,now" ; export LDFLAGS ;
|
export LDFLAGS="${LDFLAGS:-%optflags} -pie -Wl,-z,now"
|
||||||
# yes, BINDIR=_sbindir
|
# yes, BINDIR=_sbindir
|
||||||
BINDIR="%{_sbindir}" ; export BINDIR ;
|
export BINDIR="%{_sbindir}"
|
||||||
LIBDIR="%{_libdir}" ; export LIBDIR ;
|
export LIBDIR="%{_libdir}"
|
||||||
make %{_smp_mflags}
|
make %{_smp_mflags} V=1
|
||||||
%if %{build_gui}
|
%if %with gui
|
||||||
QTDIR=%{_libdir}/qt4 make wpa_gui-qt4 %{_smp_mflags} QMAKE='%{qmake_qt4}' LRELEASE='%{_qt4_bindir}/lrelease'
|
make wpa_gui-qt4 %{_smp_mflags} V=1 QTDIR=%{_libdir}/qt4 \
|
||||||
|
QMAKE='%{qmake_qt4}' LRELEASE='%{_qt4_bindir}/lrelease'
|
||||||
|
%endif
|
||||||
|
make eapol_test V=1
|
||||||
|
make -C doc/docbook man V=1
|
||||||
|
%if !%with gui
|
||||||
|
rm doc/docbook/wpa_gui.8
|
||||||
%endif
|
%endif
|
||||||
make eapol_test
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd wpa_supplicant/doc/docbook
|
|
||||||
make man
|
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# init scripts
|
|
||||||
install -D -m 0644 %{SOURCE3} %{buildroot}/%{_unitdir}/%{name}.service
|
|
||||||
install -D -m 0644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
|
|
||||||
install -D -m 0644 %{SOURCE6} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name}
|
|
||||||
|
|
||||||
# config
|
# config
|
||||||
install -D -m 0600 %{SOURCE2} %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf
|
install -D -m 0600 %{SOURCE1} %{buildroot}/%{_sysconfdir}/wpa_supplicant/wpa_supplicant.conf
|
||||||
|
|
||||||
|
# init scripts
|
||||||
|
install -D -m 0644 %{SOURCE2} %{buildroot}/%{_unitdir}/wpa_supplicant.service
|
||||||
|
install -D -m 0644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/wpa_supplicant
|
||||||
|
install -D -m 0644 %{SOURCE4} %{buildroot}/%{_sysconfdir}/logrotate.d/wpa_supplicant
|
||||||
|
|
||||||
# binary
|
# binary
|
||||||
install -d %{buildroot}/%{_sbindir}
|
install -d %{buildroot}/%{_sbindir}
|
||||||
install -m 0755 %{name}/wpa_passphrase %{buildroot}/%{_sbindir}
|
install -m 0755 wpa_supplicant/wpa_passphrase %{buildroot}/%{_sbindir}
|
||||||
install -m 0755 %{name}/wpa_cli %{buildroot}/%{_sbindir}
|
install -m 0755 wpa_supplicant/wpa_cli %{buildroot}/%{_sbindir}
|
||||||
install -m 0755 %{name}/wpa_supplicant %{buildroot}/%{_sbindir}
|
install -m 0755 wpa_supplicant/wpa_supplicant %{buildroot}/%{_sbindir}
|
||||||
install -m 0755 %{name}/eapol_test %{buildroot}/%{_sbindir}
|
install -m 0755 wpa_supplicant/eapol_test %{buildroot}/%{_sbindir}
|
||||||
install -D -m 0644 %{name}/dbus/dbus-wpa_supplicant.conf %{buildroot}/%{_sysconfdir}/dbus-1/system.d/wpa_supplicant.conf
|
install -D -m 0644 wpa_supplicant/dbus/dbus-wpa_supplicant.conf \
|
||||||
install -D -m 0644 %{name}/dbus/fi.w1.wpa_supplicant1.service %{buildroot}/%{_datadir}/dbus-1/system-services/fi.w1.wpa_supplicant1.service
|
%{buildroot}/%{_sysconfdir}/dbus-1/system.d/wpa_supplicant.conf
|
||||||
|
install -D -m 0644 wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service \
|
||||||
|
%{buildroot}/%{_datadir}/dbus-1/system-services/fi.w1.wpa_supplicant1.service
|
||||||
|
|
||||||
%if %{build_gui}
|
%if %with gui
|
||||||
# gui
|
# gui
|
||||||
install -d %{buildroot}/%{_bindir}
|
install -d %{buildroot}/%{_bindir}
|
||||||
install -m 0755 %{name}/wpa_gui-qt4/wpa_gui %{buildroot}/%{_bindir}
|
install -m 0755 wpa_supplicant/wpa_gui-qt4/wpa_gui %{buildroot}/%{_bindir}
|
||||||
%else
|
|
||||||
rm -f %{name}/doc/docbook/wpa_gui.8
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
rm -f %{name}/doc/docbook/wpa_priv.8
|
|
||||||
|
|
||||||
# man pages
|
# man pages
|
||||||
install -d %{buildroot}%{_mandir}/man{5,8}
|
install -d %{buildroot}%{_mandir}/man{5,8}
|
||||||
install -m 0644 %{name}/doc/docbook/*.8 %{buildroot}%{_mandir}/man8
|
install -m 0644 wpa_supplicant/doc/docbook/*.8 %{buildroot}%{_mandir}/man8
|
||||||
install -m 0644 %{name}/doc/docbook/*.5 %{buildroot}%{_mandir}/man5
|
install -m 0644 wpa_supplicant/doc/docbook/*.5 %{buildroot}%{_mandir}/man5
|
||||||
|
|
||||||
# some cleanup in docs and examples
|
# some cleanup in docs and examples
|
||||||
rm -f %{name}/doc/.cvsignore
|
rm -f wpa_supplicant/doc/.cvsignore
|
||||||
rm -rf %{name}/doc/docbook
|
rm -rf wpa_supplicant/doc/docbook
|
||||||
chmod -R 0644 %{name}/examples/*.py
|
chmod -R 0644 wpa_supplicant/examples/*.py
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post wpa_supplicant.service
|
%systemd_post wpa_supplicant.service
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun wpa_supplicant.service
|
%systemd_preun wpa_supplicant.service
|
||||||
|
|
||||||
@ -151,78 +155,186 @@ chmod -R 0644 %{name}/examples/*.py
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%config(noreplace) %{_sysconfdir}/wpa_supplicant/wpa_supplicant.conf
|
||||||
%doc %{name}/ChangeLog README %{name}/eap_testing.txt %{name}/todo.txt %{name}/wpa_supplicant.conf %{name}/examples
|
%config(noreplace) %{_sysconfdir}/sysconfig/wpa_supplicant
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
%dir %{_sysconfdir}/logrotate.d
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
%config(noreplace) %{_sysconfdir}/logrotate.d/wpa_supplicant
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
%{_unitdir}/wpa_supplicant.service
|
||||||
%{_unitdir}/%{name}.service
|
%{_sysconfdir}/dbus-1/system.d/wpa_supplicant.conf
|
||||||
%{_sysconfdir}/dbus-1/system.d/%{name}.conf
|
|
||||||
%{_datadir}/dbus-1/system-services/fi.w1.wpa_supplicant1.service
|
%{_datadir}/dbus-1/system-services/fi.w1.wpa_supplicant1.service
|
||||||
%{_sbindir}/wpa_passphrase
|
%{_sbindir}/wpa_passphrase
|
||||||
%{_sbindir}/wpa_supplicant
|
%{_sbindir}/wpa_supplicant
|
||||||
%{_sbindir}/wpa_cli
|
%{_sbindir}/wpa_cli
|
||||||
%{_sbindir}/eapol_test
|
%{_sbindir}/eapol_test
|
||||||
%dir %{_sysconfdir}/%{name}
|
%dir %{_sysconfdir}/wpa_supplicant
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/wpa_supplicant.8.gz
|
||||||
|
%{_mandir}/man8/wpa_priv.8.gz
|
||||||
|
%{_mandir}/man8/wpa_passphrase.8.gz
|
||||||
|
%{_mandir}/man8/wpa_cli.8.gz
|
||||||
|
%{_mandir}/man8/wpa_background.8.gz
|
||||||
|
%{_mandir}/man8/eapol_test.8.gz
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
%doc README
|
||||||
|
%doc wpa_supplicant/ChangeLog
|
||||||
|
%doc wpa_supplicant/eap_testing.txt
|
||||||
|
%doc wpa_supplicant/todo.txt
|
||||||
|
%doc wpa_supplicant/wpa_supplicant.conf
|
||||||
|
%doc wpa_supplicant/examples
|
||||||
|
%license COPYING
|
||||||
|
|
||||||
%if %{build_gui}
|
|
||||||
|
%if %with gui
|
||||||
%files gui
|
%files gui
|
||||||
%{_bindir}/wpa_gui
|
%{_bindir}/wpa_gui
|
||||||
|
%{_mandir}/man8/wpa_gui.8.gz
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 20 2022 Davide Caratti <dcaratti@redhat.com> - 1:2.10-1
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:2.11-2
|
||||||
- Update to version 2.10 (rh #2042104)
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
* Thu Dec 9 2021 Davide Caratti <dcaratti@redhat.com> - 1:2.9-6.20211112gitc8b94bc7b347
|
* Mon Sep 16 2024 Davide Caratti <dcaratti@redhat.com> - 1:2.11-1
|
||||||
- restore WEP functionality (rh #2028839)
|
- Update to version 2.11 (RHEL-59010)
|
||||||
|
- backport fix for known regression on brcmfmac (rhbz#2302577)
|
||||||
|
|
||||||
* Fri Nov 12 2021 Davide Caratti <dcaratti@redhat.com> - 1:2.9-5.20211112gitc8b94bc7b347
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:2.10-11
|
||||||
- Update to latest upstream tree to include support for H2E
|
- Bump release for June 2024 mass rebuild
|
||||||
Resolves: rhbz#2007333
|
|
||||||
|
|
||||||
* Fri Mar 5 2021 Davide Caratti <dcaratti@redhat.com> - 1:2.9-5
|
* Fri Jun 21 2024 Davide Caratti <dcaratti@redhat.com> - 1:2.10-10
|
||||||
- P2P: Fix a corner case in peer addition based on PD Request (CVE-2021-27803)
|
- Fix package configuration/add missing patches to avoid regressions when
|
||||||
- Fix buffer overflow when processing P2P group information (CVE-2021-0326)
|
upgrading from rhel-9 (RHEL-43250)
|
||||||
|
- Backport P2P fix causing nmci failures (RHEL-17701)
|
||||||
|
- Disable OpenSSL ENGINE API (RHEL-33750)
|
||||||
|
|
||||||
* Fri Jan 15 2021 Davide Caratti <dcaratti@redhat.com> - 1:2.9-4
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.10-9
|
||||||
- enable WPA-EAP-SUITE-B-192 (rh #1916394)
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Oct 27 2020 Davide Caratti <dcaratti@redhat.com> - 1:2.9-3
|
* Wed Aug 30 2023 Davide Cavalca <dcavalca@fedoraproject.org> - 1:2.10-8
|
||||||
- fix p2p_listen unexpectedly stopped after 5 seconds (rh #1693684)
|
- Backport WPA3 support for Broadcom devices. Fixes: rhbz#2226569
|
||||||
- allow changing 'bridge' via D-Bus (rh #1888050)
|
- Enable parsing of IPv6 addresses in RADIUS configuration (#2095296)
|
||||||
- expose OWE configurability via D-Bus (rh #1888718)
|
|
||||||
|
|
||||||
* Tue Oct 29 2019 Davide Caratti <dcaratti@redhat.com> - 1:2.9-2
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.10-7
|
||||||
- Fix AP mode PMF disconnection protection bypass (CVE-2019-16275)
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
- Fix NULL dereference in d-bus handler when P2P control interface is removed (rh #1752780)
|
|
||||||
- enable WIFI_DISPLAY (rh #1755941)
|
|
||||||
|
|
||||||
* Mon Oct 21 2019 Davide Caratti <dcaratti@redhat.com> - 1:2.9-1
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.10-6
|
||||||
- Update to 2.9 upstream release
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
- Enable OWE, SAE and DPP (rh #1730169)
|
|
||||||
|
|
||||||
* Thu Feb 07 2019 Davide Caratti <dcaratti@redhat.com> - 1:2.7-2
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.10-5
|
||||||
- Enable CI gating (rh #1682340) and add a basic selftest
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Feb 07 2019 Davide Caratti <dcaratti@redhat.com> - 1:2.7-1
|
* Mon May 02 2022 Adam Williamson <awilliam@redhat.com> - 1:2.10-4
|
||||||
|
- Allow legacy renegotiation for bad PEAP servers (James Ralston) (#2072070)
|
||||||
|
|
||||||
|
* Wed Jan 26 2022 Michael Yartys <michael.yartys@protonmail.com> - 1:2.10-3
|
||||||
|
- Enable Operating Channel Validation (OCV) support
|
||||||
|
|
||||||
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.10-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 17 2022 Davide Caratti <dcaratti@redhat.com> - 1:2.10-1
|
||||||
|
- Update to version 2.10 (keeping CONFIG_WEP enabled). Related: rhbz#2041269
|
||||||
|
|
||||||
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1:2.9-16
|
||||||
|
- Rebuilt with OpenSSL 3.0.0
|
||||||
|
|
||||||
|
* Fri Sep 3 2021 Davide Caratti <dcaratti@redhat.com> - 1:2.9-15
|
||||||
|
- Fix NetworkManager-CI failures with OpenSSL 3.0
|
||||||
|
|
||||||
|
* Tue Jul 27 2021 Dave Olsthoorn <dave@bewaar.me> - 1:2.9-14
|
||||||
|
- Fix issues with FT a.k.a. 802.11r when not supported by adapter
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.9-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Mar 1 2021 Davide Caratti <dcaratti@redhat.com> - 1:2.9-12
|
||||||
|
- Fix a corner case in peer addition based on PD Request (CVE-2021-27803)
|
||||||
|
|
||||||
|
* Thu Feb 4 2021 Davide Caratti <dcaratti@redhat.com> - 1:2.9-11
|
||||||
|
- Fix copying of secondary device types for P2P group client (CVE-2021-0326)
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.9-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 22 2021 Davide Caratti <dcaratti@redhat.com> - 1:2.9-9
|
||||||
|
- Expose OWE capability on D-Bus
|
||||||
|
- Allow changing interface bridge using D-Bus
|
||||||
|
|
||||||
|
* Thu Dec 17 2020 Antonio Cardace <acardace@redhat.com> - 1:2.9-8
|
||||||
|
- Enable WPA-EAP-SUITE-B-192 cipher suite
|
||||||
|
|
||||||
|
* Thu Dec 17 2020 Davide Caratti <dcaratti@redhat.com> - 1:2.9-7
|
||||||
|
- fix build on ELN target (rh #1902609)
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.9-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 15 2020 Benjamin Berg <bberg@redhat.com> - 1:2.9-5
|
||||||
|
- fix some issues with P2P operation
|
||||||
|
|
||||||
|
* Thu Apr 23 2020 Davide Caratti <dcaratti@redhat.com> - 1:2.9-4
|
||||||
|
- Enable Tunneled Direct Link Setup (TDLS)
|
||||||
|
|
||||||
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.9-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Oct 30 2019 Davide Caratti <dcaratti@redhat.com> - 1:2.9-2
|
||||||
|
- fix AP mode PMF disconnection protection bypass (CVE-2019-16275, rh #1767026)
|
||||||
|
|
||||||
|
* Fri Aug 16 2019 Lubomir Rintel <lkundrak@v3.sk> - 1:2.9-1
|
||||||
|
- Update to version 2.9
|
||||||
|
|
||||||
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 10 2019 Davide Caratti <dcaratti@redhat.com> - 1:2.8-2
|
||||||
|
- fix changelog for version 2.8-1
|
||||||
|
|
||||||
|
* Thu May 02 2019 Davide Caratti <dcaratti@redhat.com> - 1:2.8-1
|
||||||
|
- Update to 2.8 upstream release, to include latest fix for NULL
|
||||||
|
pointer dereference when EAP-PWD peer receives unexpected EAP
|
||||||
|
fragments (CVE-2019-11555, rh #1701759)
|
||||||
|
|
||||||
|
* Fri Apr 12 2019 Davide Caratti <dcaratti@redhat.com> - 1:2.7-5
|
||||||
|
- fix SAE and EAP_PWD vulnerabilities:
|
||||||
|
CVE-2019-9494 (cache attack against SAE)
|
||||||
|
CVE-2019-9495 (cache attack against EAP-pwd)
|
||||||
|
CVE-2019-9496 (SAE confirm missing state validation in hostapd/AP)
|
||||||
|
CVE-2019-9497 (EAP-pwd server not checking for reflection attack)
|
||||||
|
CVE-2019-9498 (EAP-pwd server missing commit validation for scalar/element)
|
||||||
|
CVE-2019-9499 (EAP-pwd peer missing commit validation for scalar/element)
|
||||||
|
|
||||||
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.7-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 21 2019 Lubomir Rintel <lkundrak@v3.sk> - 1:2.7-3
|
||||||
|
- Enable OWE and DPP
|
||||||
|
- Expose SAE support on D-Bus
|
||||||
|
|
||||||
|
* Mon Jan 21 2019 Lubomir Rintel <lkundrak@v3.sk> - 1:2.7-2
|
||||||
|
- Enable MESH & SAE
|
||||||
|
|
||||||
|
* Tue Dec 18 2018 Lubomir Rintel <lkundrak@v3.sk> - 1:2.7-1
|
||||||
- Update to 2.7 upstream release
|
- Update to 2.7 upstream release
|
||||||
|
|
||||||
* Mon Sep 10 2018 Davide Caratti <dcaratti@redhat.com> - 1:2.6-17
|
* Wed Aug 15 2018 Lubomir Rintel <lkundrak@v3.sk> - 1:2.6-20
|
||||||
- Fix duplicate Reassociation Request frame dropping (detected by Covscan)
|
- Expose availability of SHA384 and FT on D-Bus
|
||||||
|
|
||||||
* Fri Aug 31 2018 Davide Caratti <dcaratti@redhat.com> - 1:2.6-16
|
* Wed Aug 15 2018 Lubomir Rintel <lkundrak@v3.sk> - 1:2.6-19
|
||||||
|
- Drop the broken Pmf D-Bus property patch
|
||||||
|
|
||||||
|
* Wed Aug 8 2018 Davide Caratti <dcaratti@redhat.com> - 1:2.6-18
|
||||||
- Ignore unauthenticated encrypted EAPOL-Key data (CVE-2018-14526)
|
- Ignore unauthenticated encrypted EAPOL-Key data (CVE-2018-14526)
|
||||||
|
|
||||||
* Thu Jul 12 2018 Davide Caratti <dcaratti@redhat.com> - 1:2.6-15
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-17
|
||||||
- Disable build of wpa_gui (rh #1542234)
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
- Fix build issue with latest kernel headers (rh #1582604)
|
|
||||||
- Disable WEXT (rh #1537143)
|
* Fri Jun 22 2018 Davide Caratti <dcaratti@redhat.com> - 1:2.6-16
|
||||||
- Fix memory leak when macsec MKA/PSK is used (rh #1582511)
|
- Fix endoding of NL80211_ATTR_SMPS_MODE (rh#1570903)
|
||||||
- Fix authentication failure when the MAC is updated externally (rh #1582508)
|
|
||||||
- Let the kernel discard EAPOL if packet type is PACKET_OTHERHOST (rh #1582501)
|
* Fri May 11 2018 Davide Caratti <dcaratti@redhat.com> - 1:2.6-15
|
||||||
|
- Make PMF configurable using D-Bus (rh#1567474)
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-14
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6-14
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
Loading…
Reference in New Issue
Block a user