rspamd/usr.bin.rspamd
Marcus Rueckert 7cb43f24e8 - disable luajit until we actually package all the lua extensions
for all interpreters. mixing luajit with lua built extensions
  is not working properly apparently
  https://github.com/rspamd/rspamd/discussions/4898
  https://github.com/rspamd/rspamd/discussions/4819
- loosen the Buildrequires for fmt to allow all versions. For older
  distros we will use the intree copy. We added the bundled
  provides in that case.

OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=118
2024-09-29 23:28:58 +00:00

35 lines
829 B
Plaintext

# Last Modified: Mon Oct 5 10:19:40 2020
#include <tunables/global>
# based on https://github.com/progmaticltd/homebox/blob/master/install/playbooks/roles/rspamd/templates/apparmor.d/usr.bin.rspamd
profile rspamd /usr/bin/rspamd {
#include <abstractions/base>
#include <abstractions/nameservice>
#include <abstractions/openssl>
#include <abstractions/ssl_certs>
/usr/bin/rspamd mr,
/etc/rspamd/** r,
/srv/www/webapps/rspamd/ r,
/srv/www/webapps/rspamd/** r,
/usr/share/rspamd/ r,
/usr/share/rspamd/** r,
/var/lib/rspamd/ r,
/var/lib/rspamd/** rwk,
/var/log/rspamd/rspamd.log* rwk,
/{var/,}run/rspamd/* rwk,
/dev/shm/rhm.* rw,
/etc/magic r,
/proc/sys/kernel/random/uuid r,
/usr/share/icu/*/icu*.dat r,
#include if exists <local/usr.bin.rspamd>
#include if exists <local/rspamd>
}