File check_mk-rpmlintrc of Package check_mk

# ignore some small duplicate files in the webroot and avoid to 
# add FollowSymlinks in the apache config instead
#addFilter("files-duplicate.*/usr/share/check_mk/web/htdocs/.*");

# the mentioned README files are hints on how to check different Operating Systems
addFilter("non-linux-readme.*/usr/share/doc/packages/check_mk/agents/README.*");

# the mentioned files are for M$ based computers, so ignore the 
# warning in this case
addFilter("wrong-script-end-of-line-encoding.*/usr/share/doc/packages/check_mk/treasures/msexchange/win.*");
addFilter("wrong-file-end-of-line-encoding.*/usr/share/doc/packages/check_mk/treasures/windows_msi/build_msi.bat");
addFilter("wrong-file-end-of-line-encoding.*/usr/share/doc/packages/check_mk/treasures/msexchange/README");
addFilter("wrong-file-end-of-line-encoding.*/usr/share/doc/packages/check_mk/agents/README.OpenVMS");
addFilter("wrong-file-end-of-line-encoding.*/usr/share/doc/packages/check_mk/windows/nslookup_local_check_example/nslookup.vbs");
addFilter("wrong-file-end-of-line-encoding.*/usr/share/doc/packages/check_mk/windows/counters.ini");
addFilter("wrong-file-end-of-line-encoding.*/usr/share/doc/packages/check_mk/windows/nslookup_local_check_example/nslookup_forward.bat");
addFilter("wrong-file-end-of-line-encoding.*/usr/share/doc/packages/check_mk/windows/nslookup_local_check_example/nslookup_reverse.bat");

# check_mk knows how to "execute" those special files in that directories - no need to execute them manually
# so skip the warning here by intention and add a bit more security
addFilter("non-executable-script.*/usr/share/check_mk/notifications/.*");
addFilter("non-executable-script.*/usr/share/check_mk/inventory/.*");

# As check_mk is currently not scheduled for direct inclusion into openSUSE, just ignore the warning
setBadness("permissions-unauthorized-file", 100);
addFilter("permissions-unauthorized-file.*/etc/permissions.d/mk-livestatus");

#
addFilter("devel-file-in-non-devel-package.*/usr/share/check_mk/agents/windows/*");
addFilter("devel-file-in-non-devel-package.*/usr/share/check_mk/agents/z_os/waitmax.c");

#
addFilter("arch-dependent-file-in-usr-share.*/usr/share/doc/packages/check_mk/treasures/modbus/agent_modbus");