diff options
author | Ickhee Woo <ickhee.woo@samsung.com> | 2015-07-01 20:20:25 +0900 |
---|---|---|
committer | Ickhee Woo <ickhee.woo@samsung.com> | 2015-07-01 20:20:25 +0900 |
commit | 0228d021fe57671466168a8450794f6338bfbead (patch) | |
tree | 5a8440fab63e79c3a42a3e3943e54c7a378452a1 | |
parent | 7ba237dcc598cee2b4f3b53afae6a5c974022c0b (diff) | |
download | sync-manager-0228d021fe57671466168a8450794f6338bfbead.tar.gz sync-manager-0228d021fe57671466168a8450794f6338bfbead.tar.bz2 sync-manager-0228d021fe57671466168a8450794f6338bfbead.zip |
fixed smack label name is synchronized as 2.4
Change-Id: Idcdfccfa125c61f426a250faf95efaadc8f864d1
Signed-off-by: Ickhee Woo <ickhee.woo@samsung.com>
-rw-r--r-- | libcore-sync-client.manifest | 5 | ||||
-rw-r--r-- | packaging/sync-manager.service | 4 | ||||
-rw-r--r-- | packaging/sync-manager.spec | 4 | ||||
-rw-r--r-- | sync-service.manifest | 32 |
4 files changed, 25 insertions, 20 deletions
diff --git a/libcore-sync-client.manifest b/libcore-sync-client.manifest new file mode 100644 index 0000000..a76fdba --- /dev/null +++ b/libcore-sync-client.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_" /> + </request> +</manifest> diff --git a/packaging/sync-manager.service b/packaging/sync-manager.service index f0f6fe6..651100c 100644 --- a/packaging/sync-manager.service +++ b/packaging/sync-manager.service @@ -1,12 +1,10 @@ [Unit] Description=sync manager service startup script -After=tizen-runtime.target -Requires=tizen-runtime.target [Service] User=system Group=system -SmackProcessLabel=sync-manager +SmackProcessLabel=sync-service Type=simple ExecStart=/usr/bin/sync-service Restart=always diff --git a/packaging/sync-manager.spec b/packaging/sync-manager.spec index 8e06b78..685dbd7 100644 --- a/packaging/sync-manager.spec +++ b/packaging/sync-manager.spec @@ -88,7 +88,7 @@ mkdir -p %{buildroot}/opt/usr/data/sync-manager rm -rf %{buildroot} %post -chsmack -a sync-manager::db -e sync-manager /opt/usr/data/sync-manager/ +chsmack -a sync-service::db -e sync-service /opt/usr/data/sync-manager/ chown system:system /opt/usr/data/sync-manager/ systemctl enable sync-manager.service @@ -103,10 +103,12 @@ systemctl start sync-manager.service /opt/usr/data/sync-manager/ %files -n libcore-sync-client +%manifest libcore-sync-client.manifest %defattr(-,root,root,-) %{_libdir}/libcore-sync-client.so* %files -n libcore-sync-client-devel +%manifest libcore-sync-client.manifest %defattr(-,root,root,-) %{_includedir}/*sync*.h %{_libdir}/pkgconfig/*.pc diff --git a/sync-service.manifest b/sync-service.manifest index 42a0dc1..3edce90 100644 --- a/sync-service.manifest +++ b/sync-service.manifest @@ -1,11 +1,11 @@ <manifest> <define> - <domain name="sync-manager" /> + <domain name="sync-service" /> <provide> - <label name="sync-manager::add" /> - <label name="sync-manager::remove" /> - <label name="sync-manager::setting" /> - <label name="sync-manager::db" /> + <label name="sync-service::add" /> + <label name="sync-service::remove" /> + <label name="sync-service::setting" /> + <label name="sync-service::db" /> </provide> <request> <smack request="sys-assert::core" type="rwxat"/> @@ -16,8 +16,8 @@ <smack request="net-config" type="rw"/> <smack request="connman" type="rw"/> <smack request="dlogutil" type="rwx"/> - <smack request="device::sys_logging" type="w"/> - <smack request="device::app_logging" type="w"/> + <smack request="device::sys_logging" type="rw"/> + <smack request="device::app_logging" type="rw"/> <smack request="pkgmgr" type="r"/> <smack request="pkgmgr::db" type="rw"/> <smack request="app-svc::db" type="rwxa"/> @@ -30,36 +30,36 @@ <smack request="calendar-service" type="rwx"/> <smack request="calendar-service::svc" type="rw"/> <smack request="alarm-server::alarm-periodic" type="w"/> - <smack request="sync-manager::db" type="rwx"/> + <smack request="sync-service::db" type="rwx"/> <smack request="xorg" type="rw"/> </request> </define> <assign> - <filesystem path="/opt/usr/data/sync-manager/" label="sync-manager::db" /> - <dbus name="org.tizen.sync" own="sync-manager" bus="system"> + <filesystem path="/opt/usr/data/sync-manager/" label="sync-service::db" /> + <dbus name="org.tizen.sync" own="sync-service" bus="system"> <node name="/org/tizen/sync/manager"> <interface name="org.tizen.sync.manager"> <method name="add_sync_job"> - <annotation name="org.tizen.smack" value="sync-manager::add"/> + <annotation name="org.tizen.smack" value="sync-service::add"/> </method> <method name="remove_sync_job"> - <annotation name="org.tizen.smack" value="sync-manager::remove"/> + <annotation name="org.tizen.smack" value="sync-service::remove"/> </method> <method name="add_periodic_sync_job"> - <annotation name="org.tizen.smack" value="sync-manager::add"/> + <annotation name="org.tizen.smack" value="sync-service::add"/> </method> <method name="remove_periodic_sync_job"> - <annotation name="org.tizen.smack" value="sync-manager::remove"/> + <annotation name="org.tizen.smack" value="sync-service::remove"/> </method> <method name="set_sync_status"> - <annotation name="org.tizen.smack" value="sync-manager::setting"/> + <annotation name="org.tizen.smack" value="sync-service::setting"/> </method> </interface> </node> </dbus> </assign> <request> - <domain name="sync-manager" /> + <domain name="sync-service" /> </request> </manifest> |