From nobody Sat Apr 06 14:18:24 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VBcsD4cG4z5Gjtk; Sat, 6 Apr 2024 14:18:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VBcsD4383z4jxD; Sat, 6 Apr 2024 14:18:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712413104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ncRWnqL/nyqWxqf4OgrPj6k5FnDJoea7aQfCxTOs1+4=; b=KaXzoId+9Ok6jWDU5BEt6vMZ1OZJzX8QscCwbW8FI7vMjWGJotAS2QS6X30AVf6vC9O6ux eglNgryRDmqTFVqnTnK73Iow2JSGQUhus8Hz4sXVbFNN8B+kfjRsrn0ZnuU9irG/g0OGJF 6RtlzALgJj5yiXrFJcT0KvJ+oPEO+qIohPSfZsgiBB6pgXUhZd9+7hvk+7IOxqPtDOr3kn Uph64sdeiF0w+IAaaIJm/f+2jI2Xg37Tg0ogqE5JsczhFcpPHzFOERZzO9meC9hGUlYvKs QhroPIEOAvy0WyUTUnEu5/c66g16miV9to6dOcsuflkPaWX2BVfwfxLMcZy/JA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712413104; a=rsa-sha256; cv=none; b=KKywlTjzaMqZzZBYJA0Zl+LTbuC+jxD9PmnLlAtR1ki+jfSw+ACojvQm29OxjCiLNIoJAF X3QokgcB3swAYg8zU9/SKMJR068mDdxwnyg5S3aD1N+56DiBt5/H8oFoIRLwaCffRyAVgn GawQuEypLKxggrkaoEhWAIPXnut6oGQkOdZ7FhK4nBl8OPcO+QwsxnIG3yFTpeyC9cF+hy 5fkZrBluivXQ0wDBBFtehikH5ydxBP45cymt0VgZInRhzk8fRV+dc5GEQHv6d3lB4HneFl W1MlN7CDvew6q81KxUJ+1ZfmOmty+W9Y3xkvmC7BVTf/aTiRdi8GcdeMgGBTCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712413104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ncRWnqL/nyqWxqf4OgrPj6k5FnDJoea7aQfCxTOs1+4=; b=WIK2jaPNewCadEuoeRwCQpcp86IGBAYHiK7uPbLAUK5DQPT3JV+PqVSwT50n3XngzdFBeS qOdvkdip9Pvcb/Abjvre33zscR2Vj7hq3wVEeiPHV9LdILrlFjVNDuxbgamS0JU/ka/xr/ a9w2KghcvctrA8S0Humpklt0t5+hrtYZoYkFjC4fR9fNpXMiDOIG4Js2VAd0d909j1VWP5 JSrL1p8/fIj1kzI/va0GW5eBSCAIHr1uL3HcT18TQmOT53qbJWxw+xjj3LSC/4vTnsuDZ+ rGQLzqCLOz0aEfHirugbIDnHXbbkWvBdnCidWOPFqxLz0GIXAwg3vwUyd4DGAA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VBcsD3f6Mzmtc; Sat, 6 Apr 2024 14:18:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 436EIOtB019842; Sat, 6 Apr 2024 14:18:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 436EIOcN019839; Sat, 6 Apr 2024 14:18:24 GMT (envelope-from git) Date: Sat, 6 Apr 2024 14:18:24 GMT Message-Id: <202404061418.436EIOcN019839@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: a15a6fa3a1d4 - main - dns/c-ares: Update to 1.28.1 and add STATIC option List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a15a6fa3a1d4f9b9a869e90bd6e3dc94cb9414ac Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=a15a6fa3a1d4f9b9a869e90bd6e3dc94cb9414ac commit a15a6fa3a1d4f9b9a869e90bd6e3dc94cb9414ac Author: Daniel Engberg AuthorDate: 2024-04-06 14:16:54 +0000 Commit: Daniel Engberg 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 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