summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeho Lee <jaeho81.lee@samsung.com>2013-05-03 09:00:22 (GMT)
committerJaeho Lee <jaeho81.lee@samsung.com>2013-05-03 09:00:22 (GMT)
commit83e6d2c2e670cf4fab81bbac35ff12fcad807d9f (patch)
tree48fd3270a8b35eeacea4837d70fd822713e4ebae
parentcb650397bb6ff6bfd853f2cb800b9b9c178444e1 (diff)
downloadui-gadget-1-83e6d2c2e670cf4fab81bbac35ff12fcad807d9f.zip
ui-gadget-1-83e6d2c2e670cf4fab81bbac35ff12fcad807d9f.tar.gz
ui-gadget-1-83e6d2c2e670cf4fab81bbac35ff12fcad807d9f.tar.bz2
added smack rule file
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
-rwxr-xr-xCMakeLists.txt2
-rwxr-xr-xpackaging/ui-gadget-1.spec1
-rw-r--r--ui-gadget-1.rule45
3 files changed, 48 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67be412..fc24ab7 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,6 +45,8 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/ui-gadget-module.h DESTINATION
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/ui-gadget-engine.h DESTINATION ${INCLUDE_INSTALL_DIR}/ug-1)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/ui-gadget.h DESTINATION ${INCLUDE_INSTALL_DIR}/ug-1)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/SLP_UI_Gadget_PG.h DESTINATION ${INCLUDE_INSTALL_DIR}/ug-1)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/ui-gadget-1.rule DESTINATION /etc/smack/accesses2.d)
+
ADD_SUBDIRECTORY(ug-efl-engine)
ADD_SUBDIRECTORY(client)
diff --git a/packaging/ui-gadget-1.spec b/packaging/ui-gadget-1.spec
index 1fedae2..bf88be0 100755
--- a/packaging/ui-gadget-1.spec
+++ b/packaging/ui-gadget-1.spec
@@ -51,6 +51,7 @@ ln -sf /usr/bin/ug-client /usr/bin/ug-launcher
%files
%manifest ui-gadget-1.manifest
+/etc/smack/accesses2.d/ui-gadget-1.rule
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%{_libdir}/lib%{name}-efl-engine.so
diff --git a/ui-gadget-1.rule b/ui-gadget-1.rule
new file mode 100644
index 0000000..ee01caf
--- /dev/null
+++ b/ui-gadget-1.rule
@@ -0,0 +1,45 @@
+ui-gadget::client system::homedir rwxat
+ui-gadget::client system::vconf rwxat
+ui-gadget::client system::media rwxat
+ui-gadget::client system::share rwxat
+ui-gadget::client pulseaudio rwxat
+ui-gadget::client sys-assert::core rwxat
+e17 ui-gadget::client w
+stest-service ui-gadget::client rx
+ui-gadget::client stest-service w
+ui-gadget::client ug.activesync-efl include
+ui-gadget::client ug.email-setting-efl include
+ui-gadget::client ug.setting-bluetooth-efl include
+ui-gadget::client ug.calendar-detail-efl include
+ui-gadget::client ug.eml-viewer-efl include
+ui-gadget::client ug.setting-font-efl include
+ui-gadget::client ug.calendar-edit-efl include
+ui-gadget::client ug.gallery-efl include
+ui-gadget::client ug.setting-location-efl include
+ui-gadget::client ug.calendar-efl include
+ui-gadget::client ug.image-viewer-efl include
+ui-gadget::client ug.setting-myaccount-efl include
+ui-gadget::client ug.camera-efl include
+ui-gadget::client ug.map-efl include
+ui-gadget::client ug.setting-profile-efl include
+ui-gadget::client ug.contacts-details-efl include
+ui-gadget::client ug.msg-composer-efl include
+ui-gadget::client ug.setting-shortcut-efl include
+ui-gadget::client ug.contacts-list-efl include
+ui-gadget::client ug.music-player-efl include
+ui-gadget::client ug.speeddial-efl include
+ui-gadget::client ug.contacts-settings-efl include
+ui-gadget::client ug.myfile-efl include
+ui-gadget::client ug.contacts-tabui-efl include
+ui-gadget::client ug.myplace-efl include
+ui-gadget::client ug.dialer-efl include
+ui-gadget::client ug.phone-tabui-efl include
+ui-gadget::client ug.email-composer-efl include
+ui-gadget::client ug.setting-accessibility-efl include
+ui-gadget::client ug.video-player-list-efl include
+ui-gadget::client ug.map-efl include
+ui-gagdet::client ug.setting-synchronise-efl include
+ui-gadget::client ug.setting-encrypting-efl include
+ui-gadget::client ug.cert-svc-ui include
+ui-gadget::client ug.video-player-view-efl include
+ui-gadget::client ug.weather-viewer-efl include