From nobody Wed May 29 20:20:07 2024 X-Original-To: dev-commits-ports-all@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 4VqLN81bVFz5LDgD; Wed, 29 May 2024 20:20:08 +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 4VqLN80yM9z55r6; Wed, 29 May 2024 20:20:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717014008; 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=9ZfDD1wjCz9nCBRy3aPEvlxtFoNZqLObhqKru0W5RXs=; b=RTJtGp2ZkT3doB7GXKHfSrybXd1lz/903pGN+6ckcwEZoeB/EyV8IwioS4Vs29oja5llmO V/dTB8L2DKWq8PWW0bY6Twsg/bJksdznLhl+CFn6CuPNsZvfFpgBtnSTRK/7qUHgfT7BlV ZNGVlHQZSAIllE8i9K9r45muUlztoiPz/r7zn78OpLOPm1lZaiQK3Eg3G6jLljFhuYsFU4 E0kBmDqn1Lekzc1LtUtxxJNVyP80dMzp+sa8XVHGyjdOWBaRwwQxk3gCEp35BMNSOJElSA id5TMWT5DdOveME3UcKwzHJInxm83a/ad7xmJ+M8i8aw9fKtHiYGVWl89y85RQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717014008; a=rsa-sha256; cv=none; b=FD3yHbmFnc1JMBvF0Y/oHkWCnB/HilGdYRKepdwiizOnAax/QuJ91kEIesdVxCAOU+PdIH +WLTS+sp0aIQX9zg7pjH5N3hebGYevio5SG369UYSUIbGtN3tE9WCN5WlONAU40aB1/OSu mI0nzK3vwhoSVt92cQ+qy7CCT1Lxp362bcxoI6MBkiEQuxvXY/UnBZmSk0JsUqs8GxpYHA 1rcLSSJ1ZSmEugoM9QjNPo7Hjv85tvRQgxDjn+jdZmQrBwT3ORdhQ5pNF1V3oBCpZBxWIr hxcNxifteuIRkmLxmnRtXVrMzYfgKHsRPjhqoKhGE4m4hcw3Fw8OOqUVZhGjtQ== 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=1717014008; 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=9ZfDD1wjCz9nCBRy3aPEvlxtFoNZqLObhqKru0W5RXs=; b=P+bW42+/+XdrPH9yUAFQDYDsrKbg+uQSzZWk/hMSCbvLaHGGZtDH6X12KMWpeYH9VpPqFf 5a49o+isUyEF5Oj5MFQDejzHA/qsq30cCGNiuNqYauLN1yp2OAXiwWmr+Z/jBBPqACcuZB 5ePF0QfxUdJvM6TaD7Rp4WXMLq7VqOk+0BbAFvuHnPqnAR6VNOHGMIlJYVL44SnN5/ZQGm aSRsr5w64+W9q7APKreB+iBnH4SjakPLT0emquVBlFfI/fJflT0Or/VcabMM5ELe12Gq/9 f3YU1PtBj2t5jXsfcr/2uqY8e51PwCrHmt7WGx7hjxRtG2Ea+D4LHDwaWVqDWg== 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 4VqLN80RDhz198B; Wed, 29 May 2024 20:20:08 +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 44TKK7c9077448; Wed, 29 May 2024 20:20:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44TKK7BE077443; Wed, 29 May 2024 20:20:07 GMT (envelope-from git) Date: Wed, 29 May 2024 20:20:07 GMT Message-Id: <202405292020.44TKK7BE077443@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Andree Subject: git: 7ff7e9bd4ef8 - main - security/botan3: Optimize build, add TEST_TARGET List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mandree X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ff7e9bd4ef8a5b70ba3f6095b9291c83766c23e Auto-Submitted: auto-generated The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ff7e9bd4ef8a5b70ba3f6095b9291c83766c23e commit 7ff7e9bd4ef8a5b70ba3f6095b9291c83766c23e Author: Matthias Andree AuthorDate: 2024-05-19 21:45:13 +0000 Commit: Matthias Andree CommitDate: 2024-05-29 07:05:30 +0000 security/botan3: Optimize build, add TEST_TARGET - relax LLVM requirement, per PR #279136, any llvm from ports can compile botan3 - pass --compiler-cache if CCACHE_BIN is nonempty to actually make use of ccache - replace boost-libs LIB_DEPENDS=libboost_filesystem.so by BUILD_DEPENDS=...asio.hpp to make purpose clearer and avoid the stage-qa warning that libboost_filesystem.so is unused. - add TEST_TARGET for "make test" and WITH_TESTING[_PORTS]. - strip support for FreeBSD before 1300000, end of life. PR: 279173 Approved by: fluffy@ (maintainer) --- security/botan3/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/security/botan3/Makefile b/security/botan3/Makefile index 1fcd76593800..645b97f019a2 100644 --- a/security/botan3/Makefile +++ b/security/botan3/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/license.txt BUILD_DEPENDS= ${LOCALBASE}/include/boost/asio.hpp:devel/boost-libs -USES= compiler:c++20-lang cpe gmake llvm:17 shebangfix tar:xz # llvm:17 fixes build failure, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136 +USES= compiler:c++20-lang cpe gmake llvm shebangfix tar:xz # llvm fixes build failure, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136 CPE_VENDOR= ${PORTNAME}_project USE_LDCONFIG= yes @@ -23,6 +23,7 @@ SHEBANG_GLOB= *.py HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.py CONFIGURE_ARGS= --cc=${CHOSEN_COMPILER_TYPE} \ + ${"${CCACHE_BIN}" != "":?--compiler-cache=${CCACHE_BIN}:} \ --prefix=${PREFIX:Q} \ --with-boost \ --with-bzip2 \ @@ -31,6 +32,7 @@ CONFIGURE_ARGS= --cc=${CHOSEN_COMPILER_TYPE} \ --with-lzma \ --with-zlib \ --program-suffix=${_BOTANMAJOR} +TEST_TARGET= check LDFLAGS+= -pthread DOCSDIR= ${LOCALBASE}/share/doc/${PORTNAME}-${PORTVERSION} @@ -80,10 +82,6 @@ PLIST_SUB+= HAS_PROCESSOR_RNG="" PLIST_SUB+= HAS_PROCESSOR_RNG="@comment " .endif -#.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ) || ${OSVERSION} < 1300000 ) -#USES+= llvm:max=15,min=14 -#.endif - .if ${OPSYS} == FreeBSD && ( ( ${OSVERSION} >= 1400000 && ${OSVERSION} < 1400091 ) || ( ${OSVERSION} < 1302507 ) ) # libc++ does not carry std::ranges::find, redirect to boost::range::find: EXTRA_PATCHES+= ${FILESDIR}/extrapatch-src_tests_unit__x509.cpp