# this should be a pseudo config file pointing to the right one
# but we can't be shure that our users to what we want here....
addFilter("W: non-etc-or-var-file-marked-as-conffile /srv/www/moodle.*/config.php")
addFilter("W: non-etc-or-var-file-marked-as-conffile /srv/www/moodle.*/robots.txt")
addFilter("W: non-etc-or-var-file-marked-as-conffile /srv/www/moodle.*/favicon.ico")
# avoid the need of defining +FollowSymlinks in apache conf
addFilter("files-duplicate")
# adding a version number on top of each changelog entry is not required for openSUSE
addFilter("no-version-in-last-changelog");
# we require the mimetex package containing the binary
addFilter("dangling-symlink /srv/www/moodle.*/filter/tex/mimetex.linux /usr/bin/mimetex")
addFilter("dangling-symlink /srv/www/moodle.*/filter/tex/mimetex /usr/bin/mimetex")
# all files in this directory are just containing translations
addFilter("script-without-shebang .*/srv/www/moodle.*/lang/.*")
# some language files are not in unix format, but they where imported
# into the database during setup, so this don't hurts us here
addFilter("wrong-script-end-of-line-encoding .*/srv/www/moodle.*/lang/.*")
# this is hopefully temporary: some languages are not completely translated
addFilter("zero-length .*/srv/www/moodle.*/lang2/.*")
# some empty index.html file just to avoid directory listing
addFilter("zero-length .*/srv/www/moodle.*/.*html")
addFilter("zero-length .*/srv/www/moodle.*/theme/chameleon/temp_user_styles.css")
# this file is for debugging only - developers know what to do with this file....
addFilter("non-executable-script /srv/www/moodle.*/admin/mailout-debugger.php")
# not a real library - rpmlint is wrong here:
addFilter("explicit-lib-dependency.*php-zlib");
# cron jobs only:
addFilter("suse-missing-rclink.*moodle.*-cron-www");
addFilter("systemd-service-without-service_add_post.*moodle.*-cron-www.service");
addFilter("systemd-service-without-service_add_pre.*moodle.*-cron-www.service");
addFilter("systemd-service-without-service_del_postun.*moodle.*-cron-www.service");
addFilter("systemd-service-without-service_del_preun.*moodle.*-cron-www.service");
addFilter("suse-missing-rclink.*moodle.*-cron-nginx");
addFilter("systemd-service-without-service_add_post.*moodle.*-cron-nginx.service");
addFilter("systemd-service-without-service_add_pre.*moodle.*-cron-nginx.service");
addFilter("systemd-service-without-service_del_postun.*moodle.*-cron-nginx.service");
addFilter("systemd-service-without-service_del_preun.*moodle.*-cron-nginx.service");
# translation go into the lang subpackages - they are just named differently since ages
addFilter("file-not-in-%lang.*/srv/www/moodle.*/lib/horde/locale/.*/LC_MESSAGES/.*.mo");

