...
 
Commits (7)
    https://gitcode.net/openharmony/third_party_curl/-/commit/e2f33dcbe9bd52917033fcdacbdfe17e7e06d19e add binary file to OAT.xml 2023-07-19T16:31:02+08:00 zhouhaifeng kutcher.zhou@huawei.com Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com">zhouhaifeng</a> &lt;<a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com">kutcher.zhou@huawei.com</a>&gt;</span> https://gitcode.net/openharmony/third_party_curl/-/commit/ad5b32bc24aa461ee47e1350d0c1040df46138be !147 【master】【SBOM数据治理】【合规】清理并确认OAT如下告警 2023-07-20T04:12:43+00:00 openharmony_ci 120357966@qq.com Merge pull request !147 from 周海锋/master https://gitcode.net/openharmony/third_party_curl/-/commit/99093232ffb307ace888d093ae831616086fd3d8 remove inner include from public configs 2023-07-24T19:31:24+08:00 zhouhaifeng kutcher.zhou@huawei.com Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com">zhouhaifeng</a> &lt;<a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com">kutcher.zhou@huawei.com</a>&gt;</span> https://gitcode.net/openharmony/third_party_curl/-/commit/84522f26829d86db5d7c3cd99ba49a0f0ddb886d add curl config public 2023-07-25T08:49:06+08:00 zhouhaifeng kutcher.zhou@huawei.com Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg1" style="text-decoration: none">N</a><a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com">zhouhaifeng</a> &lt;<a href="mailto:kutcher.zhou@huawei.com" title="kutcher.zhou@huawei.com">kutcher.zhou@huawei.com</a>&gt;</span> https://gitcode.net/openharmony/third_party_curl/-/commit/3b29078617178dda68918b5d71ce860dbfe93822 !149 【master】curl的BUILD.gn避免将内部的结构暴露 2023-07-25T14:40:39+00:00 openharmony_ci 120357966@qq.com Merge pull request !149 from 周海锋/master https://gitcode.net/openharmony/third_party_curl/-/commit/a48322c15df3d9c1003dc2dd576e24c960763280 curl 动态库新增updater 2023-07-26T01:04:48+00:00 邹友松 zouyousong1@h-partners.com Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:zouyousong1@h-partners.com" title="zouyousong1@h-partners.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:zouyousong1@h-partners.com" title="zouyousong1@h-partners.com">邹友松</a> &lt;<a href="mailto:zouyousong1@h-partners.com" title="zouyousong1@h-partners.com">zouyousong1@h-partners.com</a>&gt;</span> https://gitcode.net/openharmony/third_party_curl/-/commit/5ca261205c7add1f8b5f18be522155a40fa6bc26 !150 curl 动态库支持 updater 2023-07-26T03:26:02+00:00 openharmony_ci 120357966@qq.com Merge pull request !150 from 邹友松/master
......@@ -237,7 +237,6 @@ if (defined(ohos_lite)) {
config("curl_config_public") {
include_dirs = [
"$CURL_SOURCE_ROOT/lib",
"$CURL_SOURCE_ROOT/include",
"//third_party/curl/customized/include",
]
......@@ -281,6 +280,15 @@ if (defined(ohos_lite)) {
cflags = [ "-Wno-deprecated-declarations" ]
}
config("curl_config_public") {
include_dirs = [
"$CURL_SOURCE_ROOT/include",
"//third_party/curl/customized/include",
]
cflags = [ "-Wno-deprecated-declarations" ]
}
ohos_source_set("curl") {
configs = [ ":curl_config" ]
configs += [ "//third_party/openssl:ssl_config_public" ]
......@@ -416,9 +424,15 @@ if (defined(ohos_lite)) {
ohos_shared_library("curl_shared") {
deps = [ ":curl" ]
public_configs = [ ":curl_config" ]
install_images = [ "system" ]
configs = [ ":curl_config" ]
public_configs = [ ":curl_config_public" ]
install_images = [
"updater",
"system",
]
subsystem_name = "thirdparty"
innerapi_tags = [ "platformsdk" ]
......
......@@ -53,62 +53,64 @@ Note:If the text contains special characters, please escape them according to th
-->
<configuration>
<oatconfig>
<licensefile>COPYING</licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="compatibility" name="The curl license" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="curl" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="ISC License" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
</policy>
</policylist>
<licensematcherlist>
<licensematcher name="The curl license" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
<licensetext name="
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at https://curl.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
" desc=""/>
<licensetext name="
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED &gt;AS IS&gt; AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
" desc=""/>
</licensematcher>
</licensematcherlist>
<filefilterlist>
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
<filteritem type="filename" name="macos_main.cpp" desc=""/>
<filteritem type="filename" name="test17" desc=""/>
<filteritem type="filename" name="*.sh" desc=""/>
<filteritem type="filename" name="*.bat" desc=""/>
<filteritem type="filename" name="*.cmd" desc=""/>
<filteritem type="filename" name="*.m4" desc=""/>
<filteritem type="filepath" name="docs/.*" desc=""/>S
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
</filefilter>
<filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="File not used">
<filteritem type="filepath" name="tests/.*" desc=""/>
</filefilter>
<filefilter name="publicCAFilePolicyFilter" desc="Filters for public CA file policies">
<filteritem type="filepath" name="cacert.pem" desc="This is a bundle of X.509 certificates of public
Certificate Authorities(CA) downloaded from https://curl.se/docs/caextract.html"/>
</filefilter>
</filefilterlist>
<licensefile>COPYING</licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="compatibility" name="The curl license" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="curl" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="ISC License" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
</policy>
</policylist>
<licensematcherlist>
<licensematcher name="The curl license" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
<licensetext name="
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at https://curl.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
" desc=""/>
<licensetext name="
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED &gt;AS IS&gt; AND INTERNET SOFTWARE CONSORTIUM
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
" desc=""/>
</licensematcher>
</licensematcherlist>
<filefilterlist>
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
<filteritem type="filename" name="macos_main.cpp" desc=""/>
<filteritem type="filename" name="test17" desc=""/>
<filteritem type="filename" name="*.sh" desc=""/>
<filteritem type="filename" name="*.bat" desc=""/>
<filteritem type="filename" name="*.cmd" desc=""/>
<filteritem type="filename" name="*.m4" desc=""/>
<filteritem type="filepath" name="docs/.*" desc=""/>
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
</filefilter>
<filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="File not used">
<filteritem type="filepath" name="tests/.*" desc=""/>
<filteritem type="filepath" name="cacert.pem" desc=""/>
<filteritem type="filepath" name="curl-7.79.1.tar.xz" desc=""/>
</filefilter>
<filefilter name="publicCAFilePolicyFilter" desc="Filters for public CA file policies">
<filteritem type="filepath" name="cacert.pem" desc="This is a bundle of X.509 certificates of public
Certificate Authorities(CA) downloaded from https://curl.se/docs/caextract.html"/>
</filefilter>
</filefilterlist>
</oatconfig>
</configuration>