File moodle3_4-rpmlintrc of Package moodle3_4
# 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/moodle3_4/config.php")
addFilter("W: non-etc-or-var-file-marked-as-conffile /srv/www/moodle3_4/robots.txt")
addFilter("W: non-etc-or-var-file-marked-as-conffile /srv/www/moodle3_4/favicon.ico")
# avoid the need of defining +FollowSymlinks in apache conf
addFilter("files-duplicate")
# we require the mimetex package containing the binary
addFilter("dangling-symlink /srv/www/moodle3_4/filter/tex/mimetex.linux /usr/bin/mimetex")
addFilter("dangling-symlink /srv/www/moodle3_4/filter/tex/mimetex /usr/bin/mimetex")
# all files in this directory are just containing translations
addFilter("script-without-shebang .*/srv/www/moodle3_4/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/moodle3_4/lang/.*")
# this is hopefully temporary: some languages are not completely translated
addFilter("zero-length .*/srv/www/moodle3_4/lang2/.*")
# some empty index.html file just to avoid directory listing
addFilter("zero-length .*/srv/www/moodle3_4/.*html")
addFilter("zero-length .*/srv/www/moodle3_4/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/moodle3_4/admin/mailout-debugger.php")
# not a real library - rpmlint is wrong here:
addFilter("explicit-lib-dependency.*php-zlib");