git: a15a6fa3a1d4 - main - dns/c-ares: Update to 1.28.1 and add STATIC option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Apr 2024 14:18:24 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a15a6fa3a1d4f9b9a869e90bd6e3dc94cb9414ac commit a15a6fa3a1d4f9b9a869e90bd6e3dc94cb9414ac Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-04-06 14:16:54 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-04-06 14:16:57 +0000 dns/c-ares: Update to 1.28.1 and add STATIC option * Add option to build STATIC library (PR 269846) Changelog: * Add option to build STATIC library (PR 269846) PR: 278194 Reviewed by: zi (maintainer) --- dns/c-ares/Makefile | 13 ++++++++++--- dns/c-ares/distinfo | 6 +++--- dns/c-ares/pkg-plist | 14 +++++++++++++- 3 files changed, 26 insertions(+), 7 deletions(-) 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,5 +1,5 @@ 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/ @@ -11,15 +11,19 @@ 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 @@ -27,4 +31,7 @@ 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 <bsd.port.mk> 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 @@ -11,9 +11,11 @@ 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 @@ -40,6 +42,7 @@ 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 @@ -47,10 +50,13 @@ 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 @@ -121,11 +127,17 @@ 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