resetting manifest requested domain to floor 03/4403/1 accepted/tizen/20130710.221439 submit/tizen/20130710.103253
authorAlexandru Cornea <alexandru.cornea@intel.com>
Fri, 28 Jun 2013 08:05:05 +0000 (11:05 +0300)
committerAlexandru Cornea <alexandru.cornea@intel.com>
Fri, 28 Jun 2013 08:05:05 +0000 (11:05 +0300)
packaging/wifi-direct-manager.manifest [new file with mode: 0644]
packaging/wifi-direct-manager.spec
wifi-direct-manager.manifest [deleted file]

diff --git a/packaging/wifi-direct-manager.manifest b/packaging/wifi-direct-manager.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index 86537ea..3df87a4 100644 (file)
@@ -5,6 +5,7 @@ Release:    1
 Group:      TO_BE_FILLED
 License:    Apache License Version 2.0
 Source0:    %{name}-%{version}.tar.gz
+Source1001:    wifi-direct-manager.manifest
 Requires(post): /usr/bin/vconftool
 BuildRequires:  pkgconfig(wifi-direct)
 BuildRequires:  pkgconfig(dbus-glib-1)
@@ -28,6 +29,7 @@ wifi drect plugin for wpa supplicant
 
 %prep
 %setup -q
+cp %{SOURCE1001} .
 
 %build
 
@@ -74,7 +76,7 @@ vconftool set -t string memory/private/wifi_direct_manager/dhcpc_server_ip 0.0.0
 %postun
 
 %files
-%manifest wifi-direct-manager.manifest
+%manifest %{name}.manifest
 %defattr(-,root,root,-)
 %{_bindir}/wfd-manager
 /usr/etc/wifi-direct/dhcpd.p2p.conf
@@ -94,7 +96,7 @@ vconftool set -t string memory/private/wifi_direct_manager/dhcpc_server_ip 0.0.0
 /usr/share/license/%{name}
 
 %files -n wifi-direct-plugin-wpasupplicant
-%manifest wifi-direct-plugin-wpasupplicant.manifest
+%manifest %{name}.manifest
 %defattr(-,root,root,-)
 %{_libdir}/wifi-direct-plugin-wpasupplicant.so
 /usr/share/license/wifi-direct-plugin-wpasupplicant
diff --git a/wifi-direct-manager.manifest b/wifi-direct-manager.manifest
deleted file mode 100644 (file)
index 182f666..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<manifest>
-       <define>
-               <domain name="wifi_direct_manager" policy="restricted" plist="wifi-direct-plugin-broadcom, wifi-direct-plugin-wpasupplicant"/>
-               <permit>
-                       <smack permit="system::use_internet" type="w"/>
-               </permit>
-       </define>
-       <assign>
-               <filesystem path="/usr/bin/wifi-direct-server.sh" label="_" />
-               <filesystem path="/usr/bin/wifi-direct-dhcp.sh" label="_" />
-               <filesystem path="/usr/bin/dhcpd-notify.sh" label="_" />
-               <filesystem path="/usr/sbin/p2p_supp.sh" label="_" />
-       </assign>
-       <request>
-               <domain name="wifi_direct_manager"/>
-       </request>
-</manifest>