fix potential regressions after rebase from f40
- Add gating.yaml and rpminspect.yaml to clear OSCI dashboard errors - Fix build configuration (OpenSSL default profile and enablement of SUITE B-192) - Build with -fPIE and disable OpenSSL ENGINE API Resolves: RHEL-43439, RHEL-44685 Signed-off-by: Davide Caratti <dcaratti@redhat.com>
This commit is contained in:
parent
9f3bbc44b0
commit
1481a5ca05
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: desktop-qe.desktop-ci.tier1-gating.functional}
|
@ -66,6 +66,8 @@ 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_SUITEB192=y' \
|
||||||
|
-e '$ a CONFIG_TLS_DEFAULT_CIPHERS="PROFILE=SYSTEM:3DES"' \
|
||||||
-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/^#//' \
|
||||||
@ -82,7 +84,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 -DOPENSSL_NO_ENGINE"
|
||||||
|
export CXXFLAGS="${CXXFLAGS:-%optflags} -fPIE -DPIE -DOPENSSL_NO_ENGINE"
|
||||||
|
export LDFLAGS="${LDFLAGS:-%optflags} -pie -Wl,-z,now"
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
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