summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-06-24 08:27:01 (GMT)
committerSung-jae Park <nicesj.park@samsung.com>2013-06-24 08:33:49 (GMT)
commitddedd102349495965f070a98e6ac64c79a401722 (patch)
tree95d9b675f77c1fbfe9cb2d0bfbf757ccfcf2b1fe
parent82454a2906c1c2cc0dcfd75efe6e8ef431072ba9 (diff)
downloaddata-provider-master-ddedd102349495965f070a98e6ac64c79a401722.zip
data-provider-master-ddedd102349495965f070a98e6ac64c79a401722.tar.gz
data-provider-master-ddedd102349495965f070a98e6ac64c79a401722.tar.bz2
Add smack rule file.
Update version Change-Id: I2fd04f3396e6ff3ef2db6aa73ba0bd7b9fd7c6e7
-rw-r--r--CMakeLists.txt1
-rw-r--r--data-provider-master.rule3
-rw-r--r--packaging/data-provider-master.spec3
3 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b7764ee..4264e32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -98,6 +98,7 @@ ADD_EXECUTABLE(${PROJECT_NAME}
)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkg_LDFLAGS} "-ldl")
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/data-provider-master.rule DESTINATION /opt/etc/smack/accesses.d PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/abi.ini DESTINATION /usr/share/data-provider-master PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PRODUCT}.conf.ini DESTINATION /usr/share/data-provider-master RENAME "conf.ini" PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
diff --git a/data-provider-master.rule b/data-provider-master.rule
new file mode 100644
index 0000000..62f2385
--- /dev/null
+++ b/data-provider-master.rule
@@ -0,0 +1,3 @@
+data-provider-master system::homedir arwxt
+data-provider-master data-provider-master::share rwx
+data-provider-master system::vconf rwx
diff --git a/packaging/data-provider-master.spec b/packaging/data-provider-master.spec
index a43fa99..389f7a1 100644
--- a/packaging/data-provider-master.spec
+++ b/packaging/data-provider-master.spec
@@ -1,6 +1,6 @@
Name: data-provider-master
Summary: Master service provider for liveboxes.
-Version: 0.24.11
+Version: 0.24.12
Release: 1
Group: HomeTF/Livebox
License: Flora License
@@ -104,5 +104,6 @@ echo "%{_sysconfdir}/init.d/data-provider-master start"
/opt/usr/share/live_magazine/*
/opt/dbspace/.livebox.db
/opt/dbspace/.livebox.db-journal
+/opt/etc/smack/accesses.d/*
# End of a file