[Tizen-submit] 16172: Changes to Tizen:Mobile/wrt-security

noreply at tizen.org noreply at tizen.org
Wed Oct 16 22:53:58 GMT 2013


Hi,
Rusty Lynch have made the following changes to wrt-security in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16172

  submit:       Tizen:Mobile:build/wrt-security(cleanup) -> Tizen:Mobile


Message:
Submitter: Rusty Lynch <rusty.lynch at intel.com>
Comments: remove hard-coded chsmack
Git project: platform/framework/web/wrt-security
Tag: submit/tizen/20131016.225248
Commit: 4cd8f7f21da1dc070c7426932bec8d04ceab9887 remove hard-coded chsmack

State:   new        2013-10-16T22:52:26 tizenrobot
Comment: <no comment>
changes files:
--------------
--- wrt-security.changes
+++ wrt-security.changes
@@ -0,0 +1,5 @@
+* Thu Sep 12 2013 Hyunwoo Kim <hwlove.kim at samsung.com>
+- Use GDbus instead of dbus-glib
+- Start ecore main loop in main()
+- Add API for removing requested device capabilities of widget
+

old:
----
  wrt-security-0.0.66.tar.gz

new:
----
  wrt-security-0.0.67.tar.gz

spec files:
-----------
--- wrt-security.spec
+++ wrt-security.spec
@@ -1,9 +1,9 @@
 #sbs-git:slp/pkgs/s/security-server security-server 0.0.37
 Name:       wrt-security
 Summary:    Wrt security daemon
-Version:    0.0.66
+Version:    0.0.67
 Release:    0
-VCS:        platform/framework/web/wrt-security#submit/tizen/20130923.163001-0-gd70f90950cfd0a78da7bd4c2ed0ca71c72f96f5c
+VCS:        platform/framework/web/wrt-security#submit/tizen/20131016.225248-0-g4cd8f7f21da1dc070c7426932bec8d04ceab9887
 Group:      Security/Access Control
 License:    Apache-2.0
 URL:        N/A
@@ -79,7 +79,7 @@
 rm -rf %{buildroot}
 
 %post
-if [ -z ${2} ]; then
+if [ ! -e "/opt/dbspace/.ace.db" ]; then
     echo "This is new install of wrt-security"
     echo "Calling /usr/bin/wrt_security_create_clean_db.sh"
     /usr/bin/wrt_security_create_clean_db.sh

other changes:
--------------

++++++ wrt-security-0.0.66.tar.gz -> wrt-security-0.0.67.tar.gz
--- ace/dao/AceDAO.cpp
+++ ace/dao/AceDAO.cpp
@@ -369,6 +369,19 @@
     }
 }
 
+void AceDAO::removeRequestedDevCaps(
+    WidgetHandle widgetHandle)
+{
+    Try {
+        ACE_DB_DELETE(del, AceRequestedDevCaps,
+                      &AceDaoUtilities::m_databaseInterface);
+        del->Where(Equals<AceRequestedDevCaps::app_id>(widgetHandle));
+        del->Execute();
+    } Catch(DPL::DB::SqlConnection::Exception::Base) {
+        ReThrowMsg(Exception::DatabaseError, "Failed in removeRequestedDevCaps");
+    }
+}
+
 void AceDAO::setAcceptedFeature(
     WidgetHandle widgetHandle,
     const FeatureNameVector &vector)
--- ace/include/ace-dao-rw/AceDAO.h
+++ ace/include/ace-dao-rw/AceDAO.h
@@ -101,6 +101,9 @@
         WidgetHandle widgetHandle,
         const RequestedDevCapsMap &permissions);
 
+    static void removeRequestedDevCaps(
+        WidgetHandle widgetHandle);
+
     static void setAcceptedFeature(
         WidgetHandle widgetHandle,
         const FeatureNameVector &vector);
--- ace_install/include/ace_api_install.h
+++ ace_install/include/ace_api_install.h
@@ -91,6 +91,8 @@

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


More information about the Tizen-submit mailing list