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:
Davide Caratti 2024-06-25 12:24:15 +02:00
parent 9f3bbc44b0
commit 1481a5ca05
3 changed files with 15 additions and 1 deletions

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

@ -66,6 +66,8 @@ Logwatch scripts for hostapd.
cd hostapd
cat defconfig | sed \
-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_RADIUS_SERVER=y/s/^#//' \
-e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \
@ -82,7 +84,10 @@ cat defconfig | sed \
> .config
echo "CFLAGS += -I%{_includedir}/libnl3" >> .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

3
rpminspect.yaml Normal file
View File

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