summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangkoo Kim <sangkoo.kim@samsung.com>2015-07-08 14:04:43 +0900
committerSangkoo Kim <sangkoo.kim@samsung.com>2015-07-08 14:04:43 +0900
commit43b0b5aa37e425039e4e3ed8b6d5fe0f00c8a031 (patch)
tree93fc68cb1affeeb7b8cd9123d0dbb786f3a69b0a
parent25723daef98ab7c1a98c66a4c9dad3aa468682a0 (diff)
downloadmsg-service-43b0b5aa37e425039e4e3ed8b6d5fe0f00c8a031.tar.gz
msg-service-43b0b5aa37e425039e4e3ed8b6d5fe0f00c8a031.tar.bz2
msg-service-43b0b5aa37e425039e4e3ed8b6d5fe0f00c8a031.zip
Change-Id: I193de1ad8e4806f27655a898cc6919a1c02363f4 Signed-off-by: Sangkoo Kim <sangkoo.kim@samsung.com>
-rwxr-xr-xmsg-service-tools.manifest13
-rwxr-xr-xmsg-service.manifest89
-rwxr-xr-xpackaging/msg-service.spec11
3 files changed, 9 insertions, 104 deletions
diff --git a/msg-service-tools.manifest b/msg-service-tools.manifest
index c987f54..4ef1828 100755
--- a/msg-service-tools.manifest
+++ b/msg-service-tools.manifest
@@ -1,10 +1,5 @@
<manifest>
- <request>
- <domain name="msg-service"/>
- </request>
-
- <assign>
- <filesystem path="/etc/rc.d/init.d/msg-server" label="_" exec_label="none"/>
- <filesystem path="/etc/config/sysinfo-message.xml" label="_"/>
- </assign>
-</manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest> \ No newline at end of file
diff --git a/msg-service.manifest b/msg-service.manifest
index 11a159f..4ef1828 100755
--- a/msg-service.manifest
+++ b/msg-service.manifest
@@ -1,86 +1,5 @@
<manifest>
- <define>
- <domain name="msg-service" policy="restricted" plist="msg-service-tools"/>
- <provide>
- <label name="msg-service::read"/>
- <label name="msg-service::write"/>
- </provide>
-
- <permit>
- <smack permit="net-config" type="rw"/>
- <smack permit="connman" type="rw"/>
- <smack permit="system::use_internet" type="rw"/>
- <smack permit="org.tizen.quickpanel" type="rx"/>
- <smack permit="org.tizen.indicator" type="rwx"/>
- <smack permit="org.tizen.lockscreen" type="rx"/>
- <smack permit="media-server" type="rx"/>
- </permit>
-
- <request>
- <smack request="msg-service::db" type="rw"/>
- <smack request="system::use_internet" type="rw"/>
- <smack request="media-server" type="rw"/>
- <smack request="system::media" type="rx"/>
- <smack request="telephony_framework::api_network" type="rw"/>
- <smack request="telephony_framework::api_sms" type="rwx"/>
- <smack request="telephony_framework::api_sim" type="rw"/>
- <smack request="telephony_framework::api_sat" type="x"/>
- <smack request="telephony_framework::api_ps_public" type="rw"/>
- <smack request="telephony_framework::api_ps_private" type="rw"/>
- <smack request="telephony_framework::api_ps_profile" type="rw"/>
- <smack request="telephony_framework::properties" type="rw"/>
- <smack request="contacts-service" type="rwx"/>
- <smack request="contacts-service::svc" type="rl"/>
- <smack request="contacts-service::phonelog" type="rw"/>
- <smack request="data-provider-master::notification" type="rw"/>
- <smack request="data-provider-master::notification.client" type="w"/>
- <smack request="data-provider-master::badge" type="rw"/>
- <smack request="data-provider-master::badge.client" type="w"/>
- <smack request="deviced::display" type="rw"/>
- <smack request="net-config" type="rw"/>
- <smack request="connman" type="rw"/>
- <smack request="connman::get" type="rw"/>
- <smack request="connman::set" type="rw"/>
- <smack request="connman::profile" type="rw"/>
- <smack request="aul::launch" type="x"/>
- <smack request="alarm-server::alarm" type="rw"/>
- <smack request="security-server::api-get-gid" type="w"/>
- <smack request="security-server::api-cookie-check" type="w"/>
- <smack request="security-server::api-privilege-by-pid" type="w"/>
- <smack request="device::app_logging" type="rw"/>
- <smack request="device::sys_logging" type="rw"/>
- <smack request="system::share" type="rwx"/>
- <smack request="pkgmgr::db" type="rwl"/>
- <smack request="badge::db" type="rwl"/>
- <smack request="notification::db" type="rwl"/>
- <smack request="org.tizen.setting::default-resources" type="rxl"/>
-
- <smack request="tizen::vconf::camcorder" type="rl"/>
- <smack request="tizen::vconf::message" type="rw"/>
- <smack request="tizen::vconf::public::r" type="rl"/>
- <smack request="tizen::vconf::platform::r" type="rl"/>
- <smack request="tizen::vconf::platform::rw" type="rw"/>
- <smack request="tizen::vconf::public::r::platform::rw" type="rw"/>
- <smack request="tizen::vconf::setting::admin" type="rl"/>
- <smack request="tizen::vconf::setting" type="rl"/>
- <smack request="tizen::vconf::telephony::admin" type="rl"/>
- </request>
- </define>
-
- <request>
- <domain name="_"/>
- </request>
-
- <assign>
- <filesystem path="/usr/lib/libmsg_mapi.so.0" label="_"/>
- <filesystem path="/usr/lib/libmsg_mapi.so.0.1.0" label="_"/>
- <filesystem path="/usr/lib/libmsg_framework_handler.so" label="_"/>
- <filesystem path="/usr/lib/libmsg_mms_plugin.so" label="_"/>
- <filesystem path="/usr/lib/libmsg_plugin_manager.so" label="_"/>
- <filesystem path="/usr/lib/libmsg_sms_plugin.so" label="_"/>
- <filesystem path="/usr/lib/libmsg_transaction_manager.so" label="_"/>
- <filesystem path="/usr/lib/libmsg_transaction_proxy.so" label="_"/>
- <filesystem path="/usr/lib/libmsg_utils.so" label="_"/>
- <filesystem path="/usr/lib/libmsg_vobject.so" label="_"/>
- </assign>
-</manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest> \ No newline at end of file
diff --git a/packaging/msg-service.spec b/packaging/msg-service.spec
index 974c37a..a844036 100755
--- a/packaging/msg-service.spec
+++ b/packaging/msg-service.spec
@@ -1,6 +1,6 @@
Name: msg-service
Version: 1.0.2
-Release: 1
+Release: 2
License: Apache-2.0
Summary: Messaging Framework Library
Group: System/Libraries
@@ -171,15 +171,6 @@ chown 200:5000 /opt/usr/data/msg-service/smildata
chown 200:5000 /opt/usr/data/msg-service/ipcdata
chown 200:5000 /opt/usr/data/msg-service/msgdata/thumbnails
-if [ -f %{_libdir}/rpm-plugins/msm.so ]
-then
- chsmack -a 'msg-service::db' /opt/usr/dbspace/.msg_service.db*
- chsmack -a 'msg-service' /opt/usr/data/msg-service/msgdata
- chsmack -a 'msg-service' /opt/usr/data/msg-service/smildata
- chsmack -a 'msg-service' /opt/usr/data/msg-service/ipcdata
- chsmack -a 'msg-service' /opt/usr/data/msg-service/msgdata/thumbnails
-fi
-
%post -n sms-plugin -p /sbin/ldconfig
%post -n mms-plugin -p /sbin/ldconfig