[Tizen-submit] 5233: Changes to Tizen/net-config

noreply at tizen.org noreply at tizen.org
Mon May 20 11:13:50 GMT 2013


Hi,
Prajwal Mohan have made the following changes to net-config in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5233

  submit:       Tizen:build/net-config(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.015452
Git project: platform/core/connectivity/net-config
Tag: submit/tizen/20130517.015452
Commit: 35f06ac Release Tizen 2.0 beta

State:   accepted   2013-05-16T21:03:26 pkarurmo
Comment: Ok

History: new        2013-05-16T18:52:12 tizenrobot
new:
----
  net-config-0.1.88_5.tar.gz
  net-config.spec

spec files:
-----------

++++++ new spec file:
--- net-config.spec
+++ net-config.spec
@@ -0,0 +1,93 @@
+#sbs-git:magnolia/framework/connectivity/net-config
+
+Name:       net-config
+Summary:    TIZEN Network Configuration Module
+Version:    0.1.88_5
+Release:    1
+VCS:        platform/core/connectivity/net-config#submit/tizen/20130517.015452-0-g35f06ac
+Group:      System/Network
+License:    Apache License Version 2.0
+Source0:    %{name}-%{version}.tar.gz
+
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(dbus-glib-1)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(wifi-direct)
+BuildRequires:  pkgconfig(syspopup-caller)
+
+%description
+TIZEN Network Configuration Module
+
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}/usr/share/dbus-1/services
+cp resources/usr/share/dbus-1/services/net.netconfig.service %{buildroot}/usr/share/dbus-1/services/net.netconfig.service
+mkdir -p %{buildroot}/usr/etc/dbus-1/system.d
+cp resources/usr/etc/dbus-1/system.d/net-config.conf %{buildroot}/usr/etc/dbus-1/system.d/net-config.conf
+mkdir -p %{buildroot}/opt/etc
+cp resources/opt/etc/resolv.conf %{buildroot}/opt/etc/resolv.conf
+mkdir -p %{buildroot}/etc/rc.d/init.d
+cp resources/etc/rc.d/init.d/net-config %{buildroot}/etc/rc.d/init.d/net-config
+mkdir -p %{buildroot}/etc/rc.d/rc3.d
+ln -s ../init.d/net-config %{buildroot}/etc/rc.d/rc3.d/S60net-config
+mkdir -p %{buildroot}/etc/rc.d/rc5.d
+ln -s ../init.d/net-config %{buildroot}/etc/rc.d/rc5.d/S60net-config
+
+
+%post
+
+vconftool set -t int memory/dnet/state 0 -i
+vconftool set -t int memory/wifi/state 0 -i
+vconftool set -t int memory/wifi/strength 0 -i
+
+vconftool set -t int memory/dnet/cellular 0 -i
+vconftool set -t int memory/dnet/wifi 0 -i
+vconftool set -t int memory/dnet/network_config 0 -i
+vconftool set -t int memory/dnet/status 0 -i
+vconftool set -t string memory/dnet/ip "" -i
+vconftool set -t string memory/dnet/proxy "" -i
+
+vconftool set -t string memory/wifi/connected_ap_name "" -i
+
+vconftool set -t string db/wifi/bssid_address ""
+
+#Default Call Statistics
+vconftool set -t int db/dnet/statistics/cellular/totalsnt "0"
+vconftool set -t int db/dnet/statistics/cellular/totalrcv "0"
+vconftool set -t int db/dnet/statistics/cellular/lastsnt "0"
+vconftool set -t int db/dnet/statistics/cellular/lastrcv "0"
+vconftool set -t int db/dnet/statistics/wifi/totalsnt "0"
+vconftool set -t int db/dnet/statistics/wifi/totalrcv "0"

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


More information about the Tizen-submit mailing list