diff options
author | Woo Chang Kim <wchang.kim@samsung.com> | 2017-08-21 05:40:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2017-08-21 05:40:11 +0000 |
commit | b46572d060254fd535756c1a042c7183bd1c13d1 (patch) | |
tree | 77921779b8db47b37fec2b8465f1359757f4d170 /packaging | |
parent | a1ba800e5ccbfb33db06a396c17cf58de820cd27 (diff) | |
parent | ab8728041b298b2f7a902af810b9162d1a7f7e36 (diff) | |
download | building-blocks-b46572d060254fd535756c1a042c7183bd1c13d1.tar.gz building-blocks-b46572d060254fd535756c1a042c7183bd1c13d1.tar.bz2 building-blocks-b46572d060254fd535756c1a042c7183bd1c13d1.zip |
Merge "Added feature keys for data network" into tizen
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/domain-apis.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packaging/domain-apis.inc b/packaging/domain-apis.inc index a7cab0d..52aaedd 100644 --- a/packaging/domain-apis.inc +++ b/packaging/domain-apis.inc @@ -391,11 +391,14 @@ Summary: Download Requires: capi-web-url-download Requires: download-provider Requires: %{name}-sub2-domain_API-Network-WiFi +Requires: %{name}-sub2-domain_API-Network-WiFi_Manager Suggests: %{name}-sub1-domain_API-Telephony %description sub2-domain_API-Content-Download Tizen block (set of packages) for API sets of domain API-Content-Download <br> To use this feature, either Data Network or Wi-Fi connection is required. %files sub2-domain_API-Content-Download +%posttrans sub2-domain_API-Content-Download +sed -i 's#\(\"tizen.org/feature/download\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Content-MIME_Type Summary: MIME-Type API @@ -1339,10 +1342,13 @@ Tizen block (set of packages) for API sets of domain API-Network-ASP <br> To use this feature, either Data Network or Wi-Fi connection is required <br> and you need the package either DNSSD or WiFi Direct. A default is DNSSD. %files sub2-domain_API-Network-ASP +%posttrans sub2-domain_API-Network-ASP +sed -i 's#\(\"tizen.org/feature/network.asp\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Network-Connection Summary: Connection Requires: capi-network-connection +Requires: %{name}-sub2-domain_API-Network-WiFi Requires: %{name}-sub2-domain_API-Network-WiFi_Manager Suggests: %{name}-sub1-domain_API-Telephony %description sub2-domain_API-Network-Connection @@ -1353,6 +1359,7 @@ To use this feature, either Data Network or Wi-Fi connection is required. <br> %package sub2-domain_API-Network-Curl Summary: Curl Requires: libcurl +Requires: %{name}-sub2-domain_API-Network-WiFi Requires: %{name}-sub2-domain_API-Network-WiFi_Manager Suggests: %{name}-sub1-domain_API-Telephony %description sub2-domain_API-Network-Curl @@ -1364,16 +1371,20 @@ To use this feature, either Data Network or Wi-Fi connection is required. <br> Summary: DNS-SD Requires: libnsd-dns-sd Requires: mdnsresponder +Requires: %{name}-sub2-domain_API-Network-WiFi Requires: %{name}-sub2-domain_API-Network-WiFi_Manager Suggests: %{name}-sub1-domain_API-Telephony %description sub2-domain_API-Network-DNSSD Tizen block (set of packages) for API sets of domain API-Network-DNSSD <br> To use this feature, either Data Network or Wi-Fi connection is required. <br> %files sub2-domain_API-Network-DNSSD +%posttrans sub2-domain_API-Network-DNSSD +sed -i 's#\(\"tizen.org/feature/network.service_discovery.dnssd\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Network-HTTP Summary: HTTP Requires: capi-network-http +Requires: %{name}-sub2-domain_API-Network-WiFi Requires: %{name}-sub2-domain_API-Network-WiFi_Manager Suggests: %{name}-sub1-domain_API-Telephony %description sub2-domain_API-Network-HTTP @@ -1416,23 +1427,29 @@ sed -i 's#\(\"tizen.org/feature/network.nfc\".\+>\).\+\(</key>\)#\1true\2#' %{_s %package sub2-domain_API-Network-SSDP Summary: SSDP Requires: libnsd-ssdp +Requires: %{name}-sub2-domain_API-Network-WiFi Requires: %{name}-sub2-domain_API-Network-WiFi_Manager Suggests: %{name}-sub1-domain_API-Telephony %description sub2-domain_API-Network-SSDP Tizen block (set of packages) for API sets of domain API-Network-SSDP <br> To use this feature, either Data Network or Wi-Fi connection is required. <br> %files sub2-domain_API-Network-SSDP +%posttrans sub2-domain_API-Network-SSDP +sed -i 's#\(\"tizen.org/feature/network.service_discovery.ssdp\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Network-STC Summary: STC Requires: capi-network-stc Requires: stc-manager +Requires: %{name}-sub2-domain_API-Network-WiFi Requires: %{name}-sub2-domain_API-Network-WiFi_Manager Suggests: %{name}-sub1-domain_API-Telephony %description sub2-domain_API-Network-STC Tizen block (set of packages) for API sets of domain API-Network-STC <br> To use this feature, either Data Network or Wi-Fi connection is required. <br> %files sub2-domain_API-Network-STC +%posttrans sub2-domain_API-Network-STC +sed -i 's#\(\"tizen.org/feature/network.traffic_control\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Network-Smartcard Summary: Smartcard @@ -1457,11 +1474,14 @@ sed -i 's#\(\"tizen.org/feature/network.secure_element.uicc\".\+>\).\+\(</key>\) Summary: VPN_Service Requires: capi-vpnsvc #Requires: net-config +Requires: %{name}-sub2-domain_API-Network-WiFi Requires: %{name}-sub2-domain_API-Network-WiFi_Manager %description sub2-domain_API-Network-VPN_Service Tizen block (set of packages) for API sets of domain API-Network-VPN_Service <br> To use this feature, either Data Network or Wi-Fi connection is required. <br> %files sub2-domain_API-Network-VPN_Service +%posttrans sub2-domain_API-Network-VPN_Service +sed -i 's#\(\"tizen.org/feature/network.vpn\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Network-WiFi Summary: WiFi @@ -1496,6 +1516,8 @@ tv profile : wpa_supplicant-profile_common, net-config-profile_tv, connman-exten ivi profile : wpa_supplicant-profile_common, connman-extension-ivi <br> common profile : wpa_supplicant-profile_common <br> %files sub2-domain_API-Network-WiFi +%posttrans sub2-domain_API-Network-WiFi +sed -i 's#\(\"tizen.org/feature/network.wifi\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Network-WiFi_Manager Summary: WiFi_Manager @@ -1530,11 +1552,14 @@ tv profile : wpa_supplicant-profile_common, net-config-profile_tv, connman-exten ivi profile : wpa_supplicant-profile_common, connman-extension-ivi <br> common profile : wpa_supplicant-profile_common <br> %files sub2-domain_API-Network-WiFi_Manager +%posttrans sub2-domain_API-Network-WiFi_Manager +sed -i 's#\(\"tizen.org/feature/network.wifi\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml %package sub2-domain_API-Network-WiFi_Direct Summary: WiFi_Direct Requires: capi-network-wifi-direct Requires: wifi-direct-manager +Requires: %{name}-sub2-domain_API-Network-WiFi Requires: %{name}-sub2-domain_API-Network-WiFi_Manager #Profiles @@ -1561,6 +1586,9 @@ tv profile : wifi-direct-manager-profile_tv, wifi-direct-plugin-wpasupplicant-pr ivi profile : wifi-direct-manager-profile_common, wifi-direct-plugin-wpasupplicant-profile_common <br> common profile : Not supported <br> %files sub2-domain_API-Network-WiFi_Direct +%posttrans sub2-domain_API-Network-WiFi_Direct +sed -i 's#\(\"tizen.org/feature/network.wifi.direct\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml +sed -i 's#\(\"tizen.org/feature/network.wifi.direct.display\".\+>\).\+\(</key>\)#\1true\2#' %{_sysconfdir}/config/model-config.xml ############## ## Security ## |