[Tizen-submit] 21483: Changes to Tizen:Mobile/push

noreply at tizen.org noreply at tizen.org
Fri Feb 21 10:02:58 GMT 2014

Stephane Desneux have made the following changes to push in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]


Request: #21483

  submit:       Tizen:Mobile:build/push(cleanup) -> Tizen:Mobile

Submitter: Stephane Desneux <stephane.desneux at open.eurogiciel.org>
Comments: add multiuser support
Git project: platform/core/appfw/sppc
Tag: submit/tizen/20140221.100228
Commit: a3cfb75871c9bccd1edc98903296f223e2537521 remove hardcoded path for multiuser support

State:   new        2014-02-21T10:02:34 tizenrobot
Comment: <no comment>

spec files:
--- push.spec
+++ push.spec
@@ -1,8 +1,8 @@
 Name:       push
+VCS:        platform/core/appfw/sppc#a3cfb75871c9bccd1edc98903296f223e2537521
 Summary:    Push services and client library
 Version:    0.2.42
 Release:    3
-VCS:        platform/core/appfw/sppc#submit/tizen/20131022.071849-0-g81c4d4650cc0932c0e54a6f260c6d046ea7a7d6e
 Group:      Application Framwork/Service
 License:    Flora
 Source0:    %{name}-%{version}.tar.gz
@@ -10,6 +10,8 @@
 Source1002:	libpush-devel.manifest
 Source1003:	%{name}-bin.manifest
 Source1004:	%{name}-tool.manifest
+Source1005:	init_push_DB.sh
+BuildRequires: pkgconfig(libtzplatform-config)
@@ -118,39 +120,10 @@
 #	chsmack -a "_" -e "_" %{buildroot}/etc/rc.d/rc5.d/S90pushd
-%post bin
-mkdir -p /opt/dbspace
-sqlite3 /opt/dbspace/.push.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
-chown root:5000 /opt/dbspace/.push.db
-chown root:5000 /opt/dbspace/.push.db-journal
-chmod 660 /opt/dbspace/.push.db
-chmod 660 /opt/dbspace/.push.db-journal
-#chsmack -a 'push-service::db' /opt/dbspace/.push.db
-#chsmack -a 'push-service::db' /opt/dbspace/.push.db-journal
-#ping interval {120,240,480,960,1920}
-_GRP="-g 5000"
-vconftool set -t string file/private/push-bin/version ${_VER} ${_GRP} -f
-vconftool set -t string file/private/push-bin/dev_type ${_DEV_TYPE} ${_GRP} -f
-vconftool set -t string file/private/push-bin/dev_info ${_DEV_INFO} ${_GRP} -f
-vconftool set -t string file/private/push-bin/ip_pv ${_IP_PV} ${_GRP} -f
-vconftool set -t int    file/private/push-bin/port_pv ${_PORT_PV} ${_GRP} -f
-vconftool set -t int    file/private/push-bin/ping_int ${_PING_INT} ${_GRP} -f
-vconftool set -t string file/private/push-bin/devtk "" ${_GRP} -f
-vconftool set -t string file/private/push-bin/ip_pri "" ${_GRP} -f
-vconftool set -t int    file/private/push-bin/port_pri -1 ${_GRP} -f
-vconftool set -t string file/private/push-bin/ip_sec "" ${_GRP} -f
-vconftool set -t int    file/private/push-bin/port_sec -1 ${_GRP} -f
+install -D -m 0750 %{SOURCE1005} %{buildroot}%{_datadir}/%{name}/init_push_DB.sh
-#vconftool unset file/private/push-bin/devtk
+%post bin
 %post -n libpush
@@ -177,6 +150,7 @@
 %files tool
 %manifest %{name}-tool.manifest

other changes:

++++++ init_push_DB.sh (new)
--- init_push_DB.sh
+++ init_push_DB.sh
@@ -0,0 +1,36 @@

Please refer to OBS webUI for more details about this SR.

More information about the Tizen-submit mailing list