From: Jeff Mahoney Subject: apparmor-utils: Add Immunix::SubDomain alias This patch adds an alias so that 'use Immunix::SubDomain;' works with older code. Acked-by: Jeff Mahoney Also patch utils/Makefile to actually install SubDomain.pm The SubDomain compat module is only needed by openSUSE, therefore this patch will not be upstreamed. Signed-off-by: Christian Boltz --- utils/Immunix/SubDomain.pm | 5 +++++ 1 file changed, 5 insertions(+) --- /dev/null +++ b/utils/Immunix/SubDomain.pm @@ -0,0 +1,5 @@ +# Use of Immunix::SubDomain is deprecated. +# Use Immunix::AppArmor directly instead. +use Immunix::AppArmor; +*Immunix::SubDomain:: = *Immunix::AppArmor::; +1; --- a/utils/Makefile 2011-05-27 21:08:50.000000000 +0200 +++ b/utils/Makefile 2011-09-10 17:57:55.000000000 +0200 @@ -31,7 +31,7 @@ PERLTOOLS = aa-genprof aa-logprof aa-aut aa-unconfined aa-notify aa-disable aa-exec TOOLS = ${PERLTOOLS} aa-decode aa-status MODULES = ${MODDIR}/AppArmor.pm ${MODDIR}/Repository.pm \ - ${MODDIR}/Config.pm ${MODDIR}/Severity.pm + ${MODDIR}/Config.pm ${MODDIR}/Severity.pm ${MODDIR}/SubDomain.pm PYTOOLS = aa-easyprof PYSETUP = python-tools-setup.py