diff --git a/dns/c-ares/Makefile b/dns/c-ares/Makefile index 8cd8c325a338..3c54d6fe40fa 100644 --- a/dns/c-ares/Makefile +++ b/dns/c-ares/Makefile @@ -1,30 +1,37 @@ PORTNAME= c-ares -DISTVERSION= 1.27.0 +DISTVERSION= 1.28.1 CATEGORIES= dns MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/cares-${DISTVERSION:S/./_/g}/ \ https://c-ares.org/download/ MAINTAINER= zi@FreeBSD.org COMMENT= Asynchronous DNS resolver library WWW= https://c-ares.haxx.se/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= cmake compiler:c++11-lang pathfix +USES= cmake pathfix USE_LDCONFIG= yes CONFLICTS= py*-ripe.atlas.tools -OPTIONS_DEFINE= TEST +OPTIONS_DEFINE= STATIC TEST +OPTIONS_SUB= yes + +STATIC_CMAKE_BOOL= CARES_STATIC TEST_BUILD_DEPENDS= googletest>0:devel/googletest TEST_USES= compiler:c++14-lang localbase:ldflags +TEST_USES_OFF= compiler:c++11-lang TEST_CMAKE_BOOL= CARES_BUILD_TESTS TEST_TEST_TARGET= test post-patch: @${REINPLACE_CMD} -e 's|ares-test-live.cc||g' \ ${PATCH_WRKSRC}/test/Makefile.inc +post-install-STATIC-on: + @${RLN} libcares_static.a ${STAGEDIR}/${PREFIX}/lib/libcares.a + .include diff --git a/dns/c-ares/distinfo b/dns/c-ares/distinfo index 180c00ec3e4d..b3a0078242da 100644 --- a/dns/c-ares/distinfo +++ b/dns/c-ares/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708697951 -SHA256 (c-ares-1.27.0.tar.gz) = 0a72be66959955c43e2af2fbd03418e82a2bd5464604ec9a62147e37aceb420b -SIZE (c-ares-1.27.0.tar.gz) = 1301440 +TIMESTAMP = 1712390381 +SHA256 (c-ares-1.28.1.tar.gz) = 675a69fc54ddbf42e6830bc671eeb6cd89eeca43828eb413243fd2c0a760809d +SIZE (c-ares-1.28.1.tar.gz) = 1312102 diff --git a/dns/c-ares/pkg-plist b/dns/c-ares/pkg-plist index ee1557683204..d90f236aef7d 100644 --- a/dns/c-ares/pkg-plist +++ b/dns/c-ares/pkg-plist @@ -1,147 +1,159 @@ bin/adig bin/ahost include/ares.h include/ares_build.h include/ares_dns.h include/ares_dns_record.h include/ares_nameser.h include/ares_rules.h include/ares_version.h lib/cmake/c-ares/c-ares-config-version.cmake lib/cmake/c-ares/c-ares-config.cmake lib/cmake/c-ares/c-ares-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/c-ares/c-ares-targets.cmake +%%STATIC%%lib/libcares.a +%%STATIC%%lib/libcares_static.a lib/libcares.so lib/libcares.so.2 -lib/libcares.so.2.12.0 +lib/libcares.so.2.13.1 libdata/pkgconfig/libcares.pc share/man/man1/adig.1.gz share/man/man1/ahost.1.gz share/man/man3/ares_cancel.3.gz share/man/man3/ares_create_query.3.gz share/man/man3/ares_destroy.3.gz share/man/man3/ares_destroy_options.3.gz share/man/man3/ares_dns_class_fromstr.3.gz share/man/man3/ares_dns_class_t.3.gz share/man/man3/ares_dns_class_tostr.3.gz share/man/man3/ares_dns_datatype_t.3.gz share/man/man3/ares_dns_flags_t.3.gz share/man/man3/ares_dns_mapping.3.gz share/man/man3/ares_dns_opcode_t.3.gz share/man/man3/ares_dns_opcode_tostr.3.gz share/man/man3/ares_dns_opt_datatype_t.3.gz share/man/man3/ares_dns_opt_get_datatype.3.gz share/man/man3/ares_dns_opt_get_name.3.gz share/man/man3/ares_dns_parse.3.gz share/man/man3/ares_dns_rcode_t.3.gz share/man/man3/ares_dns_rcode_tostr.3.gz share/man/man3/ares_dns_rec_type_fromstr.3.gz share/man/man3/ares_dns_rec_type_t.3.gz share/man/man3/ares_dns_record.3.gz share/man/man3/ares_dns_record_create.3.gz share/man/man3/ares_dns_record_destroy.3.gz +share/man/man3/ares_dns_record_duplicate.3.gz share/man/man3/ares_dns_record_get_flags.3.gz share/man/man3/ares_dns_record_get_id.3.gz share/man/man3/ares_dns_record_get_opcode.3.gz share/man/man3/ares_dns_record_get_rcode.3.gz share/man/man3/ares_dns_record_query_add.3.gz share/man/man3/ares_dns_record_query_cnt.3.gz share/man/man3/ares_dns_record_query_get.3.gz +share/man/man3/ares_dns_record_query_set_name.3.gz +share/man/man3/ares_dns_record_query_set_type.3.gz share/man/man3/ares_dns_record_rr_add.3.gz share/man/man3/ares_dns_record_rr_cnt.3.gz share/man/man3/ares_dns_record_rr_del.3.gz share/man/man3/ares_dns_record_rr_get.3.gz +share/man/man3/ares_dns_record_rr_get_const.3.gz share/man/man3/ares_dns_rr.3.gz share/man/man3/ares_dns_rr_get_addr.3.gz share/man/man3/ares_dns_rr_get_addr6.3.gz share/man/man3/ares_dns_rr_get_bin.3.gz share/man/man3/ares_dns_rr_get_class.3.gz share/man/man3/ares_dns_rr_get_keys.3.gz share/man/man3/ares_dns_rr_get_name.3.gz share/man/man3/ares_dns_rr_get_opt.3.gz share/man/man3/ares_dns_rr_get_opt_byid.3.gz share/man/man3/ares_dns_rr_get_opt_cnt.3.gz share/man/man3/ares_dns_rr_get_str.3.gz share/man/man3/ares_dns_rr_get_ttl.3.gz share/man/man3/ares_dns_rr_get_type.3.gz share/man/man3/ares_dns_rr_get_u16.3.gz share/man/man3/ares_dns_rr_get_u32.3.gz share/man/man3/ares_dns_rr_get_u8.3.gz share/man/man3/ares_dns_rr_key_datatype.3.gz share/man/man3/ares_dns_rr_key_t.3.gz share/man/man3/ares_dns_rr_key_to_rec_type.3.gz share/man/man3/ares_dns_rr_key_tostr.3.gz share/man/man3/ares_dns_rr_set_addr.3.gz share/man/man3/ares_dns_rr_set_addr6.3.gz share/man/man3/ares_dns_rr_set_bin.3.gz share/man/man3/ares_dns_rr_set_opt.3.gz share/man/man3/ares_dns_rr_set_str.3.gz share/man/man3/ares_dns_rr_set_u16.3.gz share/man/man3/ares_dns_rr_set_u32.3.gz share/man/man3/ares_dns_rr_set_u8.3.gz share/man/man3/ares_dns_section_t.3.gz share/man/man3/ares_dns_section_tostr.3.gz share/man/man3/ares_dns_write.3.gz share/man/man3/ares_dup.3.gz share/man/man3/ares_expand_name.3.gz share/man/man3/ares_expand_string.3.gz share/man/man3/ares_fds.3.gz share/man/man3/ares_free_data.3.gz share/man/man3/ares_free_hostent.3.gz share/man/man3/ares_free_string.3.gz share/man/man3/ares_freeaddrinfo.3.gz share/man/man3/ares_get_servers.3.gz share/man/man3/ares_get_servers_csv.3.gz share/man/man3/ares_get_servers_ports.3.gz share/man/man3/ares_getaddrinfo.3.gz share/man/man3/ares_gethostbyaddr.3.gz share/man/man3/ares_gethostbyname.3.gz share/man/man3/ares_gethostbyname_file.3.gz share/man/man3/ares_getnameinfo.3.gz share/man/man3/ares_getsock.3.gz share/man/man3/ares_inet_ntop.3.gz share/man/man3/ares_inet_pton.3.gz share/man/man3/ares_init.3.gz share/man/man3/ares_init_options.3.gz share/man/man3/ares_library_cleanup.3.gz share/man/man3/ares_library_init.3.gz share/man/man3/ares_library_init_android.3.gz share/man/man3/ares_library_initialized.3.gz share/man/man3/ares_mkquery.3.gz share/man/man3/ares_opt_param_t.3.gz share/man/man3/ares_parse_a_reply.3.gz share/man/man3/ares_parse_aaaa_reply.3.gz share/man/man3/ares_parse_caa_reply.3.gz share/man/man3/ares_parse_mx_reply.3.gz share/man/man3/ares_parse_naptr_reply.3.gz share/man/man3/ares_parse_ns_reply.3.gz share/man/man3/ares_parse_ptr_reply.3.gz share/man/man3/ares_parse_soa_reply.3.gz share/man/man3/ares_parse_srv_reply.3.gz share/man/man3/ares_parse_txt_reply.3.gz share/man/man3/ares_parse_uri_reply.3.gz share/man/man3/ares_process.3.gz +share/man/man3/ares_query_dnsrec.3.gz share/man/man3/ares_query.3.gz +share/man/man3/ares_queue.3.gz +share/man/man3/ares_queue_active_queries.3.gz +share/man/man3/ares_queue_wait_empty.3.gz share/man/man3/ares_reinit.3.gz share/man/man3/ares_save_options.3.gz share/man/man3/ares_search.3.gz +share/man/man3/ares_search_dnsrec.3.gz share/man/man3/ares_send.3.gz +share/man/man3/ares_send_dnsrec.3.gz share/man/man3/ares_set_local_dev.3.gz share/man/man3/ares_set_local_ip4.3.gz share/man/man3/ares_set_local_ip6.3.gz share/man/man3/ares_set_servers.3.gz share/man/man3/ares_set_servers_csv.3.gz share/man/man3/ares_set_servers_ports.3.gz share/man/man3/ares_set_servers_ports_csv.3.gz share/man/man3/ares_set_socket_callback.3.gz share/man/man3/ares_set_socket_configure_callback.3.gz share/man/man3/ares_set_socket_functions.3.gz share/man/man3/ares_set_sortlist.3.gz share/man/man3/ares_strerror.3.gz share/man/man3/ares_svcb_param_t.3.gz share/man/man3/ares_threadsafety.3.gz share/man/man3/ares_timeout.3.gz share/man/man3/ares_tlsa_match_t.3.gz share/man/man3/ares_tlsa_selector_t.3.gz share/man/man3/ares_tlsa_usage_t.3.gz share/man/man3/ares_version.3.gz