Fix rpminspect.yaml syntax

Any entries in the upstream inspection block that contain wildcards for glob(7) specification need to be wrapped in single quotes.

We are also changing the badfuncs block to allow the specific function in mod_proxy.so rather than ignoring the entire file.

Thanks to David Cantrell who discovered this problem (in OSCI-6724) and proposed the fix.
This commit is contained in:
Michal Srb 2024-04-17 15:40:56 +00:00
parent 1c126ced89
commit 17b0b4e042

View File

@ -2,20 +2,21 @@
badfuncs: badfuncs:
# mod_proxy uses inet_ntoa (safely) for IPv4 address matching, # mod_proxy uses inet_ntoa (safely) for IPv4 address matching,
# and APR interfaces for IPv6 addresses. # and APR interfaces for IPv6 addresses.
ignore: allowed:
- /usr/lib*/httpd/modules/mod_proxy.so /usr/lib*/httpd/modules/mod_proxy.so:
- inet_ntoa
upstream: upstream:
ignore: ignore:
- *.xml - '*.xml'
- *.service - '*.service'
- *.socket - '*.socket'
- *.conf - '*.conf'
- *.sysconf - '*.sysconf'
- *.tmpfiles - '*.tmpfiles'
- README.* - 'README.*'
- *.sysusers - '*.sysusers'
- *.png - '*.png'
- httpd-ssl-* - 'httpd-ssl-*'
- config.layout - config.layout
- action*.sh - 'action*.sh'
- apachectl.* - 'apachectl.*'