fix some OSCI dashboard failures
Related: rhbz#2019830 Signed-off-by: Davide Caratti <dcaratti@redhat.com>
This commit is contained in:
parent
e008a0d300
commit
ec3be71c86
13
hostapd.spec
13
hostapd.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: hostapd
|
Name: hostapd
|
||||||
Version: 2.9
|
Version: 2.9
|
||||||
Release: 14%{?dist}
|
Release: 15%{?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
|
||||||
URL: http://w1.fi/hostapd
|
URL: http://w1.fi/hostapd
|
||||||
@ -87,6 +87,7 @@ Logwatch scripts for hostapd.
|
|||||||
cd hostapd
|
cd hostapd
|
||||||
cat defconfig | sed \
|
cat defconfig | sed \
|
||||||
-e '$ a CONFIG_SAE=y' \
|
-e '$ a CONFIG_SAE=y' \
|
||||||
|
-e '$ a CONFIG_SUITE192B=y' \
|
||||||
-e '/^#CONFIG_DRIVER_NL80211=y/s/^#//' \
|
-e '/^#CONFIG_DRIVER_NL80211=y/s/^#//' \
|
||||||
-e '/^#CONFIG_RADIUS_SERVER=y/s/^#//' \
|
-e '/^#CONFIG_RADIUS_SERVER=y/s/^#//' \
|
||||||
-e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \
|
-e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \
|
||||||
@ -101,7 +102,10 @@ cat defconfig | sed \
|
|||||||
> .config
|
> .config
|
||||||
echo "CFLAGS += -I%{_includedir}/libnl3" >> .config
|
echo "CFLAGS += -I%{_includedir}/libnl3" >> .config
|
||||||
echo "LIBS += -L%{_libdir}" >> .config
|
echo "LIBS += -L%{_libdir}" >> .config
|
||||||
make %{?_smp_mflags} EXTRA_CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="${CFLAGS:-%optflags} -fPIE -DPIE"
|
||||||
|
export CXXFLAGS="${CXXFLAGS:-%optflags} -fPIE -DPIE"
|
||||||
|
export LDFLAGS="${LDFLAGS:-%optflags} -pie -Wl,-z,now"
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
@ -205,6 +209,11 @@ fi
|
|||||||
%{_sysconfdir}/logwatch/scripts/services/%{name}
|
%{_sysconfdir}/logwatch/scripts/services/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 20 2021 Davide Caratti <dcaratti@redhat.com> - 2.9.15
|
||||||
|
- Disable 'badfuncs' in rpminspect tests
|
||||||
|
- Build with -fPIE, and enable verbose build log
|
||||||
|
- enable CONFIG_SUITE192B
|
||||||
|
|
||||||
* Fri Dec 17 2021 Tomas Pelka <tpelka@redhat.com> - 2.9-14
|
* Fri Dec 17 2021 Tomas Pelka <tpelka@redhat.com> - 2.9-14
|
||||||
- Bump release and rebuilt to trigger gating process
|
- Bump release and rebuilt to trigger gating process
|
||||||
|
|
||||||
|
3
rpminspect.yaml
Normal file
3
rpminspect.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
inspections:
|
||||||
|
badfuncs: off
|
Loading…
Reference in New Issue
Block a user