Synchronized with tizen_2.1_smack branch
authorTaejeong Lee <taejeong.lee@samsung.com>
Fri, 10 May 2013 11:03:52 +0000 (20:03 +0900)
committerTaejeong Lee <taejeong.lee@samsung.com>
Fri, 10 May 2013 11:03:52 +0000 (20:03 +0900)
[Issue#]   N/A
[Bug]      N/A
[Cause]    Requested from smack team.
[Solution] Synchronized with tizen_2.1_smack branch

Change-Id: I646ddaf8c908f3b5604822b0316d59fa15ee1ec8

CMakeLists.txt
accesses.d/wrt-popup-ace-runtime.rule [new file with mode: 0644]
accesses.d/wrt-popup-wrt-runtime.rule [new file with mode: 0644]
packaging/wrt-plugins-common.spec
wrt-plugins-common.manifest

index 12ec039..3536d7a 100644 (file)
@@ -166,6 +166,9 @@ set(CMAKE_CONFIG_FILE_NAME "${CMAKE_CONFIG_FILE_NAME}" CACHE
 
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/wrt-popup-ace-runtime.rule DESTINATION /etc/smack/accesses2.d)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/wrt-popup-wrt-runtime.rule DESTINATION /etc/smack/accesses2.d)
+# temp for smack branch
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/accesses.d/wrt-popup-ace-runtime.rule DESTINATION /opt/etc/smack/accesses.d)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/accesses.d/wrt-popup-wrt-runtime.rule DESTINATION /opt/etc/smack/accesses.d)
 
 ################################################################################
 # Summary
diff --git a/accesses.d/wrt-popup-ace-runtime.rule b/accesses.d/wrt-popup-ace-runtime.rule
new file mode 100644 (file)
index 0000000..12c9ff8
--- /dev/null
@@ -0,0 +1,12 @@
+wrt-popup-ace-runtime system::homedir rwx--
+wrt-popup-ace-runtime device::app_logging -w---
+wrt-popup-ace-runtime ail::db rw---
+wrt-popup-ace-runtime xorg -wx--
+wrt-popup-ace-runtime isf r-x--
+wrt-popup-ace-runtime system::vconf rwx--
+wrt-popup-ace-runtime sound_server rw---
+e17 wrt-popup-ace-runtime -w---
+wrt-popup-ace-runtime system::share rwx--
+wrt-popup-ace-runtime pulseaudio rwx--
+wrt-popup-ace-runtime mobileprint --x--
+wrt-popup-ace-runtime dbus r----
diff --git a/accesses.d/wrt-popup-wrt-runtime.rule b/accesses.d/wrt-popup-wrt-runtime.rule
new file mode 100644 (file)
index 0000000..9632107
--- /dev/null
@@ -0,0 +1,12 @@
+wrt-popup-wrt-runtime system::homedir rwx--
+wrt-popup-wrt-runtime device::app_logging -w---
+wrt-popup-wrt-runtime ail::db rw---
+wrt-popup-wrt-runtime xorg -wx--
+wrt-popup-wrt-runtime isf r-x--
+wrt-popup-wrt-runtime system::vconf rwx--
+wrt-popup-wrt-runtime sound_server rw---
+e17 wrt-popup-wrt-runtime -w---
+wrt-popup-wrt-runtime system::share rwx--
+wrt-popup-wrt-runtime pulseaudio rwx--
+wrt-popup-wrt-runtime mobileprint --x--
+wrt-popup-wrt-runtime dbus r----
index 9c599f7..44dd2d3 100644 (file)
@@ -77,6 +77,8 @@ touch /opt/share/widget/plugin-installation-required
 %{_datadir}/license/%{name}
 /etc/smack/accesses2.d/wrt-popup-ace-runtime.rule
 /etc/smack/accesses2.d/wrt-popup-wrt-runtime.rule
+/opt/etc/smack/accesses.d/wrt-popup-ace-runtime.rule
+/opt/etc/smack/accesses.d/wrt-popup-wrt-runtime.rule
 %if %{with_tests}
     %attr(755,root,root) %{_bindir}/widgetdb_tests_prepare_db.sh
     %attr(755,root,root) %{_bindir}/wrt-plugins-common-tests-widgetdb
index fc61a9b..32dd898 100644 (file)
@@ -2,6 +2,10 @@
   <define>
     <domain name="wrt-plugins-common"/>
   </define>
+  <assign>
+    <filesystem path="/usr/bin/wrt-popup-ace-runtime" label="wrt-popup-ace-runtime" exec_label="wrt-popup-ace-runtime"/>
+    <filesystem path="/usr/bin/wrt-popup-wrt-runtime" label="wrt-popup-wrt-runtime" exec_label="wrt-popup-wrt-runtime"/>
+  </assign>
   <request>
     <domain name="_"/>
   </request>