diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
commit | 056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch) | |
tree | 4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/c-ares | |
parent | 269126dcced1cc8b53eb4398b4a33e5142f10290 (diff) | |
download | ydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz |
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/libs/c-ares')
-rw-r--r-- | contrib/libs/c-ares/acountry/ya.make | 33 | ||||
-rw-r--r-- | contrib/libs/c-ares/adig/ya.make | 33 | ||||
-rw-r--r-- | contrib/libs/c-ares/ahost/ya.make | 33 | ||||
-rw-r--r-- | contrib/libs/c-ares/test/ya.make | 58 | ||||
-rw-r--r-- | contrib/libs/c-ares/ya.make | 125 |
5 files changed, 282 insertions, 0 deletions
diff --git a/contrib/libs/c-ares/acountry/ya.make b/contrib/libs/c-ares/acountry/ya.make new file mode 100644 index 0000000000..2a1df845e5 --- /dev/null +++ b/contrib/libs/c-ares/acountry/ya.make @@ -0,0 +1,33 @@ +# Generated by devtools/yamaker. + +PROGRAM() + +WITHOUT_LICENSE_TEXTS() + +PEERDIR( + contrib/libs/c-ares +) + +ADDINCL( + contrib/libs/c-ares/include + contrib/libs/c-ares/src/lib +) + +NO_COMPILER_WARNINGS() + +NO_RUNTIME() + +CFLAGS( + -DHAVE_CONFIG_H +) + +SRCDIR(contrib/libs/c-ares/src) + +SRCS( + lib/ares_nowarn.c + lib/ares_strcasecmp.c + tools/acountry.c + tools/ares_getopt.c +) + +END() diff --git a/contrib/libs/c-ares/adig/ya.make b/contrib/libs/c-ares/adig/ya.make new file mode 100644 index 0000000000..9806bff3fd --- /dev/null +++ b/contrib/libs/c-ares/adig/ya.make @@ -0,0 +1,33 @@ +# Generated by devtools/yamaker. + +PROGRAM() + +WITHOUT_LICENSE_TEXTS() + +PEERDIR( + contrib/libs/c-ares +) + +ADDINCL( + contrib/libs/c-ares/include + contrib/libs/c-ares/src/lib +) + +NO_COMPILER_WARNINGS() + +NO_RUNTIME() + +CFLAGS( + -DHAVE_CONFIG_H +) + +SRCDIR(contrib/libs/c-ares/src) + +SRCS( + lib/ares_nowarn.c + lib/ares_strcasecmp.c + tools/adig.c + tools/ares_getopt.c +) + +END() diff --git a/contrib/libs/c-ares/ahost/ya.make b/contrib/libs/c-ares/ahost/ya.make new file mode 100644 index 0000000000..44b27e7e9b --- /dev/null +++ b/contrib/libs/c-ares/ahost/ya.make @@ -0,0 +1,33 @@ +# Generated by devtools/yamaker. + +PROGRAM() + +WITHOUT_LICENSE_TEXTS() + +PEERDIR( + contrib/libs/c-ares +) + +ADDINCL( + contrib/libs/c-ares/include + contrib/libs/c-ares/src/lib +) + +NO_COMPILER_WARNINGS() + +NO_RUNTIME() + +CFLAGS( + -DHAVE_CONFIG_H +) + +SRCDIR(contrib/libs/c-ares/src) + +SRCS( + lib/ares_nowarn.c + lib/ares_strcasecmp.c + tools/ahost.c + tools/ares_getopt.c +) + +END() diff --git a/contrib/libs/c-ares/test/ya.make b/contrib/libs/c-ares/test/ya.make new file mode 100644 index 0000000000..700824462a --- /dev/null +++ b/contrib/libs/c-ares/test/ya.make @@ -0,0 +1,58 @@ +# Generated by devtools/yamaker. + +GTEST(arestest) + +WITHOUT_LICENSE_TEXTS() + +SIZE(MEDIUM) + +TAG(ya:external) + +REQUIREMENTS(network:full) + +PEERDIR( + contrib/libs/c-ares + contrib/restricted/googletest/googlemock +) + +ADDINCL( + contrib/libs/c-ares/include + contrib/libs/c-ares/src/lib + contrib/libs/c-ares/test +) + +NO_COMPILER_WARNINGS() + +NO_UTIL() + +CFLAGS( + -DHAVE_CONFIG_H +) + +SRCS( + ares-test-init.cc + ares-test-internal.cc + ares-test-live.cc + ares-test-misc.cc + ares-test-mock-ai.cc + ares-test-mock.cc + ares-test-ns.cc + ares-test-parse-a.cc + ares-test-parse-aaaa.cc + ares-test-parse-caa.cc + ares-test-parse-mx.cc + ares-test-parse-naptr.cc + ares-test-parse-ns.cc + ares-test-parse-ptr.cc + ares-test-parse-soa-any.cc + ares-test-parse-soa.cc + ares-test-parse-srv.cc + ares-test-parse-txt.cc + ares-test-parse-uri.cc + ares-test-parse.cc + ares-test.cc + dns-proto-test.cc + dns-proto.cc +) + +END() diff --git a/contrib/libs/c-ares/ya.make b/contrib/libs/c-ares/ya.make new file mode 100644 index 0000000000..ceb099e9a8 --- /dev/null +++ b/contrib/libs/c-ares/ya.make @@ -0,0 +1,125 @@ +# Generated by devtools/yamaker from nixpkgs 22.05. + +LIBRARY() + +LICENSE( + BSD-3-Clause AND + ISC AND + MIT AND + NTP +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +VERSION(1.18.1) + +ORIGINAL_SOURCE(https://github.com/c-ares/c-ares/releases/download/cares-1_18_1/c-ares-1.18.1.tar.gz) + +OPENSOURCE_EXPORT_REPLACEMENT( + CMAKE + c-ares + CMAKE_TARGET + c-ares::c-ares + CONAN + c-ares/1.18.1 +) + +PEERDIR( + contrib/libs/libc_compat +) + +ADDINCL( + GLOBAL contrib/libs/c-ares/include + contrib/libs/c-ares/src/lib +) + +NO_COMPILER_WARNINGS() + +CFLAGS( + -DCARES_BUILDING_LIBRARY + -DCARES_SYMBOL_HIDING + -DHAVE_CONFIG_H + GLOBAL -DCARES_STATICLIB +) + +IF (ARCH_ARM7) + CFLAGS( + GLOBAL -D__SIZEOF_LONG__=4 + ) +ENDIF() + +IF (NOT EXPORT_CMAKE) + CHECK_CONFIG_H(src/lib/ares_setup.h) +ENDIF() + +SRCS( + src/lib/ares__addrinfo2hostent.c + src/lib/ares__addrinfo_localhost.c + src/lib/ares__close_sockets.c + src/lib/ares__get_hostent.c + src/lib/ares__parse_into_addrinfo.c + src/lib/ares__read_line.c + src/lib/ares__readaddrinfo.c + src/lib/ares__sortaddrinfo.c + src/lib/ares__timeval.c + src/lib/ares_android.c + src/lib/ares_cancel.c + src/lib/ares_create_query.c + src/lib/ares_data.c + src/lib/ares_destroy.c + src/lib/ares_expand_name.c + src/lib/ares_expand_string.c + src/lib/ares_fds.c + src/lib/ares_free_hostent.c + src/lib/ares_free_string.c + src/lib/ares_freeaddrinfo.c + src/lib/ares_getaddrinfo.c + src/lib/ares_getenv.c + src/lib/ares_gethostbyaddr.c + src/lib/ares_gethostbyname.c + src/lib/ares_getnameinfo.c + src/lib/ares_getsock.c + src/lib/ares_init.c + src/lib/ares_library_init.c + src/lib/ares_llist.c + src/lib/ares_mkquery.c + src/lib/ares_nowarn.c + src/lib/ares_options.c + src/lib/ares_parse_a_reply.c + src/lib/ares_parse_aaaa_reply.c + src/lib/ares_parse_caa_reply.c + src/lib/ares_parse_mx_reply.c + src/lib/ares_parse_naptr_reply.c + src/lib/ares_parse_ns_reply.c + src/lib/ares_parse_ptr_reply.c + src/lib/ares_parse_soa_reply.c + src/lib/ares_parse_srv_reply.c + src/lib/ares_parse_txt_reply.c + src/lib/ares_parse_uri_reply.c + src/lib/ares_platform.c + src/lib/ares_process.c + src/lib/ares_query.c + src/lib/ares_search.c + src/lib/ares_send.c + src/lib/ares_strcasecmp.c + src/lib/ares_strdup.c + src/lib/ares_strerror.c + src/lib/ares_strsplit.c + src/lib/ares_timeout.c + src/lib/ares_version.c + src/lib/ares_writev.c + src/lib/atomic.cpp + src/lib/bitncmp.c + src/lib/inet_net_pton.c + src/lib/inet_ntop.c + src/lib/windows_port.c +) + +END() + +RECURSE( + acountry + adig + ahost + test +) |