From 424c5ffac2373c23e4f176feed38f300ae2ab8f4 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Tue, 28 May 2024 17:23:25 +0200 Subject: [PATCH] remove placeholder and add selinux files Signed-off-by: Toshaan Bharvani --- SOURCES/.gitkeeper | 0 SOURCES/icinga-l10n.fc | 1 + SOURCES/icinga-l10n.te | 9 +++++++++ 3 files changed, 10 insertions(+) delete mode 100644 SOURCES/.gitkeeper create mode 100644 SOURCES/icinga-l10n.fc create mode 100644 SOURCES/icinga-l10n.te diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper deleted file mode 100644 index e69de29..0000000 diff --git a/SOURCES/icinga-l10n.fc b/SOURCES/icinga-l10n.fc new file mode 100644 index 0000000..9eb9858 --- /dev/null +++ b/SOURCES/icinga-l10n.fc @@ -0,0 +1 @@ +/usr/share/icinga-L10n(/.*)? gen_context(system_u:object_r:icingal10n_content_t,s0) diff --git a/SOURCES/icinga-l10n.te b/SOURCES/icinga-l10n.te new file mode 100644 index 0000000..584a0c7 --- /dev/null +++ b/SOURCES/icinga-l10n.te @@ -0,0 +1,9 @@ +policy_module(icinga-l10n, 1.0) + +require { + type httpd_t; +} + +optional_policy(` + apache_content_template(icingal10n) +')