[selinux-policy] clamav and amavis has been merge to antivirus policy

Miroslav Grepl mgrepl at fedoraproject.org
Fri Jan 25 13:19:20 UTC 2013


commit 4c3676d47af31237a61738c002d8117ed6c77ddf
Author: Miroslav Grepl <mgrepl at redhat.com>
Date:   Fri Jan 25 14:17:56 2013 +0100

    clamav and amavis has been merge to antivirus policy

 modules-mls-contrib.conf      |   15 ++++-----------
 modules-targeted-contrib.conf |   13 -------------
 selinux-policy.spec           |    4 ++--
 3 files changed, 6 insertions(+), 26 deletions(-)
---
diff --git a/modules-mls-contrib.conf b/modules-mls-contrib.conf
index 038c868..83ff8c3 100644
--- a/modules-mls-contrib.conf
+++ b/modules-mls-contrib.conf
@@ -47,12 +47,12 @@ alsa = module
 # 
 amanda = module
 
-# Layer: services
-# Module: amavis
+# Layer: contrib
+# Module: antivirus
 #
 # Anti-virus
 # 
-amavis = module
+antivirus = module
 
 # Layer: admin
 # Module: amtu
@@ -243,7 +243,7 @@ chrome = module
 # 
 chronyd = module
 
-q# Layer: services
+# Layer: services
 # Module: cipe
 #
 # Encrypted tunnel daemon
@@ -251,13 +251,6 @@ q# Layer: services
 cipe = module
 
 # Layer: services
-# Module: clamav
-#
-# ClamAV Virus Scanner
-# 
-clamav = module
-
-# Layer: services
 # Module: clogd
 #
 # clogd - clustered mirror log server
diff --git a/modules-targeted-contrib.conf b/modules-targeted-contrib.conf
index 99c2554..e2bab2c 100644
--- a/modules-targeted-contrib.conf
+++ b/modules-targeted-contrib.conf
@@ -68,13 +68,6 @@ alsa = module
 # 
 amanda = module
 
-# Layer: services
-# Module: amavis
-#
-# Anti-virus
-# 
-amavis = module
-
 # Layer: admin
 # Module: amtu
 #
@@ -327,12 +320,6 @@ chronyd = module
 # 
 cipe = module
 
-# Layer: services
-# Module: clamav
-#
-# ClamAV Virus Scanner
-# 
-clamav = module
 
 # Layer: services
 # Module: clogd
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 442add0..dc836cf 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -252,9 +252,9 @@ fi;
 . %{_sysconfdir}/selinux/config; \
 if [ -e /etc/selinux/%2/.rebuild ]; then \
    rm /etc/selinux/%2/.rebuild; \
-   (cd /etc/selinux/%2/modules/active/modules; rm -f gnomeclock.pp ctdbd.pp fcoemon.pp isnsd.pp l2tpd.pp qemu.pp nsplugin.pp razor.pp pyzord.pp phpfpm.pp hotplug.pp consoletype.pp kudzu.pp howl.pp) \
+   (cd /etc/selinux/%2/modules/active/modules; rm -f amavis.pp clamav.pp gnomeclock.pp ctdbd.pp fcoemon.pp isnsd.pp l2tpd.pp qemu.pp nsplugin.pp razor.pp pyzord.pp phpfpm.pp hotplug.pp consoletype.pp kudzu.pp howl.pp) \
    if [ %1 -ne 1 ]; then \
-	/usr/sbin/semodule -n -s %2 -r gnomeclock matahari xfs kudzu kerneloops execmem openoffice ada tzdata hal hotplug howl java mono moilscanner gamin audio_entropy audioentropy iscsid polkit_auth polkit rtkit_daemon ModemManager telepathysofiasip ethereal passanger qpidd pyzor razor pki-selinux phpfpm consoletype ctdbd fcoemon isnsd l2tp  2>/dev/null; \
+	/usr/sbin/semodule -n -s %2 -r amavis clamav gnomeclock matahari xfs kudzu kerneloops execmem openoffice ada tzdata hal hotplug howl java mono moilscanner gamin audio_entropy audioentropy iscsid polkit_auth polkit rtkit_daemon ModemManager telepathysofiasip ethereal passanger qpidd pyzor razor pki-selinux phpfpm consoletype ctdbd fcoemon isnsd l2tp  2>/dev/null; \
    fi \
    /usr/sbin/semodule -B -n -s %2; \
 else \


More information about the scm-commits mailing list