Add smack rule for security
authorSungho Kwak <sungho1.kwak@samsung.com>
Tue, 18 Jun 2013 07:56:25 +0000 (16:56 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Tue, 18 Jun 2013 07:57:31 +0000 (16:57 +0900)
Change-Id: Ic21ce02017a7b02046a48ff67abaa5f6354e148c

efreet.rule [new file with mode: 0644]
packaging/efreet.spec

diff --git a/efreet.rule b/efreet.rule
new file mode 100644 (file)
index 0000000..6063761
--- /dev/null
@@ -0,0 +1 @@
+efreet e17-data rx
index de16c63..b10990b 100644 (file)
@@ -46,7 +46,9 @@ make %{?_smp_mflags}
 %install
 %make_install
 mkdir -p %{buildroot}%{_datadir}/license
+mkdir -p %{buildroot}/etc/smack/accesses.d
 cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}%{_datadir}/license/%{name}
+cp %{_builddir}/%{buildsubdir}/efreet.rule %{buildroot}/etc/smack/accesses.d/efreet.rule
 
 %post -p /sbin/ldconfig
 
@@ -59,7 +61,7 @@ cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}%{_datadir}/license/%{name}
 %{_libdir}/efreet/*
 %manifest %{name}.manifest
 %{_datadir}/license/%{name}
-
+/etc/smack/accesses.d/efreet.rule
 
 %files devel
 %defattr(-,root,root,-)