Compare commits

..

No commits in common. "c8-beta" and "c10s" have entirely different histories.

12 changed files with 80 additions and 23 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/hostapd-2.10.tar.gz /hostapd-2.10.tar.gz
/hostapd-2.11.tar.gz

View File

@ -1 +0,0 @@
1012a46ed74d7760aec3cfe435eb8bac23f5dde9 SOURCES/hostapd-2.10.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -118,7 +118,7 @@ the BSS.
Time interval for rekeying GMK (master key used internally to Time interval for rekeying GMK (master key used internally to
generate GTKs (in seconds). generate GTKs (in seconds).
.SH SEE ALSO .SH SEE ALSO
hostapd(8), hostapd_cli(8), /usr/share/examples/hostapd/hostapd.conf hostapd(8), hostapd_cli(8), /usr/share/doc/hostapd/hostapd.conf
.SH HISTORY .SH HISTORY
The hostapd.conf manual page and hostapd(8) functionality first appeared The hostapd.conf manual page and hostapd(8) functionality first appeared
in NetBSD 4.0. in NetBSD 4.0.

View File

@ -1,10 +1,10 @@
%global _hardened_build 1 %global _hardened_build 1
Name: hostapd Name: hostapd
Version: 2.10 Version: 2.11
Release: 1%{?dist} Release: 2%{?dist}
Summary: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator Summary: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
License: BSD License: BSD-3-Clause
URL: http://w1.fi/hostapd URL: http://w1.fi/hostapd
Source0: http://w1.fi/releases/%{name}-%{version}.tar.gz Source0: http://w1.fi/releases/%{name}-%{version}.tar.gz
@ -14,6 +14,7 @@ Source3: %{name}.conf.5
Source4: %{name}.sysconfig Source4: %{name}.sysconfig
Source5: %{name}.init Source5: %{name}.init
BuildRequires: libnl3-devel BuildRequires: libnl3-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
@ -60,6 +61,7 @@ Logwatch scripts for hostapd.
%prep %prep
%setup -q %setup -q
%build %build
cd hostapd cd hostapd
cat defconfig | sed \ cat defconfig | sed \
@ -73,19 +75,22 @@ cat defconfig | sed \
-e '/^#CONFIG_IEEE80211N=y/s/^#//' \ -e '/^#CONFIG_IEEE80211N=y/s/^#//' \
-e '/^#CONFIG_IEEE80211R=y/s/^#//' \ -e '/^#CONFIG_IEEE80211R=y/s/^#//' \
-e '/^#CONFIG_IEEE80211AC=y/s/^#//' \ -e '/^#CONFIG_IEEE80211AC=y/s/^#//' \
-e '/^#CONFIG_IEEE80211AX=y/s/^#//' \
-e '/^#CONFIG_IEEE80211BE=y/s/^#//' \
-e '/^#CONFIG_FULL_DYNAMIC_VLAN=y/s/^#//' \ -e '/^#CONFIG_FULL_DYNAMIC_VLAN=y/s/^#//' \
-e '/^#CONFIG_LIBNL32=y/s/^#//' \ -e '/^#CONFIG_LIBNL32=y/s/^#//' \
-e '/^#CONFIG_ACS=y/s/^#//' \ -e '/^#CONFIG_ACS=y/s/^#//' \
-e '/^#CONFIG_OCV=y/s/^#//' \
-e '/^#CONFIG_OWE=y/s/^#//' \ -e '/^#CONFIG_OWE=y/s/^#//' \
-e '/^#CONFIG_WEP=y/s/^#//' \
> .config > .config
echo "CFLAGS += -I%{_includedir}/libnl3" >> .config echo "CFLAGS += -I%{_includedir}/libnl3" >> .config
echo "LIBS += -L%{_libdir}" >> .config echo "LIBS += -L%{_libdir}" >> .config
export CFLAGS="${CFLAGS:-%optflags} -fPIE -DPIE" export CFLAGS="${CFLAGS:-%optflags} -fPIE -DPIE -DOPENSSL_NO_ENGINE"
export CXXFLAGS="${CXXFLAGS:-%optflags} -fPIE -DPIE" export CXXFLAGS="${CXXFLAGS:-%optflags} -fPIE -DPIE -DOPENSSL_NO_ENGINE"
export LDFLAGS="${LDFLAGS:-%optflags} -pie -Wl,-z,now" export LDFLAGS="${LDFLAGS:-%optflags} -pie -Wl,-z,now"
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
%install %install
%if 0%{?fedora} || 0%{?rhel} >= 7 %if 0%{?fedora} || 0%{?rhel} >= 7
@ -188,28 +193,57 @@ fi
%{_sysconfdir}/logwatch/scripts/services/%{name} %{_sysconfdir}/logwatch/scripts/services/%{name}
%changelog %changelog
* Fri Jan 21 2022 Davide Caratti <dcaratti@redhat.com> - 2.10-1 * Thu Feb 13 2025 Davide Caratti <dcaratti@redhat.com> - 2.11-2
- Update to version 2.10, keeping CONFIG_WEP enabled - Enable CONFIG_IEEE80211BE
Resolves: RHEL-58728
* Wed Dec 22 2021 Davide Caratti <dcaratti@redhat.com> - 2.9-17 * Thu Dec 12 2024 Davide Caratti <dcaratti@redhat.com> - 2.11-1
- fix typo while enabling support for suite B-192 - Update to upstream version 2.11
Resolves: RHEL-58728, RHEL-43497
* Tue Dec 21 2021 Davide Caratti <dcaratti@redhat.com> - 2.9-16 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.10-12
- disable 'badfuncs' rpminspect test - Bump release for October 2024 mass rebuild:
- change default value of CONFIG_TLS_DEFAULT_CIPHERS to allow using OpenSSL Resolves: RHEL-64018
to compute 3DES
* Mon Dec 20 2021 Davide Caratti <dcaratti@redhat.com> - 2.9-15 * Fri Jul 5 2024 Davide Caratti <dcaratti@redhat.com> - 2.10-11
- Build with -fPIE, and enable verbose build log - Fix potential regressions after rebase from f40
- Enable CONFIG_SUITEB192 - Disable ENGINE API and enable SUITE B-192
* Sat Dec 18 2021 Tomas Pelka <tpelka@redhat.com> - 2.9-14 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.10-10
- bump release and rebuild to correctly trigger gating - Bump release for June 2024 mass rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Apr 11 2023 John W. Linville <linville@redhat.com> - 2.10-6
- Correct path for example hostapd.conf cited in hostapd.conf.5
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 19 2022 John W. Linville <linville@redhat.com> - 2.10-2
- Enable CONFIG_OCV build option to fight multi-channel MITM attacks
* Mon Jan 17 2022 John W. Linville <linville@redhat.com> - 2.10-1
- Update to version 2.10 from upstream
- Enable support for IEEE802.11ax
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2.9-13 * Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2.9-13
- Rebuilt with OpenSSL 3.0.0 - Rebuilt with OpenSSL 3.0.0
* Fri Sep 3 2021 Davide Caratti <dcaratti@redhat.com> - 2.9-12 * Fri Sep 10 2021 Davide Caratti <dcaratti@redhat.com> - 2.9-12
- backport fix for NetworkManager-ci failures with openssl-3.0.0 - backport fix for NetworkManager-ci failures with openssl-3.0.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-11 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-11

3
rpminspect.yaml Normal file
View File

@ -0,0 +1,3 @@
---
inspections:
badfuncs: off

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (hostapd-2.11.tar.gz) = 1382af2a243e3a555507b55942f41d1233cc942826d26bc4f4dbe5e75560b3fe22e426948762fe162453e934685a69ef0c05723b7fecef71811fc1987e32b048

13
tests/tests.yml Normal file
View File

@ -0,0 +1,13 @@
# Tests for NetworkManager
- 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 hostapd