set(CMAKE_CONFIG_FILE_NAME "${CMAKE_CONFIG_FILE_NAME}" CACHE
STRING "CMake configuration file name." FORCE)
+################################################################################
+# SMACK rule
+
+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)
################################################################################
# Summary
%attr(755,root,root) %{_bindir}/wrt-popup-wrt-runtime
%attr(755,root,root) %{_bindir}/wrt-plugins-installer
%{_datadir}/license/%{name}
-
+/etc/smack/accesses2.d/wrt-popup-ace-runtime.rule
+/etc/smack/accesses2.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
<manifest>
<define>
- <domain name="wrt-plugins-common" />
- <provide>
- <label name="wrt-plugins-common::wrt-plugins-installer" />
- </provide>
+ <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="_" />
+ <domain name="_"/>
</request>
</manifest>
--- /dev/null
+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 rx
+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 wx
+
--- /dev/null
+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 rx
+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 wx
+